/kernel/ |
D | auditfilter.c | 74 static void audit_free_lsm_field(struct audit_field *f) in audit_free_lsm_field() argument 76 switch (f->type) { in audit_free_lsm_field() 87 kfree(f->lsm_str); in audit_free_lsm_field() 88 security_audit_rule_free(f->lsm_rule); in audit_free_lsm_field() 163 struct audit_field *f) in audit_to_inode() argument 167 (f->op != Audit_equal && f->op != Audit_not_equal)) in audit_to_inode() 170 krule->inode_f = f; in audit_to_inode() 333 static int audit_field_valid(struct audit_entry *entry, struct audit_field *f) in audit_field_valid() argument 335 switch(f->type) { in audit_field_valid() 343 switch(f->type) { in audit_field_valid() [all …]
|
D | auditsc.c | 315 struct audit_field *f, in audit_compare_uid() argument 322 rc = audit_uid_comparator(uid, f->op, name->uid); in audit_compare_uid() 329 rc = audit_uid_comparator(uid, f->op, n->uid); in audit_compare_uid() 339 struct audit_field *f, in audit_compare_gid() argument 346 rc = audit_gid_comparator(gid, f->op, name->gid); in audit_compare_gid() 353 rc = audit_gid_comparator(gid, f->op, n->gid); in audit_compare_gid() 363 struct audit_field *f, in audit_field_compare() argument 367 switch (f->val) { in audit_field_compare() 370 return audit_compare_uid(cred->uid, name, f, ctx); in audit_field_compare() 372 return audit_compare_gid(cred->gid, name, f, ctx); in audit_field_compare() [all …]
|
D | seccomp.c | 178 struct seccomp_filter *f = ACCESS_ONCE(current->seccomp.filter); in seccomp_run_filters() local 183 if (unlikely(WARN_ON(f == NULL))) in seccomp_run_filters() 198 for (; f; f = f->prev) { in seccomp_run_filters() 199 u32 cur_ret = BPF_PROG_RUN(f->prog, (void *)sd); in seccomp_run_filters()
|
D | taskstats.c | 433 struct fd f; in cgroupstats_user_cmd() local 440 f = fdget(fd); in cgroupstats_user_cmd() 441 if (!f.file) in cgroupstats_user_cmd() 462 rc = cgroupstats_build(stats, f.file->f_dentry); in cgroupstats_user_cmd() 471 fdput(f); in cgroupstats_user_cmd()
|
D | torture.c | 714 char *f, struct task_struct **tp) in _torture_create_kthread() argument 722 VERBOSE_TOROUT_ERRSTRING(f); in _torture_create_kthread()
|
D | kexec.c | 349 struct fd f = fdget(fd); in copy_file_from_fd() local 355 if (!f.file) in copy_file_from_fd() 358 ret = vfs_getattr(&f.file->f_path, &stat); in copy_file_from_fd() 381 bytes = kernel_read(f.file, pos, (char *)(*buf) + pos, in copy_file_from_fd() 402 fdput(f); in copy_file_from_fd()
|
D | kprobes.c | 887 #define unoptimize_kprobe(p, f) do {} while (0) argument 2206 static void *kprobe_seq_start(struct seq_file *f, loff_t *pos) in kprobe_seq_start() argument 2211 static void *kprobe_seq_next(struct seq_file *f, void *v, loff_t *pos) in kprobe_seq_next() argument 2219 static void kprobe_seq_stop(struct seq_file *f, void *v) in kprobe_seq_stop() argument
|
D | module.c | 2543 struct fd f = fdget(fd); in copy_module_from_fd() local 2549 if (!f.file) in copy_module_from_fd() 2552 err = security_kernel_module_from_file(f.file); in copy_module_from_fd() 2556 err = vfs_getattr(&f.file->f_path, &stat); in copy_module_from_fd() 2579 bytes = kernel_read(f.file, pos, (char *)(info->hdr) + pos, in copy_module_from_fd() 2593 fdput(f); in copy_module_from_fd()
|
/kernel/trace/ |
D | trace_branch.c | 31 probe_likely_condition(struct ftrace_branch_data *f, int val, int expect) in probe_likely_condition() argument 72 p = f->file + strlen(f->file); in probe_likely_condition() 73 while (p >= f->file && *p != '/') in probe_likely_condition() 77 strncpy(entry->func, f->func, TRACE_FUNC_SIZE); in probe_likely_condition() 81 entry->line = f->line; in probe_likely_condition() 93 void trace_likely_condition(struct ftrace_branch_data *f, int val, int expect) in trace_likely_condition() argument 98 probe_likely_condition(f, val, expect); in trace_likely_condition() 211 void trace_likely_condition(struct ftrace_branch_data *f, int val, int expect) in trace_likely_condition() argument 216 void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect) in ftrace_likely_update() argument 224 trace_likely_condition(f, val, expect); in ftrace_likely_update() [all …]
|
D | trace_probe.c | 319 struct fetch_param *f, bool is_return, in parse_probe_vars() argument 327 f->fn = t->fetch[FETCH_MTD_retval]; in parse_probe_vars() 336 f->fn = fetch_kernel_stack_address; in parse_probe_vars() 338 f->fn = fetch_user_stack_address; in parse_probe_vars() 344 f->fn = t->fetch[FETCH_MTD_stack]; in parse_probe_vars() 345 f->data = (void *)param; in parse_probe_vars() 357 struct fetch_param *f, bool is_return, bool is_kprobe) in parse_probe_arg() argument 370 ret = parse_probe_vars(arg + 1, t, f, is_return, is_kprobe); in parse_probe_arg() 376 f->fn = t->fetch[FETCH_MTD_reg]; in parse_probe_arg() 377 f->data = (void *)(unsigned long)ret; in parse_probe_arg() [all …]
|
D | trace_events_filter_test.h | 11 TP_PROTO(int a, int b, int c, int d, int e, int f, int g, int h), 13 TP_ARGS(a, b, c, d, e, f, g, h), 21 __field(int, f) 32 __entry->f = f; 39 __entry->e, __entry->f, __entry->g, __entry->h)
|
D | trace_stat.c | 258 static int tracing_stat_release(struct inode *i, struct file *f) in tracing_stat_release() argument 264 return seq_release(i, f); in tracing_stat_release()
|
D | trace_events_filter.c | 2262 .e = ve, .f = vf, .g = vg, .h = vh }, \
|
/kernel/bpf/ |
D | syscall.c | 120 struct bpf_map *bpf_map_get(struct fd f) in bpf_map_get() argument 124 if (!f.file) in bpf_map_get() 127 if (f.file->f_op != &bpf_map_fops) { in bpf_map_get() 128 fdput(f); in bpf_map_get() 132 map = f.file->private_data; in bpf_map_get() 151 struct fd f = fdget(ufd); in map_lookup_elem() local 159 map = bpf_map_get(f); in map_lookup_elem() 189 fdput(f); in map_lookup_elem() 200 struct fd f = fdget(ufd); in map_update_elem() local 208 map = bpf_map_get(f); in map_update_elem() [all …]
|
D | verifier.c | 1717 struct fd f; in replace_map_fd_with_map_ptr() local 1735 f = fdget(insn->imm); in replace_map_fd_with_map_ptr() 1737 map = bpf_map_get(f); in replace_map_fd_with_map_ptr() 1751 fdput(f); in replace_map_fd_with_map_ptr() 1756 fdput(f); in replace_map_fd_with_map_ptr() 1770 fdput(f); in replace_map_fd_with_map_ptr()
|
/kernel/irq/ |
D | debug.h | 7 #define ___P(f) if (desc->status_use_accessors & f) printk("%14s set\n", #f) argument 8 #define ___PS(f) if (desc->istate & f) printk("%14s set\n", #f) argument 10 #define ___PD(f) do { } while (0) argument
|
/kernel/debug/kdb/ |
D | kdb_io.c | 58 get_char_func *f, *f_escape = NULL; in kdb_read_get_key() local 61 for (f = &kdb_poll_funcs[0]; ; ++f) { in kdb_read_get_key() 62 if (*f == NULL) { in kdb_read_get_key() 65 f = &kdb_poll_funcs[0]; in kdb_read_get_key() 78 key = (*f)(); in kdb_read_get_key() 96 f_escape = f; in kdb_read_get_key() 100 if (f_escape != f) { in kdb_read_get_key() 478 get_char_func *f; in kdb_input_flush() local 485 for (f = &kdb_poll_funcs[0]; *f; ++f) { in kdb_input_flush() 486 res = (*f)(); in kdb_input_flush()
|
/kernel/events/ |
D | core.c | 616 struct fd f = fdget(fd); in perf_cgroup_connect() local 619 if (!f.file) in perf_cgroup_connect() 622 css = css_tryget_online_from_dir(f.file->f_dentry, in perf_cgroup_connect() 642 fdput(f); in perf_cgroup_connect() 3947 struct fd f = fdget(fd); in perf_fget_light() local 3948 if (!f.file) in perf_fget_light() 3951 if (f.file->f_op != &perf_fops) { in perf_fget_light() 3952 fdput(f); in perf_fget_light() 3955 *p = f; in perf_fget_light()
|
/kernel/rcu/ |
D | tree.c | 324 int (*f)(struct rcu_data *rsp, bool *isidle, 2438 int (*f)(struct rcu_data *rsp, bool *isidle, in force_qs_rnp() 2467 if (f(per_cpu_ptr(rsp->rda, cpu), isidle, maxj)) in force_qs_rnp()
|