/Linux-v5.15/tools/perf/util/ |
D | rb_resort.h | 55 #define DEFINE_RESORT_RB(__name, __comp, ...) \ argument 56 struct __name##_sorted_entry { \ 60 static void __name##_sorted__init_entry(struct rb_node *nd, \ 61 struct __name##_sorted_entry *entry); \ 63 static int __name##_sorted__cmp(struct rb_node *nda, struct rb_node *ndb) \ 65 struct __name##_sorted_entry *a, *b; \ 66 a = rb_entry(nda, struct __name##_sorted_entry, rb_node); \ 67 b = rb_entry(ndb, struct __name##_sorted_entry, rb_node); \ 71 struct __name##_sorted { \ 73 struct __name##_sorted_entry nd[0]; \ [all …]
|
/Linux-v5.15/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00debug.c | 409 #define RT2X00DEBUGFS_OPS_READ(__name, __format, __type) \ argument 410 static ssize_t rt2x00debug_read_##__name(struct file *file, \ 419 unsigned int index = intf->offset_##__name; \ 425 if (index >= debug->__name.word_count) \ 428 index += (debug->__name.word_base / \ 429 debug->__name.word_size); \ 431 if (debug->__name.flags & RT2X00DEBUGFS_OFFSET) \ 432 index *= debug->__name.word_size; \ 434 value = debug->__name.read(intf->rt2x00dev, index); \ 441 #define RT2X00DEBUGFS_OPS_WRITE(__name, __type) \ argument [all …]
|
D | rt2x00debug.h | 28 #define RT2X00DEBUGFS_REGISTER_ENTRY(__name, __type) \ argument 29 struct reg##__name { \ 40 } __name
|
/Linux-v5.15/include/linux/ |
D | seq_file.h | 161 #define DEFINE_SEQ_ATTRIBUTE(__name) \ argument 162 static int __name ## _open(struct inode *inode, struct file *file) \ 164 int ret = seq_open(file, &__name ## _sops); \ 172 static const struct file_operations __name ## _fops = { \ 174 .open = __name ## _open, \ 180 #define DEFINE_SHOW_ATTRIBUTE(__name) \ argument 181 static int __name ## _open(struct inode *inode, struct file *file) \ 183 return single_open(file, __name ## _show, inode->i_private); \ 186 static const struct file_operations __name ## _fops = { \ 188 .open = __name ## _open, \ [all …]
|
D | kprobes.h | 285 #define DEFINE_INSN_CACHE_OPS(__name) \ argument 286 extern struct kprobe_insn_cache kprobe_##__name##_slots; \ 288 static inline kprobe_opcode_t *get_##__name##_slot(void) \ 290 return __get_insn_slot(&kprobe_##__name##_slots); \ 293 static inline void free_##__name##_slot(kprobe_opcode_t *slot, int dirty)\ 295 __free_insn_slot(&kprobe_##__name##_slots, slot, dirty); \ 298 static inline bool is_kprobe_##__name##_slot(unsigned long addr) \ 300 return __is_insn_slot_addr(&kprobe_##__name##_slots, addr); \ 307 #define DEFINE_INSN_CACHE_OPS(__name) \ argument 308 static inline bool is_kprobe_##__name##_slot(unsigned long addr) \
|
D | init.h | 240 #define ____define_initcall(fn, __stub, __name, __sec) \ argument 243 __stringify(__name) ": \n" \ 248 #define ____define_initcall(fn, __unused, __name, __sec) \ argument 249 static initcall_t __name __used \
|
/Linux-v5.15/include/linux/netfilter/ |
D | nf_conntrack_sip.h | 33 #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)
|
/Linux-v5.15/drivers/gpu/drm/i915/gt/ |
D | debugfs_gt.h | 13 #define DEFINE_GT_DEBUGFS_ATTRIBUTE(__name) \ argument 14 static int __name ## _open(struct inode *inode, struct file *file) \ 16 return single_open(file, __name ## _show, inode->i_private); \ 18 static const struct file_operations __name ## _fops = { \ 20 .open = __name ## _open, \
|
/Linux-v5.15/include/linux/usb/ |
D | gadget_configfs.h | 10 #define GS_STRINGS_W(__struct, __name) \ argument 11 static ssize_t __struct##_##__name##_store(struct config_item *item, \ 17 ret = usb_string_copy(page, &gs->__name); \ 23 #define GS_STRINGS_R(__struct, __name) \ argument 24 static ssize_t __struct##_##__name##_show(struct config_item *item, char *page) \ 27 return sprintf(page, "%s\n", gs->__name ?: ""); \
|
D | serial.h | 423 #define usb_serial_module_driver(__name, __serial_drivers, __ids) \ argument 427 __name, __ids); \
|
/Linux-v5.15/include/xen/interface/io/ |
D | ring.h | 103 #define DEFINE_RING_TYPES(__name, __req_t, __rsp_t) \ argument 106 union __name##_sring_entry { \ 112 struct __name##_sring { \ 116 union __name##_sring_entry ring[1]; /* variable-length */ \ 120 struct __name##_front_ring { \ 124 struct __name##_sring *sring; \ 128 struct __name##_back_ring { \ 132 struct __name##_sring *sring; \
|
/Linux-v5.15/drivers/platform/x86/intel/pmc/ |
D | core.h | 349 #define DEFINE_PMC_CORE_ATTR_WRITE(__name) \ argument 350 static int __name ## _open(struct inode *inode, struct file *file) \ 352 return single_open(file, __name ## _show, inode->i_private); \ 355 static const struct file_operations __name ## _fops = { \ 357 .open = __name ## _open, \ 359 .write = __name ## _write, \
|
/Linux-v5.15/arch/sparc/include/asm/ |
D | mdesc.h | 24 #define mdesc_for_each_node_by_name(__hdl, __node, __name) \ argument 25 for (__node = mdesc_node_by_name(__hdl, MDESC_NODE_NULL, __name); \ 27 __node = mdesc_node_by_name(__hdl, __node, __name))
|
/Linux-v5.15/drivers/soc/amlogic/ |
D | meson-secure-pwrc.c | 86 #define SEC_PD(__name, __flag) \ argument 87 [PWRC_##__name##_ID] = \ 89 .name = #__name, \ 90 .index = PWRC_##__name##_ID, \
|
D | meson-ee-pwrc.c | 220 #define VPU_PD(__name, __top_pd, __mem, __is_pwr_off, __resets, __clks) \ argument 222 .name = __name, \ 231 #define TOP_PD(__name, __top_pd, __mem, __is_pwr_off) \ argument 233 .name = __name, \ 240 #define MEM_PD(__name, __mem) \ argument 241 TOP_PD(__name, NULL, __mem, NULL)
|
D | meson-clk-measure.c | 49 #define CLK_MSR_ID(__id, __name) \ argument 50 [__id] = {.id = __id, .name = __name,}
|
/Linux-v5.15/include/net/ |
D | inet_hashtables.h | 300 #define INET_ADDR_COOKIE(__name, __saddr, __daddr) \ argument 301 const __addrpair __name = (__force __addrpair) ( \ 305 #define INET_ADDR_COOKIE(__name, __saddr, __daddr) \ argument 306 const __addrpair __name = (__force __addrpair) ( \ 317 #define INET_ADDR_COOKIE(__name, __saddr, __daddr) \ argument 318 const int __name __deprecated __attribute__((unused))
|
/Linux-v5.15/drivers/pinctrl/vt8500/ |
D | pinctrl-wmt.h | 28 #define WMT_GROUP(__name, __data) \ argument 30 .name = __name, \
|
/Linux-v5.15/drivers/soc/atmel/ |
D | soc.h | 23 __name, __family) \ argument 29 .name = (__name), \
|
/Linux-v5.15/drivers/usb/storage/ |
D | usb.h | 197 #define module_usb_stor_driver(__driver, __sht, __name) \ argument 200 usb_stor_host_template_init(&(__sht), __name, THIS_MODULE); \
|
/Linux-v5.15/include/linux/mtd/ |
D | rawnand.h | 279 #define NAND_ECC_CAPS_SINGLE(__name, __calc, __step, ...) \ argument 280 static const int __name##_strengths[] = { __VA_ARGS__ }; \ 281 static const struct nand_ecc_step_info __name##_stepinfo = { \ 283 .strengths = __name##_strengths, \ 284 .nstrengths = ARRAY_SIZE(__name##_strengths), \ 286 static const struct nand_ecc_caps __name = { \ 287 .stepinfos = &__name##_stepinfo, \
|
/Linux-v5.15/include/uapi/linux/netfilter/ |
D | x_tables.h | 57 #define XT_TARGET_INIT(__name, __size) \ argument 61 .name = __name, \
|
/Linux-v5.15/net/bluetooth/ |
D | hci_debugfs.c | 32 #define DEFINE_QUIRK_ATTRIBUTE(__name, __quirk) \ argument 33 static ssize_t __name ## _read(struct file *file, \ 46 static ssize_t __name ## _write(struct file *file, \ 69 static const struct file_operations __name ## _fops = { \ 71 .read = __name ## _read, \ 72 .write = __name ## _write, \ 76 #define DEFINE_INFO_ATTRIBUTE(__name, __field) \ argument 77 static int __name ## _show(struct seq_file *f, void *ptr) \ 88 DEFINE_SHOW_ATTRIBUTE(__name)
|
/Linux-v5.15/fs/ |
D | filesystems.c | 132 static int fs_index(const char __user * __name) in fs_index() argument 138 name = getname(__name); in fs_index()
|
D | d_path.c | 15 #define DECLARE_BUFFER(__name, __buf, __len) \ argument 16 struct prepend_buffer __name = {.buf = __buf + __len, .len = __len}
|