Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/tools/perf/util/
A Drb_resort.h56 struct __name##_sorted_entry { \
71 struct __name##_sorted { \
76 static void __name##_sorted__insert(struct __name##_sorted *sorted, \
91 static void __name##_sorted__sort(struct __name##_sorted *sorted, \
103 static struct __name##_sorted *__name##_sorted__new(struct rb_root *entries, \
106 struct __name##_sorted *sorted; \
115 static void __name##_sorted__delete(struct __name##_sorted *sorted) \
124 struct __name##_sorted_entry *__name##_entry; \
125 struct __name##_sorted *__name = __name##_sorted__new
129 __name##_entry = rb_entry(__nd, struct __name##_sorted_entry, \
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dintel_gt_debugfs.h13 #define __GT_DEBUGFS_ATTRIBUTE_FOPS(__name) \ argument
14 static const struct file_operations __name ## _fops = { \
16 .open = __name ## _open, \
22 #define DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE(__name) \ argument
23 static int __name ## _open(struct inode *inode, struct file *file) \
25 return single_open(file, __name ## _show, inode->i_private); \
27 __GT_DEBUGFS_ATTRIBUTE_FOPS(__name)
29 #define DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE_WITH_SIZE(__name, __size_vf) \ argument
30 static int __name ## _open(struct inode *inode, struct file *file) \
32 return single_open_size(file, __name ## _show, inode->i_private, \
[all …]
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/
A Drt2x00debug.c429 debug->__name.word_size); \
432 index *= debug->__name.word_size; \
471 debug->__name.word_size); \
474 index *= debug->__name.word_size; \
616 if (debug->__name.read) \ in rt2x00debug_create_file_chipset()
619 debug->__name.word_base, \ in rt2x00debug_create_file_chipset()
620 debug->__name.word_count, \ in rt2x00debug_create_file_chipset()
621 debug->__name.word_size); \ in rt2x00debug_create_file_chipset()
669 if (debug->__name.read) { \ in rt2x00debug_register()
672 &(__intf)->offset_##__name); \ in rt2x00debug_register()
[all …]
A Drt2x00debug.h28 #define RT2X00DEBUGFS_REGISTER_ENTRY(__name, __type) \ argument
29 struct reg##__name { \
40 } __name
/linux-6.3-rc2/include/linux/
A Dseq_file.h177 #define DEFINE_SEQ_ATTRIBUTE(__name) \ argument
180 int ret = seq_open(file, &__name ## _sops); \
188 static const struct file_operations __name ## _fops = { \
190 .open = __name ## _open, \
196 #define DEFINE_SHOW_ATTRIBUTE(__name) \ argument
202 static const struct file_operations __name ## _fops = { \
204 .open = __name ## _open, \
210 #define DEFINE_PROC_SHOW_ATTRIBUTE(__name) \ argument
213 return single_open(file, __name ## _show, pde_data(inode)); \
216 static const struct proc_ops __name ## _proc_ops = { \
[all …]
A Dkprobes.h322 #define DEFINE_INSN_CACHE_OPS(__name) \ argument
323 extern struct kprobe_insn_cache kprobe_##__name##_slots; \
325 static inline kprobe_opcode_t *get_##__name##_slot(void) \
327 return __get_insn_slot(&kprobe_##__name##_slots); \
330 static inline void free_##__name##_slot(kprobe_opcode_t *slot, int dirty)\
332 __free_insn_slot(&kprobe_##__name##_slots, slot, dirty); \
335 static inline bool is_kprobe_##__name##_slot(unsigned long addr) \
337 return __is_insn_slot_addr(&kprobe_##__name##_slots, addr); \
344 #define DEFINE_INSN_CACHE_OPS(__name) \ argument
345 static inline bool is_kprobe_##__name##_slot(unsigned long addr) \
A Dinit.h243 #define ____define_initcall(fn, __stub, __name, __sec) \ argument
246 __stringify(__name) ": \n" \
251 #define ____define_initcall(fn, __unused, __name, __sec) \ argument
252 static initcall_t __name __used \
/linux-6.3-rc2/include/linux/netfilter/
A 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)
/linux-6.3-rc2/drivers/net/ipa/
A Dreg.h39 #define REG_FIELDS(__NAME, __name, __offset) \ argument
40 REG_STRIDE_FIELDS(__NAME, __name, __offset, 0)
42 #define REG_STRIDE_FIELDS(__NAME, __name, __offset, __stride) \ argument
43 static const struct reg reg_ ## __name = { \
47 .fcount = ARRAY_SIZE(reg_ ## __name ## _fmask), \
48 .fmask = reg_ ## __name ## _fmask, \
/linux-6.3-rc2/include/linux/usb/
A Dgadget_configfs.h10 #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 ?: ""); \
/linux-6.3-rc2/include/xen/interface/io/
A 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[1]; /* variable-length */ \
102 struct __name##_front_ring { \
106 struct __name##_sring *sring; \
110 struct __name##_back_ring { \
114 struct __name##_sring *sring; \
/linux-6.3-rc2/arch/sparc/include/asm/
A Dmdesc.h24 #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-6.3-rc2/drivers/platform/x86/intel/pmc/
A Dcore.h416 #define DEFINE_PMC_CORE_ATTR_WRITE(__name) \ argument
417 static int __name ## _open(struct inode *inode, struct file *file) \
419 return single_open(file, __name ## _show, inode->i_private); \
422 static const struct file_operations __name ## _fops = { \
424 .open = __name ## _open, \
426 .write = __name ## _write, \
/linux-6.3-rc2/drivers/soc/amlogic/
A Dmeson-secure-pwrc.c87 #define SEC_PD(__name, __flag) \ argument
88 [PWRC_##__name##_ID] = \
90 .name = #__name, \
91 .index = PWRC_##__name##_ID, \
A Dmeson-ee-pwrc.c235 #define VPU_PD(__name, __top_pd, __mem, __is_pwr_off, __resets, __clks) \ argument
237 .name = __name, \
246 #define TOP_PD(__name, __top_pd, __mem, __is_pwr_off) \ argument
248 .name = __name, \
255 #define MEM_PD(__name, __mem) \ argument
256 TOP_PD(__name, NULL, __mem, NULL)
/linux-6.3-rc2/drivers/pinctrl/vt8500/
A Dpinctrl-wmt.h28 #define WMT_GROUP(__name, __data) \ argument
30 .name = __name, \
/linux-6.3-rc2/drivers/soc/atmel/
A Dsoc.h23 __name, __family) \ argument
29 .name = (__name), \
/linux-6.3-rc2/drivers/hid/bpf/
A Dhid_bpf_jmp_table.c522 #define ATTACH_AND_STORE_LINK(__name) do { \ argument
523 err = entrypoints_bpf__##__name##__attach(skel); \
527 links[idx] = bpf_link_get_from_fd(skel->links.__name##_fd); \
536 close_fd(skel->links.__name##_fd); \
537 skel->links.__name##_fd = 0; \
/linux-6.3-rc2/drivers/usb/storage/
A Dusb.h197 #define module_usb_stor_driver(__driver, __sht, __name) \ argument
200 usb_stor_host_template_init(&(__sht), __name, THIS_MODULE); \
/linux-6.3-rc2/include/linux/mtd/
A Drawnand.h281 #define NAND_ECC_CAPS_SINGLE(__name, __calc, __step, ...) \ argument
282 static const int __name##_strengths[] = { __VA_ARGS__ }; \
283 static const struct nand_ecc_step_info __name##_stepinfo = { \
285 .strengths = __name##_strengths, \
286 .nstrengths = ARRAY_SIZE(__name##_strengths), \
288 static const struct nand_ecc_caps __name = { \
289 .stepinfos = &__name##_stepinfo, \
/linux-6.3-rc2/include/uapi/linux/netfilter/
A Dx_tables.h57 #define XT_TARGET_INIT(__name, __size) \ argument
61 .name = __name, \
/linux-6.3-rc2/include/net/
A Dinet_hashtables.h348 #define INET_ADDR_COOKIE(__name, __saddr, __daddr) \ argument
349 const __addrpair __name = (__force __addrpair) ( \
353 #define INET_ADDR_COOKIE(__name, __saddr, __daddr) \ argument
354 const __addrpair __name = (__force __addrpair) ( \
/linux-6.3-rc2/net/dsa/
A Dtag.h245 #define MODULE_ALIAS_DSA_TAG_DRIVER(__proto, __name) \ argument
246 MODULE_ALIAS(DSA_TAG_DRIVER_ALIAS __name); \
/linux-6.3-rc2/net/bluetooth/
A Dhci_debugfs.c33 #define DEFINE_QUIRK_ATTRIBUTE(__name, __quirk) \ argument
34 static ssize_t __name ## _read(struct file *file, \
47 static ssize_t __name ## _write(struct file *file, \
70 static const struct file_operations __name ## _fops = { \
72 .read = __name ## _read, \
73 .write = __name ## _write, \
77 #define DEFINE_INFO_ATTRIBUTE(__name, __field) \ argument
78 static int __name ## _show(struct seq_file *f, void *ptr) \
89 DEFINE_SHOW_ATTRIBUTE(__name)
/linux-6.3-rc2/fs/
A Dfilesystems.c132 static int fs_index(const char __user * __name) in fs_index() argument
138 name = getname(__name); in fs_index()

Completed in 47 milliseconds

12