Lines Matching defs:dir
16 * The name is not copied into the dir item, you have to do that yourself.
102 * both indexes. 'dir' indicates which objectid to insert it into,
109 int name_len, struct btrfs_inode *dir,
114 struct btrfs_root *root = dir->root;
123 key.objectid = btrfs_ino(dir);
163 ret2 = btrfs_insert_delayed_dir_index(trans, name, name_len, dir,
175 * lookup a directory item based on name. 'dir' is the objectid
181 struct btrfs_path *path, u64 dir,
190 key.objectid = dir;
204 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
220 key.objectid = dir;
264 * lookup a directory item based on index. 'dir' is the objectid
274 struct btrfs_path *path, u64 dir,
283 key.objectid = dir;
345 struct btrfs_path *path, u64 dir,
354 key.objectid = dir;
368 * this walks through all the entries in a dir item and finds one