Home
last modified time | relevance | path

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

12345

/kernel/bpf/
Dnet_namespace.c14 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 …]
Dcrypto.c14 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
Dinode.c33 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 …]
Dcgroup.c225 enum bpf_attach_type type, in bpf_cgroup_storages_alloc()
643 enum bpf_attach_type type, u32 flags) in __cgroup_bpf_attach()
761 enum bpf_attach_type type, in cgroup_bpf_attach()
985 struct bpf_cgroup_link *link, enum bpf_attach_type type) in __cgroup_bpf_detach()
1043 enum bpf_attach_type type) in cgroup_bpf_detach()
1060 enum bpf_attach_type type = attr->query.attach_type; in __cgroup_bpf_query() local
1669 enum bpf_access_type type, in cgroup_dev_is_valid_access()
2229 static bool sysctl_is_valid_access(int off, int size, enum bpf_access_type type, in sysctl_is_valid_access()
2256 static u32 sysctl_convert_ctx_access(enum bpf_access_type type, in sysctl_convert_ctx_access()
2387 enum bpf_access_type type, in cg_sockopt_is_valid_access()
[all …]
Dmprog.c9 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()
/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 __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 …]
Dtrace_probe.c37 #define DEFINE_BASIC_PRINT_TYPE_FUNC(tname, type, fmt) \ argument
109 static const struct fetch_type *find_fetch_type(const char *type, unsigned long flags) in find_fetch_type()
323 static bool btf_type_is_char_ptr(struct btf *btf, const struct btf_type *type) in btf_type_is_char_ptr()
341 static bool btf_type_is_char_array(struct btf *btf, const struct btf_type *type) in btf_type_is_char_array()
395 const struct btf_type *type, in fetch_type_from_btf_type()
451 const struct btf_type *type; in query_btf_context() local
531 static int parse_btf_field(char *fieldname, const struct btf_type *type, in parse_btf_field()
619 const struct btf_type *type; in parse_btf_arg() local
1055 parse_probe_arg(char *arg, const struct fetch_type *type, in parse_probe_arg()
1327 char *type, in finalize_fetch_insn()
[all …]
Dtrace_dynevent.c72 int dyn_event_release(const char *raw_command, struct dyn_event_operations *type) in dyn_event_release()
132 int dyn_event_create(const char *raw_command, struct dyn_event_operations *type) in dyn_event_create()
210 int dyn_events_release_all(struct dyn_event_operations *type) in dyn_events_release_all()
423 enum dynevent_type type, in dynevent_cmd_init()
Dtrace_events_synth.c139 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()
771 char *type; in parse_synth_field() local
862 enum trace_reg type, void *data) in synth_event_reg()
1058 int synth_event_add_field(struct dynevent_cmd *cmd, const char *type, in synth_event_add_field()
[all …]
Dtrace.h63 #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 …]
/kernel/sched/
Disolation.c33 bool housekeeping_enabled(enum hk_type type) in housekeeping_enabled()
39 int housekeeping_any_cpu(enum hk_type type) in housekeeping_any_cpu()
65 const struct cpumask *housekeeping_cpumask(enum hk_type type) in housekeeping_cpumask()
74 void housekeeping_affine(struct task_struct *t, enum hk_type type) in housekeeping_affine()
82 bool housekeeping_test_cpu(int cpu, enum hk_type type) in housekeeping_test_cpu()
93 enum hk_type type; in housekeeping_init() local
109 static void __init housekeeping_setup_type(enum hk_type type, in housekeeping_setup_type()
157 enum hk_type type; in housekeeping_setup() local
163 enum hk_type type; in housekeeping_setup() local
/kernel/
Dpid.c170 enum pid_type type; in alloc_pid() local
330 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr()
340 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid()
346 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid()
370 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid()
375 void change_pid(struct task_struct *task, enum pid_type type, in change_pid()
403 enum pid_type type) in transfer_pid()
409 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task()
452 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid()
462 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task()
[all …]
Ducount.c230 enum ucount_type type) in inc_ucount()
252 void dec_ucount(struct ucounts *ucounts, enum ucount_type type) in dec_ucount()
262 long inc_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v) in inc_rlimit_ucounts()
279 bool dec_rlimit_ucounts(struct ucounts *ucounts, enum rlimit_type type, long v) in dec_rlimit_ucounts()
293 struct ucounts *last, enum rlimit_type type) in do_dec_rlimit_put_ucounts()
305 void dec_rlimit_put_ucounts(struct ucounts *ucounts, enum rlimit_type type) in dec_rlimit_put_ucounts()
310 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()
Dprofile.c132 int profile_event_register(enum profile_type type, struct notifier_block *n) in profile_event_register()
151 int profile_event_unregister(enum profile_type type, struct notifier_block *n) in profile_event_unregister()
170 static void do_profile_hits(int type, void *__pc, unsigned int nr_hits) in do_profile_hits()
178 void profile_hits(int type, void *__pc, unsigned int nr_hits) in profile_hits()
186 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()
137 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type, in SYSCALL_DEFINE5() argument
Djump_label.c403 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
Dsignal.c631 int dequeue_signal(sigset_t *mask, kernel_siginfo_t *info, enum pid_type *type) in dequeue_signal()
999 static void complete_signal(int sig, struct task_struct *p, enum pid_type type) in complete_signal()
1080 struct task_struct *t, enum pid_type type, bool force) in __send_signal_locked()
1221 struct task_struct *t, enum pid_type type) in send_signal_locked()
1300 enum pid_type type) in do_send_sig_info()
1448 struct task_struct *p, enum pid_type type) in group_send_sig_info()
1496 struct pid *pid, enum pid_type type) in kill_pid_info_type()
1823 int send_sig_perf(void __user *addr, u32 type, u64 sig_data) in send_sig_perf()
1981 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) in send_sigqueue()
2630 static int ptrace_signal(int signr, kernel_siginfo_t *info, enum pid_type type) in ptrace_signal()
[all …]
/kernel/cgroup/
Dmisc.c65 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()
137 static void misc_cg_event(enum misc_res_type type, struct misc_cg *cg) in misc_cg_event()
164 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_try_charge()
208 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_uncharge()
272 enum misc_res_type type = MISC_CG_RES_TYPES; in misc_cg_max_write() local
Dcpuset-v1.c168 cpuset_filetype_t type = cft->private; in cpuset_write_s64() local
193 cpuset_filetype_t type = cft->private; in cpuset_read_s64() local
379 cpuset_filetype_t type = cft->private; in cpuset_read_u64() local
412 cpuset_filetype_t type = cft->private; in cpuset_write_u64() local
Dcgroup-v1.c186 struct { enum cgroup_filetype type; struct pid_namespace *ns; } key; member
285 enum cgroup_filetype type) in cgroup_pidlist_find()
306 enum cgroup_filetype type) in cgroup_pidlist_find_create()
333 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load()
406 enum cgroup_filetype type = seq_cft(s)->private; in cgroup_pidlist_start() local
/kernel/events/
Dhw_breakpoint.c62 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/kcsan/
Dcore.c231 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()
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.c244 int i, ret, type; in alarmtimer_suspend() local
336 __alarm_init(struct alarm *alarm, enum alarmtimer_type type, in __alarm_init()
352 void alarm_init(struct alarm *alarm, enum alarmtimer_type type, in alarm_init()
517 static void alarmtimer_freezerset(ktime_t absexp, enum alarmtimer_type type) in alarmtimer_freezerset()
735 enum alarmtimer_type type; in alarm_timer_create() local
777 enum alarmtimer_type type) in alarmtimer_do_nsleep()
816 alarm_init_on_stack(struct alarm *alarm, enum alarmtimer_type type, in alarm_init_on_stack()
832 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() local
852 enum alarmtimer_type type = clock2alarm(which_clock); in alarm_timer_nsleep() local
/kernel/power/
Dqos.c473 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()

12345