Home
last modified time | relevance | path

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

/kernel/
Dauditfilter.c80 struct audit_field *f = &erule->fields[i]; in audit_free_rule() local
81 kfree(f->lsm_str); in audit_free_rule()
82 security_audit_rule_free(f->lsm_rule); in audit_free_rule()
144 struct audit_field *f) in audit_to_inode() argument
148 (f->op != Audit_equal && f->op != Audit_not_equal)) in audit_to_inode()
151 krule->inode_f = f; in audit_to_inode()
314 static int audit_field_valid(struct audit_entry *entry, struct audit_field *f) in audit_field_valid() argument
316 switch(f->type) { in audit_field_valid()
324 switch(f->type) { in audit_field_valid()
347 if (f->op == Audit_bitmask || f->op == Audit_bittest) in audit_field_valid()
[all …]
Dauditsc.c326 struct audit_field *f, in audit_compare_uid() argument
333 rc = audit_uid_comparator(uid, f->op, name->uid); in audit_compare_uid()
340 rc = audit_uid_comparator(uid, f->op, n->uid); in audit_compare_uid()
350 struct audit_field *f, in audit_compare_gid() argument
357 rc = audit_gid_comparator(gid, f->op, name->gid); in audit_compare_gid()
364 rc = audit_gid_comparator(gid, f->op, n->gid); in audit_compare_gid()
374 struct audit_field *f, in audit_field_compare() argument
378 switch (f->val) { in audit_field_compare()
381 return audit_compare_uid(cred->uid, name, f, ctx); in audit_field_compare()
383 return audit_compare_gid(cred->gid, name, f, ctx); in audit_field_compare()
[all …]
Dseccomp.c206 struct seccomp_filter *f = ACCESS_ONCE(current->seccomp.filter); in seccomp_run_filters() local
210 if (unlikely(WARN_ON(f == NULL))) in seccomp_run_filters()
220 for (; f; f = f->prev) { in seccomp_run_filters()
221 u32 cur_ret = sk_run_filter(NULL, f->insns); in seccomp_run_filters()
Dtaskstats.c427 struct fd f; in cgroupstats_user_cmd() local
434 f = fdget(fd); in cgroupstats_user_cmd()
435 if (!f.file) in cgroupstats_user_cmd()
456 rc = cgroupstats_build(stats, f.file->f_dentry); in cgroupstats_user_cmd()
465 fdput(f); in cgroupstats_user_cmd()
Dkprobes.c915 #define unoptimize_kprobe(p, f) do {} while (0) argument
2187 static void __kprobes *kprobe_seq_start(struct seq_file *f, loff_t *pos) in kprobe_seq_start() argument
2192 static void __kprobes *kprobe_seq_next(struct seq_file *f, void *v, loff_t *pos) in kprobe_seq_next() argument
2200 static void __kprobes kprobe_seq_stop(struct seq_file *f, void *v) in kprobe_seq_stop() argument
Drcutree.c229 static void force_qs_rnp(struct rcu_state *rsp, int (*f)(struct rcu_data *));
2180 static void force_qs_rnp(struct rcu_state *rsp, int (*f)(struct rcu_data *)) in force_qs_rnp()
2204 f(per_cpu_ptr(rsp->rda, cpu))) in force_qs_rnp()
Dcgroup.c5328 struct cgroup_subsys_state *cgroup_css_from_dir(struct file *f, int id) in cgroup_css_from_dir() argument
5334 inode = file_inode(f); in cgroup_css_from_dir()
5343 cgrp = __d_cgrp(f->f_dentry); in cgroup_css_from_dir()
/kernel/trace/
Dtrace_branch.c31 probe_likely_condition(struct ftrace_branch_data *f, int val, int expect) in probe_likely_condition() argument
69 p = f->file + strlen(f->file); in probe_likely_condition()
70 while (p >= f->file && *p != '/') in probe_likely_condition()
74 strncpy(entry->func, f->func, TRACE_FUNC_SIZE); in probe_likely_condition()
78 entry->line = f->line; in probe_likely_condition()
90 void trace_likely_condition(struct ftrace_branch_data *f, int val, int expect) in trace_likely_condition() argument
95 probe_likely_condition(f, val, expect); in trace_likely_condition()
208 void trace_likely_condition(struct ftrace_branch_data *f, int val, int expect) in trace_likely_condition() argument
213 void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect) in ftrace_likely_update() argument
221 trace_likely_condition(f, val, expect); in ftrace_likely_update()
[all …]
Dtrace_events_filter_test.h11 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)
Dtrace_probe.c519 struct fetch_param *f, bool is_return) in parse_probe_vars() argument
526 f->fn = t->fetch[FETCH_MTD_retval]; in parse_probe_vars()
532 f->fn = fetch_stack_address; in parse_probe_vars()
540 f->fn = t->fetch[FETCH_MTD_stack]; in parse_probe_vars()
541 f->data = (void *)param; in parse_probe_vars()
553 struct fetch_param *f, bool is_return, bool is_kprobe) in parse_probe_arg() argument
568 ret = parse_probe_vars(arg + 1, t, f, is_return); in parse_probe_arg()
574 f->fn = t->fetch[FETCH_MTD_reg]; in parse_probe_arg()
575 f->data = (void *)(unsigned long)ret; in parse_probe_arg()
586 f->fn = t->fetch[FETCH_MTD_memory]; in parse_probe_arg()
[all …]
Dtrace_stat.c289 static int tracing_stat_release(struct inode *i, struct file *f) in tracing_stat_release() argument
295 return seq_release(i, f); in tracing_stat_release()
Dtrace_events_filter.c2133 .e = ve, .f = vf, .g = vg, .h = vh }, \
/kernel/irq/
Ddebug.h7 #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/
Dkdb_io.c58 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/
Dcore.c507 struct fd f = fdget(fd); in perf_cgroup_connect() local
510 if (!f.file) in perf_cgroup_connect()
513 css = cgroup_css_from_dir(f.file, perf_subsys_id); in perf_cgroup_connect()
539 fdput(f); in perf_cgroup_connect()
3426 struct fd f = fdget(fd); in perf_fget_light() local
3427 if (!f.file) in perf_fget_light()
3430 if (f.file->f_op != &perf_fops) { in perf_fget_light()
3431 fdput(f); in perf_fget_light()
3434 *p = f; in perf_fget_light()