Home
last modified time | relevance | path

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

123

/kernel/
A 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()
149 struct kobj_attribute *attr, in kexec_crash_size_store()
207 struct kobj_attribute *attr, in rcu_expedited_store()
[all …]
A 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()
219 static void fei_attr_remove(struct fei_attr *attr) in fei_attr_remove()
229 struct fei_attr *attr, *n; in fei_attr_remove_all() local
[all …]
A Dreboot.c1077 struct kobj_attribute *attr, char *buf) in hw_protection_show()
1083 struct kobj_attribute *attr, const char *buf, in hw_protection_store()
1194 static ssize_t mode_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mode_show()
1220 static ssize_t mode_store(struct kobject *kobj, struct kobj_attribute *attr, in mode_store()
1246 static ssize_t force_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in force_show()
1250 static ssize_t force_store(struct kobject *kobj, struct kobj_attribute *attr, in force_store()
1268 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show()
1297 static ssize_t type_store(struct kobject *kobj, struct kobj_attribute *attr, in type_store()
1326 static ssize_t cpu_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in cpu_show()
1330 static ssize_t cpu_store(struct kobject *kobj, struct kobj_attribute *attr, in cpu_store()
A Dpadata.c831 struct attribute attr; member
838 struct attribute *attr, char *buf) in show_cpumask()
856 struct attribute *attr, in store_cpumask()
905 struct attribute *attr, char *buf) in padata_sysfs_show()
919 static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr, in padata_sysfs_store()
A Dcpu.c2731 struct device_attribute *attr, char *buf) in state_show()
2739 static ssize_t target_store(struct device *dev, struct device_attribute *attr, in target_store()
2781 struct device_attribute *attr, char *buf) in target_show()
2789 static ssize_t fail_store(struct device *dev, struct device_attribute *attr, in fail_store()
2840 struct device_attribute *attr, char *buf) in fail_show()
2862 struct device_attribute *attr, char *buf) in states_show()
2902 __store_smt_control(struct device *dev, struct device_attribute *attr, in __store_smt_control()
2954 __store_smt_control(struct device *dev, struct device_attribute *attr, in __store_smt_control()
2970 struct device_attribute *attr, char *buf) in control_show()
2988 static ssize_t control_store(struct device *dev, struct device_attribute *attr, in control_store()
[all …]
A Dworkqueue.c7042 struct device_attribute *attr, char *buf) in max_active_show()
7050 struct device_attribute *attr, const char *buf, in max_active_store()
7125 struct device_attribute *attr, char *buf) in wq_cpumask_show()
7138 struct device_attribute *attr, in wq_cpumask_store()
7162 struct device_attribute *attr, char *buf) in wq_affn_scope_show()
7181 struct device_attribute *attr, in wq_affn_scope_store()
7213 struct device_attribute *attr, in wq_affinity_strict_store()
7294 struct device_attribute *attr, char *buf) in cpumask_requested_show()
7301 struct device_attribute *attr, char *buf) in cpumask_isolated_show()
7308 struct device_attribute *attr, char *buf) in cpumask_show()
[all …]
/kernel/power/
A Dmain.c236 struct kobj_attribute *attr, in sync_on_suspend_store()
591 struct kobj_attribute *attr, in pm_print_times_store()
614 struct kobj_attribute *attr, in pm_wakeup_irq_show()
794 struct kobj_attribute *attr, in wakeup_count_show()
804 struct kobj_attribute *attr, in wakeup_count_store()
836 struct kobj_attribute *attr, in autosleep_show()
857 struct kobj_attribute *attr, in autosleep_store()
879 struct kobj_attribute *attr, in wake_lock_show()
896 struct kobj_attribute *attr, in wake_unlock_show()
903 struct kobj_attribute *attr, in wake_unlock_store()
[all …]
A Dhibernate.c1179 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show()
1218 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store()
1270 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show()
1277 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store()
1331 struct kobj_attribute *attr, char *buf) in resume_offset_show()
1337 struct kobj_attribute *attr, const char *buf, in resume_offset_store()
1353 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show()
1359 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store()
1375 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1381 struct kobj_attribute *attr, in reserved_size_store()
/kernel/sched/
A Dsyscalls.c339 const struct sched_attr *attr) in uclamp_validate()
373 static bool uclamp_reset(const struct sched_attr *attr, in uclamp_reset()
399 const struct sched_attr *attr) in __setscheduler_uclamp()
442 const struct sched_attr *attr) in uclamp_validate()
447 const struct sched_attr *attr) { } in __setscheduler_uclamp()
456 const struct sched_attr *attr, in user_check_sched_setscheduler()
514 const struct sched_attr *attr, in __sched_setscheduler()
758 struct sched_attr attr = { in _sched_setscheduler() local
861 struct sched_attr attr = { in sched_set_normal() local
931 static void get_params(struct task_struct *p, struct sched_attr *attr) in get_params()
[all …]
/kernel/bpf/
A Dsyscall.c1890 const union bpf_attr *attr, in generic_map_delete_batch()
1946 const union bpf_attr *attr, in generic_map_update_batch()
2007 const union bpf_attr *attr, in generic_map_lookup_batch()
4861 const union bpf_attr *attr, in bpf_prog_get_info_by_fd()
5150 const union bpf_attr *attr, in bpf_map_get_info_by_fd()
5197 const union bpf_attr *attr, in bpf_btf_get_info_by_fd()
5213 const union bpf_attr *attr, in bpf_link_get_info_by_fd()
5251 const union bpf_attr *attr, in token_get_info_by_fd()
5659 static int link_update(union bpf_attr *attr) in link_update()
5717 static int link_detach(union bpf_attr *attr) in link_detach()
[all …]
A 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()
A Dnet_namespace.c245 static int __netns_bpf_prog_query(const union bpf_attr *attr, in __netns_bpf_prog_query()
270 int netns_bpf_prog_query(const union bpf_attr *attr, in netns_bpf_prog_query()
296 int netns_bpf_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) in netns_bpf_prog_attach()
382 int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype) in netns_bpf_prog_detach()
476 int netns_bpf_link_create(const union bpf_attr *attr, struct bpf_prog *prog) in netns_bpf_link_create()
A Dhashtab.c409 static int htab_map_alloc_check(union bpf_attr *attr) in htab_map_alloc_check()
467 static struct bpf_map *htab_map_alloc(union bpf_attr *attr) in htab_map_alloc()
1678 const union bpf_attr *attr, in __htab_map_lookup_and_delete_batch()
1917 const union bpf_attr *attr, in htab_percpu_map_lookup_and_delete_batch()
1925 htab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, in htab_map_lookup_batch()
1934 const union bpf_attr *attr, in htab_map_lookup_and_delete_batch()
1943 const union bpf_attr *attr, in htab_lru_percpu_map_lookup_batch()
1952 const union bpf_attr *attr, in htab_lru_percpu_map_lookup_and_delete_batch()
1969 const union bpf_attr *attr, in htab_lru_map_lookup_and_delete_batch()
2488 static int fd_htab_map_alloc_check(union bpf_attr *attr) in fd_htab_map_alloc_check()
[all …]
A Dtoken.c111 int bpf_token_create(union bpf_attr *attr) in bpf_token_create()
214 const union bpf_attr *attr, in bpf_token_get_info_by_fd()
A 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()
A 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()
A Dsysfs_btf.c19 const struct bin_attribute *attr, in btf_sysfs_vmlinux_mmap()
A Dqueue_stack_maps.c47 static int queue_stack_map_alloc_check(union bpf_attr *attr) in queue_stack_map_alloc_check()
65 static struct bpf_map *queue_stack_map_alloc(union bpf_attr *attr) in queue_stack_map_alloc()
A 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()
827 static int fd_array_map_alloc_check(union bpf_attr *attr) in fd_array_map_alloc_check()
1148 static struct bpf_map *prog_array_map_alloc(union bpf_attr *attr) in prog_array_map_alloc()
1350 static struct bpf_map *array_of_map_alloc(union bpf_attr *attr) in array_of_map_alloc()
/kernel/irq/
A Dirqdesc.c249 static ssize_t per_cpu_count_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in per_cpu_count_show()
268 static ssize_t chip_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in chip_name_show()
279 static ssize_t hwirq_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in hwirq_show()
290 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show()
300 static ssize_t wakeup_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in wakeup_show()
309 static ssize_t name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in name_show()
320 static ssize_t actions_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in actions_show()
/kernel/livepatch/
A 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()
416 static ssize_t force_store(struct kobject *kobj, struct kobj_attribute *attr, in force_store()
446 struct kobj_attribute *attr, char *buf) in replace_show()
455 struct kobj_attribute *attr, char *buf) in stack_order_show()
491 struct kobj_attribute *attr, char *buf) in patched_show()
/kernel/events/
A 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/module/
A Dsysfs.c272 const struct module_attribute *attr; in module_remove_modinfo_attrs() local
290 const struct module_attribute *attr; in module_add_modinfo_attrs() local
/kernel/time/
A Dclocksource.c1335 struct device_attribute *attr, in current_clocksource_show()
1375 struct device_attribute *attr, in current_clocksource_store()
1402 struct device_attribute *attr, in unbind_clocksource_store()
1436 struct device_attribute *attr, in available_clocksource_show()
A Dclockevents.c671 struct device_attribute *attr, in current_device_show()
688 struct device_attribute *attr, in unbind_device_store()

Completed in 152 milliseconds

123