Home
last modified time | relevance | path

Searched +defs:s +defs:path (Results 1 – 25 of 161) sorted by relevance

1234567

/linux-6.15/drivers/md/
H A Ddm-ps-queue-length.c38 struct dm_path *path; member
45 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector() local
58 struct selector *s = alloc_selector(); in ql_create() local
79 struct selector *s = ps->context; in ql_destroy() local
87 static int ql_status(struct path_selector *ps, struct dm_path *path, in ql_status()
115 static int ql_add_path(struct path_selector *ps, struct dm_path *path, in ql_add_path()
118 struct selector *s = ps->context; in ql_add_path() local
166 struct selector *s = ps->context; in ql_fail_path() local
177 struct selector *s = ps->context; in ql_reinstate_path() local
193 struct selector *s = ps->context; in ql_select_path() local
[all …]
H A Ddm-ps-service-time.c33 struct dm_path *path; member
41 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector() local
54 struct selector *s = alloc_selector(); in st_create() local
75 struct selector *s = ps->context; in st_destroy() local
83 static int st_status(struct path_selector *ps, struct dm_path *path, in st_status()
112 static int st_add_path(struct path_selector *ps, struct dm_path *path, in st_add_path()
115 struct selector *s = ps->context; in st_add_path() local
178 struct selector *s = ps->context; in st_fail_path() local
189 struct selector *s = ps->context; in st_reinstate_path() local
279 struct selector *s = ps->context; in st_select_path() local
[all …]
H A Ddm-ps-historical-service-time.c56 struct dm_path *path; member
149 struct selector *s = ps->context; in hst_weight() local
164 struct selector *s = ps->context; in hst_set_weights() local
177 struct selector *s; in hst_create() local
229 struct selector *s = ps->context; in hst_destroy() local
244 struct selector *s = ps->context; in hst_status() local
270 struct selector *s = ps->context; in hst_add_path() local
321 struct selector *s = ps->context; in hst_fail_path() local
333 struct selector *s = ps->context; in hst_reinstate_path() local
370 struct selector *s = ps->context; in hst_compare() local
[all …]
H A Ddm-ps-round-robin.c31 struct dm_path *path; member
58 struct selector *s = kmalloc(sizeof(*s), GFP_KERNEL); in alloc_selector() local
71 struct selector *s; in rr_create() local
83 struct selector *s = ps->context; in rr_destroy() local
91 static int rr_status(struct path_selector *ps, struct dm_path *path, in rr_status()
121 static int rr_add_path(struct path_selector *ps, struct dm_path *path, in rr_add_path()
124 struct selector *s = ps->context; in rr_add_path() local
168 struct selector *s = ps->context; in rr_fail_path() local
179 struct selector *s = ps->context; in rr_reinstate_path() local
192 struct selector *s = ps->context; in rr_select_path() local
H A Ddm-ps-io-affinity.c15 struct dm_path *path; member
27 static void ioa_free_path(struct selector *s, unsigned int cpu) in ioa_free_path()
43 static int ioa_add_path(struct path_selector *ps, struct dm_path *path, in ioa_add_path()
46 struct selector *s = ps->context; in ioa_add_path() local
113 struct selector *s; in ioa_create() local
140 struct selector *s = ps->context; in ioa_destroy() local
153 static int ioa_status(struct path_selector *ps, struct dm_path *path, in ioa_status()
156 struct selector *s = ps->context; in ioa_status() local
200 struct selector *s = ps->context; in ioa_select_path() local
/linux-6.15/security/tomoyo/
H A Dtomoyo.c19 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_domain() local
41 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_cred_prepare() local
59 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_bprm_committed_creds() local
94 struct tomoyo_task *s = tomoyo_task(current); in tomoyo_bprm_check_security() local
121 static int tomoyo_inode_getattr(const struct path *path) in tomoyo_inode_getattr()
133 static int tomoyo_path_truncate(const struct path *path) in tomoyo_path_truncate()
160 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_unlink() local
177 struct path path = { .mnt = parent->mnt, .dentry = dentry }; in tomoyo_path_mkdir() local
396 static int tomoyo_path_chroot(const struct path *path) in tomoyo_path_chroot()
535 struct tomoyo_task *s = tomoyo_task(task); in tomoyo_task_free() local
[all …]
/linux-6.15/drivers/interconnect/
H A Dcore.c34 static void icc_summary_show_one(struct seq_file *s, struct icc_node *n) in icc_summary_show_one()
43 static int icc_summary_show(struct seq_file *s, void *data) in icc_summary_show()
82 static void icc_graph_show_link(struct seq_file *s, int level, in icc_graph_show_link()
90 static void icc_graph_show_node(struct seq_file *s, struct icc_node *n) in icc_graph_show_node()
99 static int icc_graph_show(struct seq_file *s, void *data) in icc_graph_show()
170 struct icc_path *path; in path_init() local
426 struct icc_path **ptr, *path; in devm_of_icc_get() local
461 struct icc_path *path; in of_icc_get_by_index() local
766 int icc_enable(struct icc_path *path) in icc_enable()
772 int icc_disable(struct icc_path *path) in icc_disable()
[all …]
/linux-6.15/tools/verification/rv/src/
H A Din_kernel.c37 char path[MAX_PATH]; in __ikm_read_enable() local
122 char path[MAX_PATH]; in ikm_write_enable() local
165 char path[MAX_PATH]; in ikm_read_desc() local
234 char path[MAX_PATH]; in ikm_write_reactor() local
252 char path[MAX_PATH]; in ikm_read_reactor() local
311 char path[MAX_PATH]; in ikm_has_id() local
384 static void ikm_print_header(struct trace_seq *s) in ikm_print_header()
416 ikm_event_handler(struct trace_seq *s, struct tep_record *record, in ikm_event_handler()
477 ikm_error_handler(struct trace_seq *s, struct tep_record *record, in ikm_error_handler()
/linux-6.15/fs/bcachefs/
H A Dbtree_iter.c240 struct btree_path *path; in bch2_trans_verify_paths() local
332 struct btree_path *path; in bch2_assert_pos_locked() local
410 struct btree_path *path; in bch2_btree_path_fix_key_modified() local
691 struct btree_path *path; in bch2_trans_node_drop() local
707 struct btree_path *path; in bch2_trans_node_reinit_iter() local
1607 struct btree_transaction_stats *s = btree_trans_stats(trans); in bch2_trans_update_max_paths() local
2630 struct btree_path *s = saved_path ? trans->paths + saved_path : NULL; in bch2_btree_iter_peek_prev_min() local
3114 struct btree_transaction_stats *s = btree_trans_stats(trans); in __bch2_trans_kmalloc() local
3377 struct btree_transaction_stats *s = &c->btree_transaction_stats[fn_idx]; in __bch2_trans_get() local
3586 struct btree_transaction_stats *s; in bch2_fs_btree_iter_exit() local
[all …]
/linux-6.15/fs/smb/client/
H A Ddfs_cache.c40 const char *path; member
323 const unsigned char *s = data; in cache_entry_hash() local
555 static struct cache_entry *lookup_cache_entry(const char *path) in lookup_cache_entry()
559 const char *s = path, *e; in lookup_cache_entry() local
683 const char *path, in cache_refresh_path()
754 static int setup_referral(const char *path, struct cache_entry *ce, in setup_referral()
855 int remap, const char *path, struct dfs_info3_param *ref, in dfs_cache_find()
1019 const char *s, *seps = "/\\"; in parse_target_share() local
1144 const char *path; in refresh_ses_referral() local
1173 const char *path, in __refresh_tcon_referral()
[all …]
H A Dnamespace.c138 char *s; in automount_fullpath() local
189 static struct vfsmount *cifs_do_automount(struct path *path) in cifs_do_automount()
274 struct vfsmount *cifs_d_automount(struct path *path) in cifs_d_automount()
H A Dcached_dir.c26 const char *path, in find_or_create_cached_dir()
75 path_to_dentry(struct cifs_sb_info *cifs_sb, const char *path) in path_to_dentry()
78 const char *s, *p; in path_to_dentry() local
112 static const char *path_no_prefix(struct cifs_sb_info *cifs_sb, in path_no_prefix()
134 const char *path, in open_cached_dir()
623 static struct cached_fid *init_cached_dir(const char *path) in init_cached_dir()
/linux-6.15/tools/perf/util/
H A Dcgroup.c33 char path[PATH_MAX + 1]; in open_cgroup() local
51 static u64 __read_cgroup_id(const char *path) in __read_cgroup_id()
68 char path[PATH_MAX + 1]; in read_cgroup_id() local
264 char *s; in list_cgroups() local
307 char *s; in match_cgroups() local
366 char *s; in parse_cgroups() local
522 bool create, const char *path) in __cgroup__findnew()
565 const char *path) in cgroup__findnew()
/linux-6.15/fs/
H A Dnamespace.c2134 int path_umount(struct path *path, int flags) in path_umount()
2152 struct path path; in ksys_umount() local
3761 const struct path *path, int mnt_flags) in do_add_mount()
4215 struct path path; in do_mount() local
4377 struct super_block *s; in mount_subtree() local
4378 struct path path; in mount_subtree() local
5391 static void statmount_sb_basic(struct kstatmount *s) in statmount_sb_basic()
5402 static void statmount_mnt_basic(struct kstatmount *s) in statmount_mnt_basic()
5417 static void statmount_propagate_from(struct kstatmount *s) in statmount_propagate_from()
5647 static int statmount_string(struct kstatmount *s, u64 flag) in statmount_string()
[all …]
/linux-6.15/include/linux/
H A Dtrace_seq.h31 trace_seq_init(struct trace_seq *s) in trace_seq_init()
51 static inline int trace_seq_used(struct trace_seq *s) in trace_seq_used()
66 trace_seq_buffer_ptr(struct trace_seq *s) in trace_seq_buffer_ptr()
78 static inline bool trace_seq_has_overflowed(struct trace_seq *s) in trace_seq_has_overflowed()
113 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf()
122 trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, in trace_seq_bitmask()
127 static inline int trace_print_seq(struct seq_file *m, struct trace_seq *s) in trace_print_seq()
136 static inline void trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts()
139 static inline void trace_seq_putc(struct trace_seq *s, unsigned char c) in trace_seq_putc()
143 trace_seq_putmem(struct trace_seq *s, const void *mem, unsigned int len) in trace_seq_putmem()
[all …]
/linux-6.15/fs/kernfs/
H A Dsymlink.c57 struct kernfs_node *target, char *path) in kernfs_get_target_path()
60 char *s = path; in kernfs_get_target_path() local
112 static int kernfs_getlink(struct inode *inode, char *path) in kernfs_getlink()
/linux-6.15/fs/configfs/
H A Dsymlink.c57 struct config_item *target, char *path) in configfs_get_target_path()
60 char *s; in configfs_get_target_path() local
117 static int get_target(const char *symname, struct path *path, in get_target()
144 struct path path; in configfs_symlink() local
/linux-6.15/kernel/trace/
H A Dtrace_seq.c28 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq) argument
33 static inline void __trace_seq_init(struct trace_seq *s) in __trace_seq_init()
48 int trace_print_seq(struct seq_file *m, struct trace_seq *s) in trace_print_seq()
78 void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf()
108 void trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, in trace_seq_bitmask()
203 void trace_seq_puts(struct trace_seq *s, const char *str) in trace_seq_puts()
231 void trace_seq_putc(struct trace_seq *s, unsigned char c) in trace_seq_putc()
283 void trace_seq_putmem_hex(struct trace_seq *s, const void *mem, in trace_seq_putmem_hex()
322 int trace_seq_path(struct trace_seq *s, const struct path *path) in trace_seq_path()
379 int trace_seq_hex_dump(struct trace_seq *s, const char *prefix_str, in trace_seq_hex_dump()
[all …]
/linux-6.15/fs/overlayfs/
H A Dparams.c163 static char *ovl_next_opt(char **s) in ovl_next_opt()
194 char *s, *d; in ovl_parse_param_split_lowerdirs() local
231 static int ovl_mount_dir_noesc(const char *name, struct path *path) in ovl_mount_dir_noesc()
250 static void ovl_unescape(char *s) in ovl_unescape()
263 static int ovl_mount_dir(const char *name, struct path *path) in ovl_mount_dir()
276 static int ovl_mount_dir_check(struct fs_context *fc, const struct path *path, in ovl_mount_dir_check()
339 struct path *path, char **pname) in ovl_add_layer()
/linux-6.15/fs/smb/server/
H A Dmisc.c32 const char *s = str; in match_pattern() local
163 const struct path *path) in convert_to_nt_pathname()
211 void ksmbd_conv_path_to_unix(char *path) in ksmbd_conv_path_to_unix()
216 void ksmbd_strip_last_slash(char *path) in ksmbd_strip_last_slash()
226 void ksmbd_conv_path_to_windows(char *path) in ksmbd_conv_path_to_windows()
/linux-6.15/tools/lib/subcmd/
H A Dhelp.c108 char *s = getenv("LINES"); in get_term_dimensions() local
180 const char *path, in list_commands_in_dir()
231 char *paths, *path, *colon; in load_command_list() local
286 int is_in_cmdlist(struct cmdnames *c, const char *s) in is_in_cmdlist()
/linux-6.15/lib/
H A Dseq_buf.c38 static bool seq_buf_can_fit(struct seq_buf *s, size_t len) in seq_buf_can_fit()
50 int seq_buf_print_seq(struct seq_file *m, struct seq_buf *s) in seq_buf_print_seq()
67 int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args) in seq_buf_vprintf()
93 int seq_buf_printf(struct seq_buf *s, const char *fmt, ...) in seq_buf_printf()
115 void seq_buf_do_printk(struct seq_buf *s, const char *lvl) in seq_buf_do_printk()
154 int seq_buf_bprintf(struct seq_buf *s, const char *fmt, const u32 *binary) in seq_buf_bprintf()
182 int seq_buf_puts(struct seq_buf *s, const char *str) in seq_buf_puts()
211 int seq_buf_putc(struct seq_buf *s, unsigned char c) in seq_buf_putc()
236 int seq_buf_putmem(struct seq_buf *s, const void *mem, unsigned int len) in seq_buf_putmem()
264 int seq_buf_putmem_hex(struct seq_buf *s, const void *mem,
[all …]
/linux-6.15/fs/devpts/
H A Dinode.c113 static int devpts_ptmx_path(struct path *path) in devpts_ptmx_path()
152 struct path path; in devpts_mntget() local
184 struct path path; in devpts_acquire() local
374 static int devpts_fill_super(struct super_block *s, struct fs_context *fc) in devpts_fill_super()
519 char s[12]; in devpts_pty_new() local
/linux-6.15/ipc/
H A Dutil.c74 const char *path; member
138 void __init ipc_init_proc_interface(const char *path, const char *header, in ipc_init_proc_interface()
776 struct pid_namespace *ipc_seq_pid_ns(struct seq_file *s) in ipc_seq_pid_ns()
816 static void *sysvipc_proc_next(struct seq_file *s, void *it, loff_t *pos) in sysvipc_proc_next()
835 static void *sysvipc_proc_start(struct seq_file *s, loff_t *pos) in sysvipc_proc_start()
861 static void sysvipc_proc_stop(struct seq_file *s, void *it) in sysvipc_proc_stop()
877 static int sysvipc_proc_show(struct seq_file *s, void *it) in sysvipc_proc_show()
/linux-6.15/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c309 int parse_optarg_string(char *s) in parse_optarg_string()
348 void parse_cmdline_all(char *s) in parse_cmdline_all()
376 void parse_cmdline_cpu(char *s) in parse_cmdline_cpu()
459 void parse_cmdline_pkg(char *s) in parse_cmdline_pkg()
631 FILE *fopen_or_die(const char *path, const char *mode) in fopen_or_die()
727 static unsigned int read_sysfs(const char *path, char *buf, size_t buflen) in read_sysfs()
748 static unsigned int write_sysfs(const char *path, char *buf, size_t buflen) in write_sysfs()
848 char path[SYSFS_PATH_MAX]; in get_epb() local
870 char path[SYSFS_PATH_MAX]; in set_epb() local

1234567