| /kernel/bpf/ |
| D | net_namespace.c | 14 enum bpf_attach_type type; member 29 static void netns_bpf_attach_type_unneed(enum netns_bpf_attach_type type) in netns_bpf_attach_type_unneed() 42 static void netns_bpf_attach_type_need(enum netns_bpf_attach_type type) in netns_bpf_attach_type_need() 57 enum netns_bpf_attach_type type) in netns_bpf_run_array_detach() 66 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index() 80 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count() 90 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array() 106 enum netns_bpf_attach_type type = net_link->netns_type; in bpf_netns_link_release() local 170 enum netns_bpf_attach_type type = net_link->netns_type; in bpf_netns_link_update_prog() local 249 enum netns_bpf_attach_type type) in __netns_bpf_prog_query() [all …]
|
| D | inode.c | 32 static void *bpf_any_get(void *raw, enum bpf_type type) in bpf_any_get() 52 static void bpf_any_put(void *raw, enum bpf_type type) in bpf_any_put() 70 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 …]
|
| D | cgroup.c | 208 enum bpf_attach_type type, in bpf_cgroup_storages_alloc() 610 enum bpf_attach_type type, u32 flags) in __cgroup_bpf_attach() 727 enum bpf_attach_type type, in cgroup_bpf_attach() 951 struct bpf_cgroup_link *link, enum bpf_attach_type type) in __cgroup_bpf_detach() 1009 enum bpf_attach_type type) in cgroup_bpf_detach() 1026 enum bpf_attach_type type = attr->query.attach_type; in __cgroup_bpf_query() local 1637 enum bpf_access_type type, in cgroup_dev_is_valid_access() 2194 static bool sysctl_is_valid_access(int off, int size, enum bpf_access_type type, in sysctl_is_valid_access() 2221 static u32 sysctl_convert_ctx_access(enum bpf_access_type type, in sysctl_convert_ctx_access() 2352 enum bpf_access_type type, in cg_sockopt_is_valid_access() [all …]
|
| 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()
|
| D | bpf_fuse.c | 33 enum bpf_access_type type, in fuse_prog_is_valid_access()
|
| /kernel/trace/ |
| 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 46 #define __field_desc(type, container, item) type item; argument 49 #define __field_packed(type, container, item) type item; argument 52 #define __array(type, item, size) type item[size]; argument 55 #define __stack_array(type, item, size, field) __array(type, item, size) argument 58 #define __array_desc(type, container, item, size) type item[size]; argument 61 #define __dynamic_array(type, item) type item[]; argument [all …]
|
| D | trace_probe.c | 36 #define DEFINE_BASIC_PRINT_TYPE_FUNC(tname, type, fmt) \ argument 108 static const struct fetch_type *find_fetch_type(const char *type, unsigned long flags) in find_fetch_type() 313 static bool btf_type_is_char_ptr(struct btf *btf, const struct btf_type *type) in btf_type_is_char_ptr() 331 static bool btf_type_is_char_array(struct btf *btf, const struct btf_type *type) in btf_type_is_char_array() 385 const struct btf_type *type, in fetch_type_from_btf_type() 441 const struct btf_type *type; in query_btf_context() local 521 static int parse_btf_field(char *fieldname, const struct btf_type *type, in parse_btf_field() 607 const struct btf_type *type; in parse_btf_arg() local 891 parse_probe_arg(char *arg, const struct fetch_type *type, in parse_probe_arg() 1471 static int sprint_nth_btf_arg(int idx, const char *type, in sprint_nth_btf_arg() [all …]
|
| D | trace_events_synth.c | 139 char *name, *type; in synth_event_define_fields() local 169 static bool synth_field_signed(char *type) in synth_field_signed() 179 static int synth_field_is_string(char *type) in synth_field_is_string() 187 static int synth_field_is_stack(char *type) in synth_field_is_stack() 195 static int synth_field_string_size(char *type) in synth_field_string_size() 230 static int synth_field_size(char *type) in synth_field_size() 276 static const char *synth_field_fmt(char *type) in synth_field_fmt() 772 char *type; in parse_synth_field() local 1027 int synth_event_add_field(struct dynevent_cmd *cmd, const char *type, in synth_event_add_field() 1185 const char *type, *name; in __synth_event_gen_cmd_start() local [all …]
|
| D | trace_dynevent.c | 72 int dyn_event_release(const char *raw_command, struct dyn_event_operations *type) in dyn_event_release() 196 int dyn_events_release_all(struct dyn_event_operations *type) in dyn_events_release_all() 405 enum dynevent_type type, in dynevent_cmd_init()
|
| D | trace.h | 63 #define __field(type, item) type item; argument 66 #define __field_fn(type, item) type item; argument 69 #define __field_struct(type, item) __field(type, item) argument 72 #define __field_desc(type, container, item) argument 75 #define __field_packed(type, container, item) argument 78 #define __array(type, item, size) type item[size]; argument 88 #define __stack_array(type, item, size, field) type item[] __counted_by(field); argument 91 #define __array_desc(type, container, item, size) argument 94 #define __dynamic_array(type, item) type item[]; argument 97 #define __rel_dynamic_array(type, item) type item[]; argument [all …]
|
| D | trace_probe.h | 46 #define DEFINE_FIELD(type, item, name, is_signed) \ argument 151 #define PRINT_TYPE_FUNC_NAME(type) print_type_##type argument 152 #define PRINT_TYPE_FMT_NAME(type) print_type_format_##type argument 155 #define DECLARE_BASIC_PRINT_TYPE_FUNC(type) \ argument 232 const struct fetch_type *type; /* Type of this argument */ member
|
| D | trace_event_perf.c | 419 void perf_trace_buf_update(void *record, u16 type) in perf_trace_buf_update() 500 enum trace_reg type, void *data) in perf_ftrace_event_register()
|
| /kernel/sched/ |
| D | isolation.c | 33 bool housekeeping_enabled(enum hk_type type) in housekeeping_enabled() 39 int housekeeping_any_cpu(enum hk_type type) in housekeeping_any_cpu() 56 const struct cpumask *housekeeping_cpumask(enum hk_type type) in housekeeping_cpumask() 65 void housekeeping_affine(struct task_struct *t, enum hk_type type) in housekeeping_affine() 73 bool housekeeping_test_cpu(int cpu, enum hk_type type) in housekeeping_test_cpu() 84 enum hk_type type; in housekeeping_init() local 100 static void __init housekeeping_setup_type(enum hk_type type, in housekeeping_setup_type() 148 enum hk_type type; in housekeeping_setup() local 154 enum hk_type type; in housekeeping_setup() local
|
| /kernel/events/ |
| D | hw_breakpoint.c | 62 static struct bp_cpuinfo *get_bp_info(int cpu, enum bp_type_idx type) in get_bp_info() 172 static inline int hw_breakpoint_slots_cached(int type) { return hw_breakpoint_slots(type); } in hw_breakpoint_slots_cached() 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() 322 static int task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type) in task_bp_pinned() 370 max_bp_pinned_slots(struct perf_event *bp, enum bp_type_idx type) in max_bp_pinned_slots() 409 toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, int weight) in toggle_bp_slot() [all …]
|
| /kernel/cgroup/ |
| D | misc.c | 65 static inline bool valid_type(enum misc_res_type type) in valid_type() 77 u64 misc_cg_res_total_usage(enum misc_res_type type) in misc_cg_res_total_usage() 98 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity() 116 static void misc_cg_cancel_charge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_cancel_charge() 140 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_try_charge() 186 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_uncharge() 250 enum misc_res_type type = MISC_CG_RES_TYPES; in misc_cg_max_write() local
|
| D | cgroup-v1.c | 180 struct { enum cgroup_filetype type; struct pid_namespace *ns; } key; member 279 enum cgroup_filetype type) in cgroup_pidlist_find() 300 enum cgroup_filetype type) in cgroup_pidlist_find_create() 327 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load() 400 enum cgroup_filetype type = seq_cft(s)->private; in cgroup_pidlist_start() local
|
| /kernel/ |
| D | pid.c | 166 enum pid_type type; in alloc_pid() local 324 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr() 334 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid() 340 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid() 359 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid() 364 void change_pid(struct task_struct *task, enum pid_type type, in change_pid() 392 enum pid_type type) in transfer_pid() 399 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task() 442 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid() 452 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task() [all …]
|
| D | ucount.c | 231 enum ucount_type type) in inc_ucount() 253 void dec_ucount(struct ucounts *ucounts, enum ucount_type type) in dec_ucount() 263 long inc_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v) in inc_rlimit_ucounts() 280 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v) in dec_rlimit_ucounts() 294 struct ucounts *last, enum rlimit_type type) in do_dec_rlimit_put_ucounts() 306 void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum rlimit_type type) in dec_rlimit_put_ucounts() 311 long inc_rlimit_get_ucounts(struct ucounts *ucounts, enum rlimit_type type) in inc_rlimit_get_ucounts() 343 bool is_rlimit_overlimit(struct ucounts *ucounts, enum rlimit_type type, unsigned long rlimit) in is_rlimit_overlimit()
|
| D | profile.c | 145 int profile_event_register(enum profile_type type, struct notifier_block *n) in profile_event_register() 164 int profile_event_unregister(enum profile_type type, struct notifier_block *n) in profile_event_unregister() 260 static void do_profile_hits(int type, void *__pc, unsigned int nr_hits) in do_profile_hits() 361 static void do_profile_hits(int type, void *__pc, unsigned int nr_hits) in do_profile_hits() 369 void profile_hits(int type, void *__pc, unsigned int nr_hits) in profile_hits() 377 void profile_tick(int type) in profile_tick()
|
| 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
|
| D | jump_label.c | 378 enum jump_label_type type) in arch_jump_label_transform_static() 422 unsigned long type; in static_key_set_entries() local 551 bool type = static_key_type(key); in jump_label_init_type() local 579 unsigned long type; in static_key_set_mod() local
|
| /kernel/kcsan/ |
| 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()
|
| 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/time/ |
| D | alarmtimer.c | 244 int i, ret, type; in alarmtimer_suspend() local 325 __alarm_init(struct alarm *alarm, enum alarmtimer_type type, in __alarm_init() 341 void alarm_init(struct alarm *alarm, enum alarmtimer_type type, in alarm_init() 506 static void alarmtimer_freezerset(ktime_t absexp, enum alarmtimer_type type) in alarmtimer_freezerset() 729 enum alarmtimer_type type; in alarm_timer_create() local 771 enum alarmtimer_type type) in alarmtimer_do_nsleep() 810 alarm_init_on_stack(struct alarm *alarm, enum alarmtimer_type type, in alarm_init_on_stack() 826 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() local 846 enum alarmtimer_type type = clock2alarm(which_clock); in alarm_timer_nsleep() local
|
| /kernel/power/ |
| D | qos.c | 473 enum freq_qos_req_type type) in freq_qos_read_value() 541 enum freq_qos_req_type type, s32 value) in freq_qos_add_request() 630 enum freq_qos_req_type type, in freq_qos_add_notifier() 663 enum freq_qos_req_type type, in freq_qos_remove_notifier()
|