Home
last modified time | relevance | path

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

123

/kernel/
Dksysfs.c40 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
48 struct kobj_attribute *attr, char *buf) in cpu_byteorder_show()
56 struct kobj_attribute *attr, char *buf) in address_bits_show()
65 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
70 struct kobj_attribute *attr, in uevent_helper_store()
86 struct kobj_attribute *attr, char *buf) in profiling_show()
91 struct kobj_attribute *attr, in profiling_store()
124 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
132 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
139 struct kobj_attribute *attr, char *buf) in kexec_crash_size_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()
171 struct fei_attr *attr = container_of(kp, struct fei_attr, kp); in fei_kprobe_handler() local
201 struct fei_attr *attr = list_entry(v, struct fei_attr, list); in fei_seq_show() local
[all …]
Dreboot.c1115 static ssize_t mode_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mode_show()
1141 static ssize_t mode_store(struct kobject *kobj, struct kobj_attribute *attr, in mode_store()
1167 static ssize_t force_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in force_show()
1171 static ssize_t force_store(struct kobject *kobj, struct kobj_attribute *attr, in force_store()
1189 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show()
1218 static ssize_t type_store(struct kobject *kobj, struct kobj_attribute *attr, in type_store()
1247 static ssize_t cpu_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in cpu_show()
1251 static ssize_t cpu_store(struct kobject *kobj, struct kobj_attribute *attr, in cpu_store()
Dpadata.c906 struct attribute attr; member
913 struct attribute *attr, char *buf) in show_cpumask()
931 struct attribute *attr, in store_cpumask()
980 struct attribute *attr, char *buf) in padata_sysfs_show()
994 static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr, in padata_sysfs_store()
Dcpu.c2736 struct device_attribute *attr, char *buf) in state_show()
2744 static ssize_t target_store(struct device *dev, struct device_attribute *attr, in target_store()
2786 struct device_attribute *attr, char *buf) in target_show()
2794 static ssize_t fail_store(struct device *dev, struct device_attribute *attr, in fail_store()
2845 struct device_attribute *attr, char *buf) in fail_show()
2868 struct device_attribute *attr, char *buf) in states_show()
2909 __store_smt_control(struct device *dev, struct device_attribute *attr, in __store_smt_control()
2961 __store_smt_control(struct device *dev, struct device_attribute *attr, in __store_smt_control()
2977 struct device_attribute *attr, char *buf) in control_show()
2995 static ssize_t control_store(struct device *dev, struct device_attribute *attr, in control_store()
[all …]
Dworkqueue.c7048 static ssize_t per_cpu_show(struct device *dev, struct device_attribute *attr, in per_cpu_show()
7058 struct device_attribute *attr, char *buf) in max_active_show()
7066 struct device_attribute *attr, const char *buf, in max_active_store()
7087 static ssize_t wq_nice_show(struct device *dev, struct device_attribute *attr, in wq_nice_show()
7115 static ssize_t wq_nice_store(struct device *dev, struct device_attribute *attr, in wq_nice_store()
7141 struct device_attribute *attr, char *buf) in wq_cpumask_show()
7154 struct device_attribute *attr, in wq_cpumask_store()
7178 struct device_attribute *attr, char *buf) in wq_affn_scope_show()
7197 struct device_attribute *attr, in wq_affn_scope_store()
7220 struct device_attribute *attr, char *buf) in wq_affinity_strict_show()
[all …]
/kernel/power/
Dmain.c128 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
134 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
152 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
197 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
234 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
240 struct kobj_attribute *attr, in sync_on_suspend_store()
270 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
291 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
367 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
381 struct kobj_attribute *attr, char *buf) in last_failed_errno_show()
[all …]
Dhibernate.c1133 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show()
1172 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store()
1224 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show()
1231 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store()
1285 struct kobj_attribute *attr, char *buf) in resume_offset_show()
1291 struct kobj_attribute *attr, const char *buf, in resume_offset_store()
1307 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show()
1313 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store()
1329 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1335 struct kobj_attribute *attr, in reserved_size_store()
Dwakeup_reason.c301 struct kobj_attribute *attr, char *buf) in last_resume_reason_show()
331 struct kobj_attribute *attr, char *buf) in last_suspend_time_show()
/kernel/bpf/
Dsyscall.c341 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr) in bpf_map_init_from_attr()
1215 static int map_create(union bpf_attr *attr) in map_create()
1531 static int map_lookup_elem(union bpf_attr *attr) in map_lookup_elem()
1596 static int map_update_elem(union bpf_attr *attr, bpfptr_t uattr) in map_update_elem()
1651 static int map_delete_elem(union bpf_attr *attr, bpfptr_t uattr) in map_delete_elem()
1704 static int map_get_next_key(union bpf_attr *attr) in map_get_next_key()
1761 const union bpf_attr *attr, in generic_map_delete_batch()
1817 const union bpf_attr *attr, in generic_map_update_batch()
1878 const union bpf_attr *attr, in generic_map_lookup_batch()
1973 static int map_lookup_and_delete_elem(union bpf_attr *attr) in map_lookup_and_delete_elem()
[all …]
Dtcx.c10 int tcx_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_prog_attach()
59 int tcx_prog_detach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_prog_detach()
122 int tcx_prog_query(const union bpf_attr *attr, union bpf_attr __user *uattr) in tcx_prog_query()
300 const union bpf_attr *attr, in tcx_link_init()
310 int tcx_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_link_attach()
Dnet_namespace.c246 static int __netns_bpf_prog_query(const union bpf_attr *attr, in __netns_bpf_prog_query()
271 int netns_bpf_prog_query(const union bpf_attr *attr, in netns_bpf_prog_query()
297 int netns_bpf_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) in netns_bpf_prog_attach()
383 int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype) in netns_bpf_prog_detach()
477 int netns_bpf_link_create(const union bpf_attr *attr, struct bpf_prog *prog) in netns_bpf_link_create()
Dhashtab.c414 static int htab_map_alloc_check(union bpf_attr *attr) in htab_map_alloc_check()
472 static struct bpf_map *htab_map_alloc(union bpf_attr *attr) in htab_map_alloc()
1712 const union bpf_attr *attr, in __htab_map_lookup_and_delete_batch()
1943 htab_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_percpu_map_lookup_batch()
1952 const union bpf_attr *attr, in htab_percpu_map_lookup_and_delete_batch()
1960 htab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_map_lookup_batch()
1969 const union bpf_attr *attr, in htab_map_lookup_and_delete_batch()
1978 const union bpf_attr *attr, in htab_lru_percpu_map_lookup_batch()
1987 const union bpf_attr *attr, in htab_lru_percpu_map_lookup_and_delete_batch()
1995 htab_lru_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_lru_map_lookup_batch()
[all …]
Dreuseport_array.c41 static int reuseport_array_alloc_check(union bpf_attr *attr) in reuseport_array_alloc_check()
149 static struct bpf_map *reuseport_array_alloc(union bpf_attr *attr) in reuseport_array_alloc()
Dbloom_filter.c84 static int bloom_map_alloc_check(union bpf_attr *attr) in bloom_map_alloc_check()
95 static struct bpf_map *bloom_map_alloc(union bpf_attr *attr) in bloom_map_alloc()
Dqueue_stack_maps.c46 static int queue_stack_map_alloc_check(union bpf_attr *attr) in queue_stack_map_alloc_check()
64 static struct bpf_map *queue_stack_map_alloc(union bpf_attr *attr) in queue_stack_map_alloc()
Darraymap.c52 int array_map_alloc_check(union bpf_attr *attr) in array_map_alloc_check()
83 static struct bpf_map *array_map_alloc(union bpf_attr *attr) in array_map_alloc()
834 static int fd_array_map_alloc_check(union bpf_attr *attr) in fd_array_map_alloc_check()
1155 static struct bpf_map *prog_array_map_alloc(union bpf_attr *attr) in prog_array_map_alloc()
1357 static struct bpf_map *array_of_map_alloc(union bpf_attr *attr) in array_of_map_alloc()
/kernel/sched/
Dsyscalls.c362 const struct sched_attr *attr) in uclamp_validate()
403 static bool uclamp_reset(const struct sched_attr *attr, in uclamp_reset()
429 const struct sched_attr *attr) in __setscheduler_uclamp()
474 const struct sched_attr *attr) in uclamp_validate()
479 const struct sched_attr *attr) { } in __setscheduler_uclamp()
488 const struct sched_attr *attr, in user_check_sched_setscheduler()
552 const struct sched_attr *attr, in __sched_setscheduler()
798 struct sched_attr attr = { in _sched_setscheduler() local
835 int sched_setattr(struct task_struct *p, const struct sched_attr *attr) in sched_setattr()
841 int sched_setattr_nocheck(struct task_struct *p, const struct sched_attr *attr) in sched_setattr_nocheck()
[all …]
Dtest_ksched_football.c90 struct sched_attr attr = { in create_fifo_thread() local
312 static ssize_t start_game_show(struct kobject *kobj, struct kobj_attribute *attr, in start_game_show()
318 static ssize_t start_game_store(struct kobject *kobj, struct kobj_attribute *attr, in start_game_store()
/kernel/irq/
Dirqdesc.c227 struct kobj_attribute *attr, char *buf) in per_cpu_count_show()
247 struct kobj_attribute *attr, char *buf) in chip_name_show()
264 struct kobj_attribute *attr, char *buf) in hwirq_show()
279 struct kobj_attribute *attr, char *buf) in type_show()
295 struct kobj_attribute *attr, char *buf) in wakeup_show()
311 struct kobj_attribute *attr, char *buf) in name_show()
326 struct kobj_attribute *attr, char *buf) in actions_show()
/kernel/events/
Dhw_breakpoint.c690 const struct perf_event_attr *attr, in hw_breakpoint_parse()
741 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint()
761 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, in modify_user_hw_breakpoint_check()
797 int modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr) in modify_user_hw_breakpoint()
842 register_wide_hw_breakpoint(struct perf_event_attr *attr, in register_wide_hw_breakpoint()
/kernel/livepatch/
Dcore.c356 static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr, in enabled_store()
400 struct kobj_attribute *attr, char *buf) in enabled_show()
409 struct kobj_attribute *attr, char *buf) in transition_show()
417 static ssize_t force_store(struct kobject *kobj, struct kobj_attribute *attr, in force_store()
447 struct kobj_attribute *attr, char *buf) in replace_show()
469 struct kobj_attribute *attr, char *buf) in patched_show()
/kernel/time/
Dclocksource.c1362 struct device_attribute *attr, in current_clocksource_show()
1402 struct device_attribute *attr, in current_clocksource_store()
1429 struct device_attribute *attr, in unbind_clocksource_store()
1463 struct device_attribute *attr, in available_clocksource_show()
Dclockevents.c671 struct device_attribute *attr, in current_device_show()
688 struct device_attribute *attr, in unbind_device_store()
/kernel/module/
Dsysfs.c278 struct module_attribute *attr; in module_remove_modinfo_attrs() local
296 struct module_attribute *attr; in module_add_modinfo_attrs() local

123