Home
last modified time | relevance | path

Searched defs:type (Results 1 – 25 of 81) sorted by relevance

1234

/kernel/bpf/
Dnet_namespace.c13 enum bpf_attach_type type; member
28 static void netns_bpf_attach_type_unneed(enum netns_bpf_attach_type type) in netns_bpf_attach_type_unneed()
41 static void netns_bpf_attach_type_need(enum netns_bpf_attach_type type) in netns_bpf_attach_type_need()
56 enum netns_bpf_attach_type type) in netns_bpf_run_array_detach()
65 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index()
79 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count()
89 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array()
105 enum netns_bpf_attach_type type = net_link->netns_type; in bpf_netns_link_release() local
169 enum netns_bpf_attach_type type = net_link->netns_type; in bpf_netns_link_update_prog() local
248 enum netns_bpf_attach_type type) in __netns_bpf_prog_query()
[all …]
Dcgroup.c41 enum bpf_attach_type type, in bpf_cgroup_storages_alloc()
116 unsigned int type; in cgroup_bpf_release() local
199 enum bpf_attach_type type) in hierarchy_allows_attach()
228 enum bpf_attach_type type, in compute_effective_progs()
272 enum bpf_attach_type type, in activate_effective_progs()
331 enum bpf_attach_type type) in update_effective_progs()
436 enum bpf_attach_type type, u32 flags) in __cgroup_bpf_attach()
523 enum bpf_attach_type type, in replace_effective_prog()
668 enum bpf_attach_type type) in purge_effective_progs()
724 struct bpf_cgroup_link *link, enum bpf_attach_type type) in __cgroup_bpf_detach()
[all …]
Dinode.c32 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()
130 static int bpf_inode_type(const struct inode *inode, enum bpf_type *type) in bpf_inode_type()
438 enum bpf_type type) in bpf_obj_do_pin()
482 enum bpf_type type; in bpf_obj_pin_user() local
498 enum bpf_type *type, int flags) in bpf_obj_do_get()
531 enum bpf_type type = BPF_TYPE_UNSPEC; in bpf_obj_get_user() local
558 static struct bpf_prog *__get_prog_inode(struct inode *inode, enum bpf_prog_type type) in __get_prog_inode()
585 struct bpf_prog *bpf_prog_get_type_path(const char *name, enum bpf_prog_type type) in bpf_prog_get_type_path()
[all …]
Dverifier.c385 static bool type_is_pkt_pointer(enum bpf_reg_type type) in type_is_pkt_pointer()
391 static bool type_is_sk_pointer(enum bpf_reg_type type) in type_is_sk_pointer()
399 static bool reg_type_not_null(enum bpf_reg_type type) in reg_type_not_null()
407 static bool reg_type_may_be_null(enum bpf_reg_type type) in reg_type_may_be_null()
425 static bool reg_type_may_be_refcounted_or_null(enum bpf_reg_type type) in reg_type_may_be_refcounted_or_null()
435 static bool arg_type_may_be_refcounted(enum bpf_arg_type type) in arg_type_may_be_refcounted()
440 static bool arg_type_may_be_null(enum bpf_arg_type type) in arg_type_may_be_null()
2371 static bool is_spillable_regtype(enum bpf_reg_type type) in is_spillable_regtype()
2509 u8 type = state->stack[spi].slot_type[i]; in check_stack_write_fixed_off() local
2558 u8 type = STACK_MISC; in check_stack_write_fixed_off() local
[all …]
/kernel/trace/
Dtrace_export.c19 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 __array_desc(type, container, item, size) type item[size]; argument
58 #define __dynamic_array(type, item) type item[]; argument
137 #define __field(type, item) argument
[all …]
Dtrace_events_synth.c117 char *name, *type; in synth_event_define_fields() local
147 static bool synth_field_signed(char *type) in synth_field_signed()
157 static int synth_field_is_string(char *type) in synth_field_is_string()
165 static int synth_field_string_size(char *type) in synth_field_string_size()
200 static int synth_field_size(char *type) in synth_field_size()
244 static const char *synth_field_fmt(char *type) in synth_field_fmt()
664 char *type; in parse_synth_field() local
919 int synth_event_add_field(struct dynevent_cmd *cmd, const char *type, in synth_event_add_field()
1077 const char *type, *name; in __synth_event_gen_cmd_start() local
1979 char *type, *t; in __synth_event_show() local
Dtrace_dynevent.c34 int dyn_event_release(int argc, char **argv, struct dyn_event_operations *type) in dyn_event_release()
147 int dyn_events_release_all(struct dyn_event_operations *type) in dyn_events_release_all()
361 enum dynevent_type type, in dynevent_cmd_init()
Dtrace_probe.h43 #define DEFINE_FIELD(type, item, name, is_signed) \ argument
145 #define PRINT_TYPE_FUNC_NAME(type) print_type_##type argument
146 #define PRINT_TYPE_FMT_NAME(type) print_type_format_##type argument
149 #define DECLARE_BASIC_PRINT_TYPE_FUNC(type) \ argument
222 const struct fetch_type *type; /* Type of this argument */ member
Dtrace.h54 #define __field(type, item) type item; argument
57 #define __field_fn(type, item) type item; argument
60 #define __field_struct(type, item) __field(type, item) argument
63 #define __field_desc(type, container, item) argument
66 #define __field_packed(type, container, item) argument
69 #define __array(type, item, size) type item[size]; argument
72 #define __array_desc(type, container, item, size) argument
75 #define __dynamic_array(type, item) type item[]; argument
219 static inline bool pid_type_enabled(int type, struct trace_pid_list *pid_list, in pid_type_enabled()
227 static inline bool still_need_pid_events(int type, struct trace_pid_list *pid_list, in still_need_pid_events()
[all …]
Dtrace_event_perf.c421 void perf_trace_buf_update(void *record, u16 type) in perf_trace_buf_update()
496 enum trace_reg type, void *data) in perf_ftrace_event_register()
Dbpf_trace.c1051 enum pid_type type; member
1065 static int bpf_send_signal_common(u32 sig, enum pid_type type) in bpf_send_signal_common()
1377 static bool kprobe_prog_is_valid_access(int off, int size, enum bpf_access_type type, in kprobe_prog_is_valid_access()
1486 static bool tp_prog_is_valid_access(int off, int size, enum bpf_access_type type, in tp_prog_is_valid_access()
1757 enum bpf_access_type type, in raw_tp_prog_is_valid_access()
1771 enum bpf_access_type type, in tracing_prog_is_valid_access()
1812 enum bpf_access_type type, in raw_tp_writable_prog_is_valid_access()
1832 static bool pe_prog_is_valid_access(int off, int size, enum bpf_access_type type, in pe_prog_is_valid_access()
1870 static u32 pe_prog_convert_ctx_access(enum bpf_access_type type, in pe_prog_convert_ctx_access()
Dtrace_events.c107 static int __trace_define_field(struct list_head *head, const char *type, in __trace_define_field()
134 int trace_define_field(struct trace_event_call *call, const char *type, in trace_define_field()
149 #define __generic_field(type, item, filter_type) \ argument
156 #define __common_field(type, item) \ argument
288 enum trace_reg type, void *data) in trace_event_reg()
638 static void __ftrace_clear_event_pids(struct trace_array *tr, int type) in __ftrace_clear_event_pids()
681 static void ftrace_clear_event_pids(struct trace_array *tr, int type) in ftrace_clear_event_pids()
1057 __next(struct seq_file *m, void *v, loff_t *pos, int type) in __next()
1082 static void *__start(struct seq_file *m, loff_t *pos, int type) in __start()
1711 size_t cnt, loff_t *ppos, int type) in event_pid_write()
Dtrace_probe.c33 #define DEFINE_BASIC_PRINT_TYPE_FUNC(tname, type, fmt) \ argument
101 static const struct fetch_type *find_fetch_type(const char *type) in find_fetch_type()
354 parse_probe_arg(char *arg, const struct fetch_type *type, in parse_probe_arg()
/kernel/
Dpid.c163 enum pid_type type; in alloc_pid() local
321 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr()
331 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid()
337 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid()
356 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid()
361 void change_pid(struct task_struct *task, enum pid_type type, in change_pid()
389 enum pid_type type) in transfer_pid()
396 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task()
439 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid()
449 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task()
[all …]
Dprofile.c178 int profile_event_register(enum profile_type type, struct notifier_block *n) in profile_event_register()
197 int profile_event_unregister(enum profile_type type, struct notifier_block *n) in profile_event_unregister()
293 static void do_profile_hits(int type, void *__pc, unsigned int nr_hits) in do_profile_hits()
394 static void do_profile_hits(int type, void *__pc, unsigned int nr_hits) in do_profile_hits()
402 void profile_hits(int type, void *__pc, unsigned int nr_hits) in profile_hits()
410 void profile_tick(int type) in profile_tick()
Dkcmp.c39 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()
152 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type, in SYSCALL_DEFINE5() argument
Djump_label.c342 enum jump_label_type type) in arch_jump_label_transform_static()
385 unsigned long type; in static_key_set_entries() local
513 bool type = static_key_type(key); in jump_label_init_type() local
541 unsigned long type; in static_key_set_mod() local
Ducount.c193 enum ucount_type type) in inc_ucount()
215 void dec_ucount(struct ucounts *ucounts, enum ucount_type type) in dec_ucount()
Dkallsyms.c488 char type; member
496 char *type, char *name) in arch_get_kallsym()
684 char type; in s_show() local
/kernel/events/
Dhw_breakpoint.c52 static struct bp_cpuinfo *get_bp_info(int cpu, enum bp_type_idx type) in get_bp_info()
88 static unsigned int max_task_bp_pinned(int cpu, enum bp_type_idx type) in max_task_bp_pinned()
105 static int task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type) in task_bp_pinned()
134 enum bp_type_idx type) in fetch_bp_busy_slots()
173 enum bp_type_idx type, int weight) in toggle_bp_task_slot()
191 toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, in toggle_bp_slot()
280 enum bp_type_idx type; in __reserve_bp_slot() local
331 enum bp_type_idx type; in __release_bp_slot() local
/kernel/kcsan/
Dcore.c217 is_atomic(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in is_atomic()
254 should_watch(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in should_watch()
307 static void delay_access(int type) in delay_access()
349 int type, in kcsan_found_watchpoint()
402 kcsan_setup_watchpoint(const volatile void *ptr, size_t size, int type) in kcsan_setup_watchpoint()
596 int type) in check_access()
742 kcsan_begin_scoped_access(const volatile void *ptr, size_t size, int type, in kcsan_begin_scoped_access()
790 void __kcsan_check_access(const volatile void *ptr, size_t size, int type) in __kcsan_check_access()
Dreport.c206 static const char *get_access_type(int type) in get_access_type()
248 static const char *get_bug_type(int type) in get_bug_type()
327 enum kcsan_report_type type, in print_report()
579 enum kcsan_report_type type, in prepare_report()
598 enum kcsan_report_type type, int watchpoint_idx) in kcsan_report()
/kernel/time/
Dalarmtimer.c247 int i, ret, type; in alarmtimer_suspend() local
333 __alarm_init(struct alarm *alarm, enum alarmtimer_type type, in __alarm_init()
349 void alarm_init(struct alarm *alarm, enum alarmtimer_type type, in alarm_init()
514 static void alarmtimer_freezerset(ktime_t absexp, enum alarmtimer_type type) in alarmtimer_freezerset()
734 enum alarmtimer_type type; in alarm_timer_create() local
772 enum alarmtimer_type type) in alarmtimer_do_nsleep()
811 alarm_init_on_stack(struct alarm *alarm, enum alarmtimer_type type, in alarm_init_on_stack()
827 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() local
848 enum alarmtimer_type type = clock2alarm(which_clock); in alarm_timer_nsleep() local
/kernel/power/
Dqos.c465 enum freq_qos_req_type type) in freq_qos_read_value()
533 enum freq_qos_req_type type, s32 value) in freq_qos_add_request()
622 enum freq_qos_req_type type, in freq_qos_add_notifier()
655 enum freq_qos_req_type type, in freq_qos_remove_notifier()
/kernel/cgroup/
Dcgroup-v1.c181 struct { enum cgroup_filetype type; struct pid_namespace *ns; } key; member
280 enum cgroup_filetype type) in cgroup_pidlist_find()
301 enum cgroup_filetype type) in cgroup_pidlist_find_create()
328 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load()
401 enum cgroup_filetype type = seq_cft(s)->private; in cgroup_pidlist_start() local

1234