Home
last modified time | relevance | path

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

/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.c903 struct attribute attr; member
910 struct attribute *attr, char *buf) in show_cpumask()
933 struct attribute *attr, in store_cpumask()
981 struct attribute *attr, char *buf) in padata_sysfs_show()
995 static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr, in padata_sysfs_store()
Dworkqueue.c3029 static ssize_t per_cpu_show(struct device *dev, struct device_attribute *attr, in per_cpu_show()
3039 struct device_attribute *attr, char *buf) in max_active_show()
3047 struct device_attribute *attr, const char *buf, in max_active_store()
3069 struct device_attribute *attr, char *buf) in wq_pool_ids_show()
3088 static ssize_t wq_nice_show(struct device *dev, struct device_attribute *attr, in wq_nice_show()
3116 static ssize_t wq_nice_store(struct device *dev, struct device_attribute *attr, in wq_nice_store()
3138 struct device_attribute *attr, char *buf) in wq_cpumask_show()
3152 struct device_attribute *attr, in wq_cpumask_store()
3171 static ssize_t wq_numa_show(struct device *dev, struct device_attribute *attr, in wq_numa_show()
3185 static ssize_t wq_numa_store(struct device *dev, struct device_attribute *attr, in wq_numa_store()
[all …]
Dparams.c867 struct attribute *attr, in module_attr_show()
886 struct attribute *attr, in module_attr_store()
Dmodule.c1543 struct module_attribute *attr; in module_add_modinfo_attrs() local
1569 struct module_attribute *attr; in module_remove_modinfo_attrs() local
2185 struct module_attribute *attr; in setup_modinfo() local
2196 struct module_attribute *attr; in free_modinfo() local
Dauditsc.c1265 struct mq_attr *attr = &context->mq_getsetattr.mqstat; in show_special() local
2133 void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in __audit_mq_open()
Daudit.h195 struct mq_attr attr; member
Dcpuset.c792 struct sched_domain_attr *attr; in rebuild_sched_domains_locked() local
/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()
298 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, in state_show()
345 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, in state_store()
405 struct kobj_attribute *attr, in wakeup_count_show()
415 struct kobj_attribute *attr, in wakeup_count_store()
[all …]
Dhibernate.c912 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show()
946 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store()
996 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show()
1003 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store()
1032 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show()
1038 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store()
1054 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1060 struct kobj_attribute *attr, in reserved_size_store()
Dwakeup_reason.c48 static ssize_t last_resume_reason_show(struct kobject *kobj, struct kobj_attribute *attr, in last_resume_reason_show()
72 struct kobj_attribute *attr, char *buf) in last_suspend_time_show()
/kernel/bpf/
Dsyscall.c22 static struct bpf_map *find_and_alloc_map(union bpf_attr *attr) in find_and_alloc_map()
88 static int map_create(union bpf_attr *attr) in map_create()
146 static int map_lookup_elem(union bpf_attr *attr) in map_lookup_elem()
195 static int map_update_elem(union bpf_attr *attr) in map_update_elem()
248 static int map_delete_elem(union bpf_attr *attr) in map_delete_elem()
287 static int map_get_next_key(union bpf_attr *attr) in map_get_next_key()
463 static int bpf_prog_load(union bpf_attr *attr) in bpf_prog_load()
538 union bpf_attr attr = {}; in SYSCALL_DEFINE3() local
Dtest_stub.c81 static struct bpf_map *test_map_alloc(union bpf_attr *attr) in test_map_alloc()
Dverifier.c1827 int bpf_check(struct bpf_prog *prog, union bpf_attr *attr) in bpf_check()
/kernel/time/
Dclocksource.c827 struct device_attribute *attr, char *buf) in sysfs_show_current_clocksources()
866 struct device_attribute *attr, in sysfs_override_clocksource()
892 struct device_attribute *attr, in sysfs_unbind_clocksource()
926 struct device_attribute *attr, in sysfs_show_available_clocksources()
Dclockevents.c623 struct device_attribute *attr, in sysfs_show_current_tick_dev()
640 struct device_attribute *attr, in sysfs_unbind_tick_dev()
/kernel/locking/
Drtmutex-tester.c276 static ssize_t sysfs_test_command(struct device *dev, struct device_attribute *attr, in sysfs_test_command()
339 static ssize_t sysfs_test_status(struct device *dev, struct device_attribute *attr, in sysfs_test_status()
/kernel/events/
Dhw_breakpoint.c416 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint()
433 int modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr) in modify_user_hw_breakpoint()
499 register_wide_hw_breakpoint(struct perf_event_attr *attr, in register_wide_hw_breakpoint()
Dcore.c611 struct perf_event_attr *attr, in perf_cgroup_connect()
727 struct perf_event_attr *attr, in perf_cgroup_connect()
6795 type_show(struct device *dev, struct device_attribute *attr, char *page) in type_show()
6805 struct device_attribute *attr, in perf_event_mux_interval_ms_show()
6815 struct device_attribute *attr, in perf_event_mux_interval_ms_store()
7109 perf_event_alloc(struct perf_event_attr *attr, int cpu, in perf_event_alloc()
7238 struct perf_event_attr *attr) in perf_copy_attr()
7467 struct perf_event_attr attr; in SYSCALL_DEFINE5() local
7792 perf_event_create_kernel_counter(struct perf_event_attr *attr, int cpu, in perf_event_create_kernel_counter()
/kernel/sched/
Dcore.c2339 const struct sched_attr *attr) in dl_overflow()
3684 __setparam_dl(struct task_struct *p, const struct sched_attr *attr) in __setparam_dl()
3722 const struct sched_attr *attr) in __setscheduler_params()
3748 const struct sched_attr *attr, bool keep_boost) in __setscheduler()
3770 __getparam_dl(struct task_struct *p, struct sched_attr *attr) in __getparam_dl()
3792 __checkparam_dl(const struct sched_attr *attr) in __checkparam_dl()
3839 const struct sched_attr *attr, in __sched_setscheduler()
4071 struct sched_attr attr = { in _sched_setscheduler() local
4103 int sched_setattr(struct task_struct *p, const struct sched_attr *attr) in sched_setattr()
4155 struct sched_attr *attr) in sched_copy_attr()
[all …]
/kernel/trace/
Dtrace_selftest.c1041 static const struct sched_attr attr = { in trace_wakeup_test_thread() local
Dblktrace.c1657 struct device_attribute *attr, in sysfs_blk_trace_attr_show()
1700 struct device_attribute *attr, in sysfs_blk_trace_attr_store()