Home
last modified time | relevance | path

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

123

/kernel/
Dksysfs.c31 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
40 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
45 struct kobj_attribute *attr, in uevent_helper_store()
61 struct kobj_attribute *attr, char *buf) in profiling_show()
66 struct kobj_attribute *attr, in profiling_store()
92 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
99 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
106 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
116 struct kobj_attribute *attr, in kexec_crash_size_store()
135 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()
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.c1088 static ssize_t mode_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mode_show()
1114 static ssize_t mode_store(struct kobject *kobj, struct kobj_attribute *attr, in mode_store()
1140 static ssize_t force_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in force_show()
1144 static ssize_t force_store(struct kobject *kobj, struct kobj_attribute *attr, in force_store()
1162 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show()
1191 static ssize_t type_store(struct kobject *kobj, struct kobj_attribute *attr, in type_store()
1220 static ssize_t cpu_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in cpu_show()
1224 static ssize_t cpu_store(struct kobject *kobj, struct kobj_attribute *attr, in cpu_store()
Dcpu.c2368 struct device_attribute *attr, char *buf) in state_show()
2376 static ssize_t target_store(struct device *dev, struct device_attribute *attr, in target_store()
2418 struct device_attribute *attr, char *buf) in target_show()
2426 static ssize_t fail_store(struct device *dev, struct device_attribute *attr, in fail_store()
2477 struct device_attribute *attr, char *buf) in fail_show()
2500 struct device_attribute *attr, char *buf) in states_show()
2534 __store_smt_control(struct device *dev, struct device_attribute *attr, in __store_smt_control()
2576 __store_smt_control(struct device *dev, struct device_attribute *attr, in __store_smt_control()
2592 struct device_attribute *attr, char *buf) in control_show()
2599 static ssize_t control_store(struct device *dev, struct device_attribute *attr, in control_store()
[all …]
Dpadata.c854 struct attribute attr; member
861 struct attribute *attr, char *buf) in show_cpumask()
879 struct attribute *attr, in store_cpumask()
928 struct attribute *attr, char *buf) in padata_sysfs_show()
942 static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr, in padata_sysfs_store()
Dworkqueue.c5462 static ssize_t per_cpu_show(struct device *dev, struct device_attribute *attr, in per_cpu_show()
5472 struct device_attribute *attr, char *buf) in max_active_show()
5480 struct device_attribute *attr, const char *buf, in max_active_store()
5502 struct device_attribute *attr, char *buf) in wq_pool_ids_show()
5523 static ssize_t wq_nice_show(struct device *dev, struct device_attribute *attr, in wq_nice_show()
5551 static ssize_t wq_nice_store(struct device *dev, struct device_attribute *attr, in wq_nice_store()
5577 struct device_attribute *attr, char *buf) in wq_cpumask_show()
5590 struct device_attribute *attr, in wq_cpumask_store()
5613 static ssize_t wq_numa_show(struct device *dev, struct device_attribute *attr, in wq_numa_show()
5627 static ssize_t wq_numa_store(struct device *dev, struct device_attribute *attr, in wq_numa_store()
[all …]
/kernel/power/
Dmain.c103 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
109 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
127 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
172 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
209 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
215 struct kobj_attribute *attr, in sync_on_suspend_store()
245 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
266 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
337 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
351 struct kobj_attribute *attr, char *buf) in last_failed_errno_show()
[all …]
Dhibernate.c1080 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show()
1115 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store()
1167 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show()
1174 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store()
1207 struct kobj_attribute *attr, char *buf) in resume_offset_show()
1213 struct kobj_attribute *attr, const char *buf, in resume_offset_store()
1229 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show()
1235 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store()
1251 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1257 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.c112 static struct bpf_map *find_and_alloc_map(union bpf_attr *attr) in find_and_alloc_map()
366 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr) in bpf_map_init_from_attr()
1075 static int map_create(union bpf_attr *attr) in map_create()
1310 static int map_lookup_elem(union bpf_attr *attr) in map_lookup_elem()
1385 static int map_update_elem(union bpf_attr *attr, bpfptr_t uattr) in map_update_elem()
1441 static int map_delete_elem(union bpf_attr *attr, bpfptr_t uattr) in map_delete_elem()
1496 static int map_get_next_key(union bpf_attr *attr) in map_get_next_key()
1561 const union bpf_attr *attr, in generic_map_delete_batch()
1618 const union bpf_attr *attr, in generic_map_update_batch()
1684 const union bpf_attr *attr, in generic_map_lookup_batch()
[all …]
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.c401 static int htab_map_alloc_check(union bpf_attr *attr) in htab_map_alloc_check()
462 static struct bpf_map *htab_map_alloc(union bpf_attr *attr) in htab_map_alloc()
1658 const union bpf_attr *attr, in __htab_map_lookup_and_delete_batch()
1885 htab_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_percpu_map_lookup_batch()
1894 const union bpf_attr *attr, in htab_percpu_map_lookup_and_delete_batch()
1902 htab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_map_lookup_batch()
1911 const union bpf_attr *attr, in htab_map_lookup_and_delete_batch()
1920 const union bpf_attr *attr, in htab_lru_percpu_map_lookup_batch()
1929 const union bpf_attr *attr, in htab_lru_percpu_map_lookup_and_delete_batch()
1937 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()
Dqueue_stack_maps.c47 static int queue_stack_map_alloc_check(union bpf_attr *attr) in queue_stack_map_alloc_check()
68 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()
80 static struct bpf_map *array_map_alloc(union bpf_attr *attr) in array_map_alloc()
778 static int fd_array_map_alloc_check(union bpf_attr *attr) in fd_array_map_alloc_check()
1071 static struct bpf_map *prog_array_map_alloc(union bpf_attr *attr) in prog_array_map_alloc()
1269 static struct bpf_map *array_of_map_alloc(union bpf_attr *attr) in array_of_map_alloc()
Dbpf_local_storage.c598 int bpf_local_storage_map_alloc_check(union bpf_attr *attr) in bpf_local_storage_map_alloc_check()
617 struct bpf_local_storage_map *bpf_local_storage_map_alloc(union bpf_attr *attr) in bpf_local_storage_map_alloc()
Dcgroup.c1019 static int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, in __cgroup_bpf_query()
1118 static int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, in cgroup_bpf_query()
1129 int cgroup_bpf_prog_attach(const union bpf_attr *attr, in cgroup_bpf_prog_attach()
1158 int cgroup_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype) in cgroup_bpf_prog_detach()
1273 int cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in cgroup_bpf_link_attach()
1317 int cgroup_bpf_prog_query(const union bpf_attr *attr, in cgroup_bpf_prog_query()
Dbpf_struct_ops.c586 static int bpf_struct_ops_map_alloc_check(union bpf_attr *attr) in bpf_struct_ops_map_alloc_check()
594 static struct bpf_map *bpf_struct_ops_map_alloc(union bpf_attr *attr) in bpf_struct_ops_map_alloc()
/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/events/
Dhw_breakpoint.c718 const struct perf_event_attr *attr, in hw_breakpoint_parse()
769 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint()
789 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, in modify_user_hw_breakpoint_check()
825 int modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr) in modify_user_hw_breakpoint()
870 register_wide_hw_breakpoint(struct perf_event_attr *attr, in register_wide_hw_breakpoint()
/kernel/livepatch/
Dcore.c333 static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr, in enabled_store()
377 struct kobj_attribute *attr, char *buf) in enabled_show()
386 struct kobj_attribute *attr, char *buf) in transition_show()
395 static ssize_t force_store(struct kobject *kobj, struct kobj_attribute *attr, in force_store()
436 struct kobj_attribute *attr, char *buf) in patched_show()
/kernel/time/
Dclocksource.c1324 struct device_attribute *attr, in current_clocksource_show()
1364 struct device_attribute *attr, in current_clocksource_store()
1391 struct device_attribute *attr, in unbind_clocksource_store()
1425 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.c277 struct module_attribute *attr; in module_remove_modinfo_attrs() local
295 struct module_attribute *attr; in module_add_modinfo_attrs() local
/kernel/trace/
Dpreemptirq_delay_test.c166 static ssize_t trigger_store(struct kobject *kobj, struct kobj_attribute *attr, in trigger_store()

123