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

/linux-master/fs/jffs2/
H A Djffs2_fs_i.h33 struct rb_root fragtree; member in struct:jffs2_inode_info
H A Dgc.c358 updating to its fragtree, etc.
422 node intact, and we don't have to muck about with the fragtree etc.
534 for (frag = frag_first(&f->fragtree); frag; frag = frag_next(frag)) {
804 last_frag = frag_last(&f->fragtree);
806 /* Fetch the inode length from the fragtree rather then
1083 frag = frag_last(&f->fragtree);
1085 /* Fetch the inode length from the fragtree rather then
1139 for (frag = jffs2_lookup_node_frag(&f->fragtree, fn->ofs);
1199 frag = jffs2_lookup_node_frag(&f->fragtree, start);
1260 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",
759 * the inode and build the inode fragtree. We don't
763 * nodes and have started building the fragtree.
765 * The fragtree is being built starting with nodes
1171 JFFS2_ERROR("Failed to build final fragtree for inode #%u: error %d\n",
1248 new_size = jffs2_truncate_fragtree(c, &f->fragtree, je32_to_cpu(latest_node->isize));
1303 if (!frag_first(&f->fragtree)) {
[all...]
H A Dread.c167 frag = jffs2_lookup_node_frag(&f->fragtree, offset);
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.h54 f->fragtree = RB_ROOT;
H A Dnodelist.h371 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.c161 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));
/linux-master/fs/ceph/
H A Dinode.c464 struct ceph_frag_tree_head *fragtree,
476 nsplits = le32_to_cpu(fragtree->nsplits);
481 id = le32_to_cpu(fragtree->splits[i].frag);
499 sort(fragtree->splits, nsplits, sizeof(fragtree->splits[0]),
506 id = le32_to_cpu(fragtree->splits[i].frag);
507 split_by = le32_to_cpu(fragtree->splits[i].by);
1322 ceph_fill_fragtree(inode, &info->fragtree, dirinfo);
463 ceph_fill_fragtree(struct inode *inode, struct ceph_frag_tree_head *fragtree, struct ceph_mds_reply_dirfrag *dirinfo) argument
H A Dmds_client.c125 sizeof(*info->in->fragtree.splits) *
126 le32_to_cpu(info->in->fragtree.nsplits);
/linux-master/include/linux/ceph/
H A Dceph_fs.h600 struct ceph_frag_tree_head fragtree; /* (must be at end of struct) */ member in struct:ceph_mds_reply_inode

Completed in 210 milliseconds