Searched defs:attr (Results 1 – 8 of 8) sorted by relevance
| /samples/kobject/ |
| D | kobject-example.c | 30 static ssize_t foo_show(struct kobject *kobj, struct kobj_attribute *attr, in foo_show() 36 static ssize_t foo_store(struct kobject *kobj, struct kobj_attribute *attr, in foo_store() 56 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr, in b_show() 68 static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr, in b_store()
|
| D | kset-example.c | 41 struct attribute attr; member 55 struct attribute *attr, in foo_attr_show() 75 struct attribute *attr, in foo_attr_store() 114 static ssize_t foo_show(struct foo_obj *foo_obj, struct foo_attribute *attr, in foo_show() 120 static ssize_t foo_store(struct foo_obj *foo_obj, struct foo_attribute *attr, in foo_store() 140 static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr, in b_show() 152 static ssize_t b_store(struct foo_obj *foo_obj, struct foo_attribute *attr, in b_store()
|
| /samples/bpf/ |
| D | tracex6_user.c | 24 static void check_on_cpu(int cpu, struct perf_event_attr *attr) in check_on_cpu() 61 static void test_perf_event_array(struct perf_event_attr *attr, in test_perf_event_array()
|
| D | trace_event_user.c | 134 static void test_perf_event_all_cpu(struct perf_event_attr *attr) in test_perf_event_all_cpu() 167 static void test_perf_event_task(struct perf_event_attr *attr) in test_perf_event_task()
|
| D | trace_output_user.c | 155 struct perf_event_attr attr = { in test_bpf_perf_event() local
|
| D | bpf_load.c | 74 struct perf_event_attr attr = {}; in load_and_attach() local
|
| /samples/hw_breakpoint/ |
| D | data_breakpoint.c | 56 struct perf_event_attr attr; in hw_break_module_init() local
|
| /samples/vfio-mdev/ |
| D | mtty.c | 1287 sample_mtty_dev_show(struct device *dev, struct device_attribute *attr, in sample_mtty_dev_show() 1311 sample_mdev_dev_show(struct device *dev, struct device_attribute *attr, in sample_mdev_dev_show()
|