Searched refs:_name (Results 1 – 9 of 9) sorted by relevance
/kernel/power/ |
D | power.h | 78 #define power_attr(_name) \ argument 79 static struct kobj_attribute _name##_attr = { \ 81 .name = __stringify(_name), \ 84 .show = _name##_show, \ 85 .store = _name##_store, \ 88 #define power_attr_ro(_name) \ argument 89 static struct kobj_attribute _name##_attr = { \ 91 .name = __stringify(_name), \ 94 .show = _name##_show, \
|
D | main.c | 278 #define suspend_attr(_name) \ argument 279 static ssize_t _name##_show(struct kobject *kobj, \ 282 return sprintf(buf, "%d\n", suspend_stats._name); \ 284 static struct kobj_attribute _name = __ATTR_RO(_name)
|
/kernel/ |
D | ksysfs.c | 23 #define KERNEL_ATTR_RO(_name) \ argument 24 static struct kobj_attribute _name##_attr = __ATTR_RO(_name) 26 #define KERNEL_ATTR_RW(_name) \ argument 27 static struct kobj_attribute _name##_attr = \ 28 __ATTR(_name, 0644, _name##_show, _name##_store)
|
D | padata.c | 892 #define PADATA_ATTR_RW(_name, _show_name, _store_name) \ argument 893 static struct padata_sysfs_entry _name##_attr = \ 894 __ATTR(_name, 0644, _show_name, _store_name) 895 #define PADATA_ATTR_RO(_name, _show_name) \ argument 896 static struct padata_sysfs_entry _name##_attr = \ 897 __ATTR(_name, 0400, _show_name, NULL)
|
/kernel/trace/ |
D | trace_probe.h | 180 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument 181 {.name = _name, \ 188 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument 189 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, #_fmttype)
|
D | blktrace.c | 1640 #define BLK_TRACE_DEVICE_ATTR(_name) \ argument 1641 DEVICE_ATTR(_name, S_IRUGO | S_IWUSR, \
|
/kernel/irq/ |
D | irqdesc.c | 143 #define IRQ_ATTR_RO(_name) \ argument 144 static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
|
/kernel/bpf/ |
D | syscall.c | 1194 #define BPF_PROG_TYPE(_id, _name) \ argument 1195 [_id] = & _name ## _prog_ops,
|
D | verifier.c | 26 #define BPF_PROG_TYPE(_id, _name) \ argument 27 [_id] = & _name ## _verifier_ops,
|