/include/linux/ |
D | linkage.h | 33 #define SYSCALL_ALIAS(alias, name) asm( \ argument 36 __stringify(name)) 98 #define SYM_L_GLOBAL(name) .globl name 99 #define SYM_L_WEAK(name) .weak name 100 #define SYM_L_LOCAL(name) /* nothing */ 111 #define GLOBAL(name) \ 112 .globl name ASM_NL \ 113 name: 118 #define ENTRY(name) \ 119 SYM_FUNC_START(name) [all …]
|
D | static_call.h | 146 #define STATIC_CALL_TRAMP_ADDR(name) &STATIC_CALL_TRAMP(name) argument 149 #define STATIC_CALL_TRAMP_ADDR(name) NULL argument 152 #define static_call_update(name, func) \ argument 154 typeof(&STATIC_CALL_TRAMP(name)) __F = (func); \ 155 __static_call_update(&STATIC_CALL_KEY(name), \ 156 STATIC_CALL_TRAMP_ADDR(name), __F); \ 159 #define static_call_query(name) (READ_ONCE(STATIC_CALL_KEY(name).func)) argument 183 #define __DEFINE_STATIC_CALL(name, _func, _func_init) \ argument 184 DECLARE_STATIC_CALL(name, _func); \ 185 struct static_call_key STATIC_CALL_KEY(name) = { \ [all …]
|
D | static_call_types.h | 12 #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name) argument 13 #define STATIC_CALL_KEY_STR(name) __stringify(STATIC_CALL_KEY(name)) argument 18 #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name) argument 19 #define STATIC_CALL_TRAMP_STR(name) __stringify(STATIC_CALL_TRAMP(name)) argument 37 #define DECLARE_STATIC_CALL(name, func) \ argument 38 extern struct static_call_key STATIC_CALL_KEY(name); \ 39 extern typeof(func) STATIC_CALL_TRAMP(name); 43 #define __raw_static_call(name) (&STATIC_CALL_TRAMP(name)) argument 52 #define __STATIC_CALL_ADDRESSABLE(name) \ argument 53 __ADDRESSABLE(STATIC_CALL_KEY(name)) [all …]
|
D | btf_ids.h | 47 #define BTF_ID(prefix, name) \ argument 48 __BTF_ID(__ID(__BTF_ID__##prefix##__##name##__)) 65 #define __BTF_ID_LIST(name, scope) \ argument 68 "." #scope " " #name "; \n" \ 69 #name ":; \n" \ 72 #define BTF_ID_LIST(name) \ argument 73 __BTF_ID_LIST(name, local) \ 74 extern u32 name[]; 76 #define BTF_ID_LIST_GLOBAL(name) \ argument 77 __BTF_ID_LIST(name, globl) [all …]
|
D | moduleparam.h | 23 #define __MODULE_INFO(tag, name, info) \ argument 24 static const char __UNIQUE_ID(name)[] \ 28 #define __MODULE_PARM_TYPE(name, _type) \ argument 29 __MODULE_INFO(parmtype, name##type, #name ":" _type) 70 const char *name; member 126 #define module_param(name, type, perm) \ argument 127 module_param_named(name, name, type, perm) 135 #define module_param_unsafe(name, type, perm) \ argument 136 module_param_named_unsafe(name, name, type, perm) 149 #define module_param_named(name, value, type, perm) \ argument [all …]
|
D | crash_core.h | 49 #define VMCOREINFO_SYMBOL(name) \ argument 50 vmcoreinfo_append_str("SYMBOL(%s)=%lx\n", #name, (unsigned long)&name) 51 #define VMCOREINFO_SYMBOL_ARRAY(name) \ argument 52 vmcoreinfo_append_str("SYMBOL(%s)=%lx\n", #name, (unsigned long)name) 53 #define VMCOREINFO_SIZE(name) \ argument 54 vmcoreinfo_append_str("SIZE(%s)=%lu\n", #name, \ 55 (unsigned long)sizeof(name)) 56 #define VMCOREINFO_STRUCT_SIZE(name) \ argument 57 vmcoreinfo_append_str("SIZE(%s)=%lu\n", #name, \ 58 (unsigned long)sizeof(struct name)) [all …]
|
D | notifier.h | 80 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { \ argument 81 spin_lock_init(&(name)->lock); \ 82 (name)->head = NULL; \ 84 #define BLOCKING_INIT_NOTIFIER_HEAD(name) do { \ argument 85 init_rwsem(&(name)->rwsem); \ 86 (name)->head = NULL; \ 88 #define RAW_INIT_NOTIFIER_HEAD(name) do { \ argument 89 (name)->head = NULL; \ 94 #define srcu_cleanup_notifier_head(name) \ argument 95 cleanup_srcu_struct(&(name)->srcu); [all …]
|
D | tracepoint.h | 119 #define __TRACEPOINT_ENTRY(name) \ argument 122 " .long __tracepoint_" #name " - . \n" \ 130 #define __TRACEPOINT_ENTRY(name) \ argument 131 static tracepoint_ptr_t __tracepoint_ptr_##name __used \ 132 __section("__tracepoints_ptrs") = &__tracepoint_##name 165 #define __DO_TRACE_CALL(name, args) \ argument 170 rcu_dereference_raw((&__tracepoint_##name)->funcs); \ 173 static_call(tp_func_##name)(__data, args); \ 177 #define __DO_TRACE_CALL(name, args) __traceiter_##name(NULL, args) argument 184 #define __DO_TRACE(name, args, cond, rcuidle) \ argument [all …]
|
D | hashtable.h | 16 #define DEFINE_HASHTABLE(name, bits) \ argument 17 struct hlist_head name[1 << (bits)] = \ 20 #define DEFINE_READ_MOSTLY_HASHTABLE(name, bits) \ argument 21 struct hlist_head name[1 << (bits)] __read_mostly = \ 24 #define DECLARE_HASHTABLE(name, bits) \ argument 25 struct hlist_head name[1 << (bits)] 27 #define HASH_SIZE(name) (ARRAY_SIZE(name)) argument 28 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) argument 126 #define hash_for_each(name, bkt, obj, member) \ argument 127 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ [all …]
|
D | elfnote.h | 42 #define ELFNOTE_START(name, type, flags) \ 43 .pushsection .note.name, flags,@note ; \ 48 1:.asciz #name ; \ 56 #define ELFNOTE(name, type, desc) \ 57 ELFNOTE_START(name, type, "a") \ 72 #define _ELFNOTE(size, name, unique, type, desc) \ argument 75 unsigned char _name[sizeof(name)] \ 81 __attribute__((section(".note." name), \ 85 sizeof(name), \ 89 name, \ [all …]
|
D | firmware.h | 24 char *name; member 34 #define DECLARE_BUILTIN_FIRMWARE(name, blob) \ argument 35 DECLARE_BUILTIN_FIRMWARE_SIZE(name, &(blob), sizeof(blob)) 37 #define DECLARE_BUILTIN_FIRMWARE_SIZE(name, blob, size) \ argument 39 __used __section(".builtin_fw") = { name, blob, size } 42 int request_firmware(const struct firmware **fw, const char *name, 44 int firmware_request_nowarn(const struct firmware **fw, const char *name, 46 int firmware_request_platform(const struct firmware **fw, const char *name, 50 const char *name, struct device *device, gfp_t gfp, void *context, 52 int request_firmware_direct(const struct firmware **fw, const char *name, [all …]
|
D | srcutree.h | 93 #define __SRCU_STRUCT_INIT(name, pcpu_name) \ argument 96 .lock = __SPIN_LOCK_UNLOCKED(name.lock), \ 98 .work = __DELAYED_WORK_INITIALIZER(name.work, NULL, 0), \ 99 __SRCU_DEP_MAP_INIT(name) \ 122 # define __DEFINE_SRCU(name, is_static) \ argument 123 is_static struct srcu_struct name; \ 124 struct srcu_struct * const __srcu_struct_##name \ 125 __section("___srcu_struct_ptrs") = &name 127 # define __DEFINE_SRCU(name, is_static) \ argument 128 static DEFINE_PER_CPU(struct srcu_data, name##_srcu_data); \ [all …]
|
D | genl_magic_struct.h | 72 #define __flg_field(attr_nr, attr_flag, name) \ argument 73 __field(attr_nr, attr_flag, name, NLA_U8, char, \ 75 #define __u8_field(attr_nr, attr_flag, name) \ argument 76 __field(attr_nr, attr_flag, name, NLA_U8, unsigned char, \ 78 #define __u16_field(attr_nr, attr_flag, name) \ argument 79 __field(attr_nr, attr_flag, name, NLA_U16, __u16, \ 81 #define __u32_field(attr_nr, attr_flag, name) \ argument 82 __field(attr_nr, attr_flag, name, NLA_U32, __u32, \ 84 #define __s32_field(attr_nr, attr_flag, name) \ argument 85 __field(attr_nr, attr_flag, name, NLA_U32, __s32, \ [all …]
|
D | srcutiny.h | 34 #define __SRCU_STRUCT_INIT(name, __ignored) \ argument 36 .srcu_wq = __SWAIT_QUEUE_HEAD_INITIALIZER(name.srcu_wq), \ 37 .srcu_cb_tail = &name.srcu_cb_head, \ 38 .srcu_work = __WORK_INITIALIZER(name.srcu_work, srcu_drive_gp), \ 39 __SRCU_DEP_MAP_INIT(name) \ 46 #define DEFINE_SRCU(name) \ argument 47 struct srcu_struct name = __SRCU_STRUCT_INIT(name, name) 48 #define DEFINE_STATIC_SRCU(name) \ argument 49 static struct srcu_struct name = __SRCU_STRUCT_INIT(name, name)
|
D | debugfs.h | 30 char *name; member 73 struct dentry *debugfs_lookup(const char *name, struct dentry *parent); 75 struct dentry *debugfs_create_file(const char *name, umode_t mode, 78 struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode, 82 void debugfs_create_file_size(const char *name, umode_t mode, 87 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); 89 struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, 92 struct dentry *debugfs_create_automount(const char *name, 100 void debugfs_lookup_and_remove(const char *name, struct dentry *parent); 117 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, [all …]
|
D | proc_fs.h | 90 struct proc_dir_entry *proc_create_mount_point(const char *name); 92 struct proc_dir_entry *proc_create_seq_private(const char *name, umode_t mode, 95 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument 96 proc_create_seq_private(name, mode, parent, ops, 0, data) 97 #define proc_create_seq(name, mode, parent, ops) \ argument 98 proc_create_seq_private(name, mode, parent, ops, 0, NULL) 99 struct proc_dir_entry *proc_create_single_data(const char *name, umode_t mode, 102 #define proc_create_single(name, mode, parent, show) \ argument 103 proc_create_single_data(name, mode, parent, show, NULL) 110 struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, c… [all …]
|
/include/trace/events/ |
D | regulator.h | 17 TP_PROTO(const char *name), 19 TP_ARGS(name), 22 __string( name, name ) 26 __assign_str(name, name); 29 TP_printk("name=%s", __get_str(name)) 35 TP_PROTO(const char *name), 37 TP_ARGS(name) 43 TP_PROTO(const char *name), 45 TP_ARGS(name) 51 TP_PROTO(const char *name), [all …]
|
D | cma.h | 13 TP_PROTO(const char *name, unsigned long pfn, const struct page *page, 16 TP_ARGS(name, pfn, page, count, align), 19 __string(name, name) 27 __assign_str(name, name); 35 __get_str(name), 44 TP_PROTO(const char *name, unsigned long pfn, const struct page *page, 47 TP_ARGS(name, pfn, page, count), 50 __string(name, name) 57 __assign_str(name, name); 64 __get_str(name), [all …]
|
D | host1x.h | 22 TP_PROTO(const char *name), 23 TP_ARGS(name), 24 TP_STRUCT__entry(__field(const char *, name)), 25 TP_fast_assign(__entry->name = name;), 26 TP_printk("name=%s", __entry->name) 30 TP_PROTO(const char *name), 31 TP_ARGS(name) 35 TP_PROTO(const char *name), 36 TP_ARGS(name) 40 TP_PROTO(const char *name), [all …]
|
D | module.h | 39 __string( name, mod->name ) 44 __assign_str(name, mod->name); 47 TP_printk("%s %s", __get_str(name), show_module_flags(__entry->taints)) 57 __string( name, mod->name ) 61 __assign_str(name, mod->name); 64 TP_printk("%s", __get_str(name)) 79 __string( name, mod->name ) 85 __assign_str(name, mod->name); 89 __get_str(name), (void *)__entry->ip, __entry->refcnt) 109 TP_PROTO(char *name, bool wait, unsigned long ip), [all …]
|
D | asoc.h | 27 __string( name, card->name ) 32 __assign_str(name, card->name); 36 TP_printk("card=%s val=%d", __get_str(name), (int)__entry->val) 62 __string( name, card->name ) 66 __assign_str(name, card->name); 69 TP_printk("card=%s", __get_str(name)) 95 __string( name, w->name ) 100 __assign_str(name, w->name); 104 TP_printk("widget=%s val=%d", __get_str(name), 139 __string( name, card->name ) [all …]
|
D | clk.h | 22 __string( name, core->name ) 26 __assign_str(name, core->name); 29 TP_printk("%s", __get_str(name)) 95 __string( name, core->name ) 100 __assign_str(name, core->name); 104 TP_printk("%s %lu", __get_str(name), (unsigned long)__entry->rate) 142 __string( name, core->name ) 148 __assign_str(name, core->name); 153 TP_printk("%s min %lu max %lu", __get_str(name), 172 __string( name, core->name ) [all …]
|
/include/media/ |
D | v4l2-uvc.h | 153 char *name; member 160 .name = "YUV 4:2:2 (YUYV)", 165 .name = "YUV 4:2:2 (YUYV)", 170 .name = "YUV 4:2:0 (NV12)", 175 .name = "MJPEG", 180 .name = "YVU 4:2:0 (YV12)", 185 .name = "YUV 4:2:0 (I420)", 190 .name = "YUV 4:2:0 (M420)", 195 .name = "YUV 4:2:2 (UYVY)", 200 .name = "Greyscale 8-bit (Y800)", [all …]
|
/include/asm-generic/ |
D | export.h | 19 .macro __put, val, name 21 .long \val - ., \name - ., 0 23 .quad \val, \name, 0 25 .long \val, \name, 0 35 .macro ___EXPORT_SYMBOL name,val,sec 37 .section ___ksymtab\sec+\name,"a" 39 __ksymtab_\name: 40 __put \val, __kstrtab_\name 43 __kstrtab_\name: 47 .section ___kcrctab\sec+\name,"a" [all …]
|
/include/trace/hooks/ |
D | vendor_hooks.h | 29 .name = __tpstrtab_##_name, \ 55 #define DECLARE_RESTRICTED_HOOK(name, proto, args, cond) \ argument 56 DEFINE_HOOK_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args)) 63 #define __DO_RESTRICTED_HOOK_CALL(name, args) \ argument 67 it_func_ptr = (&__tracepoint_##name)->funcs; \ 70 static_call(tp_func_##name)(__data, args); \ 74 #define __DO_RESTRICTED_HOOK_CALL(name, args) __traceiter_##name(NULL, args) argument 77 #define DO_RESTRICTED_HOOK(name, args, cond) \ argument 82 __DO_RESTRICTED_HOOK_CALL(name, TP_ARGS(args)); \ 85 #define __DECLARE_RESTRICTED_HOOK(name, proto, args, cond, data_proto) \ argument [all …]
|