Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 44) sorted by relevance

12

/kernel/trace/
Dtrace_probe.c290 struct traceprobe_parse_context *ctx) in parse_trace_event_arg()
352 struct traceprobe_parse_context *ctx) in check_prepare_btf_string_fetch()
386 struct traceprobe_parse_context *ctx) in fetch_type_from_btf_type()
438 static int query_btf_context(struct traceprobe_parse_context *ctx) in query_btf_context()
480 static void clear_btf_context(struct traceprobe_parse_context *ctx) in clear_btf_context()
493 struct traceprobe_parse_context *ctx) in split_next_field()
523 struct traceprobe_parse_context *ctx) in parse_btf_field()
603 struct traceprobe_parse_context *ctx) in parse_btf_arg()
691 struct traceprobe_parse_context *ctx) in find_fetch_type_from_btf_type()
703 struct traceprobe_parse_context *ctx) in parse_btf_bitfield()
[all …]
Dbpf_trace.c110 unsigned int trace_call_bpf(struct trace_event_call *call, void *ctx) in trace_call_bpf()
717 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) in bpf_event_output()
1035 BPF_CALL_1(bpf_get_func_ip_tracing, void *, ctx) in BPF_CALL_1() argument
1138 BPF_CALL_1(bpf_get_attach_cookie_trace, void *, ctx) in BPF_CALL_1() argument
1153 BPF_CALL_1(bpf_get_attach_cookie_pe, struct bpf_perf_event_data_kern *, ctx) in BPF_CALL_1() argument
1165 BPF_CALL_1(bpf_get_attach_cookie_tracing, void *, ctx) in BPF_CALL_1() argument
1208 BPF_CALL_3(get_func_arg, void *, ctx, u32, n, u64 *, value) in BPF_CALL_3() argument
1227 BPF_CALL_2(get_func_ret, void *, ctx, u64 *, value) in BPF_CALL_2() argument
1243 BPF_CALL_1(get_func_arg_cnt, void *, ctx) in BPF_CALL_1() argument
1731 BPF_CALL_3(bpf_perf_prog_read_value, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_3() argument
[all …]
Dtrace_kprobe.c724 struct sym_count_ctx *ctx = data; in count_mod_symbols() local
734 struct sym_count_ctx ctx = { .count = 0, .name = func_name }; in number_of_same_symbols() local
782 struct traceprobe_parse_context ctx = { .flags = TPARG_FL_KERNEL }; in __trace_kprobe_create() local
/kernel/
Dauditsc.c151 static int audit_match_perm(struct audit_context *ctx, int mask) in audit_match_perm()
197 static int audit_match_filetype(struct audit_context *ctx, int val) in audit_match_filetype()
224 static void audit_set_auditable(struct audit_context *ctx) in audit_set_auditable()
232 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref()
254 static int grow_tree_refs(struct audit_context *ctx) in grow_tree_refs()
271 static void unroll_tree_refs(struct audit_context *ctx, in unroll_tree_refs()
300 static void free_tree_refs(struct audit_context *ctx) in free_tree_refs()
310 static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree) in match_tree_refs()
335 struct audit_context *ctx) in audit_compare_uid()
359 struct audit_context *ctx) in audit_compare_gid()
[all …]
Daudit.c199 struct audit_context *ctx; /* NULL or associated context */ member
1224 char *ctx = NULL; in audit_receive_msg() local
1787 static struct audit_buffer *audit_buffer_alloc(struct audit_context *ctx, in audit_buffer_alloc()
1836 static inline void audit_get_stamp(struct audit_context *ctx, in audit_get_stamp()
1860 struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, in audit_log_start()
2183 char *ctx = NULL; in audit_log_task_context() local
2462 void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, in audit_log()
/kernel/kcsan/
Dcore.c215 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses() local
231 is_atomic(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in is_atomic()
268 should_watch(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in should_watch()
315 static __always_inline bool kcsan_is_enabled(struct kcsan_ctx *ctx) in kcsan_is_enabled()
391 static __always_inline struct kcsan_scoped_access *get_reorder_access(struct kcsan_ctx *ctx) in get_reorder_access()
401 find_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in find_reorder_access()
418 set_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in set_reorder_access()
463 struct kcsan_ctx *ctx = get_ctx(); in kcsan_found_watchpoint() local
536 struct kcsan_ctx *ctx = get_ctx(); in kcsan_setup_watchpoint() local
750 struct kcsan_ctx *ctx = get_ctx(); /* Call only once in fast-path. */ in check_access() local
[all …]
/kernel/events/
Dcore.c159 struct perf_event_context *ctx) in perf_ctx_lock()
167 struct perf_event_context *ctx) in perf_ctx_unlock()
221 struct perf_event_context *ctx = event->ctx; in event_function() local
265 struct perf_event_context *ctx = event->ctx; in event_function_call() local
318 struct perf_event_context *ctx = event->ctx; in event_function_local() local
688 static void perf_ctx_disable(struct perf_event_context *ctx, bool cgroup) in perf_ctx_disable()
699 static void perf_ctx_enable(struct perf_event_context *ctx, bool cgroup) in perf_ctx_enable()
821 struct perf_event_context *ctx = &cpuctx->ctx; in perf_cgroup_set_timestamp() local
968 perf_cgroup_event_enable(struct perf_event *event, struct perf_event_context *ctx) in perf_cgroup_event_enable()
990 perf_cgroup_event_disable(struct perf_event *event, struct perf_event_context *ctx) in perf_cgroup_event_disable()
[all …]
Dcallchain.c184 struct perf_callchain_entry_ctx ctx; in get_perf_callchain() local
/kernel/bpf/
Dcgroup.c33 const void *ctx, bpf_prog_run_fn run_prog, in bpf_prog_run_array_cg()
66 unsigned int __cgroup_bpf_run_lsm_sock(const void *ctx, in __cgroup_bpf_run_lsm_sock()
88 unsigned int __cgroup_bpf_run_lsm_socket(const void *ctx, in __cgroup_bpf_run_lsm_socket()
110 unsigned int __cgroup_bpf_run_lsm_current(const void *ctx, in __cgroup_bpf_run_lsm_current()
1473 struct bpf_sock_addr_kern ctx = { in __cgroup_bpf_run_filter_sock_addr() local
1538 struct bpf_cgroup_dev_ctx ctx = { in __cgroup_bpf_check_dev_permission() local
1562 struct bpf_cg_run_ctx *ctx; in BPF_CALL_2() local
1587 struct bpf_cg_run_ctx *ctx = in BPF_CALL_0() local
1601 struct bpf_cg_run_ctx *ctx = in BPF_CALL_1() local
1700 struct bpf_sysctl_kern ctx = { in __cgroup_bpf_run_filter_sysctl() local
[all …]
Dtask_iter.c200 struct bpf_iter__task ctx; in DEFINE_BPF_ITER_FUNC() local
376 struct bpf_iter__task_file ctx; in DEFINE_BPF_ITER_FUNC() local
638 struct bpf_iter__task_vma ctx; in DEFINE_BPF_ITER_FUNC() local
Dlink_iter.c46 struct bpf_iter__bpf_link ctx; in DEFINE_BPF_ITER_FUNC() local
Dprog_iter.c46 struct bpf_iter__bpf_prog ctx; in DEFINE_BPF_ITER_FUNC() local
Dbpf_lsm.c181 BPF_CALL_1(bpf_get_attach_cookie, void *, ctx) in BPF_CALL_1() argument
Dmap_iter.c46 struct bpf_iter__bpf_map ctx; in DEFINE_BPF_ITER_FUNC() local
Dcgroup_iter.c124 struct bpf_iter__cgroup ctx; in __cgroup_iter_seq_show() local
Dstackmap.c331 BPF_CALL_3(bpf_get_stackid_pe, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_3() argument
508 BPF_CALL_4(bpf_get_stack_pe, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_4() argument
/kernel/locking/
Dtest-ww_mutex.c61 struct ww_acquire_ctx ctx; in __test_mutex() local
124 struct ww_acquire_ctx ctx; in test_aa() local
189 struct ww_acquire_ctx ctx; in test_abba_work() local
221 struct ww_acquire_ctx ctx; in test_abba() local
289 struct ww_acquire_ctx ctx; in test_cycle_work() local
423 struct ww_acquire_ctx ctx; in stress_inorder_work() local
480 struct ww_acquire_ctx ctx; in stress_reorder_work() local
Dmutex.c868 ww_mutex_deadlock_injection(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_deadlock_injection()
894 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock()
909 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible()
1080 __ww_mutex_lock_slowpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_slowpath()
1088 struct ww_acquire_ctx *ctx) in __ww_mutex_lock_interruptible_slowpath()
1128 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock()
1143 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible()
Dww_rt_mutex.c79 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock()
86 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible()
Dww_mutex.h378 ww_mutex_set_context_fastpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_set_context_fastpath()
442 struct ww_acquire_ctx *ctx) in __ww_mutex_check_kill()
/kernel/cgroup/
Dcgroup-v1.c397 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_start() local
452 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_stop() local
464 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_next() local
551 struct cgroup_file_ctx *ctx; in cgroup_release_agent_write() local
925 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_parse_param() local
1020 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in check_cgroupfs_options() local
1074 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_reconfigure() local
1146 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_root_to_use() local
1238 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_get_tree() local
Dcgroup.c1922 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup2_parse_param() local
1985 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_reconfigure() local
2016 void init_cgroup_root(struct cgroup_fs_context *ctx) in init_cgroup_root()
2141 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_do_get_tree() local
2189 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_fs_context_free() local
2200 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_get_tree() local
2233 struct cgroup_fs_context *ctx; in cgroup_init_fs_context() local
2306 struct cgroup_fs_context *ctx; in cpuset_init_fs_context() local
3757 struct cgroup_file_ctx *ctx = of->priv; in pressure_write() local
3877 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pressure_poll() local
[all …]
/kernel/bpf/preload/iterators/
Diterators.bpf.c79 int dump_bpf_map(struct bpf_iter__bpf_map *ctx) in dump_bpf_map()
99 int dump_bpf_prog(struct bpf_iter__bpf_prog *ctx) in dump_bpf_prog()
Diterators.lskel-little-endian.h9 struct bpf_loader_ctx ctx; member
Diterators.lskel-big-endian.h9 struct bpf_loader_ctx ctx; member

12