/kernel/trace/ |
D | trace_probe.c | 281 code->op = FETCH_OP_RETVAL; in parse_probe_vars() 288 code->op = FETCH_OP_STACKP; in parse_probe_vars() 298 code->op = FETCH_OP_STACK; in parse_probe_vars() 304 code->op = FETCH_OP_COMM; in parse_probe_vars() 316 code->op = FETCH_OP_ARG; in parse_probe_vars() 373 code->op = FETCH_OP_REG; in parse_probe_arg() 388 code->op = FETCH_OP_IMM; in parse_probe_arg() 402 code->op = FETCH_OP_FOFFS; in parse_probe_arg() 411 code->op = FETCH_NOP_SYMBOL; in parse_probe_arg() 419 code->op = FETCH_OP_IMM; in parse_probe_arg() [all …]
|
D | ftrace_internal.h | 16 #define do_for_each_ftrace_op(op, list) \ argument 17 op = rcu_dereference_raw_check(list); \ 23 #define while_for_each_ftrace_op(op) \ argument 24 while (likely(op = rcu_dereference_raw_check((op)->next)) && \ 25 unlikely((op) != &ftrace_list_end))
|
D | trace_probe_tmpl.h | 83 if (code->op == FETCH_OP_DEREF) { in process_fetch_insn_bottom() 87 } else if (code->op == FETCH_OP_UDEREF) { in process_fetch_insn_bottom() 102 if (code->op == FETCH_OP_ST_STRING) { in process_fetch_insn_bottom() 106 } else if (code->op == FETCH_OP_ST_USTRING) { in process_fetch_insn_bottom() 114 switch (code->op) { in process_fetch_insn_bottom() 138 if (code->op == FETCH_OP_MOD_BF) { in process_fetch_insn_bottom() 145 if (code->op == FETCH_OP_LP_ARRAY) { in process_fetch_insn_bottom() 151 if (s3->op != FETCH_OP_ST_STRING && in process_fetch_insn_bottom() 152 s3->op != FETCH_OP_ST_USTRING) { in process_fetch_insn_bottom() 169 return code->op == FETCH_OP_END ? ret : -EILSEQ; in process_fetch_insn_bottom()
|
D | ftrace.c | 126 struct ftrace_ops *op, struct pt_regs *regs); 145 struct ftrace_ops *op, struct pt_regs *regs) in ftrace_pid_func() argument 147 struct trace_array *tr = op->private; in ftrace_pid_func() 152 op->saved_func(ip, parent_ip, op, regs); in ftrace_pid_func() 371 struct ftrace_ops *op; in ftrace_update_pid_func() local 377 do_for_each_ftrace_op(op, ftrace_ops_list) { in ftrace_update_pid_func() 378 if (op->flags & FTRACE_OPS_FL_PID) { in ftrace_update_pid_func() 379 op->func = ftrace_pids_enabled(op) ? in ftrace_update_pid_func() 380 ftrace_pid_func : op->saved_func; in ftrace_update_pid_func() 381 ftrace_update_trampoline(op); in ftrace_update_pid_func() [all …]
|
D | trace_events_filter.c | 717 switch (pred->op) { in filter_pred_cpu() 868 if (pred->op == OP_GLOB) { in filter_build_regex() 1095 static filter_pred_fn_t select_comparison_fn(enum filter_op_ids op, in select_comparison_fn() argument 1101 switch (op) { in select_comparison_fn() 1106 if (WARN_ON_ONCE(op < PRED_FUNC_START)) in select_comparison_fn() 1108 pred_func_index = op - PRED_FUNC_START; in select_comparison_fn() 1165 int op; in parse_pred() local 1199 for (op = 0; ops[op]; op++) { in parse_pred() 1201 if (strncmp(str + i, ops[op], strlen(ops[op])) == 0) in parse_pred() 1205 if (!ops[op]) { in parse_pred() [all …]
|
D | fgraph.c | 435 struct ftrace_ops *op; in update_function_graph_func() local 444 do_for_each_ftrace_op(op, ftrace_ops_list) { in update_function_graph_func() 445 if (op != &global_ops && op != &graph_ops && in update_function_graph_func() 446 op != &ftrace_list_end) { in update_function_graph_func() 451 } while_for_each_ftrace_op(op); in update_function_graph_func()
|
D | trace_selftest.c | 109 struct ftrace_ops *op, in trace_selftest_test_probe1_func() argument 118 struct ftrace_ops *op, in trace_selftest_test_probe2_func() argument 127 struct ftrace_ops *op, in trace_selftest_test_probe3_func() argument 136 struct ftrace_ops *op, in trace_selftest_test_global_func() argument 145 struct ftrace_ops *op, in trace_selftest_test_dyn_func() argument 419 struct ftrace_ops *op, in trace_selftest_test_recursion_func() argument 434 struct ftrace_ops *op, in trace_selftest_test_recursion_safe_func() argument 553 struct ftrace_ops *op, in trace_selftest_test_regs_func() argument
|
D | trace_functions.c | 26 struct ftrace_ops *op, struct pt_regs *pt_regs); 29 struct ftrace_ops *op, struct pt_regs *pt_regs); 126 struct ftrace_ops *op, struct pt_regs *pt_regs) in function_trace_call() argument 128 struct trace_array *tr = op->private; in function_trace_call() 177 struct ftrace_ops *op, struct pt_regs *pt_regs) in function_stack_trace_call() argument 179 struct trace_array *tr = op->private; in function_stack_trace_call()
|
D | blktrace.c | 217 int op, int op_flags, u32 what, int error, int pdu_len, in __blk_add_trace() argument 234 what |= ddir_act[op_is_write(op) ? WRITE : READ]; in __blk_add_trace() 240 if (op == REQ_OP_DISCARD || op == REQ_OP_SECURE_ERASE) in __blk_add_trace() 242 if (op == REQ_OP_FLUSH) in __blk_add_trace() 1962 void blk_fill_rwbs(char *rwbs, unsigned int op, int bytes) in blk_fill_rwbs() argument 1966 if (op & REQ_PREFLUSH) in blk_fill_rwbs() 1969 switch (op & REQ_OP_MASK) { in blk_fill_rwbs() 1991 if (op & REQ_FUA) in blk_fill_rwbs() 1993 if (op & REQ_RAHEAD) in blk_fill_rwbs() 1995 if (op & REQ_SYNC) in blk_fill_rwbs() [all …]
|
D | bpf_trace.c | 1481 static int bpf_event_notify(struct notifier_block *nb, unsigned long op, in bpf_event_notify() argument 1488 (op != MODULE_STATE_COMING && op != MODULE_STATE_GOING)) in bpf_event_notify() 1493 switch (op) { in bpf_event_notify()
|
D | trace_stack.c | 293 struct ftrace_ops *op, struct pt_regs *pt_regs) in stack_trace_call() argument
|
D | trace_probe.h | 111 enum fetch_op op; member
|
D | trace_irqsoff.c | 141 struct ftrace_ops *op, struct pt_regs *pt_regs) in irqsoff_tracer_call() argument
|
/kernel/ |
D | kprobes.c | 388 struct optimized_kprobe *op; in free_aggr_kprobe() local 390 op = container_of(p, struct optimized_kprobe, kp); in free_aggr_kprobe() 391 arch_remove_optimized_kprobe(op); in free_aggr_kprobe() 393 kfree(op); in free_aggr_kprobe() 399 struct optimized_kprobe *op; in kprobe_optready() local 402 op = container_of(p, struct optimized_kprobe, kp); in kprobe_optready() 403 return arch_prepared_optinsn(&op->optinsn); in kprobe_optready() 412 struct optimized_kprobe *op; in kprobe_disarmed() local 418 op = container_of(p, struct optimized_kprobe, kp); in kprobe_disarmed() 420 return kprobe_disabled(p) && list_empty(&op->list); in kprobe_disarmed() [all …]
|
D | auditsc.c | 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() 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() 382 return audit_uid_comparator(cred->uid, f->op, in audit_field_compare() 385 return audit_uid_comparator(cred->uid, f->op, cred->euid); in audit_field_compare() 387 return audit_uid_comparator(cred->uid, f->op, cred->suid); in audit_field_compare() 389 return audit_uid_comparator(cred->uid, f->op, cred->fsuid); in audit_field_compare() 392 return audit_uid_comparator(audit_get_loginuid(tsk), f->op, in audit_field_compare() 395 return audit_uid_comparator(audit_get_loginuid(tsk), f->op, in audit_field_compare() [all …]
|
D | auditfilter.c | 156 (f->op != Audit_equal && f->op != Audit_not_equal)) in audit_to_inode() 314 static u32 audit_to_op(u32 op) in audit_to_op() argument 317 for (n = Audit_equal; n < Audit_bad && audit_ops[n] != op; n++) in audit_to_op() 383 if (f->op == Audit_bitmask || f->op == Audit_bittest) in audit_field_valid() 403 if (f->op != Audit_not_equal && f->op != Audit_equal) in audit_field_valid() 463 f->op = audit_to_op(data->fieldflags[i]); in audit_data_to_entry() 464 if (f->op == Audit_bad) in audit_data_to_entry() 523 err = security_audit_rule_init(f->type, f->op, str, in audit_data_to_entry() 540 err = audit_to_watch(&entry->rule, str, f_val, f->op); in audit_data_to_entry() 553 err = audit_make_tree(&entry->rule, str, f->op); in audit_data_to_entry() [all …]
|
D | audit.h | 221 extern int audit_comparator(const u32 left, const u32 op, const u32 right); 222 extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right); 223 extern int audit_gid_comparator(kgid_t left, u32 op, kgid_t right); 262 u32 op); 284 extern int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op); 317 #define audit_make_tree(rule, str, op) -EINVAL argument
|
D | futex.c | 1733 unsigned int op = (encoded_op & 0x70000000) >> 28; in futex_atomic_op_inuser() local 1756 ret = arch_futex_atomic_op_inuser(op, oparg, &oldval, uaddr); in futex_atomic_op_inuser() 1784 int nr_wake, int nr_wake2, int op) in futex_wake_op() argument 1805 op_ret = futex_atomic_op_inuser(op, uaddr2); in futex_wake_op() 3858 long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout, in do_futex() argument 3861 int cmd = op & FUTEX_CMD_MASK; in do_futex() 3864 if (!(op & FUTEX_PRIVATE_FLAG)) in do_futex() 3867 if (op & FUTEX_CLOCK_REALTIME) { in do_futex() 3917 SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, in SYSCALL_DEFINE6() argument 3924 int cmd = op & FUTEX_CMD_MASK; in SYSCALL_DEFINE6() [all …]
|
D | audit_watch.c | 178 int audit_to_watch(struct audit_krule *krule, char *path, int len, u32 op) in audit_to_watch() argument 187 op != Audit_equal || in audit_to_watch() 226 static void audit_watch_log_rule_change(struct audit_krule *r, struct audit_watch *w, char *op) in audit_watch_log_rule_change() argument 236 audit_log_format(ab, "op=%s path=", op); in audit_watch_log_rule_change()
|
D | seccomp.c | 1432 static long do_seccomp(unsigned int op, unsigned int flags, in do_seccomp() argument 1435 switch (op) { in do_seccomp() 1457 SYSCALL_DEFINE3(seccomp, unsigned int, op, unsigned int, flags, in SYSCALL_DEFINE3() argument 1460 return do_seccomp(op, flags, uargs); in SYSCALL_DEFINE3() 1472 unsigned int op; in prctl_set_seccomp() local 1477 op = SECCOMP_SET_MODE_STRICT; in prctl_set_seccomp() 1486 op = SECCOMP_SET_MODE_FILTER; in prctl_set_seccomp() 1494 return do_seccomp(op, 0, uargs); in prctl_set_seccomp()
|
D | audit_fsnotify.c | 115 static void audit_mark_log_rule_change(struct audit_fsnotify_mark *audit_mark, char *op) in audit_mark_log_rule_change() argument 126 audit_log_format(ab, " op=%s path=", op); in audit_mark_log_rule_change()
|
D | ptrace.c | 942 info->op = PTRACE_SYSCALL_INFO_ENTRY; in ptrace_get_syscall_info_entry() 964 info->op = PTRACE_SYSCALL_INFO_SECCOMP; in ptrace_get_syscall_info_seccomp() 975 info->op = PTRACE_SYSCALL_INFO_EXIT; in ptrace_get_syscall_info_exit() 991 .op = PTRACE_SYSCALL_INFO_NONE, in ptrace_get_syscall_info()
|
D | audit_tree.c | 728 int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op) in audit_make_tree() argument 733 op != Audit_equal || in audit_make_tree()
|
/kernel/locking/ |
D | spinlock.c | 67 #define BUILD_LOCK_OPS(op, locktype) \ argument 68 void __lockfunc __raw_##op##_lock(locktype##_t *lock) \ 72 if (likely(do_raw_##op##_trylock(lock))) \ 76 arch_##op##_relax(&lock->raw_lock); \ 80 unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \ 87 if (likely(do_raw_##op##_trylock(lock))) \ 92 arch_##op##_relax(&lock->raw_lock); \ 98 void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \ 100 _raw_##op##_lock_irqsave(lock); \ 103 void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \ [all …]
|
/kernel/power/ |
D | swap.c | 263 static int hib_submit_io(int op, int op_flags, pgoff_t page_off, void *addr, in hib_submit_io() argument 273 bio_set_op_attrs(bio, op, op_flags); in hib_submit_io()
|