Home
last modified time | relevance | path

Searched defs:attr (Results 1 – 25 of 42) sorted by relevance

12

/kernel/
Dksysfs.c32 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
41 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
46 struct kobj_attribute *attr, in uevent_helper_store()
62 struct kobj_attribute *attr, char *buf) in profiling_show()
67 struct kobj_attribute *attr, in profiling_store()
93 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
100 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
107 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
112 struct kobj_attribute *attr, in kexec_crash_size_store()
131 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
Dfail_function.c58 struct fei_attr *attr; in fei_attr_new() local
75 static void fei_attr_free(struct fei_attr *attr) in fei_attr_free()
85 struct fei_attr *attr; in fei_attr_lookup() local
97 struct fei_attr *attr; in fei_attr_is_valid() local
109 struct fei_attr *attr = data; in fei_retval_set() local
139 struct fei_attr *attr = data; in fei_retval_get() local
155 static void fei_debugfs_add_attr(struct fei_attr *attr) in fei_debugfs_add_attr()
164 static void fei_debugfs_remove_attr(struct fei_attr *attr) in fei_debugfs_remove_attr()
174 struct fei_attr *attr = container_of(kp, struct fei_attr, kp); in fei_kprobe_handler() local
204 struct fei_attr *attr = list_entry(v, struct fei_attr, list); in fei_seq_show() local
[all …]
Dcpu.c1993 struct device_attribute *attr, char *buf) in show_cpuhp_state()
2002 struct device_attribute *attr, in write_cpuhp_target()
2042 struct device_attribute *attr, char *buf) in show_cpuhp_target()
2052 struct device_attribute *attr, in write_cpuhp_fail()
2089 struct device_attribute *attr, char *buf) in show_cpuhp_fail()
2112 struct device_attribute *attr, char *buf) in show_cpuhp_states()
2146 __store_smt_control(struct device *dev, struct device_attribute *attr, in __store_smt_control()
2188 __store_smt_control(struct device *dev, struct device_attribute *attr, in __store_smt_control()
2204 show_smt_control(struct device *dev, struct device_attribute *attr, char *buf) in show_smt_control()
2212 store_smt_control(struct device *dev, struct device_attribute *attr, in store_smt_control()
[all …]
Dpadata.c841 struct attribute attr; member
848 struct attribute *attr, char *buf) in show_cpumask()
866 struct attribute *attr, in store_cpumask()
915 struct attribute *attr, char *buf) in padata_sysfs_show()
929 static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr, in padata_sysfs_store()
Dworkqueue.c5347 static ssize_t per_cpu_show(struct device *dev, struct device_attribute *attr, in per_cpu_show()
5357 struct device_attribute *attr, char *buf) in max_active_show()
5365 struct device_attribute *attr, const char *buf, in max_active_store()
5387 struct device_attribute *attr, char *buf) in wq_pool_ids_show()
5408 static ssize_t wq_nice_show(struct device *dev, struct device_attribute *attr, in wq_nice_show()
5436 static ssize_t wq_nice_store(struct device *dev, struct device_attribute *attr, in wq_nice_store()
5462 struct device_attribute *attr, char *buf) in wq_cpumask_show()
5475 struct device_attribute *attr, in wq_cpumask_store()
5498 static ssize_t wq_numa_show(struct device *dev, struct device_attribute *attr, in wq_numa_show()
5512 static ssize_t wq_numa_store(struct device *dev, struct device_attribute *attr, in wq_numa_store()
[all …]
/kernel/power/
Dmain.c100 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
106 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
124 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
166 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
207 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
228 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
298 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
312 struct kobj_attribute *attr, char *buf) in last_failed_errno_show()
326 struct kobj_attribute *attr, char *buf) in last_failed_step_show()
443 struct kobj_attribute *attr, char *buf) in pm_print_times_show()
[all …]
Dhibernate.c957 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show()
992 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store()
1043 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show()
1050 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store()
1080 struct kobj_attribute *attr, char *buf) in resume_offset_show()
1086 struct kobj_attribute *attr, const char *buf, in resume_offset_store()
1102 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show()
1108 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store()
1124 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1130 struct kobj_attribute *attr, in reserved_size_store()
Dwakeup_reason.c44 static ssize_t last_resume_reason_show(struct kobject *kobj, struct kobj_attribute *attr, in last_resume_reason_show()
69 struct kobj_attribute *attr, char *buf) in last_suspend_time_show()
/kernel/bpf/
Dsyscall.c100 static struct bpf_map *find_and_alloc_map(union bpf_attr *attr) in find_and_alloc_map()
176 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr) in bpf_map_init_from_attr()
550 static int map_create(union bpf_attr *attr) in map_create()
739 static int map_lookup_elem(union bpf_attr *attr) in map_lookup_elem()
874 static int map_update_elem(union bpf_attr *attr) in map_update_elem()
987 static int map_delete_elem(union bpf_attr *attr) in map_delete_elem()
1037 static int map_get_next_key(union bpf_attr *attr) in map_get_next_key()
1103 static int map_lookup_and_delete_elem(union bpf_attr *attr) in map_lookup_and_delete_elem()
1165 static int map_freeze(const union bpf_attr *attr) in map_freeze()
1564 static void bpf_prog_load_fixup_attach_type(union bpf_attr *attr) in bpf_prog_load_fixup_attach_type()
[all …]
Dreuseport_array.c40 static int reuseport_array_alloc_check(union bpf_attr *attr) in reuseport_array_alloc_check()
150 static struct bpf_map *reuseport_array_alloc(union bpf_attr *attr) in reuseport_array_alloc()
Darraymap.c49 int array_map_alloc_check(union bpf_attr *attr) in array_map_alloc_check()
71 static struct bpf_map *array_map_alloc(union bpf_attr *attr) in array_map_alloc()
474 static int fd_array_map_alloc_check(union bpf_attr *attr) in fd_array_map_alloc_check()
764 static struct bpf_map *array_of_map_alloc(union bpf_attr *attr) in array_of_map_alloc()
Dqueue_stack_maps.c46 static int queue_stack_map_alloc_check(union bpf_attr *attr) in queue_stack_map_alloc_check()
67 static struct bpf_map *queue_stack_map_alloc(union bpf_attr *attr) in queue_stack_map_alloc()
Dcgroup.c498 int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, in __cgroup_bpf_query()
546 int cgroup_bpf_prog_attach(const union bpf_attr *attr, in cgroup_bpf_prog_attach()
562 int cgroup_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype) in cgroup_bpf_prog_detach()
584 int cgroup_bpf_prog_query(const union bpf_attr *attr, in cgroup_bpf_prog_query()
Dhashtab.c226 static int htab_map_alloc_check(union bpf_attr *attr) in htab_map_alloc_check()
295 static struct bpf_map *htab_map_alloc(union bpf_attr *attr) in htab_map_alloc()
1384 static int fd_htab_map_alloc_check(union bpf_attr *attr) in fd_htab_map_alloc_check()
1451 static struct bpf_map *htab_of_map_alloc(union bpf_attr *attr) in htab_of_map_alloc()
Doffload.c80 int bpf_prog_offload_init(struct bpf_prog *prog, union bpf_attr *attr) in bpf_prog_offload_init()
362 struct bpf_map *bpf_map_offload_map_alloc(union bpf_attr *attr) in bpf_map_offload_map_alloc()
Ddevmap.c110 static int dev_map_init_map(struct bpf_dtab *dtab, union bpf_attr *attr) in dev_map_init_map()
176 static struct bpf_map *dev_map_alloc(union bpf_attr *attr) in dev_map_alloc()
Dxskmap.c81 static struct bpf_map *xsk_map_alloc(union bpf_attr *attr) in xsk_map_alloc()
/kernel/events/
Dhw_breakpoint.c391 const struct perf_event_attr *attr, in hw_breakpoint_parse()
441 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint()
461 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, in modify_user_hw_breakpoint_check()
497 int modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr) in modify_user_hw_breakpoint()
541 register_wide_hw_breakpoint(struct perf_event_attr *attr, in register_wide_hw_breakpoint()
/kernel/irq/
Dirqdesc.c147 struct kobj_attribute *attr, char *buf) in per_cpu_count_show()
167 struct kobj_attribute *attr, char *buf) in chip_name_show()
184 struct kobj_attribute *attr, char *buf) in hwirq_show()
199 struct kobj_attribute *attr, char *buf) in type_show()
215 struct kobj_attribute *attr, char *buf) in wakeup_show()
231 struct kobj_attribute *attr, char *buf) in name_show()
246 struct kobj_attribute *attr, char *buf) in actions_show()
/kernel/livepatch/
Dcore.c311 static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr, in enabled_store()
355 struct kobj_attribute *attr, char *buf) in enabled_show()
364 struct kobj_attribute *attr, char *buf) in transition_show()
373 static ssize_t force_store(struct kobject *kobj, struct kobj_attribute *attr, in force_store()
/kernel/time/
Dclocksource.c1035 struct device_attribute *attr, in current_clocksource_show()
1075 struct device_attribute *attr, in current_clocksource_store()
1102 struct device_attribute *attr, in unbind_clocksource_store()
1136 struct device_attribute *attr, in available_clocksource_show()
Dclockevents.c672 struct device_attribute *attr, in sysfs_show_current_tick_dev()
689 struct device_attribute *attr, in sysfs_unbind_tick_dev()
/kernel/sched/
Dcore.c1170 const struct sched_attr *attr) in uclamp_validate()
1189 const struct sched_attr *attr) in __setscheduler_uclamp()
1280 const struct sched_attr *attr) in uclamp_validate()
1285 const struct sched_attr *attr) { } in __setscheduler_uclamp()
4682 const struct sched_attr *attr) in __setscheduler_params()
4708 const struct sched_attr *attr, bool keep_boost) in __setscheduler()
4752 const struct sched_attr *attr, in __sched_setscheduler()
5021 struct sched_attr attr = { in _sched_setscheduler() local
5053 int sched_setattr(struct task_struct *p, const struct sched_attr *attr) in sched_setattr()
5059 int sched_setattr_nocheck(struct task_struct *p, const struct sched_attr *attr) in sched_setattr_nocheck()
[all …]
Ddeadline.c2553 const struct sched_attr *attr) in sched_dl_overflow()
2615 void __setparam_dl(struct task_struct *p, const struct sched_attr *attr) in __setparam_dl()
2627 void __getparam_dl(struct task_struct *p, struct sched_attr *attr) in __getparam_dl()
2648 bool __checkparam_dl(const struct sched_attr *attr) in __checkparam_dl()
2702 bool dl_param_changed(struct task_struct *p, const struct sched_attr *attr) in dl_param_changed()
Dtopology.c1200 struct sched_domain_attr *attr) in set_domain_attribute()
1859 const struct cpumask *cpu_map, struct sched_domain_attr *attr, in build_sched_domain()
1952 build_sched_domains(const struct cpumask *cpu_map, struct sched_domain_attr *attr) in build_sched_domains()

12