| /kernel/trace/ |
| D | trace_probe.c | 300 struct traceprobe_parse_context *ctx) in parse_trace_event_arg() 362 struct traceprobe_parse_context *ctx) in check_prepare_btf_string_fetch() 396 struct traceprobe_parse_context *ctx) in fetch_type_from_btf_type() 448 static int query_btf_context(struct traceprobe_parse_context *ctx) in query_btf_context() 490 static void clear_btf_context(struct traceprobe_parse_context *ctx) in clear_btf_context() 503 struct traceprobe_parse_context *ctx) in split_next_field() 533 struct traceprobe_parse_context *ctx) in parse_btf_field() 615 struct traceprobe_parse_context *ctx) in parse_btf_arg() 709 struct traceprobe_parse_context *ctx) in find_fetch_type_from_btf_type() 721 struct traceprobe_parse_context *ctx) in parse_btf_bitfield() [all …]
|
| D | bpf_trace.c | 110 unsigned int trace_call_bpf(struct trace_event_call *call, void *ctx) in trace_call_bpf() 721 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) in bpf_event_output() 1016 BPF_CALL_1(bpf_get_func_ip_tracing, void *, ctx) in BPF_CALL_1() argument 1125 BPF_CALL_1(bpf_get_attach_cookie_trace, void *, ctx) in BPF_CALL_1() argument 1140 BPF_CALL_1(bpf_get_attach_cookie_pe, struct bpf_perf_event_data_kern *, ctx) in BPF_CALL_1() argument 1152 BPF_CALL_1(bpf_get_attach_cookie_tracing, void *, ctx) in BPF_CALL_1() argument 1191 BPF_CALL_3(get_func_arg, void *, ctx, u32, n, u64 *, value) in BPF_CALL_3() argument 1211 BPF_CALL_2(get_func_ret, void *, ctx, u64 *, value) in BPF_CALL_2() argument 1228 BPF_CALL_1(get_func_arg_cnt, void *, ctx) in BPF_CALL_1() argument 1728 BPF_CALL_3(bpf_perf_prog_read_value, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_3() argument [all …]
|
| /kernel/ |
| D | auditsc.c | 151 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 …]
|
| D | audit.c | 199 struct audit_context *ctx; /* NULL or associated context */ member 1224 char *ctx = NULL; in audit_receive_msg() local 1785 static struct audit_buffer *audit_buffer_alloc(struct audit_context *ctx, in audit_buffer_alloc() 1834 static inline void audit_get_stamp(struct audit_context *ctx, in audit_get_stamp() 1858 struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, in audit_log_start() 2181 char *ctx = NULL; in audit_log_task_context() local 2460 void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, in audit_log()
|
| D | resource_kunit.c | 174 static void remove_free_resource(void *ctx) in remove_free_resource() 183 struct kunit *test, void (*action)(void *), void *ctx) in resource_test_add_action_or_abort() argument
|
| /kernel/bpf/ |
| D | crypto.c | 150 struct bpf_crypto_ctx *ctx; in bpf_crypto_ctx_create() local 225 struct bpf_crypto_ctx *ctx; in crypto_free_cb() local 243 bpf_crypto_ctx_acquire(struct bpf_crypto_ctx *ctx) in bpf_crypto_ctx_acquire() 258 __bpf_kfunc void bpf_crypto_ctx_release(struct bpf_crypto_ctx *ctx) in bpf_crypto_ctx_release() 264 static int bpf_crypto_crypt(const struct bpf_crypto_ctx *ctx, in bpf_crypto_crypt() 313 __bpf_kfunc int bpf_crypto_decrypt(struct bpf_crypto_ctx *ctx, in bpf_crypto_decrypt() 334 __bpf_kfunc int bpf_crypto_encrypt(struct bpf_crypto_ctx *ctx, in bpf_crypto_encrypt()
|
| D | cgroup.c | 50 const void *ctx, bpf_prog_run_fn run_prog, in bpf_prog_run_array_cg() 83 unsigned int __cgroup_bpf_run_lsm_sock(const void *ctx, in __cgroup_bpf_run_lsm_sock() 105 unsigned int __cgroup_bpf_run_lsm_socket(const void *ctx, in __cgroup_bpf_run_lsm_socket() 127 unsigned int __cgroup_bpf_run_lsm_current(const void *ctx, in __cgroup_bpf_run_lsm_current() 1504 struct bpf_sock_addr_kern ctx = { in __cgroup_bpf_run_filter_sock_addr() local 1570 struct bpf_cgroup_dev_ctx ctx = { in __cgroup_bpf_check_dev_permission() local 1594 struct bpf_cg_run_ctx *ctx; in BPF_CALL_2() local 1619 struct bpf_cg_run_ctx *ctx = in BPF_CALL_0() local 1633 struct bpf_cg_run_ctx *ctx = in BPF_CALL_1() local 1732 struct bpf_sysctl_kern ctx = { in __cgroup_bpf_run_filter_sysctl() local [all …]
|
| D | prog_iter.c | 46 struct bpf_iter__bpf_prog ctx; in DEFINE_BPF_ITER_FUNC() local
|
| D | link_iter.c | 46 struct bpf_iter__bpf_link ctx; in DEFINE_BPF_ITER_FUNC() local
|
| D | task_iter.c | 180 struct bpf_iter__task ctx; in DEFINE_BPF_ITER_FUNC() local 351 struct bpf_iter__task_file ctx; in DEFINE_BPF_ITER_FUNC() local 613 struct bpf_iter__task_vma ctx; in DEFINE_BPF_ITER_FUNC() local
|
| D | dmabuf_iter.c | 36 struct bpf_iter__dmabuf ctx = { in __dmabuf_seq_show() local
|
| D | map_iter.c | 46 struct bpf_iter__bpf_map ctx; in DEFINE_BPF_ITER_FUNC() local
|
| D | bpf_lsm.c | 207 BPF_CALL_1(bpf_get_attach_cookie, void *, ctx) in BPF_CALL_1() argument
|
| /kernel/events/ |
| D | core.c | 173 static inline void __perf_ctx_lock(struct perf_event_context *ctx) in __perf_ctx_lock() 180 struct perf_event_context *ctx) in perf_ctx_lock() 187 static inline void __perf_ctx_unlock(struct perf_event_context *ctx) in __perf_ctx_unlock() 203 struct perf_event_context *ctx) in perf_ctx_unlock() 212 struct perf_event_context *ctx; member 220 struct perf_event_context *ctx) in class_perf_ctx_lock_constructor() 270 struct perf_event_context *ctx = event->ctx; in event_function() local 314 struct perf_event_context *ctx = event->ctx; in event_function_call() local 371 struct perf_event_context *ctx = event->ctx; in event_function_local() local 744 static void perf_ctx_disable(struct perf_event_context *ctx, bool cgroup) in perf_ctx_disable() [all …]
|
| D | callchain.c | 223 struct perf_callchain_entry_ctx ctx; in get_perf_callchain() local
|
| /kernel/kcsan/ |
| D | core.c | 215 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/cgroup/ |
| D | cgroup-v1.c | 403 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_start() local 458 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_stop() local 470 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_next() local 557 struct cgroup_file_ctx *ctx; in cgroup_release_agent_write() local 934 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_parse_param() local 1030 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in check_cgroupfs_options() local 1085 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_reconfigure() local 1157 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_root_to_use() local 1249 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_get_tree() local
|
| D | cgroup.c | 1971 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup2_parse_param() local 2004 struct cgroup_file_ctx *ctx = of->priv; in of_peak() local 2061 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_reconfigure() local 2092 void init_cgroup_root(struct cgroup_fs_context *ctx) in init_cgroup_root() 2219 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_do_get_tree() local 2267 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_fs_context_free() local 2278 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_get_tree() local 2311 struct cgroup_fs_context *ctx; in cgroup_init_fs_context() local 2380 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cpuset_parse_param() local 2410 struct cgroup_fs_context *ctx; in cpuset_init_fs_context() local [all …]
|
| /kernel/locking/ |
| D | test-ww_mutex.c | 61 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 433 struct ww_acquire_ctx ctx; in stress_inorder_work() local 491 struct ww_acquire_ctx ctx; in stress_reorder_work() local
|
| D | mutex.c | 896 ww_mutex_deadlock_injection(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_deadlock_injection() 922 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() 937 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible() 1150 __ww_mutex_lock_slowpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_slowpath() 1158 struct ww_acquire_ctx *ctx) in __ww_mutex_lock_interruptible_slowpath() 1198 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock() 1213 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible()
|
| D | ww_rt_mutex.c | 79 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()
|
| D | ww_mutex.h | 393 ww_mutex_set_context_fastpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_set_context_fastpath() 463 struct ww_acquire_ctx *ctx) in __ww_mutex_check_kill()
|
| /kernel/bpf/preload/iterators/ |
| D | iterators.bpf.c | 79 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()
|
| D | iterators.lskel-little-endian.h | 9 struct bpf_loader_ctx ctx; member
|
| D | iterators.lskel-big-endian.h | 9 struct bpf_loader_ctx ctx; member
|