Home
last modified time | relevance | path

Searched defs:type (Results 1 – 25 of 86) 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 …]
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()
439 enum bpf_type type) in bpf_obj_do_pin()
483 enum bpf_type type; in bpf_obj_pin_user() local
499 enum bpf_type *type, int flags) in bpf_obj_do_get()
532 enum bpf_type type = BPF_TYPE_UNSPEC; in bpf_obj_get_user() local
559 static struct bpf_prog *__get_prog_inode(struct inode *inode, enum bpf_prog_type type) in __get_prog_inode()
586 struct bpf_prog *bpf_prog_get_type_path(const char *name, enum bpf_prog_type type) in bpf_prog_get_type_path()
[all …]
Dcgroup.c41 enum bpf_attach_type type, in bpf_cgroup_storages_alloc()
436 enum bpf_attach_type type, u32 flags) in __cgroup_bpf_attach()
738 struct bpf_cgroup_link *link, enum bpf_attach_type type) in __cgroup_bpf_detach()
790 enum bpf_attach_type type = attr->query.attach_type; in __cgroup_bpf_query() local
1255 enum bpf_access_type type, in cgroup_dev_is_valid_access()
1853 static bool sysctl_is_valid_access(int off, int size, enum bpf_access_type type, in sysctl_is_valid_access()
1880 static u32 sysctl_convert_ctx_access(enum bpf_access_type type, in sysctl_convert_ctx_access()
1997 enum bpf_access_type type, in cg_sockopt_is_valid_access()
2063 static u32 cg_sockopt_convert_ctx_access(enum bpf_access_type type, in cg_sockopt_convert_ctx_access()
Dverifier.c419 static bool type_is_pkt_pointer(enum bpf_reg_type type) in type_is_pkt_pointer()
425 static bool type_is_sk_pointer(enum bpf_reg_type type) in type_is_sk_pointer()
433 static bool reg_type_not_null(enum bpf_reg_type type) in reg_type_not_null()
448 static bool reg_type_may_be_refcounted_or_null(enum bpf_reg_type type) in reg_type_may_be_refcounted_or_null()
455 static bool type_is_rdonly_mem(u32 type) in type_is_rdonly_mem()
460 static bool arg_type_may_be_refcounted(enum bpf_arg_type type) in arg_type_may_be_refcounted()
465 static bool type_may_be_null(u32 type) in type_may_be_null()
539 enum bpf_reg_type type) in reg_type_str()
2726 static bool is_spillable_regtype(enum bpf_reg_type type) in is_spillable_regtype()
2856 u8 type = state->stack[spi].slot_type[i]; in check_stack_write_fixed_off() local
[all …]
Dbpf_fuse.c33 enum bpf_access_type type, in fuse_prog_is_valid_access()
/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.c120 char *name, *type; in synth_event_define_fields() local
150 static bool synth_field_signed(char *type) in synth_field_signed()
160 static int synth_field_is_string(char *type) in synth_field_is_string()
168 static int synth_field_is_stack(char *type) in synth_field_is_stack()
176 static int synth_field_string_size(char *type) in synth_field_string_size()
211 static int synth_field_size(char *type) in synth_field_size()
257 static const char *synth_field_fmt(char *type) in synth_field_fmt()
769 char *type; in parse_synth_field() local
1024 int synth_event_add_field(struct dynevent_cmd *cmd, const char *type, in synth_event_add_field()
1182 const char *type, *name; in __synth_event_gen_cmd_start() local
[all …]
Dtrace_dynevent.c72 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()
410 enum dynevent_type type, in dynevent_cmd_init()
Dtrace.h60 #define __field(type, item) type item; argument
63 #define __field_fn(type, item) type item; argument
66 #define __field_struct(type, item) __field(type, item) argument
69 #define __field_desc(type, container, item) argument
72 #define __field_packed(type, container, item) argument
75 #define __array(type, item, size) type item[size]; argument
78 #define __array_desc(type, container, item, size) argument
81 #define __dynamic_array(type, item) type item[]; argument
84 #define __rel_dynamic_array(type, item) type item[]; argument
142 unsigned int type; member
[all …]
Dtrace_probe.h44 #define DEFINE_FIELD(type, item, name, is_signed) \ argument
149 #define PRINT_TYPE_FUNC_NAME(type) print_type_##type argument
150 #define PRINT_TYPE_FMT_NAME(type) print_type_format_##type argument
153 #define DECLARE_BASIC_PRINT_TYPE_FUNC(type) \ argument
229 const struct fetch_type *type; /* Type of this argument */ member
Dtrace_event_perf.c422 void perf_trace_buf_update(void *record, u16 type) in perf_trace_buf_update()
503 enum trace_reg type, void *data) in perf_ftrace_event_register()
Dbpf_trace.c772 enum pid_type type; member
786 static int bpf_send_signal_common(u32 sig, enum pid_type type) in bpf_send_signal_common()
1180 static bool kprobe_prog_is_valid_access(int off, int size, enum bpf_access_type type, in kprobe_prog_is_valid_access()
1291 static bool tp_prog_is_valid_access(int off, int size, enum bpf_access_type type, in tp_prog_is_valid_access()
1577 enum bpf_access_type type, in raw_tp_prog_is_valid_access()
1591 enum bpf_access_type type, in tracing_prog_is_valid_access()
1632 enum bpf_access_type type, in raw_tp_writable_prog_is_valid_access()
1652 static bool pe_prog_is_valid_access(int off, int size, enum bpf_access_type type, in pe_prog_is_valid_access()
1690 static u32 pe_prog_convert_ctx_access(enum bpf_access_type type, in pe_prog_convert_ctx_access()
/kernel/cgroup/
Dmisc.c65 static inline bool valid_type(enum misc_res_type type) in valid_type()
77 unsigned long 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, unsigned long 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, in misc_cg_try_charge()
189 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_uncharge()
254 enum misc_res_type type = MISC_CG_RES_TYPES; in misc_cg_max_write() local
Dcgroup-v1.c185 struct { enum cgroup_filetype type; struct pid_namespace *ns; } key; member
284 enum cgroup_filetype type) in cgroup_pidlist_find()
305 enum cgroup_filetype type) in cgroup_pidlist_find_create()
332 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load()
405 enum cgroup_filetype type = seq_cft(s)->private; in cgroup_pidlist_start() local
/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 …]
Ducount.c228 enum ucount_type type) in inc_ucount()
250 void dec_ucount(struct ucounts *ucounts, enum ucount_type type) in dec_ucount()
260 long inc_rlimit_ucounts(struct ucounts *ucounts, enum ucount_type type, long v) in inc_rlimit_ucounts()
277 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum ucount_type type, long v) in dec_rlimit_ucounts()
291 struct ucounts *last, enum ucount_type type) in do_dec_rlimit_put_ucounts()
303 void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum ucount_type type) in dec_rlimit_put_ucounts()
308 long inc_rlimit_get_ucounts(struct ucounts *ucounts, enum ucount_type type) in inc_rlimit_get_ucounts()
340 bool is_ucounts_overlimit(struct ucounts *ucounts, enum ucount_type type, unsigned long rlimit) in is_ucounts_overlimit()
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()
135 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type, in SYSCALL_DEFINE5() argument
Dsmp.c41 u64 type:4; member
193 static u64 cfd_seq_inc(unsigned int src, unsigned int dst, unsigned int type) in cfd_seq_inc()
207 #define cfd_seq_store(var, src, dst, type) \ argument
246 unsigned int type, union cfd_seq_cnt *data, in cfd_seq_data_add()
280 static const char *csd_lock_get_type(unsigned int type) in csd_lock_get_type()
432 #define cfd_seq_store(var, src, dst, type) argument
473 unsigned int type; in __smp_call_single_queue() local
648 int type = CSD_TYPE(csd); in flush_smp_call_function_queue() local
Djump_label.c342 enum jump_label_type type) in arch_jump_label_transform_static()
385 unsigned long type; in static_key_set_entries() local
514 bool type = static_key_type(key); in jump_label_init_type() local
542 unsigned long type; in static_key_set_mod() 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.c222 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()
312 static void delay_access(int type) in delay_access()
354 int type, in kcsan_found_watchpoint()
421 kcsan_setup_watchpoint(const volatile void *ptr, size_t size, int type) in kcsan_setup_watchpoint()
602 int type) in check_access()
757 kcsan_begin_scoped_access(const volatile void *ptr, size_t size, int type, in kcsan_begin_scoped_access()
805 void __kcsan_check_access(const volatile void *ptr, size_t size, int type) in __kcsan_check_access()
Dpermissive.h38 kcsan_ignore_data_race(size_t size, int type, u64 old, u64 new, u64 diff) in kcsan_ignore_data_race()
/kernel/time/
Dalarmtimer.c245 int i, ret, type; in alarmtimer_suspend() local
326 __alarm_init(struct alarm *alarm, enum alarmtimer_type type, in __alarm_init()
342 void alarm_init(struct alarm *alarm, enum alarmtimer_type type, in alarm_init()
507 static void alarmtimer_freezerset(ktime_t absexp, enum alarmtimer_type type) in alarmtimer_freezerset()
730 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
847 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()

1234