Home
last modified time | relevance | path

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

123

/include/linux/
Dpath.h8 struct path { struct
13 extern void path_get(const struct path *); argument
14 extern void path_put(const struct path *);
16 static inline int path_equal(const struct path *path1, const struct path *path2) in path_equal()
21 static inline void path_put_init(struct path *path) in path_put_init() argument
23 path_put(path); in path_put_init()
24 *path = (struct path) { }; in path_put_init()
Dnamei.h53 extern int path_pts(struct path *path);
55 extern int user_path_at_empty(int, const char __user *, unsigned, struct path *, int *empty);
58 struct path *path) in user_path_at() argument
60 return user_path_at_empty(dfd, name, flags, path, NULL); in user_path_at()
63 extern int kern_path(const char *, unsigned, struct path *);
65 extern struct dentry *kern_path_create(int, const char *, struct path *, unsigned int);
66 extern struct dentry *user_path_create(int, const char __user *, struct path *, unsigned int);
67 extern void done_path_create(struct path *, struct dentry *);
68 extern struct dentry *kern_path_locked(const char *, struct path *);
75 extern int follow_down_one(struct path *);
[all …]
Dinterconnect.h35 struct icc_path *path; member
55 void icc_put(struct icc_path *path);
56 int icc_enable(struct icc_path *path);
57 int icc_disable(struct icc_path *path);
58 int icc_set_bw(struct icc_path *path, u32 avg_bw, u32 peak_bw);
59 void icc_set_tag(struct icc_path *path, u32 tag);
60 const char *icc_get_name(struct icc_path *path);
87 static inline void icc_put(struct icc_path *path) in icc_put() argument
91 static inline int icc_enable(struct icc_path *path) in icc_enable() argument
96 static inline int icc_disable(struct icc_path *path) in icc_disable() argument
[all …]
Ddcookies.h20 struct path;
48 int get_dcookie(const struct path *path, unsigned long *cookie);
62 static inline int get_dcookie(const struct path *path, unsigned long *cookie) in get_dcookie() argument
Dfs_struct.h15 struct path root, pwd;
21 extern void set_fs_root(struct fs_struct *, const struct path *);
22 extern void set_fs_pwd(struct fs_struct *, const struct path *);
27 static inline void get_fs_root(struct fs_struct *fs, struct path *root) in get_fs_root()
35 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd()
Dmount.h84 struct path;
93 extern struct vfsmount *mnt_clone_internal(const struct path *path);
97 struct path;
98 extern struct vfsmount *clone_private_mount(const struct path *path);
119 extern bool path_is_mountpoint(const struct path *path);
Dproc_ns.h12 struct path;
77 extern int ns_get_path(struct path *path, struct task_struct *task,
80 extern int ns_get_path_cb(struct path *path, ns_get_path_helper_t ns_get_cb,
Dsysctl.h196 const char *path, struct ctl_table *table);
199 const struct ctl_path *path, struct ctl_table *table);
200 struct ctl_table_header *register_sysctl(const char *path, struct ctl_table *table);
202 struct ctl_table_header *register_sysctl_paths(const struct ctl_path *path,
208 extern void __register_sysctl_init(const char *path, struct ctl_table *table,
210 #define register_sysctl_init(path, table) __register_sysctl_init(path, table, #table) argument
230 const struct ctl_path *path, struct ctl_table *table) in register_sysctl_paths() argument
235 static inline struct ctl_table_header *register_sysctl(const char *path, struct ctl_table *table) in register_sysctl() argument
Dlsm_audit.h46 struct path path; member
79 struct path path; member
Dumh.h22 const char *path; member
33 call_usermodehelper(const char *path, char **argv, char **envp, int wait);
36 call_usermodehelper_setup(const char *path, char **argv, char **envp,
Dsecurity.h48 struct path;
299 int security_sb_mount(const char *dev_name, const struct path *path,
302 int security_sb_pivotroot(const struct path *old_path, const struct path *new_path);
313 int security_move_mount(const struct path *from_path, const struct path *to_path);
321 int security_path_notify(const struct path *path, u64 mask,
351 int security_inode_getattr(const struct path *path);
660 static inline int security_sb_mount(const char *dev_name, const struct path *path, in security_sb_mount() argument
672 static inline int security_sb_pivotroot(const struct path *old_path, in security_sb_pivotroot()
673 const struct path *new_path) in security_sb_pivotroot()
700 static inline int security_move_mount(const struct path *from_path, in security_move_mount()
[all …]
Dlsm_hook_defs.h69 LSM_HOOK(int, 0, sb_mount, const char *dev_name, const struct path *path,
72 LSM_HOOK(int, 0, sb_pivotroot, const struct path *old_path,
73 const struct path *new_path)
81 LSM_HOOK(int, 0, move_mount, const struct path *from_path,
82 const struct path *to_path)
89 LSM_HOOK(int, 0, path_unlink, const struct path *dir, struct dentry *dentry)
90 LSM_HOOK(int, 0, path_mkdir, const struct path *dir, struct dentry *dentry,
92 LSM_HOOK(int, 0, path_rmdir, const struct path *dir, struct dentry *dentry)
93 LSM_HOOK(int, 0, path_mknod, const struct path *dir, struct dentry *dentry,
95 LSM_HOOK(int, 0, path_truncate, const struct path *path)
[all …]
Dtrace_seq.h90 extern int trace_seq_path(struct trace_seq *s, const struct path *path);
137 static inline int trace_seq_path(struct trace_seq *s, const struct path *path) in trace_seq_path() argument
Ddcache.h18 struct path;
151 struct vfsmount *(*d_automount)(struct path *);
152 int (*d_manage)(const struct path *, bool);
154 void (*d_canonical_path)(const struct path *, struct path *);
274 extern int path_has_submounts(const struct path *);
306 extern char *__d_path(const struct path *, const struct path *, char *, int);
307 extern char *d_absolute_path(const struct path *, char *, int);
308 extern char *d_path(const struct path *, char *, int);
Dkernel_read_file.h42 int kernel_read_file_from_path(const char *path, loff_t offset,
46 int kernel_read_file_from_path_initns(const char *path, loff_t offset,
Dearlycpio.h15 struct cpio_data find_cpio_data(const char *path, void *data, size_t len,
/include/trace/events/
Dcgroup.h56 TP_PROTO(struct cgroup *cgrp, const char *path),
58 TP_ARGS(cgrp, path),
64 __string( path, path )
71 __assign_str(path, path);
75 __entry->root, __entry->id, __entry->level, __get_str(path))
80 TP_PROTO(struct cgroup *cgrp, const char *path),
82 TP_ARGS(cgrp, path)
87 TP_PROTO(struct cgroup *cgrp, const char *path),
89 TP_ARGS(cgrp, path)
94 TP_PROTO(struct cgroup *cgrp, const char *path),
[all …]
Dnamei.h16 TP_PROTO(struct inode *inode, char *path),
18 TP_ARGS(inode, path),
26 __string(path, path)
32 __assign_str(path, path);
37 __entry->ino, __get_str(path))
Dandroid_fs.h43 char *path; in android_fstrace_get_pathname() local
54 path = dentry_path_raw(d, buf, buflen); in android_fstrace_get_pathname()
55 if (unlikely(IS_ERR(path))) { in android_fstrace_get_pathname()
57 path = buf; in android_fstrace_get_pathname()
62 path = buf; in android_fstrace_get_pathname()
64 return path; in android_fstrace_get_pathname()
Diocost.h16 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime),
23 __string(cgroup, path)
38 __assign_str(cgroup, path);
64 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
68 TP_ARGS(iocg, path, now, old_inuse, new_inuse,
73 __string(cgroup, path)
83 __assign_str(cgroup, path);
100 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
104 TP_ARGS(iocg, path, now, old_inuse, new_inuse,
[all …]
Dasoc.h160 struct snd_soc_dapm_path *path),
162 TP_ARGS(widget, dir, path),
166 __string( pname, path->name ? path->name : DAPM_DIRECT)
167 __string( pnname, path->node[dir]->name )
175 __assign_str(pname, path->name ? path->name : DAPM_DIRECT);
176 __assign_str(pnname, path->node[dir]->name);
177 __entry->path_connect = path->connect;
178 __entry->path_node = (long)path->node[dir];
/include/net/iucv/
Diucv.h226 struct iucv_path *path; in iucv_path_alloc() local
228 path = kzalloc(sizeof(struct iucv_path), gfp); in iucv_path_alloc()
229 if (path) { in iucv_path_alloc()
230 path->msglim = msglim; in iucv_path_alloc()
231 path->flags = flags; in iucv_path_alloc()
233 return path; in iucv_path_alloc()
242 static inline void iucv_path_free(struct iucv_path *path) in iucv_path_free() argument
244 kfree(path); in iucv_path_free()
259 int iucv_path_accept(struct iucv_path *path, struct iucv_handler *handler,
277 int iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler,
[all …]
/include/video/
Dmmp_disp.h147 struct mmp_path *path; member
189 int (*check_status)(struct mmp_path *path);
190 struct mmp_overlay *(*get_overlay)(struct mmp_path *path,
192 int (*get_modelist)(struct mmp_path *path,
196 void (*set_mode)(struct mmp_path *path, struct mmp_mode *mode);
197 void (*set_onoff)(struct mmp_path *path, int status);
238 static inline void mmp_path_set_mode(struct mmp_path *path, in mmp_path_set_mode() argument
241 if (path) in mmp_path_set_mode()
242 path->ops.set_mode(path, mode); in mmp_path_set_mode()
244 static inline void mmp_path_set_onoff(struct mmp_path *path, int status) in mmp_path_set_onoff() argument
[all …]
/include/uapi/linux/netfilter/
Dxt_cgroup.h18 char path[PATH_MAX]; member
33 char path[XT_CGROUP_PATH_MAX]; member
/include/xen/
Dxenbus.h71 const char *path, const char *token);
75 const char *path, const char *token);
205 int xenbus_watch_path(struct xenbus_device *dev, const char *path,
230 enum xenbus_state xenbus_read_driver_state(const char *path);

123