Home
last modified time | relevance | path

Searched refs:fragtree (Results 1 – 13 of 13) sorted by relevance

/linux/fs/jffs2/
A Djffs2_fs_i.h33 struct rb_root fragtree; member
A Dgc.c534 for (frag = frag_first(&f->fragtree); frag; frag = frag_next(frag)) { in jffs2_garbage_collect_live()
804 last_frag = frag_last(&f->fragtree); in jffs2_garbage_collect_metadata()
1083 frag = frag_last(&f->fragtree); in jffs2_garbage_collect_hole()
1139 for (frag = jffs2_lookup_node_frag(&f->fragtree, fn->ofs); in jffs2_garbage_collect_hole()
1199 frag = jffs2_lookup_node_frag(&f->fragtree, start); in jffs2_garbage_collect_dnode()
1260 frag = jffs2_lookup_node_frag(&f->fragtree, end-1); in jffs2_garbage_collect_dnode()
1315 D1(BUG_ON(end > frag_last(&f->fragtree)->ofs + frag_last(&f->fragtree)->size)); in jffs2_garbage_collect_dnode()
A Dreadinode.c1248 new_size = jffs2_truncate_fragtree(c, &f->fragtree, je32_to_cpu(latest_node->isize)); in jffs2_do_read_inode_internal()
1303 if (!frag_first(&f->fragtree)) { in jffs2_do_read_inode_internal()
1309 if (frag_next(frag_first(&f->fragtree))) { in jffs2_do_read_inode_internal()
1316 f->metadata = frag_first(&f->fragtree)->node; in jffs2_do_read_inode_internal()
1317 jffs2_free_node_frag(frag_first(&f->fragtree)); in jffs2_do_read_inode_internal()
1318 f->fragtree = RB_ROOT; in jffs2_do_read_inode_internal()
1431 jffs2_kill_fragtree(&f->fragtree, deleted?c:NULL); in jffs2_do_clear_inode()
A Dnodelist.c379 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()
A Dread.c167 frag = jffs2_lookup_node_frag(&f->fragtree, offset); in jffs2_read_inode_range()
A Dos-linux.h54 f->fragtree = RB_ROOT; in jffs2_init_inode_info()
A Ddebug.c80 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()
A Dnodelist.h371 struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset);
A Dfs.c161 jffs2_truncate_fragtree (c, &f->fragtree, iattr->ia_size); in jffs2_do_setattr()
A Dwbuf.c202 frag = jffs2_lookup_node_frag(&f->fragtree, je32_to_cpu(node->i.offset)); in jffs2_incore_replace_raw()
/linux/fs/ceph/
A Dinode.c344 struct ceph_frag_tree_head *fragtree, in ceph_fill_fragtree() argument
355 nsplits = le32_to_cpu(fragtree->nsplits); in ceph_fill_fragtree()
360 id = le32_to_cpu(fragtree->splits[i].frag); in ceph_fill_fragtree()
378 sort(fragtree->splits, nsplits, sizeof(fragtree->splits[0]), in ceph_fill_fragtree()
385 id = le32_to_cpu(fragtree->splits[i].frag); in ceph_fill_fragtree()
386 split_by = le32_to_cpu(fragtree->splits[i].by); in ceph_fill_fragtree()
1069 ceph_fill_fragtree(inode, &info->fragtree, dirinfo); in ceph_fill_inode()
A Dmds_client.c123 sizeof(*info->in->fragtree.splits) * in parse_reply_info_in()
124 le32_to_cpu(info->in->fragtree.nsplits); in parse_reply_info_in()
/linux/include/linux/ceph/
A Dceph_fs.h569 struct ceph_frag_tree_head fragtree; /* (must be at end of struct) */ member

Completed in 50 milliseconds