Lines Matching refs:dentry

149 static int msdos_hash(const struct dentry *dentry, struct qstr *qstr)  in msdos_hash()  argument
151 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; in msdos_hash()
165 static int msdos_cmp(const struct dentry *parent, const struct dentry *dentry, in msdos_cmp() argument
199 static struct dentry *msdos_lookup(struct inode *dir, struct dentry *dentry, in msdos_lookup() argument
208 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_lookup()
221 return d_splice_alias(inode, dentry); in msdos_lookup()
262 static int msdos_create(struct inode *dir, struct dentry *dentry, umode_t mode, in msdos_create() argument
274 err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, in msdos_create()
278 is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.'); in msdos_create()
299 d_instantiate(dentry, inode); in msdos_create()
308 static int msdos_rmdir(struct inode *dir, struct dentry *dentry) in msdos_rmdir() argument
311 struct inode *inode = d_inode(dentry); in msdos_rmdir()
323 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_rmdir()
344 static int msdos_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in msdos_mkdir() argument
355 err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, in msdos_mkdir()
359 is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.'); in msdos_mkdir()
389 d_instantiate(dentry, inode); in msdos_mkdir()
403 static int msdos_unlink(struct inode *dir, struct dentry *dentry) in msdos_unlink() argument
405 struct inode *inode = d_inode(dentry); in msdos_unlink()
411 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_unlink()
430 struct dentry *old_dentry, in do_msdos_rename()
432 struct dentry *new_dentry, int is_hid) in do_msdos_rename()
598 static int msdos_rename(struct inode *old_dir, struct dentry *old_dentry, in msdos_rename()
599 struct inode *new_dir, struct dentry *new_dentry) in msdos_rename()
653 static struct dentry *msdos_mount(struct file_system_type *fs_type, in msdos_mount()