Home
last modified time | relevance | path

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

12

/kernel/
Dksysfs.c34 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show()
43 struct kobj_attribute *attr, char *buf) in uevent_helper_show()
48 struct kobj_attribute *attr, in uevent_helper_store()
64 struct kobj_attribute *attr, char *buf) in profiling_show()
69 struct kobj_attribute *attr, in profiling_store()
95 struct kobj_attribute *attr, char *buf) in kexec_loaded_show()
102 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show()
109 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show()
114 struct kobj_attribute *attr, in kexec_crash_size_store()
129 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show()
[all …]
Dpadata.c832 struct attribute attr; member
839 struct attribute *attr, char *buf) in show_cpumask()
857 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()
Dworkqueue.c4976 static ssize_t per_cpu_show(struct device *dev, struct device_attribute *attr, in per_cpu_show()
4986 struct device_attribute *attr, char *buf) in max_active_show()
4994 struct device_attribute *attr, const char *buf, in max_active_store()
5016 struct device_attribute *attr, char *buf) in wq_pool_ids_show()
5035 static ssize_t wq_nice_show(struct device *dev, struct device_attribute *attr, in wq_nice_show()
5063 static ssize_t wq_nice_store(struct device *dev, struct device_attribute *attr, in wq_nice_store()
5089 struct device_attribute *attr, char *buf) in wq_cpumask_show()
5102 struct device_attribute *attr, in wq_cpumask_store()
5125 static ssize_t wq_numa_show(struct device *dev, struct device_attribute *attr, in wq_numa_show()
5139 static ssize_t wq_numa_store(struct device *dev, struct device_attribute *attr, in wq_numa_store()
[all …]
Dcpu.c1753 struct device_attribute *attr, char *buf) in show_cpuhp_state()
1762 struct device_attribute *attr, in write_cpuhp_target()
1802 struct device_attribute *attr, char *buf) in show_cpuhp_target()
1823 struct device_attribute *attr, char *buf) in show_cpuhp_states()
Dparams.c926 struct attribute *attr, in module_attr_show()
945 struct attribute *attr, in module_attr_store()
Dauditsc.c1245 struct mq_attr *attr = &context->mq_getsetattr.mqstat; in show_special() local
2045 void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in __audit_mq_open()
Dmodule.c1687 struct module_attribute *attr; in module_add_modinfo_attrs() local
1713 struct module_attribute *attr; in module_remove_modinfo_attrs() local
2480 struct module_attribute *attr; in setup_modinfo() local
2491 struct module_attribute *attr; in free_modinfo() local
Daudit.h189 struct mq_attr attr; member
Dfutex.c285 struct fault_attr attr; member
/kernel/power/
Dmain.c58 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show()
64 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store()
93 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show()
114 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store()
255 struct kobj_attribute *attr, char *buf) in pm_print_times_show()
261 struct kobj_attribute *attr, in pm_print_times_store()
284 struct kobj_attribute *attr, in pm_wakeup_irq_show()
308 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, in state_show()
355 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, in state_store()
415 struct kobj_attribute *attr, in wakeup_count_show()
[all …]
Dhibernate.c941 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show()
976 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store()
1027 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show()
1034 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store()
1063 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show()
1069 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store()
1085 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1091 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()
68 struct kobj_attribute *attr, char *buf) in last_suspend_time_show()
/kernel/bpf/
Dsyscall.c31 static struct bpf_map *find_and_alloc_map(union bpf_attr *attr) in find_and_alloc_map()
244 static int map_create(union bpf_attr *attr) in map_create()
348 static int map_lookup_elem(union bpf_attr *attr) in map_lookup_elem()
427 static int map_update_elem(union bpf_attr *attr) in map_update_elem()
510 static int map_delete_elem(union bpf_attr *attr) in map_delete_elem()
559 static int map_get_next_key(union bpf_attr *attr) in map_get_next_key()
778 static int bpf_prog_load(union bpf_attr *attr) in bpf_prog_load()
871 static int bpf_obj_pin(const union bpf_attr *attr) in bpf_obj_pin()
879 static int bpf_obj_get(const union bpf_attr *attr) in bpf_obj_get()
893 static int bpf_prog_attach(const union bpf_attr *attr) in bpf_prog_attach()
[all …]
Darraymap.c52 static struct bpf_map *array_map_alloc(union bpf_attr *attr) in array_map_alloc()
339 static struct bpf_map *fd_array_map_alloc(union bpf_attr *attr) in fd_array_map_alloc()
496 const struct perf_event_attr *attr; in perf_event_fd_array_get_ptr() local
Dstackmap.c55 static struct bpf_map *stack_map_alloc(union bpf_attr *attr) in stack_map_alloc()
Dhashtab.c146 static struct bpf_map *htab_map_alloc(union bpf_attr *attr) in htab_map_alloc()
/kernel/irq/
Dirqdesc.c136 struct kobj_attribute *attr, char *buf) in per_cpu_count_show()
156 struct kobj_attribute *attr, char *buf) in chip_name_show()
173 struct kobj_attribute *attr, char *buf) in hwirq_show()
188 struct kobj_attribute *attr, char *buf) in type_show()
204 struct kobj_attribute *attr, char *buf) in name_show()
219 struct kobj_attribute *attr, char *buf) in actions_show()
/kernel/time/
Dclocksource.c858 struct device_attribute *attr, char *buf) in sysfs_show_current_clocksources()
897 struct device_attribute *attr, in sysfs_override_clocksource()
923 struct device_attribute *attr, in sysfs_unbind_clocksource()
957 struct device_attribute *attr, in sysfs_show_available_clocksources()
Dclockevents.c657 struct device_attribute *attr, in sysfs_show_current_tick_dev()
674 struct device_attribute *attr, in sysfs_unbind_tick_dev()
/kernel/events/
Dhw_breakpoint.c416 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint()
431 int modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr) in modify_user_hw_breakpoint()
483 register_wide_hw_breakpoint(struct perf_event_attr *attr, in register_wide_hw_breakpoint()
Dcore.c811 struct perf_event_attr *attr, in perf_cgroup_connect()
961 struct perf_event_attr *attr, in perf_cgroup_connect()
3878 struct perf_event_attr *attr = &event->attr; in is_sb_event() local
8706 struct device_attribute *attr, in nr_addr_filters_show()
8718 type_show(struct device *dev, struct device_attribute *attr, char *page) in type_show()
8728 struct device_attribute *attr, in perf_event_mux_interval_ms_show()
8740 struct device_attribute *attr, in perf_event_mux_interval_ms_store()
9158 perf_event_alloc(struct perf_event_attr *attr, int cpu, in perf_event_alloc()
9351 struct perf_event_attr *attr) in perf_copy_attr()
9639 struct perf_event_attr attr; in SYSCALL_DEFINE5() local
[all …]
/kernel/sched/
Dcore.c2564 const struct sched_attr *attr) in dl_overflow()
4008 __setparam_dl(struct task_struct *p, const struct sched_attr *attr) in __setparam_dl()
4047 const struct sched_attr *attr) in __setscheduler_params()
4073 const struct sched_attr *attr, bool keep_boost) in __setscheduler()
4095 __getparam_dl(struct task_struct *p, struct sched_attr *attr) in __getparam_dl()
4117 __checkparam_dl(const struct sched_attr *attr) in __checkparam_dl()
4164 const struct sched_attr *attr) in dl_param_changed()
4178 const struct sched_attr *attr, in __sched_setscheduler()
4419 struct sched_attr attr = { in _sched_setscheduler() local
4451 int sched_setattr(struct task_struct *p, const struct sched_attr *attr) in sched_setattr()
[all …]
/kernel/livepatch/
Dcore.c606 static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr, in enabled_store()
650 struct kobj_attribute *attr, char *buf) in enabled_show()
/kernel/trace/
Dtrace_selftest.c1041 static const struct sched_attr attr = { in trace_wakeup_test_thread() local
Dblktrace.c1643 struct device_attribute *attr, in sysfs_blk_trace_attr_show()
1686 struct device_attribute *attr, in sysfs_blk_trace_attr_store()

12