Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 49) sorted by relevance

12

/include/linux/
Dnamei.h14 struct path path; member
16 struct path root;
59 extern int user_path_at(int, const char __user *, unsigned, struct path *);
60 extern int user_path_at_empty(int, const char __user *, unsigned, struct path *, int *empty);
62 #define user_path(name, path) user_path_at(AT_FDCWD, name, LOOKUP_FOLLOW, path) argument
63 #define user_lpath(name, path) user_path_at(AT_FDCWD, name, 0, path) argument
64 #define user_path_dir(name, path) \ argument
65 user_path_at(AT_FDCWD, name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, path)
67 extern int kern_path(const char *, unsigned, struct path *);
69 extern struct dentry *kern_path_create(int, const char *, struct path *, unsigned int);
[all …]
Ddcookies.h19 struct path;
47 int get_dcookie(struct path *path, unsigned long *cookie);
61 static inline int get_dcookie(struct path *path, unsigned long *cookie) in get_dcookie() argument
Dpath.h7 struct path { struct
12 extern void path_get(const struct path *); argument
13 extern void path_put(const struct path *);
15 static inline int path_equal(const struct path *path1, const struct path *path2) in path_equal()
Dfsnotify.h29 static inline int fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask) in fsnotify_parent() argument
32 dentry = path->dentry; in fsnotify_parent()
34 return __fsnotify_parent(path, dentry, mask); in fsnotify_parent()
40 struct path *path = &file->f_path; in fsnotify_perm() local
56 ret = fsnotify_parent(path, NULL, fsnotify_mask); in fsnotify_perm()
60 return fsnotify(inode, fsnotify_mask, path, FSNOTIFY_EVENT_PATH, NULL, 0); in fsnotify_perm()
196 struct path *path = &file->f_path; in fsnotify_access() local
204 fsnotify_parent(path, NULL, mask); in fsnotify_access()
205 fsnotify(inode, mask, path, FSNOTIFY_EVENT_PATH, NULL, 0); in fsnotify_access()
214 struct path *path = &file->f_path; in fsnotify_modify() local
[all …]
Dfs_struct.h14 struct path root, pwd;
20 extern void set_fs_root(struct fs_struct *, const struct path *);
21 extern void set_fs_pwd(struct fs_struct *, const struct path *);
26 static inline void get_fs_root(struct fs_struct *fs, struct path *root) in get_fs_root()
34 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd()
Dmount.h73 struct path;
82 extern struct vfsmount *mnt_clone_internal(struct path *path);
85 struct path;
86 extern struct vfsmount *clone_private_mount(struct path *path);
Dlsm_audit.h44 struct path path; member
63 struct path path; member
Dtrace_seq.h61 extern int trace_seq_path(struct trace_seq *s, const struct path *path);
111 static inline int trace_seq_path(struct trace_seq *s, const struct path *path) in trace_seq_path() argument
Dsecurity.h44 struct path;
1480 int (*sb_mount) (const char *dev_name, struct path *path,
1483 int (*sb_pivotroot) (struct path *old_path,
1484 struct path *new_path);
1498 int (*path_unlink) (struct path *dir, struct dentry *dentry);
1499 int (*path_mkdir) (struct path *dir, struct dentry *dentry, umode_t mode);
1500 int (*path_rmdir) (struct path *dir, struct dentry *dentry);
1501 int (*path_mknod) (struct path *dir, struct dentry *dentry, umode_t mode,
1503 int (*path_truncate) (struct path *path);
1504 int (*path_symlink) (struct path *dir, struct dentry *dentry,
[all …]
Dkmod.h59 char *path; member
70 call_usermodehelper(char *path, char **argv, char **envp, int wait);
73 call_usermodehelper_setup(char *path, char **argv, char **envp, gfp_t gfp_mask,
Dsysctl.h179 const char *path, struct ctl_table *table);
182 const struct ctl_path *path, struct ctl_table *table);
183 struct ctl_table_header *register_sysctl(const char *path, struct ctl_table *table);
185 struct ctl_table_header *register_sysctl_paths(const struct ctl_path *path,
198 const struct ctl_path *path, struct ctl_table *table) in register_sysctl_paths() argument
Dearlycpio.h14 struct cpio_data find_cpio_data(const char *path, void *data, size_t len,
Ddcache.h14 struct path;
161 struct vfsmount *(*d_automount)(struct path *);
163 void (*d_canonical_path)(const struct path *, struct path *);
337 extern char *__d_path(const struct path *, const struct path *, char *, int);
338 extern char *d_absolute_path(const struct path *, char *, int);
339 extern char *d_path(const struct path *, char *, int);
Dfile.h19 struct path;
20 extern struct file *alloc_file(struct path *, fmode_t mode,
Dseq_file.h13 struct path;
110 int seq_path(struct seq_file *, const struct path *, const char *);
112 int seq_path_root(struct seq_file *m, const struct path *path,
113 const struct path *root, const char *esc);
Dstring.h159 static inline const char *kbasename(const char *path) in kbasename() argument
161 const char *tail = strrchr(path, '/'); in kbasename()
162 return tail ? tail + 1 : path; in kbasename()
Daudit.h40 struct path;
486 const struct path *path);
490 struct path *link);
542 const struct path *path) in audit_log_d_path() argument
547 const struct path *link) in audit_log_link_denied()
Dfsnotify_backend.h257 extern int __fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask);
389 static inline int __fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask) in __fsnotify_parent() argument
/include/net/iucv/
Diucv.h225 struct iucv_path *path; in iucv_path_alloc() local
227 path = kzalloc(sizeof(struct iucv_path), gfp); in iucv_path_alloc()
228 if (path) { in iucv_path_alloc()
229 path->msglim = msglim; in iucv_path_alloc()
230 path->flags = flags; in iucv_path_alloc()
232 return path; in iucv_path_alloc()
241 static inline void iucv_path_free(struct iucv_path *path) in iucv_path_free() argument
243 kfree(path); in iucv_path_free()
258 int iucv_path_accept(struct iucv_path *path, struct iucv_handler *handler,
276 int iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler,
[all …]
Daf_iucv.h55 struct iucv_path *path; member
116 struct iucv_path *path; member
/include/video/
Dmmp_disp.h160 struct mmp_path *path; member
202 int (*check_status)(struct mmp_path *path);
203 struct mmp_overlay *(*get_overlay)(struct mmp_path *path,
205 int (*get_modelist)(struct mmp_path *path,
209 void (*set_mode)(struct mmp_path *path, struct mmp_mode *mode);
210 void (*set_onoff)(struct mmp_path *path, int status);
251 static inline void mmp_path_set_mode(struct mmp_path *path, in mmp_path_set_mode() argument
254 if (path) in mmp_path_set_mode()
255 path->ops.set_mode(path, mode); in mmp_path_set_mode()
257 static inline void mmp_path_set_onoff(struct mmp_path *path, int status) in mmp_path_set_onoff() argument
[all …]
/include/trace/events/
Dasoc.h158 struct snd_soc_dapm_path *path),
160 TP_ARGS(widget, path),
164 __string( pname, path->name ? path->name : DAPM_DIRECT)
165 __string( psname, path->sink->name )
172 __assign_str(pname, path->name ? path->name : DAPM_DIRECT);
173 __assign_str(psname, path->sink->name);
174 __entry->path_connect = path->connect;
175 __entry->path_sink = (long)path->sink;
187 struct snd_soc_dapm_path *path),
189 TP_ARGS(widget, path),
[all …]
Dandroid_fs.h42 char *path; in android_fstrace_get_pathname() local
53 path = dentry_path_raw(d, buf, buflen); in android_fstrace_get_pathname()
54 if (unlikely(IS_ERR(path))) { in android_fstrace_get_pathname()
56 path = buf; in android_fstrace_get_pathname()
61 path = buf; in android_fstrace_get_pathname()
63 return path; in android_fstrace_get_pathname()
/include/net/
Daf_unix.h55 struct path path; member
/include/linux/ceph/
Ddecode.h198 u64 ino, const char *path) in ceph_encode_filepath() argument
200 u32 len = path ? strlen(path) : 0; in ceph_encode_filepath()
206 memcpy(*p, path, len); in ceph_encode_filepath()

12