Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 31) sorted by relevance

12

/kernel/trace/
Dtrace_branch.c31 probe_likely_condition(struct ftrace_likely_data *f, int val, int expect) in probe_likely_condition() argument
72 p = f->data.file + strlen(f->data.file); in probe_likely_condition()
73 while (p >= f->data.file && *p != '/') in probe_likely_condition()
77 strncpy(entry->func, f->data.func, TRACE_FUNC_SIZE); in probe_likely_condition()
81 entry->constant = f->constant; in probe_likely_condition()
82 entry->line = f->data.line; in probe_likely_condition()
94 void trace_likely_condition(struct ftrace_likely_data *f, int val, int expect) in trace_likely_condition() argument
99 probe_likely_condition(f, val, expect); in trace_likely_condition()
200 void trace_likely_condition(struct ftrace_likely_data *f, int val, int expect) in trace_likely_condition() argument
205 void ftrace_likely_update(struct ftrace_likely_data *f, int val, in ftrace_likely_update() argument
[all …]
Dtrace_events_filter_test.h12 TP_PROTO(int a, int b, int c, int d, int e, int f, int g, int h),
14 TP_ARGS(a, b, c, d, e, f, g, h),
22 __field(int, f)
33 __entry->f = f;
40 __entry->e, __entry->f, __entry->g, __entry->h)
Dtrace_stat.c261 static int tracing_stat_release(struct inode *i, struct file *f) in tracing_stat_release() argument
267 return seq_release(i, f); in tracing_stat_release()
/kernel/
Dauditfilter.c65 static void audit_free_lsm_field(struct audit_field *f) in audit_free_lsm_field() argument
67 switch (f->type) { in audit_free_lsm_field()
78 kfree(f->lsm_str); in audit_free_lsm_field()
79 security_audit_rule_free(f->lsm_rule); in audit_free_lsm_field()
154 struct audit_field *f) in audit_to_inode() argument
159 (f->op != Audit_equal && f->op != Audit_not_equal)) in audit_to_inode()
162 krule->inode_f = f; in audit_to_inode()
327 static int audit_field_valid(struct audit_entry *entry, struct audit_field *f) in audit_field_valid() argument
329 switch (f->type) { in audit_field_valid()
347 switch(f->type) { in audit_field_valid()
[all …]
Dauditsc.c331 struct audit_field *f, in audit_compare_uid() argument
338 rc = audit_uid_comparator(uid, f->op, name->uid); in audit_compare_uid()
345 rc = audit_uid_comparator(uid, f->op, n->uid); in audit_compare_uid()
355 struct audit_field *f, in audit_compare_gid() argument
362 rc = audit_gid_comparator(gid, f->op, name->gid); in audit_compare_gid()
369 rc = audit_gid_comparator(gid, f->op, n->gid); in audit_compare_gid()
379 struct audit_field *f, in audit_field_compare() argument
383 switch (f->val) { in audit_field_compare()
386 return audit_compare_uid(cred->uid, name, f, ctx); in audit_field_compare()
388 return audit_compare_gid(cred->gid, name, f, ctx); in audit_field_compare()
[all …]
Dgen_kheaders.sh67 for f in $dir_list
68 do find "$f" -name "*.h";
75 for f in $dir_list;
76 do find "$f" -name "*.h";
80 find $cpio_dir -type f -print0 |
Dpid.c527 struct fd f; in pidfd_get_pid() local
530 f = fdget(fd); in pidfd_get_pid()
531 if (!f.file) in pidfd_get_pid()
534 pid = pidfd_pid(f.file); in pidfd_get_pid()
537 *flags = f.file->f_flags; in pidfd_get_pid()
540 fdput(f); in pidfd_get_pid()
729 struct fd f; in SYSCALL_DEFINE3() local
736 f = fdget(pidfd); in SYSCALL_DEFINE3()
737 if (!f.file) in SYSCALL_DEFINE3()
740 pid = pidfd_pid(f.file); in SYSCALL_DEFINE3()
[all …]
Dseccomp.c406 struct seccomp_filter *f = in seccomp_run_filters() local
410 if (WARN_ON(f == NULL)) in seccomp_run_filters()
413 if (seccomp_cache_check_allow(f, sd)) in seccomp_run_filters()
420 for (; f; f = f->prev) { in seccomp_run_filters()
421 u32 cur_ret = bpf_prog_run_pin_on_cpu(f->prog, sd); in seccomp_run_filters()
425 *match = f; in seccomp_run_filters()
2428 struct seccomp_filter *f; in proc_pid_seccomp_cache() local
2441 f = READ_ONCE(task->seccomp.filter); in proc_pid_seccomp_cache()
2442 if (!f) { in proc_pid_seccomp_cache()
2448 __get_seccomp_filter(f); in proc_pid_seccomp_cache()
[all …]
Dwatch_queue.c667 struct fd f; in get_watch_queue() local
669 f = fdget(fd); in get_watch_queue()
670 if (f.file) { in get_watch_queue()
671 pipe = get_pipe_info(f.file, false); in get_watch_queue()
676 fdput(f); in get_watch_queue()
Dtaskstats.c415 struct fd f; in cgroupstats_user_cmd() local
422 f = fdget(fd); in cgroupstats_user_cmd()
423 if (!f.file) in cgroupstats_user_cmd()
444 rc = cgroupstats_build(stats, f.file->f_path.dentry); in cgroupstats_user_cmd()
453 fdput(f); in cgroupstats_user_cmd()
Dtorture.c382 int torture_onoff_init(long ooholdoff, long oointerval, torture_ofl_func *f) in torture_onoff_init() argument
387 onoff_f = f; in torture_onoff_init()
929 char *f, struct task_struct **tp) in _torture_create_kthread() argument
937 TOROUT_ERRSTRING(f); in _torture_create_kthread()
Dkprobes.c1025 #define unoptimize_kprobe(p, f) do {} while (0) argument
2797 static void *kprobe_seq_start(struct seq_file *f, loff_t *pos) in kprobe_seq_start() argument
2802 static void *kprobe_seq_next(struct seq_file *f, void *v, loff_t *pos) in kprobe_seq_next() argument
2810 static void kprobe_seq_stop(struct seq_file *f, void *v) in kprobe_seq_stop() argument
2878 static void kprobe_blacklist_seq_stop(struct seq_file *f, void *v) in kprobe_blacklist_seq_stop() argument
Dsignal.c3872 struct fd f; in SYSCALL_DEFINE4() local
3880 f = fdget(pidfd); in SYSCALL_DEFINE4()
3881 if (!f.file) in SYSCALL_DEFINE4()
3885 pid = pidfd_to_pid(f.file); in SYSCALL_DEFINE4()
3916 fdput(f); in SYSCALL_DEFINE4()
/kernel/bpf/
Dbpf_inode_storage.c108 struct file *f; in bpf_fd_inode_storage_lookup_elem() local
112 f = fget_raw(fd); in bpf_fd_inode_storage_lookup_elem()
113 if (!f) in bpf_fd_inode_storage_lookup_elem()
116 sdata = inode_storage_lookup(f->f_inode, map, true); in bpf_fd_inode_storage_lookup_elem()
117 fput(f); in bpf_fd_inode_storage_lookup_elem()
125 struct file *f; in bpf_fd_inode_storage_update_elem() local
129 f = fget_raw(fd); in bpf_fd_inode_storage_update_elem()
130 if (!f) in bpf_fd_inode_storage_update_elem()
132 if (!inode_storage_ptr(f->f_inode)) { in bpf_fd_inode_storage_update_elem()
133 fput(f); in bpf_fd_inode_storage_update_elem()
[all …]
Dmap_in_map.c14 struct fd f; in bpf_map_meta_alloc() local
16 f = fdget(inner_map_ufd); in bpf_map_meta_alloc()
17 inner_map = __bpf_map_get(f); in bpf_map_meta_alloc()
23 fdput(f); in bpf_map_meta_alloc()
28 fdput(f); in bpf_map_meta_alloc()
33 fdput(f); in bpf_map_meta_alloc()
44 fdput(f); in bpf_map_meta_alloc()
73 fdput(f); in bpf_map_meta_alloc()
101 struct fd f; in bpf_map_fd_get_ptr() local
103 f = fdget(ufd); in bpf_map_fd_get_ptr()
[all …]
Dsyscall.c180 static int bpf_map_update_value(struct bpf_map *map, struct fd f, void *key, in bpf_map_update_value() argument
195 return bpf_fd_array_map_update_elem(map, f.file, key, value, in bpf_map_update_value()
210 err = bpf_fd_array_map_update_elem(map, f.file, key, value, in bpf_map_update_value()
215 err = bpf_fd_htab_map_update_elem(map, f.file, key, value, in bpf_map_update_value()
673 static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f) in map_get_sys_perms() argument
675 fmode_t mode = f.file->f_mode; in map_get_sys_perms()
1200 struct bpf_map *__bpf_map_get(struct fd f) in __bpf_map_get() argument
1202 if (!f.file) in __bpf_map_get()
1204 if (f.file->f_op != &bpf_map_fops) { in __bpf_map_get()
1205 fdput(f); in __bpf_map_get()
[all …]
Dcpumap.c349 void *f = frames[i]; in cpu_map_kthread_run() local
352 if (unlikely(__ptr_test_bit(0, &f))) { in cpu_map_kthread_run()
353 struct sk_buff *skb = f; in cpu_map_kthread_run()
360 frames[xdp_n++] = f; in cpu_map_kthread_run()
361 page = virt_to_page(f); in cpu_map_kthread_run()
Dtask_iter.c310 struct file *f; in task_file_seq_get_next() local
311 f = task_lookup_next_fd_rcu(curr_task, &curr_fd); in task_file_seq_get_next()
312 if (!f) in task_file_seq_get_next()
314 if (!get_file_rcu(f)) in task_file_seq_get_next()
320 return f; in task_file_seq_get_next()
Dbtf.c6947 struct fd f; in btf_get_by_fd() local
6949 f = fdget(fd); in btf_get_by_fd()
6951 if (!f.file) in btf_get_by_fd()
6954 if (f.file->f_op != &btf_fops) { in btf_get_by_fd()
6955 fdput(f); in btf_get_by_fd()
6959 btf = f.file->private_data; in btf_get_by_fd()
6961 fdput(f); in btf_get_by_fd()
/kernel/irq/
Ddebug.h6 #define ___P(f) if (desc->status_use_accessors & f) printk("%14s set\n", #f) argument
7 #define ___PS(f) if (desc->istate & f) printk("%14s set\n", #f) argument
9 #define ___PD(f) do { } while (0) argument
/kernel/debug/kdb/
Dkdb_io.c132 get_char_func *f, *f_prev = NULL; in kdb_getchar() local
135 for (f = &kdb_poll_funcs[0]; ; ++f) { in kdb_getchar()
136 if (*f == NULL) { in kdb_getchar()
139 f = &kdb_poll_funcs[0]; in kdb_getchar()
142 key = (*f)(); in kdb_getchar()
157 if (f_prev != f) { in kdb_getchar()
158 f_prev = f; in kdb_getchar()
463 get_char_func *f; in kdb_input_flush() local
470 for (f = &kdb_poll_funcs[0]; *f; ++f) { in kdb_input_flush()
471 res = (*f)(); in kdb_input_flush()
/kernel/rcu/
Dtiny.c87 rcu_callback_t f; in rcu_reclaim_tiny() local
99 f = head->func; in rcu_reclaim_tiny()
101 f(head); in rcu_reclaim_tiny()
Dtree.c501 static void force_qs_rnp(int (*f)(struct rcu_data *rdp));
2286 rcu_callback_t f; in rcu_do_batch() local
2294 f = rhp->func; in rcu_do_batch()
2296 f(rhp); in rcu_do_batch()
2409 static void force_qs_rnp(int (*f)(struct rcu_data *rdp)) in force_qs_rnp()
2440 if (f(rdp)) { in force_qs_rnp()
/kernel/cgroup/
Dcgroup.c6361 static struct cgroup *cgroup_v1v2_get_from_file(struct file *f) in cgroup_v1v2_get_from_file() argument
6365 css = css_tryget_online_from_dir(f->f_path.dentry, NULL); in cgroup_v1v2_get_from_file()
6377 static struct cgroup *cgroup_get_from_file(struct file *f) in cgroup_get_from_file() argument
6379 struct cgroup *cgrp = cgroup_v1v2_get_from_file(f); in cgroup_get_from_file()
6415 struct file *f; in cgroup_css_set_fork() local
6432 f = fget_raw(kargs->cgroup); in cgroup_css_set_fork()
6433 if (!f) { in cgroup_css_set_fork()
6437 sb = f->f_path.dentry->d_sb; in cgroup_css_set_fork()
6439 dst_cgrp = cgroup_get_from_file(f); in cgroup_css_set_fork()
6487 fput(f); in cgroup_css_set_fork()
[all …]
/kernel/sched/
Dcore.c8745 #define preempt_dynamic_enable(f) static_call_update(f, f##_dynamic_enabled) argument
8746 #define preempt_dynamic_disable(f) static_call_update(f, f##_dynamic_disabled) argument
8748 #define preempt_dynamic_enable(f) static_key_enable(&sk_dynamic_##f.key) argument
8749 #define preempt_dynamic_disable(f) static_key_disable(&sk_dynamic_##f.key) argument

12