• Home
  • Raw
  • Download

Lines Matching refs:dentry

46 __affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr, toupper_t toupper, bool notrunca…  in __affs_hash_dentry()  argument
57 hash = init_name_hash(dentry); in __affs_hash_dentry()
67 affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_hash_dentry() argument
69 return __affs_hash_dentry(dentry, qstr, affs_toupper, in affs_hash_dentry()
70 affs_nofilenametruncate(dentry)); in affs_hash_dentry()
75 affs_intl_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_intl_hash_dentry() argument
77 return __affs_hash_dentry(dentry, qstr, affs_intl_toupper, in affs_intl_hash_dentry()
78 affs_nofilenametruncate(dentry)); in affs_intl_hash_dentry()
116 affs_compare_dentry(const struct dentry *dentry, in affs_compare_dentry() argument
121 affs_nofilenametruncate(dentry)); in affs_compare_dentry()
125 affs_intl_compare_dentry(const struct dentry *dentry, in affs_intl_compare_dentry() argument
129 affs_nofilenametruncate(dentry)); in affs_intl_compare_dentry()
138 affs_match(struct dentry *dentry, const u8 *name2, toupper_t toupper) in affs_match() argument
140 const u8 *name = dentry->d_name.name; in affs_match()
141 int len = dentry->d_name.len; in affs_match()
170 affs_find_entry(struct inode *dir, struct dentry *dentry) in affs_find_entry() argument
177 pr_debug("%s(\"%pd\")\n", __func__, dentry); in affs_find_entry()
183 …key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)… in affs_find_entry()
192 if (affs_match(dentry, AFFS_TAIL(sb, bh)->name, toupper)) in affs_find_entry()
198 struct dentry *
199 affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in affs_lookup() argument
204 struct dentry *res; in affs_lookup()
206 pr_debug("%s(\"%pd\")\n", __func__, dentry); in affs_lookup()
209 bh = affs_find_entry(dir, dentry); in affs_lookup()
218 dentry->d_fsdata = (void *)(long)ino; in affs_lookup()
228 res = d_splice_alias(inode, dentry); in affs_lookup()
230 res->d_fsdata = dentry->d_fsdata; in affs_lookup()
236 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink() argument
239 d_inode(dentry)->i_ino, dentry); in affs_unlink()
241 return affs_remove_header(dentry); in affs_unlink()
246 struct dentry *dentry, umode_t mode, bool excl) in affs_create() argument
253 __func__, dir->i_ino, dentry, mode); in affs_create()
267 error = affs_add_entry(dir, inode, dentry, ST_FILE); in affs_create()
278 struct dentry *dentry, umode_t mode) in affs_mkdir() argument
284 __func__, dir->i_ino, dentry, mode); in affs_mkdir()
296 error = affs_add_entry(dir, inode, dentry, ST_USERDIR); in affs_mkdir()
307 affs_rmdir(struct inode *dir, struct dentry *dentry) in affs_rmdir() argument
310 d_inode(dentry)->i_ino, dentry); in affs_rmdir()
312 return affs_remove_header(dentry); in affs_rmdir()
317 struct dentry *dentry, const char *symname) in affs_symlink() argument
327 __func__, dir->i_ino, dentry, symname); in affs_symlink()
380 error = affs_add_entry(dir, inode, dentry, ST_SOFTLINK); in affs_symlink()
394 affs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) in affs_link() argument
399 dentry); in affs_link()
401 return affs_add_entry(dir, inode, dentry, ST_LINKFILE); in affs_link()
405 affs_rename(struct inode *old_dir, struct dentry *old_dentry, in affs_rename()
406 struct inode *new_dir, struct dentry *new_dentry) in affs_rename()
452 affs_xrename(struct inode *old_dir, struct dentry *old_dentry, in affs_xrename()
453 struct inode *new_dir, struct dentry *new_dentry) in affs_xrename()
507 struct dentry *old_dentry, struct inode *new_dir, in affs_rename2()
508 struct dentry *new_dentry, unsigned int flags) in affs_rename2()
523 static struct dentry *affs_get_parent(struct dentry *child) in affs_get_parent()
556 static struct dentry *affs_fh_to_dentry(struct super_block *sb, struct fid *fid, in affs_fh_to_dentry()
563 static struct dentry *affs_fh_to_parent(struct super_block *sb, struct fid *fid, in affs_fh_to_parent()