/kernel/trace/ |
D | trace_branch.c | 31 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 …]
|
D | trace_events_filter_test.h | 12 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)
|
D | trace_stat.c | 263 static int tracing_stat_release(struct inode *i, struct file *f) in tracing_stat_release() argument 269 return seq_release(i, f); in tracing_stat_release()
|
/kernel/ |
D | auditfilter.c | 63 static void audit_free_lsm_field(struct audit_field *f) in audit_free_lsm_field() argument 65 switch (f->type) { in audit_free_lsm_field() 76 kfree(f->lsm_str); in audit_free_lsm_field() 77 security_audit_rule_free(f->lsm_rule); in audit_free_lsm_field() 152 struct audit_field *f) in audit_to_inode() argument 156 (f->op != Audit_equal && f->op != Audit_not_equal)) in audit_to_inode() 159 krule->inode_f = f; in audit_to_inode() 323 static int audit_field_valid(struct audit_entry *entry, struct audit_field *f) in audit_field_valid() argument 325 switch (f->type) { in audit_field_valid() 339 switch(f->type) { in audit_field_valid() [all …]
|
D | auditsc.c | 308 struct audit_field *f, in audit_compare_uid() argument 315 rc = audit_uid_comparator(uid, f->op, name->uid); in audit_compare_uid() 322 rc = audit_uid_comparator(uid, f->op, n->uid); in audit_compare_uid() 332 struct audit_field *f, in audit_compare_gid() argument 339 rc = audit_gid_comparator(gid, f->op, name->gid); in audit_compare_gid() 346 rc = audit_gid_comparator(gid, f->op, n->gid); in audit_compare_gid() 356 struct audit_field *f, in audit_field_compare() argument 360 switch (f->val) { in audit_field_compare() 363 return audit_compare_uid(cred->uid, name, f, ctx); in audit_field_compare() 365 return audit_compare_gid(cred->gid, name, f, ctx); in audit_field_compare() [all …]
|
D | gen_kheaders.sh | 59 for f in $dir_list; 60 do find "$f" -name "*.h"; 66 for f in $dir_list; 67 do find "$f" -name "*.h"; 71 find $cpio_dir -type f -print0 |
|
D | cfi.c | 264 cfi_check_fn f; in find_cfi_check() local 271 f = ptr_to_check_fn(rcu_dereference(cfi_shadow), (unsigned long)ptr); in find_cfi_check() 274 if (f) in find_cfi_check() 275 return f; in find_cfi_check()
|
D | torture.c | 238 int torture_onoff_init(long ooholdoff, long oointerval, torture_ofl_func *f) in torture_onoff_init() argument 243 onoff_f = f; in torture_onoff_init() 776 char *f, struct task_struct **tp) in _torture_create_kthread() argument 784 VERBOSE_TOROUT_ERRSTRING(f); in _torture_create_kthread()
|
D | taskstats.c | 397 struct fd f; in cgroupstats_user_cmd() local 404 f = fdget(fd); in cgroupstats_user_cmd() 405 if (!f.file) in cgroupstats_user_cmd() 426 rc = cgroupstats_build(stats, f.file->f_path.dentry); in cgroupstats_user_cmd() 435 fdput(f); in cgroupstats_user_cmd()
|
D | seccomp.c | 259 struct seccomp_filter *f = in seccomp_run_filters() local 263 if (WARN_ON(f == NULL)) in seccomp_run_filters() 271 for (; f; f = f->prev) { in seccomp_run_filters() 272 u32 cur_ret = BPF_PROG_RUN(f->prog, sd); in seccomp_run_filters() 276 *match = f; in seccomp_run_filters()
|
D | exit.c | 1475 struct fd f; in pidfd_get_pid() local 1478 f = fdget(fd); in pidfd_get_pid() 1479 if (!f.file) in pidfd_get_pid() 1482 pid = pidfd_pid(f.file); in pidfd_get_pid() 1486 fdput(f); in pidfd_get_pid()
|
D | kprobes.c | 929 #define unoptimize_kprobe(p, f) do {} while (0) argument 2338 static void *kprobe_seq_start(struct seq_file *f, loff_t *pos) in kprobe_seq_start() argument 2343 static void *kprobe_seq_next(struct seq_file *f, void *v, loff_t *pos) in kprobe_seq_next() argument 2351 static void kprobe_seq_stop(struct seq_file *f, void *v) in kprobe_seq_stop() argument
|
D | signal.c | 3712 struct fd f; in SYSCALL_DEFINE4() local 3720 f = fdget(pidfd); in SYSCALL_DEFINE4() 3721 if (!f.file) in SYSCALL_DEFINE4() 3725 pid = pidfd_to_pid(f.file); in SYSCALL_DEFINE4() 3756 fdput(f); in SYSCALL_DEFINE4()
|
D | fork.c | 1705 static void pidfd_show_fdinfo(struct seq_file *m, struct file *f) in pidfd_show_fdinfo() argument 1708 struct pid *pid = f->private_data; in pidfd_show_fdinfo()
|
/kernel/bpf/ |
D | map_in_map.c | 13 struct fd f; in bpf_map_meta_alloc() local 15 f = fdget(inner_map_ufd); in bpf_map_meta_alloc() 16 inner_map = __bpf_map_get(f); in bpf_map_meta_alloc() 27 fdput(f); in bpf_map_meta_alloc() 33 fdput(f); in bpf_map_meta_alloc() 38 fdput(f); in bpf_map_meta_alloc() 49 fdput(f); in bpf_map_meta_alloc() 68 fdput(f); in bpf_map_meta_alloc() 93 struct fd f; in bpf_map_fd_get_ptr() local 95 f = fdget(ufd); in bpf_map_fd_get_ptr() [all …]
|
D | syscall.c | 359 static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f) in map_get_sys_perms() argument 361 fmode_t mode = f.file->f_mode; in map_get_sys_perms() 646 struct bpf_map *__bpf_map_get(struct fd f) in __bpf_map_get() argument 648 if (!f.file) in __bpf_map_get() 650 if (f.file->f_op != &bpf_map_fops) { in __bpf_map_get() 651 fdput(f); in __bpf_map_get() 655 return f.file->private_data; in __bpf_map_get() 675 struct fd f = fdget(ufd); in bpf_map_get_with_uref() local 678 map = __bpf_map_get(f); in bpf_map_get_with_uref() 683 fdput(f); in bpf_map_get_with_uref() [all …]
|
D | cpumap.c | 289 void *f = frames[i]; in cpu_map_kthread_run() local 290 struct page *page = virt_to_page(f); in cpu_map_kthread_run()
|
D | btf.c | 3439 struct fd f; in btf_get_by_fd() local 3441 f = fdget(fd); in btf_get_by_fd() 3443 if (!f.file) in btf_get_by_fd() 3446 if (f.file->f_op != &btf_fops) { in btf_get_by_fd() 3447 fdput(f); in btf_get_by_fd() 3451 btf = f.file->private_data; in btf_get_by_fd() 3453 fdput(f); in btf_get_by_fd()
|
D | verifier.c | 7951 struct fd f; in replace_map_fd_with_map_ptr() local 7977 f = fdget(insn[0].imm); in replace_map_fd_with_map_ptr() 7978 map = __bpf_map_get(f); in replace_map_fd_with_map_ptr() 7987 fdput(f); in replace_map_fd_with_map_ptr() 7999 fdput(f); in replace_map_fd_with_map_ptr() 8005 fdput(f); in replace_map_fd_with_map_ptr() 8013 fdput(f); in replace_map_fd_with_map_ptr() 8028 fdput(f); in replace_map_fd_with_map_ptr() 8034 fdput(f); in replace_map_fd_with_map_ptr() 8045 fdput(f); in replace_map_fd_with_map_ptr() [all …]
|
/kernel/irq/ |
D | debug.h | 6 #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/ |
D | kdb_io.c | 59 get_char_func *f, *f_escape = NULL; in kdb_read_get_key() local 62 for (f = &kdb_poll_funcs[0]; ; ++f) { in kdb_read_get_key() 63 if (*f == NULL) { in kdb_read_get_key() 66 f = &kdb_poll_funcs[0]; in kdb_read_get_key() 79 key = (*f)(); in kdb_read_get_key() 97 f_escape = f; in kdb_read_get_key() 101 if (f_escape != f) { in kdb_read_get_key() 474 get_char_func *f; in kdb_input_flush() local 481 for (f = &kdb_poll_funcs[0]; *f; ++f) { in kdb_input_flush() 482 res = (*f)(); in kdb_input_flush()
|
/kernel/rcu/ |
D | rcu.h | 209 rcu_callback_t f; in __rcu_reclaim() local 220 f = head->func; in __rcu_reclaim() 222 f(head); in __rcu_reclaim()
|
D | tree.c | 498 static void force_qs_rnp(int (*f)(struct rcu_data *rdp)); 2257 static void force_qs_rnp(int (*f)(struct rcu_data *rdp)) in force_qs_rnp() 2286 if (f(per_cpu_ptr(&rcu_data, cpu))) in force_qs_rnp()
|
/kernel/cgroup/ |
D | cgroup.c | 6278 struct file *f; in cgroup_get_from_fd() local 6280 f = fget_raw(fd); in cgroup_get_from_fd() 6281 if (!f) in cgroup_get_from_fd() 6284 css = css_tryget_online_from_dir(f->f_path.dentry, NULL); in cgroup_get_from_fd() 6285 fput(f); in cgroup_get_from_fd()
|
/kernel/events/ |
D | core.c | 900 struct fd f = fdget(fd); in perf_cgroup_connect() local 903 if (!f.file) in perf_cgroup_connect() 906 css = css_tryget_online_from_dir(f.file->f_path.dentry, in perf_cgroup_connect() 926 fdput(f); in perf_cgroup_connect() 5147 struct fd f = fdget(fd); in perf_fget_light() local 5148 if (!f.file) in perf_fget_light() 5151 if (f.file->f_op != &perf_fops) { in perf_fget_light() 5152 fdput(f); in perf_fget_light() 5155 *p = f; in perf_fget_light()
|