Home
last modified time | relevance | path

Searched refs:dentry (Results 1 – 25 of 1146) sorted by relevance

12345678910>>...46

/linux/fs/overlayfs/
H A Doverlayfs.h206 struct dentry *upperdentry, in ovl_do_notify_change()
213 struct inode *dir, struct dentry *dentry) in ovl_do_rmdir() argument
215 int err = vfs_rmdir(ovl_upper_mnt_idmap(ofs), dir, dentry, NULL); in ovl_do_rmdir()
217 pr_debug("rmdir(%pd2) = %i\n", dentry, err); in ovl_do_rmdir()
222 struct dentry *dentry) in ovl_do_unlink() argument
224 int err = vfs_unlink(ovl_upper_mnt_idmap(ofs), dir, dentry, NULL); in ovl_do_unlink()
226 pr_debug("unlink(%pd2) = %i\n", dentry, err); in ovl_do_unlink()
230 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentry, in ovl_do_link()
231 struct inode *dir, struct dentry *new_dentry) in ovl_do_link()
241 struct inode *dir, struct dentry *dentry, in ovl_do_create() argument
[all …]
H A Dutil.c22 int ovl_get_write_access(struct dentry *dentry) in ovl_get_write_access() argument
24 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_get_write_access()
29 void ovl_start_write(struct dentry *dentry) in ovl_start_write() argument
31 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_start_write()
35 int ovl_want_write(struct dentry *dentry) in ovl_want_write() argument
37 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_want_write()
41 void ovl_put_write_access(struct dentry *dentry) in ovl_put_write_access() argument
43 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_put_write_access()
47 void ovl_end_write(struct dentry *dentry) in ovl_end_write() argument
49 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_end_write()
[all …]
H A Dcopy_up.c47 struct dentry *dentry, const char *acl_name) in ovl_copy_acl() argument
68 err = ovl_do_set_acl(ofs, dentry, acl_name, clone); in ovl_copy_acl()
75 int ovl_copy_xattr(struct super_block *sb, const struct path *oldpath, struct dentry *new) in ovl_copy_xattr()
77 struct dentry *old = oldpath->dentry; in ovl_copy_xattr()
184 old->dentry, err); in ovl_copy_fileattr()
195 err = ovl_set_protattr(inode, new->dentry, &oldfa); in ovl_copy_fileattr()
217 new->dentry, err); in ovl_copy_fileattr()
260 static int ovl_copy_up_file(struct ovl_fs *ofs, struct dentry *dentry, in ovl_copy_up_file() argument
274 ovl_path_lowerdata(dentry, &datapath); in ovl_copy_up_file()
275 if (WARN_ON_ONCE(datapath.dentry == NULL) || in ovl_copy_up_file()
[all …]
/linux/drivers/net/wireless/ti/wl1251/
H A Dwl1251.h146 struct dentry *rootdir;
147 struct dentry *fw_statistics;
149 struct dentry *tx_internal_desc_overflow;
151 struct dentry *rx_out_of_mem;
152 struct dentry *rx_hdr_overflow;
153 struct dentry *rx_hw_stuck;
154 struct dentry *rx_dropped;
155 struct dentry *rx_fcs_err;
156 struct dentry *rx_xfr_hint_trig;
157 struct dentry *rx_path_reset;
[all …]
/linux/fs/debugfs/
H A Dinode.c46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr() argument
55 return simple_setattr(&nop_mnt_idmap, dentry, ia); in debugfs_setattr()
198 static int debugfs_show_options(struct seq_file *m, struct dentry *root) in debugfs_show_options()
245 static void debugfs_release_dentry(struct dentry *dentry) in debugfs_release_dentry() argument
247 struct debugfs_fsdata *fsd = dentry->d_fsdata; in debugfs_release_dentry()
258 struct inode *inode = path->dentry->d_inode; in debugfs_automount()
260 return DEBUGFS_I(inode)->automount(path->dentry, inode->i_private); in debugfs_automount()
345 struct dentry *debugfs_lookup(const char *name, struct dentry *parent) in debugfs_lookup()
347 struct dentry *dentry; in debugfs_lookup() local
355 dentry = lookup_noperm_positive_unlocked(&QSTR(name), parent); in debugfs_lookup()
[all …]
/linux/fs/autofs/
H A Dexpire.c11 static inline int autofs_can_expire(struct dentry *dentry, in autofs_can_expire() argument
14 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_can_expire()
30 struct dentry *dentry, unsigned int how) in autofs_mount_busy() argument
32 struct dentry *top = dentry; in autofs_mount_busy()
33 struct path path = {.mnt = mnt, .dentry = dentry}; in autofs_mount_busy()
36 pr_debug("dentry %p %pd\n", dentry, dentry); in autofs_mount_busy()
43 if (is_autofs_dentry(path.dentry)) { in autofs_mount_busy()
44 struct autofs_sb_info *sbi = autofs_sbi(path.dentry->d_sb); in autofs_mount_busy()
74 static struct dentry *positive_after(struct dentry *p, struct dentry *child) in positive_after()
94 static struct dentry *get_next_positive_subdir(struct dentry *prev, in get_next_positive_subdir()
[all …]
/linux/fs/9p/
H A Dvfs_dentry.c31 static int v9fs_cached_dentry_delete(const struct dentry *dentry) in v9fs_cached_dentry_delete() argument
34 dentry, dentry); in v9fs_cached_dentry_delete()
37 if (d_really_is_negative(dentry)) in v9fs_cached_dentry_delete()
48 static void v9fs_dentry_release(struct dentry *dentry) in v9fs_dentry_release() argument
54 dentry, dentry); in v9fs_dentry_release()
56 spin_lock(&dentry->d_lock); in v9fs_dentry_release()
57 hlist_move_list((struct hlist_head *)&dentry->d_fsdata, &head); in v9fs_dentry_release()
58 spin_unlock(&dentry->d_lock); in v9fs_dentry_release()
64 static int __v9fs_lookup_revalidate(struct dentry *dentry, unsigned int flags) in __v9fs_lookup_revalidate() argument
73 inode = d_inode(dentry); in __v9fs_lookup_revalidate()
[all …]
H A Dfid.c21 static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid) in __add_fid() argument
23 hlist_add_head(&fid->dlist, (struct hlist_head *)&dentry->d_fsdata); in __add_fid()
33 void v9fs_fid_add(struct dentry *dentry, struct p9_fid **pfid) in v9fs_fid_add() argument
37 spin_lock(&dentry->d_lock); in v9fs_fid_add()
38 __add_fid(dentry, fid); in v9fs_fid_add()
39 spin_unlock(&dentry->d_lock); in v9fs_fid_add()
113 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find() argument
118 dentry, dentry, from_kuid(&init_user_ns, uid), in v9fs_fid_find()
122 if (dentry->d_fsdata) { in v9fs_fid_find()
123 struct hlist_head *h = (struct hlist_head *)&dentry->d_fsdata; in v9fs_fid_find()
[all …]
/linux/fs/ceph/
H A Ddir.c34 static int __dir_lease_try_check(const struct dentry *dentry);
39 static int ceph_d_init(struct dentry *dentry) in ceph_d_init() argument
42 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dentry->d_sb); in ceph_d_init()
48 di->dentry = dentry; in ceph_d_init()
51 dentry->d_fsdata = di; in ceph_d_init()
130 static struct dentry *
131 __dcache_find_get_entry(struct dentry *parent, u64 idx, in __dcache_find_get_entry()
136 struct dentry *dentry; in __dcache_find_get_entry() local
137 unsigned idx_mask = (PAGE_SIZE / sizeof(struct dentry *)) - 1; in __dcache_find_get_entry()
138 loff_t ptr_pos = idx * sizeof(struct dentry *); in __dcache_find_get_entry()
[all …]
/linux/security/integrity/evm/
H A Devm_main.c147 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs()
149 struct inode *inode = d_backing_inode(dentry); in evm_find_protected_xattrs()
158 error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0); in is_unsupported_hmac_fs()
170 static int is_unsupported_hmac_fs(struct dentry *dentry)
172 struct inode *inode = d_backing_inode(dentry);
184 * Compute the HMAC on the dentry's protected set of extended attributes in evm_verify_hmac()
194 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac()
131 evm_find_protected_xattrs(struct dentry * dentry) evm_find_protected_xattrs() argument
154 is_unsupported_hmac_fs(struct dentry * dentry) is_unsupported_hmac_fs() argument
178 evm_verify_hmac(struct dentry * dentry,const char * xattr_name,char * xattr_value,size_t xattr_value_len) evm_verify_hmac() argument
351 evm_read_protected_xattrs(struct dentry * dentry,u8 * buffer,int buffer_size,char type,bool canonical_fmt) evm_read_protected_xattrs() argument
421 evm_verifyxattr(struct dentry * dentry,const char * xattr_name,void * xattr_value,size_t xattr_value_len) evm_verifyxattr() argument
440 evm_verify_current_integrity(struct dentry * dentry) evm_verify_current_integrity() argument
462 evm_xattr_change(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len) evm_xattr_change() argument
498 evm_protect_xattr(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len) evm_protect_xattr() argument
587 evm_inode_setxattr(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len,int flags) evm_inode_setxattr() argument
619 evm_inode_removexattr(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name) evm_inode_removexattr() argument
633 evm_inode_set_acl_change(struct mnt_idmap * idmap,struct dentry * dentry,const char * name,struct posix_acl * kacl) evm_inode_set_acl_change() argument
652 evm_inode_set_acl_change(struct mnt_idmap * idmap,struct dentry * dentry,const char * name,struct posix_acl * kacl) evm_inode_set_acl_change() argument
673 evm_inode_set_acl(struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name,struct posix_acl * kacl) evm_inode_set_acl() argument
725 evm_inode_remove_acl(struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name) evm_inode_remove_acl() argument
804 evm_inode_post_setxattr(struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len,int flags) evm_inode_post_setxattr() argument
836 evm_inode_post_set_acl(struct dentry * dentry,const char * acl_name,struct posix_acl * kacl) evm_inode_post_set_acl() argument
852 evm_inode_post_removexattr(struct dentry * dentry,const char * xattr_name) evm_inode_post_removexattr() argument
879 evm_inode_post_remove_acl(struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name) evm_inode_post_remove_acl() argument
886 evm_attr_change(struct mnt_idmap * idmap,struct dentry * dentry,struct iattr * attr) evm_attr_change() argument
908 evm_inode_setattr(struct mnt_idmap * idmap,struct dentry * dentry,struct iattr * attr) evm_inode_setattr() argument
961 evm_inode_post_setattr(struct mnt_idmap * idmap,struct dentry * dentry,int ia_valid) evm_inode_post_setattr() argument
1092 evm_post_path_mknod(struct mnt_idmap * idmap,struct dentry * dentry) evm_post_path_mknod() argument
[all...]
/linux/fs/configfs/
H A Ddir.c45 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput() argument
48 struct configfs_dirent *sd = dentry->d_fsdata; in configfs_d_iput()
59 if (sd->s_dentry == dentry) in configfs_d_iput()
232 static int configfs_dirent_exists(struct dentry *dentry) in configfs_dirent_exists() argument
234 struct configfs_dirent *parent_sd = dentry->d_parent->d_fsdata; in configfs_dirent_exists()
235 const unsigned char *new = dentry->d_name.name; in configfs_dirent_exists()
253 struct dentry * dentry, void * element, in configfs_make_dirent() argument
263 sd->s_dentry = dentry; in configfs_make_dirent()
264 if (dentry) in configfs_make_dirent()
265 dentry->d_fsdata = configfs_get(sd); in configfs_make_dirent()
[all …]
/linux/fs/
H A Dnamei.c705 dget(path->dentry); in path_get()
717 dput(path->dentry); in path_put()
761 p->path.dentry = NULL; in __set_nameidata()
810 static bool path_connected(struct vfsmount *mnt, struct dentry *dentry) in path_connected() argument
818 return is_subdir(dentry, mnt->mnt_root); in path_connected()
856 nd->path.dentry = NULL; in terminate_walk()
866 path->dentry = NULL; in __legitimize_path()
869 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) { in __legitimize_path()
870 path->dentry = NULL; in __legitimize_path()
873 return !read_seqcount_retry(&path->dentry->d_seq, seq); in __legitimize_path()
[all …]
/linux/fs/tracefs/
H A Dinode.c97 static struct dentry *tracefs_syscall_mkdir(struct mnt_idmap *idmap, in tracefs_syscall_mkdir()
98 struct inode *inode, struct dentry *dentry, in tracefs_syscall_mkdir() argument
119 take_dentry_name_snapshot(&name, dentry); in tracefs_syscall_mkdir()
128 static int tracefs_syscall_rmdir(struct inode *inode, struct dentry *dentry) in tracefs_syscall_rmdir() argument
140 take_dentry_name_snapshot(&name, dentry); in tracefs_syscall_rmdir()
142 inode_unlock(d_inode(dentry)); in tracefs_syscall_rmdir()
147 inode_lock(d_inode(dentry)); in tracefs_syscall_rmdir()
203 struct inode *inode = d_backing_inode(path->dentry); in tracefs_getattr()
210 static int tracefs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in tracefs_setattr() argument
214 struct inode *inode = d_inode(dentry); in tracefs_setattr()
[all …]
H A Devent_inode.c40 struct dentry *events_dir;
151 static struct dentry *eventfs_root_lookup(struct inode *dir,
152 struct dentry *dentry,
175 static int eventfs_set_attr(struct mnt_idmap *idmap, struct dentry *dentry, in eventfs_set_attr() argument
184 ei = dentry->d_fsdata; in eventfs_set_attr()
190 if (!(dentry->d_inode->i_mode & S_IFDIR)) { in eventfs_set_attr()
199 ret = simple_setattr(idmap, dentry, iattr); in eventfs_set_attr()
208 if (dentry->d_inode->i_mode & S_IFDIR) { in eventfs_set_attr()
214 name = dentry->d_name.name; in eventfs_set_attr()
319 static struct inode *eventfs_get_inode(struct dentry *dentry, struct eventfs_attr *attr, in eventfs_get_inode() argument
[all …]
/linux/include/linux/
H A Dfsnotify.h58 static inline void fsnotify_dirent(struct inode *dir, struct dentry *dentry, in fsnotify_dirent() argument
61 fsnotify_name(mask, dentry, FSNOTIFY_EVENT_DENTRY, dir, &dentry->d_name, 0); in fsnotify_dirent()
76 static inline int fsnotify_parent(struct dentry *dentry, __u32 mask, in fsnotify_parent() argument
79 struct inode *inode = d_inode(dentry); in fsnotify_parent()
88 if (!(dentry->d_flags & DCACHE_FSNOTIFY_PARENT_WATCHED)) in fsnotify_parent()
93 if (IS_ROOT(dentry)) in fsnotify_parent()
96 return __fsnotify_parent(dentry, mask, data, data_type); in fsnotify_parent()
106 static inline void fsnotify_dentry(struct dentry *dentry, __u32 mask) in fsnotify_dentry() argument
108 fsnotify_parent(dentry, mask, dentry, FSNOTIFY_EVENT_DENTRY); in fsnotify_dentry()
113 return fsnotify_parent(path->dentry, mask, path, FSNOTIFY_EVENT_PATH); in fsnotify_path()
[all …]
/linux/fs/nfs/
H A Dunlink.c49 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_async_unlink_done()
66 struct dentry *dentry = data->dentry; in nfs_async_unlink_release() local
67 struct super_block *sb = dentry->d_sb; in nfs_async_unlink_release()
69 up_read_non_owner(&NFS_I(d_inode(dentry->d_parent))->rmdir_sem); in nfs_async_unlink_release()
70 d_lookup_done(dentry); in nfs_async_unlink_release()
72 dput(dentry); in nfs_async_unlink_release()
79 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_unlink_prepare()
104 struct inode *dir = d_inode(data->dentry->d_parent); in nfs_do_call_unlink()
113 NFS_PROTO(dir)->unlink_setup(&msg, data->dentry, inode); in nfs_do_call_unlink()
121 static int nfs_call_unlink(struct dentry *dentry, struct inode *inode, struct nfs_unlinkdata *data) in nfs_call_unlink() argument
[all …]
H A Dnamespace.c52 char *nfs_path(char **p, struct dentry *dentry_in, char *buffer, in nfs_path()
59 struct dentry *dentry; in nfs_path() local
64 dentry = dentry_in; in nfs_path()
72 spin_lock(&dentry->d_lock); in nfs_path()
73 if (IS_ROOT(dentry)) in nfs_path()
75 namelen = dentry->d_name.len; in nfs_path()
80 memcpy(end, dentry->d_name.name, namelen); in nfs_path()
82 spin_unlock(&dentry->d_lock); in nfs_path()
83 dentry = dentry->d_parent; in nfs_path()
86 spin_unlock(&dentry->d_lock); in nfs_path()
[all …]
/linux/Documentation/translations/zh_CN/filesystems/
H A Ddebugfs.rst41 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
44 则会在debugfs根目录中创建。创建目录成功时,返回值是一个指向dentry结构体的指针。
45dentry结构体的指针可用于在目录中创建文件(以及最后将其清理干净)。ERR_PTR
51 struct dentry *debugfs_create_file(const char *name, umode_t mode,
52 struct dentry *parent, void *data,
59dentry指针,错误时返回ERR_PTR(-ERROR),系统不支持debugfs时返回值为ERR_PTR
62 struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
63 struct dentry *parent, void *data,
73 struct dentry *parent, u8 *value);
75 struct dentry *parent, u16 *value);
[all …]
/linux/Documentation/translations/zh_TW/filesystems/
H A Ddebugfs.rst42 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
45 則會在debugfs根目錄中創建。創建目錄成功時,返回值是一個指向dentry結構體的指針。
46dentry結構體的指針可用於在目錄中創建文件(以及最後將其清理乾淨)。ERR_PTR
52 struct dentry *debugfs_create_file(const char *name, umode_t mode,
53 struct dentry *parent, void *data,
60dentry指針,錯誤時返回ERR_PTR(-ERROR),系統不支持debugfs時返回值爲ERR_PTR
63 struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
64 struct dentry *parent, void *data,
74 struct dentry *parent, u8 *value);
76 struct dentry *parent, u16 *value);
[all …]
/linux/drivers/android/binder/
H A Drust_binderfs.c119 struct dentry *dentry, *root; in binderfs_binder_device_create() local
181 dentry = simple_start_creating(root, req->name); in binderfs_binder_device_create()
182 if (IS_ERR(dentry)) { in binderfs_binder_device_create()
183 ret = PTR_ERR(dentry); in binderfs_binder_device_create()
188 d_make_persistent(dentry, inode); in binderfs_binder_device_create()
190 fsnotify_create(root->d_inode, dentry); in binderfs_binder_device_create()
191 simple_done_creating(dentry); in binderfs_binder_device_create()
307 static int binderfs_show_options(struct seq_file *seq, struct dentry *root) in binderfs_show_options()
331 static inline bool is_binderfs_control_device(const struct dentry *dentry) in is_binderfs_control_device() argument
333 struct binderfs_info *info = dentry->d_sb->s_fs_info; in is_binderfs_control_device()
[all …]
/linux/fs/cachefiles/
H A Dnamei.c84 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache, in cachefiles_get_directory()
85 struct dentry *dir, in cachefiles_get_directory()
89 struct dentry *subdir; in cachefiles_get_directory()
126 path.dentry = dir; in cachefiles_get_directory()
220 void cachefiles_put_directory(struct dentry *dir) in cachefiles_put_directory()
233 struct dentry *dir, struct dentry *dentry, in cachefiles_unlink()
238 .dentry = dir, in cachefiles_unlink()
242 trace_cachefiles_unlink(object, d_inode(dentry) in cachefiles_unlink()
231 cachefiles_unlink(struct cachefiles_cache * cache,struct cachefiles_object * object,struct dentry * dir,struct dentry * dentry,enum fscache_why_object_killed why) cachefiles_unlink() argument
389 struct dentry *dentry = object->file->f_path.dentry; cachefiles_delete_object() local
513 cachefiles_open_file(struct cachefiles_object * object,struct dentry * dentry) cachefiles_open_file() argument
590 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash]; cachefiles_look_up_object() local
646 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash]; cachefiles_commit_tmpfile() local
[all...]
/linux/drivers/android/
H A Dbinderfs.c119 struct dentry *dentry, *root; in binderfs_binder_device_create() local
186 dentry = simple_start_creating(root, name); in binderfs_binder_device_create()
187 if (IS_ERR(dentry)) { in binderfs_binder_device_create()
188 ret = PTR_ERR(dentry); in binderfs_binder_device_create()
192 d_make_persistent(dentry, inode); in binderfs_binder_device_create()
193 fsnotify_create(root->d_inode, dentry); in binderfs_binder_device_create()
194 simple_done_creating(dentry); in binderfs_binder_device_create()
316 static int binderfs_show_options(struct seq_file *seq, struct dentry *root) in binderfs_show_options()
340 static inline bool is_binderfs_control_device(const struct dentry *dentry) in is_binderfs_control_device() argument
342 struct binderfs_info *info = dentry->d_sb->s_fs_info; in is_binderfs_control_device()
[all …]
/linux/arch/s390/hypfs/
H A Dinode.c33 static struct dentry *hypfs_create_update_file(struct dentry *dir);
38 struct dentry *update_file; /* file to trigger update */
48 static struct dentry *hypfs_last_dentry;
61 static void hypfs_add_dentry(struct dentry *dentry) in hypfs_add_dentry() argument
63 if (IS_ROOT(dentry->d_parent)) { in hypfs_add_dentry()
64 dentry->d_fsdata = hypfs_last_dentry; in hypfs_add_dentry()
65 hypfs_last_dentry = dentry; in hypfs_add_dentry()
72 struct dentry *next_dentry = hypfs_last_dentry->d_fsdata; in hypfs_delete_tree()
231 static int hypfs_show_options(struct seq_file *s, struct dentry *root) in hypfs_show_options()
244 struct dentry *root_dentry, *update_file; in hypfs_fill_super()
[all …]
/linux/fs/minix/
H A Dnamei.c10 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir() argument
12 int err = minix_add_link(dentry, inode); in add_nondir()
14 d_instantiate(dentry, inode); in add_nondir()
22 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in minix_lookup() argument
27 if (dentry->d_name.len > minix_sb(dir->i_sb)->s_namelen) in minix_lookup()
30 ino = minix_inode_by_name(dentry); in minix_lookup()
33 return d_splice_alias(inode, dentry); in minix_lookup()
37 struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod() argument
50 return add_nondir(dentry, inode); in minix_mknod()
67 struct dentry *dentry, umode_t mode, bool excl) in minix_create() argument
[all …]
/linux/fs/efivarfs/
H A Dinode.c78 struct dentry *dentry, umode_t mode, bool excl) in efivarfs_create() argument
86 if (!efivarfs_valid_name(dentry->d_name.name, dentry->d_name.len)) in efivarfs_create()
90 namelen = dentry->d_name.len - EFI_VARIABLE_GUID_LEN - 1; in efivarfs_create()
92 err = guid_parse(dentry->d_name.name + namelen + 1, &vendor); in efivarfs_create()
99 dentry->d_name.name, namelen)) in efivarfs_create()
110 var->var.VariableName[i] = dentry->d_name.name[i]; in efivarfs_create()
116 d_make_persistent(dentry, inode); in efivarfs_create()
121 static int efivarfs_unlink(struct inode *dir, struct dentry *dentry) in efivarfs_unlink() argument
123 struct efivar_entry *var = d_inode(dentry)->i_private; in efivarfs_unlink()
128 return simple_unlink(dir, dentry); in efivarfs_unlink()
[all …]

12345678910>>...46