Home
last modified time | relevance | path

Searched refs:_name (Results 1 – 14 of 14) sorted by relevance

/kernel/power/
Dpower.h81 #define power_attr(_name) \ argument
82 static struct kobj_attribute _name##_attr = { \
84 .name = __stringify(_name), \
87 .show = _name##_show, \
88 .store = _name##_store, \
91 #define power_attr_ro(_name) \ argument
92 static struct kobj_attribute _name##_attr = { \
94 .name = __stringify(_name), \
97 .show = _name##_show, \
Dmain.c317 #define suspend_attr(_name) \ argument
318 static ssize_t _name##_show(struct kobject *kobj, \
321 return sprintf(buf, "%d\n", suspend_stats._name); \
323 static struct kobj_attribute _name = __ATTR_RO(_name)
/kernel/
Dksysfs.c23 #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 = __ATTR_RW(_name)
Dpadata.c905 #define PADATA_ATTR_RW(_name, _show_name, _store_name) \ argument
906 static struct padata_sysfs_entry _name##_attr = \
907 __ATTR(_name, 0644, _show_name, _store_name)
908 #define PADATA_ATTR_RO(_name, _show_name) \ argument
909 static struct padata_sysfs_entry _name##_attr = \
910 __ATTR(_name, 0400, _show_name, NULL)
/kernel/bpf/
Dbpf_struct_ops.c69 #define BPF_STRUCT_OPS_TYPE(_name) \ argument
70 extern struct bpf_struct_ops bpf_##_name; \
72 struct bpf_struct_ops_##_name { \
74 struct _name data ____cacheline_aligned_in_smp; \
80 #define BPF_STRUCT_OPS_TYPE(_name) BPF_STRUCT_OPS_TYPE_##_name, argument
87 #define BPF_STRUCT_OPS_TYPE(_name) \ argument
88 [BPF_STRUCT_OPS_TYPE_##_name] = &bpf_##_name,
115 #define BPF_STRUCT_OPS_TYPE(_name) BTF_TYPE_EMIT(struct bpf_struct_ops_##_name); in bpf_struct_ops_init() argument
Dsyscall.c63 #define BPF_PROG_TYPE(_id, _name, prog_ctx_type, kern_ctx_type) argument
66 #define BPF_LINK_TYPE(_id, _name) argument
1920 #define BPF_PROG_TYPE(_id, _name, prog_ctx_type, kern_ctx_type) \ argument
1921 [_id] = & _name ## _prog_ops,
1923 #define BPF_LINK_TYPE(_id, _name) argument
2769 #define BPF_PROG_TYPE(_id, _name, prog_ctx_type, kern_ctx_type) argument
2771 #define BPF_LINK_TYPE(_id, _name) [_id] = #_name, argument
Dhashtab.c23 #define BATCH_OPS(_name) \ argument
25 _name##_map_lookup_batch, \
27 _name##_map_lookup_and_delete_batch, \
Dbtf.c5076 #define BPF_LINK_TYPE(_id, _name) argument
5079 #define BPF_PROG_TYPE(_id, _name, prog_ctx_type, kern_ctx_type) \ argument
5089 #define BPF_PROG_TYPE(_id, _name, prog_ctx_type, kern_ctx_type) \ argument
5096 #define BPF_PROG_TYPE(_id, _name, prog_ctx_type, kern_ctx_type) \ argument
Dverifier.c31 #define BPF_PROG_TYPE(_id, _name, prog_ctx_type, kern_ctx_type) \ argument
32 [_id] = & _name ## _verifier_ops,
34 #define BPF_LINK_TYPE(_id, _name) argument
/kernel/trace/
Dtrace_probe.h182 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, str, _fmttype) \ argument
183 {.name = _name, \
193 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
194 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, 0, #_fmttype)
Dtrace_syscalls.c204 #define SYSCALL_FIELD(_type, _name) { \ argument
205 .type = #_type, .name = #_name, \
Dblktrace.c1669 #define BLK_TRACE_DEVICE_ATTR(_name) \ argument
1670 DEVICE_ATTR(_name, S_IRUGO | S_IWUSR, \
/kernel/irq/
Dirqdesc.c143 #define IRQ_ATTR_RO(_name) \ argument
144 static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
/kernel/sched/
Dtopology.c32 #define SD_FLAG(_name, mflags) [__##_name] = { .meta_flags = mflags, .name = #_name }, argument