Lines Matching defs:dir
11 #include "dir-item.h"
20 * 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 const struct fscrypt_str *name, struct btrfs_inode *dir,
114 struct btrfs_root *root = dir->root;
123 key.objectid = btrfs_ino(dir);
143 if (IS_ENCRYPTED(&dir->vfs_inode))
164 ret2 = btrfs_insert_delayed_dir_index(trans, name->name, name->len, dir,
199 * @dir: The inode number (objectid) of the directory.
206 * Returns: NULL if the dir item does not exists, an error pointer if an error
207 * happened, or a pointer to a dir item if a dir item exists for the given name.
211 struct btrfs_path *path, u64 dir,
218 key.objectid = dir;
286 * @dir: The inode number (objectid) of the directory.
294 * Returns: NULL if the dir index item does not exists, an error pointer if an
295 * error happened, or a pointer to a dir item if the dir index item exists and
301 struct btrfs_path *path, u64 dir,
307 key.objectid = dir;
348 struct btrfs_path *path, u64 dir,
355 key.objectid = dir;
368 * this walks through all the entries in a dir item and finds one