Home
last modified time | relevance | path

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

/kernel/
Dauditsc.c133 static int audit_match_perm(struct audit_context *ctx, int mask) in audit_match_perm()
176 static int audit_match_filetype(struct audit_context *ctx, int val) in audit_match_filetype()
203 static void audit_set_auditable(struct audit_context *ctx) in audit_set_auditable()
211 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref()
232 static int grow_tree_refs(struct audit_context *ctx) in grow_tree_refs()
248 static void unroll_tree_refs(struct audit_context *ctx, in unroll_tree_refs()
276 static void free_tree_refs(struct audit_context *ctx) in free_tree_refs()
285 static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree) in match_tree_refs()
309 struct audit_context *ctx) in audit_compare_uid()
333 struct audit_context *ctx) in audit_compare_gid()
[all …]
Daudit.c195 struct audit_context *ctx; /* NULL or associated context */ member
1181 char *ctx = NULL; in audit_receive_msg() local
1671 static struct audit_buffer *audit_buffer_alloc(struct audit_context *ctx, in audit_buffer_alloc()
1720 static inline void audit_get_stamp(struct audit_context *ctx, in audit_get_stamp()
1744 struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, in audit_log_start()
2059 char *ctx = NULL; in audit_log_task_context() local
2337 void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, in audit_log()
Dworkqueue.c3877 static void apply_wqattrs_cleanup(struct apply_wqattrs_ctx *ctx) in apply_wqattrs_cleanup()
3897 struct apply_wqattrs_ctx *ctx; in apply_wqattrs_prepare() local
3964 static void apply_wqattrs_commit(struct apply_wqattrs_ctx *ctx) in apply_wqattrs_commit()
4001 struct apply_wqattrs_ctx *ctx; in apply_workqueue_attrs_locked() local
5244 struct apply_wqattrs_ctx *ctx, *n; in workqueue_apply_unbound_cpumask() local
/kernel/events/
Dcore.c146 __get_cpu_context(struct perf_event_context *ctx) in __get_cpu_context()
152 struct perf_event_context *ctx) in perf_ctx_lock()
160 struct perf_event_context *ctx) in perf_ctx_unlock()
206 struct perf_event_context *ctx = event->ctx; in event_function() local
250 struct perf_event_context *ctx = event->ctx; in event_function_call() local
303 struct perf_event_context *ctx = event->ctx; in event_function_local() local
673 struct perf_event_context *ctx = event->ctx; in perf_cgroup_match() local
760 struct perf_event_context *ctx) in perf_cgroup_set_timestamp()
944 struct perf_event_context *ctx, bool add) in list_update_cgroup_event()
1030 struct perf_event_context *ctx) in perf_cgroup_set_timestamp()
[all …]
Dcallchain.c182 struct perf_callchain_entry_ctx ctx; in get_perf_callchain() local
Duprobes.c884 enum uprobe_filter_ctx ctx, struct mm_struct *mm) in consumer_filter()
890 enum uprobe_filter_ctx ctx, struct mm_struct *mm) in filter_chain()
2176 bool __weak arch_uretprobe_is_alive(struct return_instance *ret, enum rp_check ctx, in arch_uretprobe_is_alive()
/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
441 struct ww_acquire_ctx ctx; in stress_reorder_work() local
Dmutex.c465 ww_mutex_set_context_fastpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_set_context_fastpath()
806 struct ww_acquire_ctx *ctx) in __ww_mutex_check_kill()
1159 ww_mutex_deadlock_injection(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_deadlock_injection()
1185 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock()
1201 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible()
1380 __ww_mutex_lock_slowpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in __ww_mutex_lock_slowpath()
1388 struct ww_acquire_ctx *ctx) in __ww_mutex_lock_interruptible_slowpath()
1428 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock()
1443 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_interruptible()
Dlocktorture.c373 struct ww_acquire_ctx ctx; in torture_ww_mutex_lock() local
/kernel/bpf/
Dcgroup.c705 struct bpf_sock_addr_kern ctx = { in __cgroup_bpf_run_filter_sock_addr() local
765 struct bpf_cgroup_dev_ctx ctx = { in __cgroup_bpf_check_dev_permission() local
887 struct bpf_sysctl_kern ctx = { in __cgroup_bpf_run_filter_sysctl() local
964 static int sockopt_alloc_buf(struct bpf_sockopt_kern *ctx, int max_optlen) in sockopt_alloc_buf()
978 static void sockopt_free_buf(struct bpf_sockopt_kern *ctx) in sockopt_free_buf()
988 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_setsockopt() local
1060 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_getsockopt() local
1173 BPF_CALL_4(bpf_sysctl_get_name, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_4() argument
1230 BPF_CALL_3(bpf_sysctl_get_current_value, struct bpf_sysctl_kern *, ctx, in BPF_CALL_3() argument
1245 BPF_CALL_3(bpf_sysctl_get_new_value, struct bpf_sysctl_kern *, ctx, char *, buf, in BPF_CALL_3() argument
[all …]
Dcore.c1647 static unsigned int __bpf_prog_ret0_warn(const void *ctx, in __bpf_prog_ret0_warn()
1768 static unsigned int __bpf_prog_ret1(const void *ctx, in __bpf_prog_ret1()
2062 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) in bpf_event_output()
Doffload.c249 static unsigned int bpf_prog_warn_on_exec(const void *ctx, in bpf_prog_warn_on_exec()
/kernel/cgroup/
Dcgroup-v1.c909 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_parse_param() local
989 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in check_cgroupfs_options() local
1043 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_reconfigure() local
1115 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_root_to_use() local
1204 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_get_tree() local
Dcgroup.c1835 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup2_parse_param() local
1880 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_reconfigure() local
1970 void init_cgroup_root(struct cgroup_fs_context *ctx) in init_cgroup_root()
2093 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_do_get_tree() local
2141 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_fs_context_free() local
2152 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_get_tree() local
2185 struct cgroup_fs_context *ctx; in cgroup_init_fs_context() local
2260 struct cgroup_fs_context *ctx; in cpuset_init_fs_context() local
5679 static struct cgroup_fs_context __initdata ctx; in cgroup_init_early() local
/kernel/trace/
Dbpf_trace.c79 unsigned int trace_call_bpf(struct trace_event_call *call, void *ctx) in trace_call_bpf()
514 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) in bpf_event_output()
895 BPF_CALL_3(bpf_perf_prog_read_value, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_3() argument
Dtrace_uprobe.c1324 enum uprobe_filter_ctx ctx, struct mm_struct *mm) in uprobe_perf_filter()
/kernel/time/
Dtimekeeping.c1120 void *ctx), in get_device_system_crosststamp()