Home
last modified time | relevance | path

Searched defs:attr (Results 1 – 25 of 61) 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()
117 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
124 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
131 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.c1092 static ssize_t mode_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mode_show()
1118 static ssize_t mode_store(struct kobject *kobj, struct kobj_attribute *attr, in mode_store()
1144 static ssize_t force_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in force_show()
1148 static ssize_t force_store(struct kobject *kobj, struct kobj_attribute *attr, in force_store()
1166 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show()
1195 static ssize_t type_store(struct kobject *kobj, struct kobj_attribute *attr, in type_store()
1224 static ssize_t cpu_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in cpu_show()
1228 static ssize_t cpu_store(struct kobject *kobj, struct kobj_attribute *attr, in cpu_store()
Dcpu.c2766 struct device_attribute *attr, char *buf) in state_show()
2774 static ssize_t target_store(struct device *dev, struct device_attribute *attr, in target_store()
2816 struct device_attribute *attr, char *buf) in target_show()
2824 static ssize_t fail_store(struct device *dev, struct device_attribute *attr, in fail_store()
2875 struct device_attribute *attr, char *buf) in fail_show()
2898 struct device_attribute *attr, char *buf) in states_show()
2939 __store_smt_control(struct device *dev, struct device_attribute *attr, in __store_smt_control()
2991 __store_smt_control(struct device *dev, struct device_attribute *attr, in __store_smt_control()
3007 struct device_attribute *attr, char *buf) in control_show()
3025 static ssize_t control_store(struct device *dev, struct device_attribute *attr, in control_store()
[all …]
Dpadata.c869 struct attribute attr; member
876 struct attribute *attr, char *buf) in show_cpumask()
894 struct attribute *attr, in store_cpumask()
943 struct attribute *attr, char *buf) in padata_sysfs_show()
957 static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr, in padata_sysfs_store()
Dworkqueue.c5970 static ssize_t per_cpu_show(struct device *dev, struct device_attribute *attr, in per_cpu_show()
5980 struct device_attribute *attr, char *buf) in max_active_show()
5988 struct device_attribute *attr, const char *buf, in max_active_store()
6009 static ssize_t wq_nice_show(struct device *dev, struct device_attribute *attr, in wq_nice_show()
6037 static ssize_t wq_nice_store(struct device *dev, struct device_attribute *attr, in wq_nice_store()
6063 struct device_attribute *attr, char *buf) in wq_cpumask_show()
6076 struct device_attribute *attr, in wq_cpumask_store()
6100 struct device_attribute *attr, char *buf) in wq_affn_scope_show()
6119 struct device_attribute *attr, in wq_affn_scope_store()
6142 struct device_attribute *attr, char *buf) in wq_affinity_strict_show()
[all …]
/kernel/power/
Dmain.c144 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
150 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
168 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show()
213 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store()
250 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show()
256 struct kobj_attribute *attr, in sync_on_suspend_store()
286 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
307 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
381 struct kobj_attribute *attr, char *buf) in last_failed_dev_show()
395 struct kobj_attribute *attr, char *buf) in last_failed_errno_show()
[all …]
Dhibernate.c1065 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show()
1100 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store()
1152 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show()
1159 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store()
1213 struct kobj_attribute *attr, char *buf) in resume_offset_show()
1219 struct kobj_attribute *attr, const char *buf, in resume_offset_store()
1235 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show()
1241 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store()
1257 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1263 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()
1126 static int map_create(union bpf_attr *attr) in map_create()
1433 static int map_lookup_elem(union bpf_attr *attr) in map_lookup_elem()
1508 static int map_update_elem(union bpf_attr *attr, bpfptr_t uattr) in map_update_elem()
1564 static int map_delete_elem(union bpf_attr *attr, bpfptr_t uattr) in map_delete_elem()
1619 static int map_get_next_key(union bpf_attr *attr) in map_get_next_key()
1684 const union bpf_attr *attr, in generic_map_delete_batch()
1741 const union bpf_attr *attr, in generic_map_update_batch()
1803 const union bpf_attr *attr, in generic_map_lookup_batch()
1904 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.c410 static int htab_map_alloc_check(union bpf_attr *attr) in htab_map_alloc_check()
465 static struct bpf_map *htab_map_alloc(union bpf_attr *attr) in htab_map_alloc()
1680 const union bpf_attr *attr, in __htab_map_lookup_and_delete_batch()
1907 htab_percpu_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_percpu_map_lookup_batch()
1916 const union bpf_attr *attr, in htab_percpu_map_lookup_and_delete_batch()
1924 htab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_map_lookup_batch()
1933 const union bpf_attr *attr, in htab_map_lookup_and_delete_batch()
1942 const union bpf_attr *attr, in htab_lru_percpu_map_lookup_batch()
1951 const union bpf_attr *attr, in htab_lru_percpu_map_lookup_and_delete_batch()
1959 htab_lru_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_lru_map_lookup_batch()
[all …]
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()
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.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()
Dbpf_struct_ops.c645 static int bpf_struct_ops_map_alloc_check(union bpf_attr *attr) in bpf_struct_ops_map_alloc_check()
653 static struct bpf_map *bpf_struct_ops_map_alloc(union bpf_attr *attr) in bpf_struct_ops_map_alloc()
865 int bpf_struct_ops_link_create(union bpf_attr *attr) in bpf_struct_ops_link_create()
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()
793 static int fd_array_map_alloc_check(union bpf_attr *attr) in fd_array_map_alloc_check()
1092 static struct bpf_map *prog_array_map_alloc(union bpf_attr *attr) in prog_array_map_alloc()
1294 static struct bpf_map *array_of_map_alloc(union bpf_attr *attr) in array_of_map_alloc()
Dcgroup.c1020 static int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, in __cgroup_bpf_query()
1119 static int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, in cgroup_bpf_query()
1130 int cgroup_bpf_prog_attach(const union bpf_attr *attr, in cgroup_bpf_prog_attach()
1159 int cgroup_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype) in cgroup_bpf_prog_detach()
1274 int cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in cgroup_bpf_link_attach()
1318 int cgroup_bpf_prog_query(const union bpf_attr *attr, in cgroup_bpf_prog_query()
/kernel/irq/
Dirqdesc.c182 struct kobj_attribute *attr, char *buf) in per_cpu_count_show()
202 struct kobj_attribute *attr, char *buf) in chip_name_show()
219 struct kobj_attribute *attr, char *buf) in hwirq_show()
234 struct kobj_attribute *attr, char *buf) in type_show()
250 struct kobj_attribute *attr, char *buf) in wakeup_show()
266 struct kobj_attribute *attr, char *buf) in name_show()
281 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.c355 static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr, in enabled_store()
399 struct kobj_attribute *attr, char *buf) in enabled_show()
408 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()
458 struct kobj_attribute *attr, char *buf) in patched_show()
/kernel/time/
Dclocksource.c1331 struct device_attribute *attr, in current_clocksource_show()
1371 struct device_attribute *attr, in current_clocksource_store()
1398 struct device_attribute *attr, in unbind_clocksource_store()
1432 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

123