Searched refs:fragtree (Results 1 – 12 of 12) sorted by relevance
/fs/jffs2/ |
D | gc.c | 514 for (frag = frag_first(&f->fragtree); frag; frag = frag_next(frag)) { in jffs2_garbage_collect_live() 784 last_frag = frag_last(&f->fragtree); in jffs2_garbage_collect_metadata() 1063 frag = frag_last(&f->fragtree); in jffs2_garbage_collect_hole() 1119 for (frag = jffs2_lookup_node_frag(&f->fragtree, fn->ofs); in jffs2_garbage_collect_hole() 1178 frag = jffs2_lookup_node_frag(&f->fragtree, start); in jffs2_garbage_collect_dnode() 1239 frag = jffs2_lookup_node_frag(&f->fragtree, end-1); in jffs2_garbage_collect_dnode() 1294 D1(BUG_ON(end > frag_last(&f->fragtree)->ofs + frag_last(&f->fragtree)->size)); in jffs2_garbage_collect_dnode()
|
D | jffs2_fs_i.h | 33 struct rb_root fragtree; member
|
D | readinode.c | 1252 new_size = jffs2_truncate_fragtree(c, &f->fragtree, je32_to_cpu(latest_node->isize)); in jffs2_do_read_inode_internal() 1316 if (!frag_first(&f->fragtree)) { in jffs2_do_read_inode_internal() 1324 if (frag_next(frag_first(&f->fragtree))) { in jffs2_do_read_inode_internal() 1333 f->metadata = frag_first(&f->fragtree)->node; in jffs2_do_read_inode_internal() 1334 jffs2_free_node_frag(frag_first(&f->fragtree)); in jffs2_do_read_inode_internal() 1335 f->fragtree = RB_ROOT; in jffs2_do_read_inode_internal() 1450 jffs2_kill_fragtree(&f->fragtree, deleted?c:NULL); in jffs2_do_clear_inode()
|
D | nodelist.c | 379 ret = jffs2_add_frag_to_fragtree(c, &f->fragtree, newfrag); in jffs2_add_full_dnode_to_inode() 524 struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset) in jffs2_lookup_node_frag() argument 532 dbg_fragtree2("root %p, offset %d\n", fragtree, offset); in jffs2_lookup_node_frag() 534 next = fragtree->rb_node; in jffs2_lookup_node_frag()
|
D | read.c | 167 frag = jffs2_lookup_node_frag(&f->fragtree, offset); in jffs2_read_inode_range()
|
D | os-linux.h | 53 f->fragtree = RB_ROOT; in jffs2_init_inode_info()
|
D | debug.c | 80 for (frag = frag_first(&f->fragtree); frag; frag = frag_next(frag)) { in __jffs2_dbg_fragtree_paranoia_check_nolock() 705 struct jffs2_node_frag *this = frag_first(&f->fragtree); in __jffs2_dbg_dump_fragtree_nolock()
|
D | nodelist.h | 367 struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset);
|
D | fs.c | 159 jffs2_truncate_fragtree (c, &f->fragtree, iattr->ia_size); in jffs2_do_setattr()
|
D | wbuf.c | 202 frag = jffs2_lookup_node_frag(&f->fragtree, je32_to_cpu(node->i.offset)); in jffs2_incore_replace_raw()
|
/fs/ceph/ |
D | inode.c | 739 nsplits = le32_to_cpu(info->fragtree.nsplits); in fill_inode() 742 u32 id = le32_to_cpu(info->fragtree.splits[i].frag); in fill_inode() 747 frag->split_by = le32_to_cpu(info->fragtree.splits[i].by); in fill_inode()
|
D | mds_client.c | 71 sizeof(*info->in->fragtree.splits) * in parse_reply_info_in() 72 le32_to_cpu(info->in->fragtree.nsplits); in parse_reply_info_in()
|