/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 | 337 struct audit_field *f, in audit_compare_uid() argument 344 rc = audit_uid_comparator(uid, f->op, name->uid); in audit_compare_uid() 351 rc = audit_uid_comparator(uid, f->op, n->uid); in audit_compare_uid() 361 struct audit_field *f, in audit_compare_gid() argument 368 rc = audit_gid_comparator(gid, f->op, name->gid); in audit_compare_gid() 375 rc = audit_gid_comparator(gid, f->op, n->gid); in audit_compare_gid() 385 struct audit_field *f, in audit_field_compare() argument 389 switch (f->val) { in audit_field_compare() 392 return audit_compare_uid(cred->uid, name, f, ctx); in audit_field_compare() 394 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 | 69 for f in $dir_list 70 do find "$f" -name "*.h"; 77 for f in $dir_list; 78 do find "$f" -name "*.h"; 82 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() 687 struct fd f; in SYSCALL_DEFINE3() local 694 f = fdget(pidfd); in SYSCALL_DEFINE3() 695 if (!f.file) in SYSCALL_DEFINE3() 698 pid = pidfd_pid(f.file); in SYSCALL_DEFINE3() [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 | torture.c | 263 int torture_onoff_init(long ooholdoff, long oointerval, torture_ofl_func *f) in torture_onoff_init() argument 268 onoff_f = f; in torture_onoff_init() 802 char *f, struct task_struct **tp) in _torture_create_kthread() argument 810 VERBOSE_TOROUT_ERRSTRING(f); in _torture_create_kthread()
|
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 | seccomp.c | 399 struct seccomp_filter *f = in seccomp_run_filters() local 403 if (WARN_ON(f == NULL)) in seccomp_run_filters() 406 if (seccomp_cache_check_allow(f, sd)) in seccomp_run_filters() 413 for (; f; f = f->prev) { in seccomp_run_filters() 414 u32 cur_ret = bpf_prog_run_pin_on_cpu(f->prog, sd); in seccomp_run_filters() 418 *match = f; in seccomp_run_filters()
|
D | kprobes.c | 985 #define unoptimize_kprobe(p, f) do {} while (0) argument 2723 static void *kprobe_seq_start(struct seq_file *f, loff_t *pos) in kprobe_seq_start() argument 2728 static void *kprobe_seq_next(struct seq_file *f, void *v, loff_t *pos) in kprobe_seq_next() argument 2736 static void kprobe_seq_stop(struct seq_file *f, void *v) in kprobe_seq_stop() argument 2804 static void kprobe_blacklist_seq_stop(struct seq_file *f, void *v) in kprobe_blacklist_seq_stop() argument
|
D | signal.c | 3765 struct fd f; in SYSCALL_DEFINE4() local 3773 f = fdget(pidfd); in SYSCALL_DEFINE4() 3774 if (!f.file) in SYSCALL_DEFINE4() 3778 pid = pidfd_to_pid(f.file); in SYSCALL_DEFINE4() 3809 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 | 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() 22 fdput(f); in bpf_map_meta_alloc() 27 fdput(f); in bpf_map_meta_alloc() 32 fdput(f); in bpf_map_meta_alloc() 43 fdput(f); in bpf_map_meta_alloc() 62 fdput(f); in bpf_map_meta_alloc() 86 struct fd f; in bpf_map_fd_get_ptr() local 88 f = fdget(ufd); in bpf_map_fd_get_ptr() [all …]
|
D | syscall.c | 172 static int bpf_map_update_value(struct bpf_map *map, struct fd f, void *key, in bpf_map_update_value() argument 187 return bpf_fd_array_map_update_elem(map, f.file, key, value, in bpf_map_update_value() 202 err = bpf_fd_array_map_update_elem(map, f.file, key, value, in bpf_map_update_value() 207 err = bpf_fd_htab_map_update_elem(map, f.file, key, value, in bpf_map_update_value() 535 static fmode_t map_get_sys_perms(struct bpf_map *map, struct fd f) in map_get_sys_perms() argument 537 fmode_t mode = f.file->f_mode; in map_get_sys_perms() 918 struct bpf_map *__bpf_map_get(struct fd f) in __bpf_map_get() argument 920 if (!f.file) in __bpf_map_get() 922 if (f.file->f_op != &bpf_map_fops) { in __bpf_map_get() 923 fdput(f); in __bpf_map_get() [all …]
|
D | task_iter.c | 186 struct file *f; in task_file_seq_get_next() local 188 f = fcheck_files(curr_files, curr_fd); in task_file_seq_get_next() 189 if (!f) in task_file_seq_get_next() 191 if (!get_file_rcu(f)) in task_file_seq_get_next() 197 return f; in task_file_seq_get_next()
|
D | cpumap.c | 340 void *f = frames[i]; in cpu_map_kthread_run() local 341 struct page *page = virt_to_page(f); in cpu_map_kthread_run()
|
D | btf.c | 5485 struct fd f; in btf_get_by_fd() local 5487 f = fdget(fd); in btf_get_by_fd() 5489 if (!f.file) in btf_get_by_fd() 5492 if (f.file->f_op != &btf_fops) { in btf_get_by_fd() 5493 fdput(f); in btf_get_by_fd() 5497 btf = f.file->private_data; in btf_get_by_fd() 5499 fdput(f); in btf_get_by_fd()
|
D | verifier.c | 10557 struct fd f; in resolve_pseudo_ldimm64() local 10591 f = fdget(insn[0].imm); in resolve_pseudo_ldimm64() 10592 map = __bpf_map_get(f); in resolve_pseudo_ldimm64() 10601 fdput(f); in resolve_pseudo_ldimm64() 10613 fdput(f); in resolve_pseudo_ldimm64() 10619 fdput(f); in resolve_pseudo_ldimm64() 10627 fdput(f); in resolve_pseudo_ldimm64() 10642 fdput(f); in resolve_pseudo_ldimm64() 10648 fdput(f); in resolve_pseudo_ldimm64() 10665 fdput(f); in resolve_pseudo_ldimm64() [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 | 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 | 84 rcu_callback_t f; in rcu_reclaim_tiny() local 96 f = head->func; in rcu_reclaim_tiny() 98 f(head); in rcu_reclaim_tiny()
|
D | tree.c | 564 static void force_qs_rnp(int (*f)(struct rcu_data *rdp)); 2485 rcu_callback_t f; in rcu_do_batch() local 2492 f = rhp->func; in rcu_do_batch() 2494 f(rhp); in rcu_do_batch() 2604 static void force_qs_rnp(int (*f)(struct rcu_data *rdp)) in force_qs_rnp() 2635 if (f(rdp)) { in force_qs_rnp()
|
/kernel/cgroup/ |
D | cgroup.c | 6090 static struct cgroup *cgroup_get_from_file(struct file *f) in cgroup_get_from_file() argument 6095 css = css_tryget_online_from_dir(f->f_path.dentry, NULL); in cgroup_get_from_file() 6131 struct file *f; in cgroup_css_set_fork() local 6148 f = fget_raw(kargs->cgroup); in cgroup_css_set_fork() 6149 if (!f) { in cgroup_css_set_fork() 6153 sb = f->f_path.dentry->d_sb; in cgroup_css_set_fork() 6155 dst_cgrp = cgroup_get_from_file(f); in cgroup_css_set_fork() 6189 fput(f); in cgroup_css_set_fork() 6196 if (f) in cgroup_css_set_fork() 6197 fput(f); in cgroup_css_set_fork() [all …]
|