Lines Matching defs:item
12 * collision. data_size indicates how big the item inserted should be. On
16 * The name is not copied into the dir item, you have to do that yourself.
30 struct btrfs_item *item;
44 item = btrfs_item_nr(path->slots[0]);
46 BUG_ON(data_size > btrfs_item_size(leaf, item));
47 ptr += btrfs_item_size(leaf, item) - data_size;
52 * xattrs work a lot like directories, this inserts an xattr item
101 * insert a directory item in the tree, doing all the magic for
103 * 'location' is the key to stuff into the directory item, 'type' is the
175 * lookup a directory item based on name. 'dir' is the objectid
177 * item (use mod < 0) or changing the options (use mod > 0)
236 /* we found an item, look for our name in the item */
245 * see if there is room in the item to insert this
264 * lookup a directory item based on index. 'dir' is the objectid
266 * item (use mod < 0) or changing the options (use mod > 0)
367 * helper function to look at the directory item pointed to by 'path'
368 * this walks through all the entries in a dir item and finds one
404 * given a pointer into a directory item, delete it. This