Home
last modified time | relevance | path

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

12

/kernel/
Dauditsc.c148 static int audit_match_perm(struct audit_context *ctx, int mask) in audit_match_perm()
194 static int audit_match_filetype(struct audit_context *ctx, int val) in audit_match_filetype()
221 static void audit_set_auditable(struct audit_context *ctx) in audit_set_auditable()
229 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref()
251 static int grow_tree_refs(struct audit_context *ctx) in grow_tree_refs()
268 static void unroll_tree_refs(struct audit_context *ctx, in unroll_tree_refs()
297 static void free_tree_refs(struct audit_context *ctx) in free_tree_refs()
307 static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree) in match_tree_refs()
332 struct audit_context *ctx) in audit_compare_uid()
356 struct audit_context *ctx) in audit_compare_gid()
[all …]
Daudit.c201 struct audit_context *ctx; /* NULL or associated context */ member
1225 char *ctx = NULL; in audit_receive_msg() local
1788 static struct audit_buffer *audit_buffer_alloc(struct audit_context *ctx, in audit_buffer_alloc()
1837 static inline void audit_get_stamp(struct audit_context *ctx, in audit_get_stamp()
1861 struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, in audit_log_start()
2184 char *ctx = NULL; in audit_log_task_context() local
2463 void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, in audit_log()
Dworkqueue.c3947 static void apply_wqattrs_cleanup(struct apply_wqattrs_ctx *ctx) in apply_wqattrs_cleanup()
3968 struct apply_wqattrs_ctx *ctx; in apply_wqattrs_prepare() local
4036 static void apply_wqattrs_commit(struct apply_wqattrs_ctx *ctx) in apply_wqattrs_commit()
4073 struct apply_wqattrs_ctx *ctx; in apply_workqueue_attrs_locked() local
5359 struct apply_wqattrs_ctx *ctx, *n; in workqueue_apply_unbound_cpumask() local
/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 __get_cpu_context(struct perf_event_context *ctx) in __get_cpu_context()
165 struct perf_event_context *ctx) in perf_ctx_lock()
173 struct perf_event_context *ctx) in perf_ctx_unlock()
219 struct perf_event_context *ctx = event->ctx; in event_function() local
263 struct perf_event_context *ctx = event->ctx; in event_function_call() local
316 struct perf_event_context *ctx = event->ctx; in event_function_local() local
699 struct perf_event_context *ctx = event->ctx; in perf_cgroup_match() local
803 struct perf_event_context *ctx = &cpuctx->ctx; in perf_cgroup_set_timestamp() local
958 perf_cgroup_event_enable(struct perf_event *event, struct perf_event_context *ctx) in perf_cgroup_event_enable()
980 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
Duprobes.c870 enum uprobe_filter_ctx ctx, struct mm_struct *mm) in consumer_filter()
876 enum uprobe_filter_ctx ctx, struct mm_struct *mm) in filter_chain()
2177 bool __weak arch_uretprobe_is_alive(struct return_instance *ret, enum rp_check ctx, in arch_uretprobe_is_alive()
/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()
1468 struct bpf_sock_addr_kern ctx = { in __cgroup_bpf_run_filter_sock_addr() local
1524 struct bpf_cgroup_dev_ctx ctx = { in __cgroup_bpf_check_dev_permission() local
1548 struct bpf_cg_run_ctx *ctx; in BPF_CALL_2() local
1573 struct bpf_cg_run_ctx *ctx = in BPF_CALL_0() local
1587 struct bpf_cg_run_ctx *ctx = in BPF_CALL_1() local
1686 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
Dmap_iter.c46 struct bpf_iter__bpf_map ctx; in DEFINE_BPF_ITER_FUNC() local
Dbpf_lsm.c179 BPF_CALL_1(bpf_get_attach_cookie, void *, ctx) in BPF_CALL_1() argument
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.c867 ww_mutex_deadlock_injection(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_deadlock_injection()
893 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock()
908 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible()
1079 __ww_mutex_lock_slowpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_slowpath()
1087 struct ww_acquire_ctx *ctx) in __ww_mutex_lock_interruptible_slowpath()
1127 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock()
1142 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()
Dlocktorture.c407 struct ww_acquire_ctx *ctx = &ww_acquire_ctxs[tid]; in torture_ww_mutex_lock() local
446 struct ww_acquire_ctx *ctx = &ww_acquire_ctxs[tid]; in torture_ww_mutex_unlock() local
/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.c1945 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup2_parse_param() local
2008 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_reconfigure() local
2039 void init_cgroup_root(struct cgroup_fs_context *ctx) in init_cgroup_root()
2164 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_do_get_tree() local
2212 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_fs_context_free() local
2223 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_get_tree() local
2256 struct cgroup_fs_context *ctx; in cgroup_init_fs_context() local
2329 struct cgroup_fs_context *ctx; in cpuset_init_fs_context() local
3768 struct cgroup_file_ctx *ctx = of->priv; in pressure_write() local
3888 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pressure_poll() local
[all …]
/kernel/trace/
Dbpf_trace.c102 unsigned int trace_call_bpf(struct trace_event_call *call, void *ctx) in trace_call_bpf()
719 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) in bpf_event_output()
1039 BPF_CALL_1(bpf_get_func_ip_tracing, void *, ctx) in BPF_CALL_1() argument
1109 BPF_CALL_1(bpf_get_attach_cookie_trace, void *, ctx) in BPF_CALL_1() argument
1124 BPF_CALL_1(bpf_get_attach_cookie_pe, struct bpf_perf_event_data_kern *, ctx) in BPF_CALL_1() argument
1136 BPF_CALL_1(bpf_get_attach_cookie_tracing, void *, ctx) in BPF_CALL_1() argument
1179 BPF_CALL_3(get_func_arg, void *, ctx, u32, n, u64 *, value) in BPF_CALL_3() argument
1198 BPF_CALL_2(get_func_ret, void *, ctx, u64 *, value) in BPF_CALL_2() argument
1214 BPF_CALL_1(get_func_arg_cnt, void *, ctx) in BPF_CALL_1() argument
1694 BPF_CALL_3(bpf_perf_prog_read_value, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_3() argument
[all …]
/kernel/bpf/preload/iterators/
Diterators.bpf.c77 int dump_bpf_map(struct bpf_iter__bpf_map *ctx) in dump_bpf_map()
94 int dump_bpf_prog(struct bpf_iter__bpf_prog *ctx) in dump_bpf_prog()
Diterators.lskel.h9 struct bpf_loader_ctx ctx; member

12