Searched defs:attr (Results 1 – 6 of 6) sorted by relevance
/samples/bpf/ |
D | libbpf.c | 24 union bpf_attr attr = { in bpf_create_map() local 36 union bpf_attr attr = { in bpf_update_elem() local 48 union bpf_attr attr = { in bpf_lookup_elem() local 59 union bpf_attr attr = { in bpf_delete_elem() local 69 union bpf_attr attr = { in bpf_get_next_key() local 86 union bpf_attr attr = { in bpf_prog_load() local 108 union bpf_attr attr = { in bpf_obj_pin() local 118 union bpf_attr attr = { in bpf_obj_get() local 149 int perf_event_open(struct perf_event_attr *attr, int pid, int cpu, in perf_event_open()
|
D | trace_output_user.c | 155 struct perf_event_attr attr = { in test_bpf_perf_event() local
|
D | bpf_load.c | 55 struct perf_event_attr attr = {}; in load_and_attach() local
|
/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/hw_breakpoint/ |
D | data_breakpoint.c | 56 struct perf_event_attr attr; in hw_break_module_init() local
|