/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 | 261 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/ |
D | auditsc.c | 341 struct audit_field *f, in audit_compare_uid() argument 348 rc = audit_uid_comparator(uid, f->op, name->uid); in audit_compare_uid() 355 rc = audit_uid_comparator(uid, f->op, n->uid); in audit_compare_uid() 365 struct audit_field *f, in audit_compare_gid() argument 372 rc = audit_gid_comparator(gid, f->op, name->gid); in audit_compare_gid() 379 rc = audit_gid_comparator(gid, f->op, n->gid); in audit_compare_gid() 389 struct audit_field *f, in audit_field_compare() argument 393 switch (f->val) { in audit_field_compare() 396 return audit_compare_uid(cred->uid, name, f, ctx); in audit_field_compare() 398 return audit_compare_gid(cred->gid, name, f, ctx); in audit_field_compare() [all …]
|
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 | gen_kheaders.sh | 67 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 |
|
D | pid.c | 526 struct fd f; in pidfd_get_pid() local 529 f = fdget(fd); in pidfd_get_pid() 530 if (!f.file) in pidfd_get_pid() 533 pid = pidfd_pid(f.file); in pidfd_get_pid() 536 *flags = f.file->f_flags; in pidfd_get_pid() 539 fdput(f); in pidfd_get_pid() 692 struct fd f; in SYSCALL_DEFINE3() local 699 f = fdget(pidfd); in SYSCALL_DEFINE3() 700 if (!f.file) in SYSCALL_DEFINE3() 703 pid = pidfd_pid(f.file); in SYSCALL_DEFINE3() [all …]
|
D | seccomp.c | 404 struct seccomp_filter *f = in seccomp_run_filters() local 408 if (WARN_ON(f == NULL)) in seccomp_run_filters() 411 if (seccomp_cache_check_allow(f, sd)) in seccomp_run_filters() 418 for (; f; f = f->prev) { in seccomp_run_filters() 419 u32 cur_ret = bpf_prog_run_pin_on_cpu(f->prog, sd); in seccomp_run_filters() 423 *match = f; in seccomp_run_filters() 2391 struct seccomp_filter *f; in proc_pid_seccomp_cache() local 2404 f = READ_ONCE(task->seccomp.filter); in proc_pid_seccomp_cache() 2405 if (!f) { in proc_pid_seccomp_cache() 2411 __get_seccomp_filter(f); in proc_pid_seccomp_cache() [all …]
|
D | taskstats.c | 393 struct fd f; in cgroupstats_user_cmd() local 400 f = fdget(fd); in cgroupstats_user_cmd() 401 if (!f.file) in cgroupstats_user_cmd() 422 rc = cgroupstats_build(stats, f.file->f_path.dentry); in cgroupstats_user_cmd() 431 fdput(f); in cgroupstats_user_cmd()
|
D | watch_queue.c | 670 struct fd f; in get_watch_queue() local 672 f = fdget(fd); in get_watch_queue() 673 if (f.file) { in get_watch_queue() 674 pipe = get_pipe_info(f.file, false); in get_watch_queue() 679 fdput(f); in get_watch_queue()
|
D | torture.c | 382 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 VERBOSE_TOROUT_ERRSTRING(f); in _torture_create_kthread()
|
D | kprobes.c | 989 #define unoptimize_kprobe(p, f) do {} while (0) argument 2585 static void *kprobe_seq_start(struct seq_file *f, loff_t *pos) in kprobe_seq_start() argument 2590 static void *kprobe_seq_next(struct seq_file *f, void *v, loff_t *pos) in kprobe_seq_next() argument 2598 static void kprobe_seq_stop(struct seq_file *f, void *v) in kprobe_seq_stop() argument 2666 static void kprobe_blacklist_seq_stop(struct seq_file *f, void *v) in kprobe_blacklist_seq_stop() argument
|
D | signal.c | 3884 struct fd f; in SYSCALL_DEFINE4() local 3892 f = fdget(pidfd); in SYSCALL_DEFINE4() 3893 if (!f.file) in SYSCALL_DEFINE4() 3897 pid = pidfd_to_pid(f.file); in SYSCALL_DEFINE4() 3928 fdput(f); in SYSCALL_DEFINE4()
|
/kernel/bpf/ |
D | bpf_inode_storage.c | 106 struct file *f; in bpf_fd_inode_storage_lookup_elem() local 110 f = fget_raw(fd); in bpf_fd_inode_storage_lookup_elem() 111 if (!f) in bpf_fd_inode_storage_lookup_elem() 114 sdata = inode_storage_lookup(f->f_inode, map, true); in bpf_fd_inode_storage_lookup_elem() 115 fput(f); in bpf_fd_inode_storage_lookup_elem() 123 struct file *f; in bpf_fd_inode_storage_update_elem() local 127 f = fget_raw(fd); in bpf_fd_inode_storage_update_elem() 128 if (!f) in bpf_fd_inode_storage_update_elem() 130 if (!inode_storage_ptr(f->f_inode)) { in bpf_fd_inode_storage_update_elem() 131 fput(f); in bpf_fd_inode_storage_update_elem() [all …]
|
D | map_in_map.c | 14 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() 68 fdput(f); in bpf_map_meta_alloc() 94 struct fd f; in bpf_map_fd_get_ptr() local 96 f = fdget(ufd); in bpf_map_fd_get_ptr() [all …]
|
D | syscall.c | 176 static int bpf_map_update_value(struct bpf_map *map, struct fd f, void *key, in bpf_map_update_value() argument 191 return bpf_fd_array_map_update_elem(map, f.file, key, value, in bpf_map_update_value() 206 err = bpf_fd_array_map_update_elem(map, f.file, key, value, in bpf_map_update_value() 211 err = bpf_fd_htab_map_update_elem(map, f.file, key, value, in bpf_map_update_value() 529 static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f) in map_get_sys_perms() argument 531 fmode_t mode = f.file->f_mode; in map_get_sys_perms() 942 struct bpf_map *__bpf_map_get(struct fd f) in __bpf_map_get() argument 944 if (!f.file) in __bpf_map_get() 946 if (f.file->f_op != &bpf_map_fops) { in __bpf_map_get() 947 fdput(f); in __bpf_map_get() [all …]
|
D | task_iter.c | 173 struct file *f; in task_file_seq_get_next() local 174 f = task_lookup_next_fd_rcu(curr_task, &curr_fd); in task_file_seq_get_next() 175 if (!f) in task_file_seq_get_next() 177 if (!get_file_rcu(f)) in task_file_seq_get_next() 183 return f; in task_file_seq_get_next()
|
D | cpumap.c | 348 void *f = frames[i]; in cpu_map_kthread_run() local 351 if (unlikely(__ptr_test_bit(0, &f))) { in cpu_map_kthread_run() 352 struct sk_buff *skb = f; in cpu_map_kthread_run() 359 frames[xdp_n++] = f; in cpu_map_kthread_run() 360 page = virt_to_page(f); in cpu_map_kthread_run()
|
D | btf.c | 5910 struct fd f; in btf_get_by_fd() local 5912 f = fdget(fd); in btf_get_by_fd() 5914 if (!f.file) in btf_get_by_fd() 5917 if (f.file->f_op != &btf_fops) { in btf_get_by_fd() 5918 fdput(f); in btf_get_by_fd() 5922 btf = f.file->private_data; in btf_get_by_fd() 5924 fdput(f); in btf_get_by_fd()
|
/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 | 133 get_char_func *f, *f_prev = NULL; in kdb_getchar() local 136 for (f = &kdb_poll_funcs[0]; ; ++f) { in kdb_getchar() 137 if (*f == NULL) { in kdb_getchar() 140 f = &kdb_poll_funcs[0]; in kdb_getchar() 143 key = (*f)(); in kdb_getchar() 158 if (f_prev != f) { in kdb_getchar() 159 f_prev = f; in kdb_getchar() 464 get_char_func *f; in kdb_input_flush() local 471 for (f = &kdb_poll_funcs[0]; *f; ++f) { in kdb_input_flush() 472 res = (*f)(); in kdb_input_flush()
|
/kernel/rcu/ |
D | tiny.c | 87 rcu_callback_t f; in rcu_reclaim_tiny() local 99 f = head->func; in rcu_reclaim_tiny() 101 f(head); in rcu_reclaim_tiny()
|
D | tree.c | 553 static void force_qs_rnp(int (*f)(struct rcu_data *rdp)); 2513 rcu_callback_t f; in rcu_do_batch() local 2521 f = rhp->func; in rcu_do_batch() 2523 f(rhp); in rcu_do_batch() 2633 static void force_qs_rnp(int (*f)(struct rcu_data *rdp)) in force_qs_rnp() 2664 if (f(rdp)) { in force_qs_rnp()
|
/kernel/cgroup/ |
D | cgroup.c | 6165 static struct cgroup *cgroup_get_from_file(struct file *f) in cgroup_get_from_file() argument 6170 css = css_tryget_online_from_dir(f->f_path.dentry, NULL); in cgroup_get_from_file() 6206 struct file *f; in cgroup_css_set_fork() local 6223 f = fget_raw(kargs->cgroup); in cgroup_css_set_fork() 6224 if (!f) { in cgroup_css_set_fork() 6228 sb = f->f_path.dentry->d_sb; in cgroup_css_set_fork() 6230 dst_cgrp = cgroup_get_from_file(f); in cgroup_css_set_fork() 6264 fput(f); in cgroup_css_set_fork() 6271 if (f) in cgroup_css_set_fork() 6272 fput(f); in cgroup_css_set_fork() [all …]
|
/kernel/events/ |
D | core.c | 987 struct fd f = fdget(fd); in perf_cgroup_connect() local 990 if (!f.file) in perf_cgroup_connect() 993 css = css_tryget_online_from_dir(f.file->f_path.dentry, in perf_cgroup_connect() 1017 fdput(f); in perf_cgroup_connect() 5720 struct fd f = fdget(fd); in perf_fget_light() local 5721 if (!f.file) in perf_fget_light() 5724 if (f.file->f_op != &perf_fops) { in perf_fget_light() 5725 fdput(f); in perf_fget_light() 5728 *p = f; in perf_fget_light()
|