Searched refs:fragtree (Results 1 - 12 of 12) sorted by relevance

/fs/jffs2/
H A Djffs2_fs_i.h33 struct rb_root fragtree; member in struct:jffs2_inode_info
H A Dgc.c338 updating to its fragtree, etc.
402 node intact, and we don't have to muck about with the fragtree etc.
514 for (frag = frag_first(&f->fragtree); frag; frag = frag_next(frag)) {
784 last_frag = frag_last(&f->fragtree);
786 /* Fetch the inode length from the fragtree rather then
1063 frag = frag_last(&f->fragtree);
1065 /* Fetch the inode length from the fragtree rather then
1119 for (frag = jffs2_lookup_node_frag(&f->fragtree, fn->ofs);
1178 frag = jffs2_lookup_node_frag(&f->fragtree, start);
1239 frag = jffs2_lookup_node_frag(&f->fragtree, en
[all...]
H A Dreadinode.c117 we build the fragtree, shortly. No need to worry about GC
444 /* Build final, normal fragtree from tn tree. It doesn't matter which order
445 we add nodes to the real fragtree, as long as they don't overlap. And
514 dbg_readinode("Add %p (v %d, 0x%x-0x%x, ov %d) to fragtree\n",
739 * the inode and build the inode fragtree. We don't
743 * nodes and have started building the fragtree.
745 * The fragtree is being built starting with nodes
1151 JFFS2_ERROR("Failed to build final fragtree for inode #%u: error %d\n",
1232 new_size = jffs2_truncate_fragtree(c, &f->fragtree, je32_to_cpu(latest_node->isize));
1296 if (!frag_first(&f->fragtree)) {
[all...]
H A Dnodelist.c63 dbg_fragtree("truncating fragtree to 0x%08x bytes\n", size);
167 * fragment and inserts the new fragment to the fragtree.
232 /* See if we ran off the end of the fragtree */
379 ret = jffs2_add_frag_to_fragtree(c, &f->fragtree, newfrag);
524 struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset) argument
532 dbg_fragtree2("root %p, offset %d\n", fragtree, offset);
534 next = fragtree->rb_node;
558 dbg_fragtree2("returning NULL, empty fragtree\n");
H A Dos-linux.h53 f->fragtree = RB_ROOT;
H A Dread.c167 frag = jffs2_lookup_node_frag(&f->fragtree, offset);
H A Dnodelist.h367 struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset);
H A Ddebug.c64 * Check the fragtree.
80 for (frag = frag_first(&f->fragtree); frag; frag = frag_next(frag)) {
115 JFFS2_ERROR("fragtree is corrupted.\n");
705 struct jffs2_node_frag *this = frag_first(&f->fragtree);
709 printk(JFFS2_DBG_MSG_PREFIX " dump fragtree of ino #%u\n", f->inocache->ino);
H A Dfs.c159 jffs2_truncate_fragtree (c, &f->fragtree, iattr->ia_size);
H A Dwbuf.c202 frag = jffs2_lookup_node_frag(&f->fragtree, je32_to_cpu(node->i.offset));
/fs/ceph/
H A Dinode.c304 struct ceph_frag_tree_head *fragtree,
315 nsplits = le32_to_cpu(fragtree->nsplits);
318 id = le32_to_cpu(fragtree->splits[i].frag);
338 id = le32_to_cpu(fragtree->splits[i].frag);
359 frag->split_by = le32_to_cpu(fragtree->splits[i].by);
887 ceph_fill_fragtree(inode, &info->fragtree, dirinfo);
303 ceph_fill_fragtree(struct inode *inode, struct ceph_frag_tree_head *fragtree, struct ceph_mds_reply_dirfrag *dirinfo) argument
H A Dmds_client.c74 sizeof(*info->in->fragtree.splits) *
75 le32_to_cpu(info->in->fragtree.nsplits);

Completed in 275 milliseconds