Home
last modified time | relevance | path

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

12

/kernel/
Dauditsc.c160 static int audit_match_perm(struct audit_context *ctx, int mask) in audit_match_perm()
204 static int audit_match_filetype(struct audit_context *ctx, int val) in audit_match_filetype()
231 static void audit_set_auditable(struct audit_context *ctx) in audit_set_auditable()
239 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref()
261 static int grow_tree_refs(struct audit_context *ctx) in grow_tree_refs()
278 static void unroll_tree_refs(struct audit_context *ctx, in unroll_tree_refs()
307 static void free_tree_refs(struct audit_context *ctx) in free_tree_refs()
317 static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree) in match_tree_refs()
342 struct audit_context *ctx) in audit_compare_uid()
366 struct audit_context *ctx) in audit_compare_gid()
[all …]
Daudit.c201 struct audit_context *ctx; /* NULL or associated context */ member
1227 char *ctx = NULL; in audit_receive_msg() local
1790 static struct audit_buffer *audit_buffer_alloc(struct audit_context *ctx, in audit_buffer_alloc()
1839 static inline void audit_get_stamp(struct audit_context *ctx, in audit_get_stamp()
1863 struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, in audit_log_start()
2186 char *ctx = NULL; in audit_log_task_context() local
2465 void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, in audit_log()
Dworkqueue.c3965 static void apply_wqattrs_cleanup(struct apply_wqattrs_ctx *ctx) in apply_wqattrs_cleanup()
3985 struct apply_wqattrs_ctx *ctx; in apply_wqattrs_prepare() local
4052 static void apply_wqattrs_commit(struct apply_wqattrs_ctx *ctx) in apply_wqattrs_commit()
4089 struct apply_wqattrs_ctx *ctx; in apply_workqueue_attrs_locked() local
5392 struct apply_wqattrs_ctx *ctx, *n; in workqueue_apply_unbound_cpumask() local
/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
700 struct perf_event_context *ctx = event->ctx; in perf_cgroup_match() local
806 struct perf_event_context *ctx) in perf_cgroup_set_timestamp()
1023 perf_cgroup_event_enable(struct perf_event *event, struct perf_event_context *ctx) in perf_cgroup_event_enable()
1057 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.c873 enum uprobe_filter_ctx ctx, struct mm_struct *mm) in consumer_filter()
879 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/kcsan/
Dcore.c210 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses() local
222 is_atomic(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in is_atomic()
259 should_watch(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in should_watch()
306 static __always_inline bool kcsan_is_enabled(struct kcsan_ctx *ctx) in kcsan_is_enabled()
359 struct kcsan_ctx *ctx = get_ctx(); in kcsan_found_watchpoint() local
430 struct kcsan_ctx *ctx = get_ctx(); in kcsan_setup_watchpoint() local
633 struct kcsan_ctx *ctx = get_ctx(); /* Call only once in fast-path. */ in check_access() local
760 struct kcsan_ctx *ctx = get_ctx(); in kcsan_begin_scoped_access() local
782 struct kcsan_ctx *ctx = get_ctx(); in kcsan_end_scoped_access() local
/kernel/locking/
Dtest-ww_mutex.c52 struct ww_acquire_ctx ctx; in __test_mutex() local
115 struct ww_acquire_ctx ctx; in test_aa() local
160 struct ww_acquire_ctx ctx; in test_abba_work() local
187 struct ww_acquire_ctx ctx; in test_abba() local
249 struct ww_acquire_ctx ctx; in test_cycle_work() local
383 struct ww_acquire_ctx ctx; in stress_inorder_work() local
440 struct ww_acquire_ctx ctx; in stress_reorder_work() local
Dmutex.c808 ww_mutex_deadlock_injection(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_deadlock_injection()
834 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock()
849 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible()
1020 __ww_mutex_lock_slowpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_slowpath()
1028 struct ww_acquire_ctx *ctx) in __ww_mutex_lock_interruptible_slowpath()
1068 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock()
1083 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible()
Dww_rt_mutex.c54 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock()
61 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.c402 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_start() local
457 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_stop() local
469 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pidlist_next() local
556 struct cgroup_file_ctx *ctx; in cgroup_release_agent_write() local
930 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_parse_param() local
1019 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in check_cgroupfs_options() local
1073 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_reconfigure() local
1145 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_root_to_use() local
1234 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_get_tree() local
Dcgroup.c1901 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup2_parse_param() local
1956 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_reconfigure() local
1987 void init_cgroup_root(struct cgroup_fs_context *ctx) in init_cgroup_root()
2111 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_do_get_tree() local
2159 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_fs_context_free() local
2170 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_get_tree() local
2203 struct cgroup_fs_context *ctx; in cgroup_init_fs_context() local
2272 struct cgroup_fs_context *ctx; in cpuset_init_fs_context() local
3711 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pressure_write() local
3766 struct cgroup_file_ctx *ctx = of->priv; in cgroup_pressure_poll() local
[all …]
/kernel/bpf/
Dcgroup.c1154 struct bpf_sock_addr_kern ctx = { in __cgroup_bpf_run_filter_sock_addr() local
1215 struct bpf_cgroup_dev_ctx ctx = { in __cgroup_bpf_check_dev_permission() local
1318 struct bpf_sysctl_kern ctx = { in __cgroup_bpf_run_filter_sysctl() local
1387 static int sockopt_alloc_buf(struct bpf_sockopt_kern *ctx, int max_optlen, in sockopt_alloc_buf()
1418 static void sockopt_free_buf(struct bpf_sockopt_kern *ctx, in sockopt_free_buf()
1426 static bool sockopt_buf_allocated(struct bpf_sockopt_kern *ctx, in sockopt_buf_allocated()
1438 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_setsockopt() local
1539 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_getsockopt() local
1640 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_getsockopt_kern() local
1713 BPF_CALL_4(bpf_sysctl_get_name, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_4() argument
[all …]
Dtask_iter.c93 struct bpf_iter__task ctx; in DEFINE_BPF_ITER_FUNC() local
233 struct bpf_iter__task_file ctx; in DEFINE_BPF_ITER_FUNC() local
478 struct bpf_iter__task_vma 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
Dstackmap.c375 BPF_CALL_3(bpf_get_stackid_pe, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_3() argument
552 BPF_CALL_4(bpf_get_stack_pe, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_4() argument
Dcore.c1820 static unsigned int __bpf_prog_ret0_warn(const void *ctx, in __bpf_prog_ret0_warn()
1956 static unsigned int __bpf_prog_ret1(const void *ctx, in __bpf_prog_ret1()
2378 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) in bpf_event_output()
Dhelpers.c415 struct bpf_cg_run_ctx *ctx; in BPF_CALL_2() local
617 BPF_CALL_5(bpf_event_output_data, void *, ctx, struct bpf_map *, map, in BPF_CALL_5() argument
Dbpf_iter.c683 int bpf_iter_run_prog(struct bpf_prog *prog, void *ctx) in bpf_iter_run_prog()
/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()
/kernel/trace/
Dbpf_trace.c95 unsigned int trace_call_bpf(struct trace_event_call *call, void *ctx) in trace_call_bpf()
660 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) in bpf_event_output()
981 BPF_CALL_1(bpf_get_func_ip_tracing, void *, ctx) in BPF_CALL_1() argument
1008 BPF_CALL_1(bpf_get_attach_cookie_trace, void *, ctx) in BPF_CALL_1() argument
1023 BPF_CALL_1(bpf_get_attach_cookie_pe, struct bpf_perf_event_data_kern *, ctx) in BPF_CALL_1() argument
1311 BPF_CALL_3(bpf_perf_prog_read_value, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_3() argument
1337 BPF_CALL_4(bpf_read_branch_records, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_4() argument
/kernel/time/
Dtimekeeping.c1201 void *ctx), in get_device_system_crosststamp()

12