Home
last modified time | relevance | path

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

1234

/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 …]
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.c208 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()
950 struct bpf_cgroup_link *link, enum bpf_attach_type type) in __cgroup_bpf_detach()
1008 enum bpf_attach_type type) in cgroup_bpf_detach()
1025 enum bpf_attach_type type = attr->query.attach_type; in __cgroup_bpf_query() local
1623 enum bpf_access_type type, in cgroup_dev_is_valid_access()
2180 static bool sysctl_is_valid_access(int off, int size, enum bpf_access_type type, in sysctl_is_valid_access()
2207 static u32 sysctl_convert_ctx_access(enum bpf_access_type type, in sysctl_convert_ctx_access()
2336 enum bpf_access_type type, in cg_sockopt_is_valid_access()
[all …]
Dverifier.c430 static bool type_is_pkt_pointer(enum bpf_reg_type type) in type_is_pkt_pointer()
437 static bool type_is_sk_pointer(enum bpf_reg_type type) in type_is_sk_pointer()
445 static bool reg_type_not_null(enum bpf_reg_type type) in reg_type_not_null()
460 static bool reg_type_may_be_refcounted_or_null(enum bpf_reg_type type) in reg_type_may_be_refcounted_or_null()
467 static bool type_is_rdonly_mem(u32 type) in type_is_rdonly_mem()
472 static bool type_may_be_null(u32 type) in type_may_be_null()
551 enum bpf_reg_type type) in reg_type_str()
704 static bool dynptr_type_refcounted(enum bpf_dynptr_type type) in dynptr_type_refcounted()
713 enum bpf_dynptr_type type; in mark_stack_slots_dynptr() local
3154 static bool is_spillable_regtype(enum bpf_reg_type type) in is_spillable_regtype()
[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
138 #define __field(type, item) argument
[all …]
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()
788 char *type; in parse_synth_field() local
1043 int synth_event_add_field(struct dynevent_cmd *cmd, const char *type, in synth_event_add_field()
1201 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()
405 enum dynevent_type type, in dynevent_cmd_init()
Dtrace_probe.h43 #define DEFINE_FIELD(type, item, name, is_signed) \ argument
148 #define PRINT_TYPE_FUNC_NAME(type) print_type_##type argument
149 #define PRINT_TYPE_FMT_NAME(type) print_type_format_##type argument
152 #define DECLARE_BASIC_PRINT_TYPE_FUNC(type) \ argument
228 const struct fetch_type *type; /* Type of this argument */ member
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
81 #define __array_desc(type, container, item, size) argument
84 #define __dynamic_array(type, item) type item[]; argument
87 #define __rel_dynamic_array(type, item) type item[]; argument
218 static inline bool pid_type_enabled(int type, struct trace_pid_list *pid_list, in pid_type_enabled()
[all …]
Dtrace_events_user.c349 static int user_field_array_size(const char *type) in user_field_array_size()
378 static int user_field_size(const char *type) in user_field_size()
444 static int user_event_add_field(struct user_event *user, const char *type, in user_event_add_field()
510 char *part, *type, *name; in user_event_parse_field() local
619 static const char *user_field_format(const char *type) in user_field_format()
656 static bool user_field_is_dyn_string(const char *type, const char **str_func) in user_field_is_dyn_string()
1028 enum trace_reg type, in user_event_reg()
/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()
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()
143 enum hk_type type; in housekeeping_setup() local
149 enum hk_type type; in housekeeping_setup() 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/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()
187 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_uncharge()
252 enum misc_res_type type = MISC_CG_RES_TYPES; in misc_cg_max_write() local
Dcgroup-v1.c180 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/
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.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()
342 bool is_rlimit_overlimit(struct ucounts *ucounts, enum rlimit_type type, unsigned long rlimit) in is_rlimit_overlimit()
Dprofile.c154 int profile_event_register(enum profile_type type, struct notifier_block *n) in profile_event_register()
173 int profile_event_unregister(enum profile_type type, struct notifier_block *n) in profile_event_unregister()
269 static void do_profile_hits(int type, void *__pc, unsigned int nr_hits) in do_profile_hits()
370 static void do_profile_hits(int type, void *__pc, unsigned int nr_hits) in do_profile_hits()
378 void profile_hits(int type, void *__pc, unsigned int nr_hits) in profile_hits()
386 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
197 static u64 cfd_seq_inc(unsigned int src, unsigned int dst, unsigned int type) in cfd_seq_inc()
211 #define cfd_seq_store(var, src, dst, type) \ argument
250 unsigned int type, union cfd_seq_cnt *data, in cfd_seq_data_add()
284 static const char *csd_lock_get_type(unsigned int type) in csd_lock_get_type()
445 #define cfd_seq_store(var, src, dst, type) argument
486 unsigned int type; in __smp_call_single_queue() local
661 int type = CSD_TYPE(csd); in __flush_smp_call_function_queue() local
Djump_label.c337 enum jump_label_type type) in arch_jump_label_transform_static()
381 unsigned long type; in static_key_set_entries() local
510 bool type = static_key_type(key); in jump_label_init_type() local
538 unsigned long type; in static_key_set_mod() local
/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.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.c468 enum freq_qos_req_type type) in freq_qos_read_value()
536 enum freq_qos_req_type type, s32 value) in freq_qos_add_request()
625 enum freq_qos_req_type type, in freq_qos_add_notifier()
658 enum freq_qos_req_type type, in freq_qos_remove_notifier()

1234