Lines Matching refs:c

206 #define write_ofs(c) ((c)->nextblock->offset + (c)->sector_size - (c)->nextblock->free_size)  argument
296 static inline int jffs2_blocks_use_vmalloc(struct jffs2_sb_info *c) in jffs2_blocks_use_vmalloc() argument
298 return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128 * 1024); in jffs2_blocks_use_vmalloc()
301 #define ref_totlen(a, b, c) __jffs2_ref_totlen((a), (b), (c)) argument
309 #define VERYDIRTY(c, size) ((size) >= ((c)->sector_size / 2)) argument
364 void jffs2_add_fd_to_list(struct jffs2_sb_info *c, struct jffs2_full_dirent *new, struct jffs2_full…
365 void jffs2_set_inocache_state(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, int state);
366 struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino);
367 void jffs2_add_ino_cache (struct jffs2_sb_info *c, struct jffs2_inode_cache *new);
368 void jffs2_del_ino_cache(struct jffs2_sb_info *c, struct jffs2_inode_cache *old);
369 void jffs2_free_ino_caches(struct jffs2_sb_info *c);
370 void jffs2_free_raw_node_refs(struct jffs2_sb_info *c);
373 int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2…
374 uint32_t jffs2_truncate_fragtree (struct jffs2_sb_info *c, struct rb_root *list, uint32_t size);
375 struct jffs2_raw_node_ref *jffs2_link_node_ref(struct jffs2_sb_info *c,
379 extern uint32_t __jffs2_ref_totlen(struct jffs2_sb_info *c,
384 int jffs2_thread_should_wake(struct jffs2_sb_info *c);
385 int jffs2_reserve_space(struct jffs2_sb_info *c, uint32_t minsize,
387 int jffs2_reserve_space_gc(struct jffs2_sb_info *c, uint32_t minsize,
389 struct jffs2_raw_node_ref *jffs2_add_physical_node_ref(struct jffs2_sb_info *c,
392 void jffs2_complete_reservation(struct jffs2_sb_info *c);
393 void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *raw);
396 int jffs2_do_new_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, uint32_t mode, struct j…
398 struct jffs2_full_dnode *jffs2_write_dnode(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
401 struct jffs2_full_dirent *jffs2_write_dirent(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
404 int jffs2_write_inode_range(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
407 int jffs2_do_create(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, struct jffs2_inode_inf…
409 int jffs2_do_unlink(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, const char *name,
411 int jffs2_do_link(struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, uint32_t ino,
416 int jffs2_do_read_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
418 int jffs2_do_crccheck_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic);
419 void jffs2_do_clear_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f);
435 int jffs2_prealloc_raw_node_refs(struct jffs2_sb_info *c,
450 int jffs2_garbage_collect_pass(struct jffs2_sb_info *c);
453 int jffs2_read_dnode(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
456 int jffs2_read_inode_range(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
458 char *jffs2_getlink(struct jffs2_sb_info *c, struct jffs2_inode_info *f);
461 int jffs2_scan_medium(struct jffs2_sb_info *c);
462 void jffs2_rotate_lists(struct jffs2_sb_info *c);
463 struct jffs2_inode_cache *jffs2_scan_make_ino_cache(struct jffs2_sb_info *c, uint32_t ino);
464 int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
465 int jffs2_scan_dirty_space(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t size);
468 int jffs2_do_mount_fs(struct jffs2_sb_info *c);
471 int jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count);
472 void jffs2_free_jeb_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
476 int jffs2_flush_wbuf_gc(struct jffs2_sb_info *c, uint32_t ino);
477 int jffs2_flush_wbuf_pad(struct jffs2_sb_info *c);
478 int jffs2_check_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
479 int jffs2_write_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);