Home
last modified time | relevance | path

Searched refs:__name (Results 1 – 11 of 11) sorted by relevance

/include/linux/
Dseq_file.h187 #define DEFINE_SEQ_ATTRIBUTE(__name) \ argument
188 static int __name ## _open(struct inode *inode, struct file *file) \
190 int ret = seq_open(file, &__name ## _sops); \
198 static const struct file_operations __name ## _fops = { \
200 .open = __name ## _open, \
206 #define DEFINE_SHOW_ATTRIBUTE(__name) \ argument
207 static int __name ## _open(struct inode *inode, struct file *file) \
209 return single_open(file, __name ## _show, inode->i_private); \
212 static const struct file_operations __name ## _fops = { \
214 .open = __name ## _open, \
[all …]
Dkprobes.h303 #define DEFINE_INSN_CACHE_OPS(__name) \ argument
304 extern struct kprobe_insn_cache kprobe_##__name##_slots; \
306 static inline kprobe_opcode_t *get_##__name##_slot(void) \
308 return __get_insn_slot(&kprobe_##__name##_slots); \
311 static inline void free_##__name##_slot(kprobe_opcode_t *slot, int dirty)\
313 __free_insn_slot(&kprobe_##__name##_slots, slot, dirty); \
316 static inline bool is_kprobe_##__name##_slot(unsigned long addr) \
318 return __is_insn_slot_addr(&kprobe_##__name##_slots, addr); \
325 #define DEFINE_INSN_CACHE_OPS(__name) \ argument
326 static inline bool is_kprobe_##__name##_slot(unsigned long addr) \
Dinit.h260 #define ____define_initcall(fn, __stub, __name, __sec) \ argument
263 __stringify(__name) ": \n" \
268 #define ____define_initcall(fn, __unused, __name, __sec) \ argument
269 static initcall_t __name __used \
Dslab.h407 #define kmem_cache_create(__name, __object_size, __args, ...) \ argument
411 default: __kmem_cache_create)(__name, __object_size, __args, __VA_ARGS__)
/include/linux/netfilter/
Dnf_conntrack_sip.h33 #define SDP_MEDIA_TYPE(__name, __class) \ argument
35 .name = (__name), \
36 .len = sizeof(__name) - 1, \
73 #define __SIP_HDR(__name, __cname, __search, __match) \ argument
75 .name = (__name), \
76 .len = sizeof(__name) - 1, \
84 #define SIP_HDR(__name, __cname, __search, __match) \ argument
85 __SIP_HDR(__name, __cname, __search, __match)
87 #define SDP_HDR(__name, __search, __match) \ argument
88 __SIP_HDR(__name, NULL, __search, __match)
/include/linux/usb/
Dgadget_configfs.h7 #define GS_STRINGS_W(__struct, __name) \ argument
8 static ssize_t __struct##_##__name##_store(struct config_item *item, \
14 ret = usb_string_copy(page, &gs->__name); \
20 #define GS_STRINGS_R(__struct, __name) \ argument
21 static ssize_t __struct##_##__name##_show(struct config_item *item, char *page) \
24 return sprintf(page, "%s\n", gs->__name ?: ""); \
Dserial.h421 #define usb_serial_module_driver(__name, __serial_drivers, __ids) \ argument
425 __name, __ids); \
/include/xen/interface/io/
Dring.h85 #define DEFINE_RING_TYPES(__name, __req_t, __rsp_t) \ argument
88 union __name##_sring_entry { \
94 struct __name##_sring { \
98 union __name##_sring_entry ring[]; \
102 struct __name##_front_ring { \
106 struct __name##_sring *sring; \
110 struct __name##_back_ring { \
114 struct __name##_sring *sring; \
/include/uapi/linux/netfilter/
Dx_tables.h57 #define XT_TARGET_INIT(__name, __size) \ argument
61 .name = __name, \
/include/linux/mtd/
Drawnand.h283 #define NAND_ECC_CAPS_SINGLE(__name, __calc, __step, ...) \ argument
284 static const int __name##_strengths[] = { __VA_ARGS__ }; \
285 static const struct nand_ecc_step_info __name##_stepinfo = { \
287 .strengths = __name##_strengths, \
288 .nstrengths = ARRAY_SIZE(__name##_strengths), \
290 static const struct nand_ecc_caps __name = { \
291 .stepinfos = &__name##_stepinfo, \
/include/net/
Dinet_hashtables.h343 #define INET_ADDR_COOKIE(__name, __saddr, __daddr) \ argument
344 const __addrpair __name = (__force __addrpair) ( \
348 #define INET_ADDR_COOKIE(__name, __saddr, __daddr) \ argument
349 const __addrpair __name = (__force __addrpair) ( \