Home
last modified time | relevance | path

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

/Linux-v6.6/fs/jffs2/
Djffs2_fs_i.h33 struct rb_root fragtree; member
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()
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()
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()
Dread.c167 frag = jffs2_lookup_node_frag(&f->fragtree, offset); in jffs2_read_inode_range()
Dos-linux.h54 f->fragtree = RB_ROOT; in jffs2_init_inode_info()
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()
Dnodelist.h371 struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset);
Dfs.c161 jffs2_truncate_fragtree (c, &f->fragtree, iattr->ia_size); in jffs2_do_setattr()
Dwbuf.c202 frag = jffs2_lookup_node_frag(&f->fragtree, je32_to_cpu(node->i.offset)); in jffs2_incore_replace_raw()
/Linux-v6.6/fs/ceph/
Dinode.c454 struct ceph_frag_tree_head *fragtree, in ceph_fill_fragtree() argument
465 nsplits = le32_to_cpu(fragtree->nsplits); in ceph_fill_fragtree()
470 id = le32_to_cpu(fragtree->splits[i].frag); in ceph_fill_fragtree()
488 sort(fragtree->splits, nsplits, sizeof(fragtree->splits[0]), in ceph_fill_fragtree()
495 id = le32_to_cpu(fragtree->splits[i].frag); in ceph_fill_fragtree()
496 split_by = le32_to_cpu(fragtree->splits[i].by); in ceph_fill_fragtree()
1290 ceph_fill_fragtree(inode, &info->fragtree, dirinfo); in ceph_fill_inode()
Dmds_client.c124 sizeof(*info->in->fragtree.splits) * in parse_reply_info_in()
125 le32_to_cpu(info->in->fragtree.nsplits); in parse_reply_info_in()
/Linux-v6.6/include/linux/ceph/
Dceph_fs.h592 struct ceph_frag_tree_head fragtree; /* (must be at end of struct) */ member