Searched refs:fragtree (Results 1 – 13 of 13) sorted by relevance
/linux-5.19.10/fs/jffs2/ |
D | jffs2_fs_i.h | 33 struct rb_root fragtree; member
|
D | gc.c | 534 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()
|
D | readinode.c | 1248 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()
|
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 | 54 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 | 371 struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset);
|
D | fs.c | 161 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()
|
/linux-5.19.10/fs/ceph/ |
D | inode.c | 350 struct ceph_frag_tree_head *fragtree, in ceph_fill_fragtree() argument 361 nsplits = le32_to_cpu(fragtree->nsplits); in ceph_fill_fragtree() 366 id = le32_to_cpu(fragtree->splits[i].frag); in ceph_fill_fragtree() 384 sort(fragtree->splits, nsplits, sizeof(fragtree->splits[0]), in ceph_fill_fragtree() 391 id = le32_to_cpu(fragtree->splits[i].frag); in ceph_fill_fragtree() 392 split_by = le32_to_cpu(fragtree->splits[i].by); in ceph_fill_fragtree() 1081 ceph_fill_fragtree(inode, &info->fragtree, dirinfo); in ceph_fill_inode()
|
D | mds_client.c | 123 sizeof(*info->in->fragtree.splits) * in parse_reply_info_in() 124 le32_to_cpu(info->in->fragtree.nsplits); in parse_reply_info_in()
|
/linux-5.19.10/include/linux/ceph/ |
D | ceph_fs.h | 570 struct ceph_frag_tree_head fragtree; /* (must be at end of struct) */ member
|