/kernel/bpf/ |
A D | net_namespace.c | 56 enum netns_bpf_attach_type type) in netns_bpf_run_array_detach() 105 enum netns_bpf_attach_type type = net_link->netns_type; in bpf_netns_link_release() local 248 enum netns_bpf_attach_type type) in __netns_bpf_prog_query() 273 enum netns_bpf_attach_type type; in netns_bpf_prog_query() local 299 enum netns_bpf_attach_type type; in netns_bpf_prog_attach() local 364 enum netns_bpf_attach_type type, in __netns_bpf_prog_detach() 384 enum netns_bpf_attach_type type; in netns_bpf_prog_detach() local 421 enum netns_bpf_attach_type type) in netns_bpf_link_attach() 481 enum bpf_attach_type type; in netns_bpf_link_create() local 529 int type; in netns_bpf_pernet_init() local [all …]
|
A D | crypto.c | 14 const struct bpf_crypto_type *type; member 31 char type[14]; member 53 const struct bpf_crypto_type *type; member 60 int bpf_crypto_register_type(const struct bpf_crypto_type *type) in bpf_crypto_register_type() 87 int bpf_crypto_unregister_type(const struct bpf_crypto_type *type) in bpf_crypto_unregister_type() 110 const struct bpf_crypto_type *type = ERR_PTR(-ENOENT); in bpf_crypto_get_type() local 149 const struct bpf_crypto_type *type; in bpf_crypto_ctx_create() local
|
A D | inode.c | 33 static void *bpf_any_get(void *raw, enum bpf_type type) in bpf_any_get() 53 static void bpf_any_put(void *raw, enum bpf_type type) in bpf_any_put() 71 static void *bpf_fd_probe_obj(u32 ufd, enum bpf_type *type) in bpf_fd_probe_obj() 129 static int bpf_inode_type(const struct inode *inode, enum bpf_type *type) in bpf_inode_type() 437 enum bpf_type type) in bpf_obj_do_pin() 480 enum bpf_type type; in bpf_obj_pin_user() local 496 enum bpf_type *type, int flags) in bpf_obj_do_get() 529 enum bpf_type type = BPF_TYPE_UNSPEC; in bpf_obj_get_user() local 556 static struct bpf_prog *__get_prog_inode(struct inode *inode, enum bpf_prog_type type) in __get_prog_inode() 583 struct bpf_prog *bpf_prog_get_type_path(const char *name, enum bpf_prog_type type) in bpf_prog_get_type_path() [all …]
|
A D | mprog.c | 9 enum bpf_prog_type type) in bpf_mprog_link() 32 enum bpf_prog_type type) in bpf_mprog_prog() 55 enum bpf_prog_type type) in bpf_mprog_tuple_relative()
|
A D | cgroup.c | 238 enum bpf_attach_type type, in bpf_cgroup_storages_alloc() 789 enum bpf_attach_type type, u32 flags, u32 id_or_fd, in __cgroup_bpf_attach() 910 enum bpf_attach_type type, in cgroup_bpf_attach() 1137 struct bpf_cgroup_link *link, enum bpf_attach_type type, in __cgroup_bpf_detach() 1200 enum bpf_attach_type type, u64 revision) in cgroup_bpf_detach() 1217 enum bpf_attach_type type = attr->query.attach_type; in __cgroup_bpf_query() local 1836 enum bpf_access_type type, in cgroup_dev_is_valid_access() 2392 static bool sysctl_is_valid_access(int off, int size, enum bpf_access_type type, in sysctl_is_valid_access() 2419 static u32 sysctl_convert_ctx_access(enum bpf_access_type type, in sysctl_convert_ctx_access() 2546 enum bpf_access_type type, in cg_sockopt_is_valid_access() [all …]
|
/kernel/trace/ |
A D | trace_export.c | 19 enum trace_reg type, void *data) in ftrace_event_register() 37 #define __field_struct(type, item) argument 40 #define __field(type, item) type item; argument 43 #define __field_fn(type, item) type item; argument 144 #define __field(type, item) argument 147 #define __field_fn(type, item) argument 150 #define __field_desc(type, container, item) argument 153 #define __field_packed(type, container, item) argument 156 #define __array(type, item, len) argument 159 #define __stack_array(type, item, len, field) argument [all …]
|
A D | trace_probe.c | 37 #define DEFINE_BASIC_PRINT_TYPE_FUNC(tname, type, fmt) \ argument 341 static bool btf_type_is_char_ptr(struct btf *btf, const struct btf_type *type) in btf_type_is_char_ptr() 413 const struct btf_type *type, in fetch_type_from_btf_type() 469 const struct btf_type *type; in query_btf_context() local 549 static int parse_btf_field(char *fieldname, const struct btf_type *type, in parse_btf_field() 637 const struct btf_type *type; in parse_btf_arg() local 1083 parse_probe_arg(char *arg, const struct fetch_type *type, in parse_probe_arg() 1355 char *type, in finalize_fetch_insn() 1477 char *type, *arg __free(kfree) = NULL; in traceprobe_parse_probe_arg_body() local 1697 static int sprint_nth_btf_arg(int idx, const char *type, in sprint_nth_btf_arg() [all …]
|
A D | trace_dynevent.c | 72 int dyn_event_release(const char *raw_command, struct dyn_event_operations *type) in dyn_event_release() 123 int dyn_event_create(const char *raw_command, struct dyn_event_operations *type) in dyn_event_create() 201 int dyn_events_release_all(struct dyn_event_operations *type) in dyn_events_release_all() 410 enum dynevent_type type, in dynevent_cmd_init()
|
A D | trace_events_synth.c | 132 char *name, *type; in synth_event_define_fields() local 162 static bool synth_field_signed(char *type) in synth_field_signed() 172 static int synth_field_is_string(char *type) in synth_field_is_string() 180 static int synth_field_is_stack(char *type) in synth_field_is_stack() 188 static int synth_field_string_size(char *type) in synth_field_string_size() 223 static int synth_field_size(char *type) in synth_field_size() 269 static const char *synth_field_fmt(char *type) in synth_field_fmt() 762 char *type; in parse_synth_field() local 853 enum trace_reg type, void *data) in synth_event_reg() 1207 const char *type, *name; in __synth_event_gen_cmd_start() local [all …]
|
A D | trace.h | 65 #define __field(type, item) type item; argument 68 #define __field_fn(type, item) type item; argument 71 #define __field_struct(type, item) __field(type, item) argument 74 #define __field_desc(type, container, item) argument 77 #define __field_packed(type, container, item) argument 80 #define __array(type, item, size) type item[size]; argument 93 #define __array_desc(type, container, item, size) argument 96 #define __dynamic_array(type, item) type item[]; argument 99 #define __rel_dynamic_array(type, item) type item[]; argument 496 #define FTRACE_CMP_TYPE(var, type) \ argument [all …]
|
/kernel/sched/ |
A D | isolation.c | 29 bool housekeeping_enabled(enum hk_type type) in housekeeping_enabled() 35 int housekeeping_any_cpu(enum hk_type type) in housekeeping_any_cpu() 61 const struct cpumask *housekeeping_cpumask(enum hk_type type) in housekeeping_cpumask() 70 void housekeeping_affine(struct task_struct *t, enum hk_type type) in housekeeping_affine() 78 bool housekeeping_test_cpu(int cpu, enum hk_type type) in housekeeping_test_cpu() 89 enum hk_type type; in housekeeping_init() local 105 static void __init housekeeping_setup_type(enum hk_type type, in housekeeping_setup_type() 153 enum hk_type type; in housekeeping_setup() local 159 enum hk_type type; in housekeeping_setup() local
|
/kernel/events/ |
A D | hw_breakpoint.c | 62 static struct bp_cpuinfo *get_bp_info(int cpu, enum bp_type_idx type) in get_bp_info() 180 static inline int hw_breakpoint_slots_cached(int type) in hw_breakpoint_slots_cached() 186 bp_slots_histogram_alloc(struct bp_slots_histogram *hist, enum bp_type_idx type) in bp_slots_histogram_alloc() 249 bp_slots_histogram_max(struct bp_slots_histogram *hist, enum bp_type_idx type) in bp_slots_histogram_max() 266 enum bp_type_idx type) in bp_slots_histogram_max_merge() 302 static unsigned int max_task_bp_pinned(int cpu, enum bp_type_idx type) in max_task_bp_pinned() 370 max_bp_pinned_slots(struct perf_event *bp, enum bp_type_idx type) in max_bp_pinned_slots() 574 enum bp_type_idx type; in __reserve_bp_slot() local 609 enum bp_type_idx type; in __release_bp_slot() local 903 for (int type = 0; type < TYPE_MAX; ++type) { in hw_breakpoint_is_used() local [all …]
|
/kernel/cgroup/ |
A D | misc.c | 69 static inline bool valid_type(enum misc_res_type type) in valid_type() 86 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity() 104 static void misc_cg_cancel_charge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_cancel_charge() 125 static void misc_cg_event(enum misc_res_type type, struct misc_cg *cg) in misc_cg_event() 152 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_try_charge() 196 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_uncharge() 260 enum misc_res_type type = MISC_CG_RES_TYPES; in misc_cg_max_write() local
|
A D | cpuset-v1.c | 169 cpuset_filetype_t type = cft->private; in cpuset_write_s64() local 195 cpuset_filetype_t type = cft->private; in cpuset_read_s64() local 421 cpuset_filetype_t type = cft->private; in cpuset_read_u64() local 454 cpuset_filetype_t type = cft->private; in cpuset_write_u64() local
|
A D | cgroup-v1.c | 188 struct { enum cgroup_filetype type; struct pid_namespace *ns; } key; member 287 enum cgroup_filetype type) in cgroup_pidlist_find() 308 enum cgroup_filetype type) in cgroup_pidlist_find_create() 335 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load() 408 enum cgroup_filetype type = seq_cft(s)->private; in cgroup_pidlist_start() local
|
/kernel/ |
A D | ucount.c | 215 enum ucount_type type) in inc_ucount() 237 void dec_ucount(struct ucounts *ucounts, enum ucount_type type) in dec_ucount() 247 long inc_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v) in inc_rlimit_ucounts() 264 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v) in dec_rlimit_ucounts() 278 struct ucounts *last, enum rlimit_type type) in do_dec_rlimit_put_ucounts() 290 void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum rlimit_type type) in dec_rlimit_put_ucounts() 295 long inc_rlimit_get_ucounts(struct ucounts *ucounts, enum rlimit_type type, in inc_rlimit_get_ucounts() 328 bool is_rlimit_overlimit(struct ucounts *ucounts, enum rlimit_type type, unsigned long rlimit) in is_rlimit_overlimit()
|
A D | pid.c | 166 enum pid_type type; in alloc_pid() local 329 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr() 339 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid() 350 enum pid_type type, struct pid *new) in __change_pid() 371 void detach_pid(struct pid **pids, struct task_struct *task, enum pid_type type) in detach_pid() 406 enum pid_type type) in transfer_pid() 413 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task() 455 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid() 465 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task() 509 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns() [all …]
|
A D | kcmp.c | 39 static long kptr_obfuscate(long v, int type) in kptr_obfuscate() 50 static int kcmp_ptr(void *v1, void *v2, enum kcmp_type type) in kcmp_ptr() 135 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type, in SYSCALL_DEFINE5() argument
|
A D | profile.c | 117 static void do_profile_hits(int type, void *__pc, unsigned int nr_hits) in do_profile_hits() 125 void profile_hits(int type, void *__pc, unsigned int nr_hits) in profile_hits() 133 void profile_tick(int type) in profile_tick()
|
A D | jump_label.c | 403 enum jump_label_type type) in arch_jump_label_transform_static() 447 unsigned long type; in static_key_set_entries() local 578 unsigned long type = key->type & JUMP_TYPE_TRUE; in static_key_seal() local 615 bool type = static_key_type(key); in jump_label_init_type() local 643 unsigned long type; in static_key_set_mod() local
|
A D | signal.c | 618 int dequeue_signal(sigset_t *mask, kernel_siginfo_t *info, enum pid_type *type) in dequeue_signal() 1043 struct task_struct *t, enum pid_type type, bool force) in __send_signal_locked() 1184 struct task_struct *t, enum pid_type type) in send_signal_locked() 1263 enum pid_type type) in do_send_sig_info() 1410 struct task_struct *p, enum pid_type type) in group_send_sig_info() 1450 struct pid *pid, enum pid_type type) in kill_pid_info_type() 1777 int send_sig_perf(void __user *addr, u32 type, u64 sig_data) in send_sig_perf() 2863 enum pid_type type; in get_signal() local 3751 enum pid_type type; in do_sigtimedwait() local 3934 enum pid_type type) in prepare_kill_siginfo() [all …]
|
/kernel/time/ |
A D | alarmtimer.c | 223 int i, ret, type; in alarmtimer_suspend() local 311 __alarm_init(struct alarm *alarm, enum alarmtimer_type type, in __alarm_init() 326 void alarm_init(struct alarm *alarm, enum alarmtimer_type type, in alarm_init() 463 static void alarmtimer_freezerset(ktime_t absexp, enum alarmtimer_type type) in alarmtimer_freezerset() 661 enum alarmtimer_type type; in alarm_timer_create() local 699 enum alarmtimer_type type) in alarmtimer_do_nsleep() 738 alarm_init_on_stack(struct alarm *alarm, enum alarmtimer_type type, in alarm_init_on_stack() 754 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() local 774 enum alarmtimer_type type = clock2alarm(which_clock); in alarm_timer_nsleep() local
|
/kernel/kcsan/ |
A D | core.c | 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() 321 static void delay_access(int type) in delay_access() 402 int type, unsigned long ip) in find_reorder_access() 419 int type, unsigned long ip) in set_reorder_access() 457 int type, in kcsan_found_watchpoint() 527 kcsan_setup_watchpoint(const volatile void *ptr, size_t size, int type, unsigned long ip) in kcsan_setup_watchpoint() 719 check_access(const volatile void *ptr, size_t size, int type, unsigned long ip) in check_access() 907 kcsan_begin_scoped_access(const volatile void *ptr, size_t size, int type, in kcsan_begin_scoped_access() 956 void __kcsan_check_access(const volatile void *ptr, size_t size, int type) in __kcsan_check_access()
|
A D | permissive.h | 38 kcsan_ignore_data_race(size_t size, int type, u64 old, u64 new, u64 diff) in kcsan_ignore_data_race()
|
/kernel/power/ |
A D | qos.c | 472 enum freq_qos_req_type type) in freq_qos_read_value() 540 enum freq_qos_req_type type, s32 value) in freq_qos_add_request() 626 enum freq_qos_req_type type, in freq_qos_add_notifier() 659 enum freq_qos_req_type type, in freq_qos_remove_notifier()
|