Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 25 of 32) sorted by relevance

12

/include/linux/
Dcodetag.h44 void (*module_replaced)(struct module *mod, struct module *new_mod);
45 bool (*needs_section_mem)(struct module *mod, unsigned long size);
46 void *(*alloc_section_mem)(struct module *mod, unsigned long size,
48 void (*free_section_mem)(struct module *mod, bool used);
85 bool codetag_needs_module_section(struct module *mod, const char *name,
87 void *codetag_alloc_module_section(struct module *mod, const char *name,
90 void codetag_free_module_sections(struct module *mod);
91 void codetag_module_replaced(struct module *mod, struct module *new_mod);
92 void codetag_load_module(struct module *mod);
93 void codetag_unload_module(struct module *mod);
[all …]
Dkmod.h25 #define request_module(mod...) __request_module(true, mod) argument
26 #define request_module_nowait(mod...) __request_module(false, mod) argument
27 #define try_then_request_module(x, mod...) \ argument
28 ((x) ?: (__request_module(true, mod), (x)))
32 #define try_then_request_module(x, mod...) (x) argument
Dmoduleloader.h23 struct module *mod);
26 unsigned int arch_mod_section_prepend(struct module *mod, unsigned int section);
52 struct module *mod);
75 struct module *mod);
109 struct module *mod);
120 void module_arch_cleanup(struct module *mod);
123 void module_arch_freeing_init(struct module *mod);
Dmodule.h48 struct module *mod; member
329 struct module *mod; member
627 static inline bool module_is_live(struct module *mod) in module_is_live() argument
629 return mod->state != MODULE_STATE_GOING; in module_is_live()
632 static inline bool module_is_coming(struct module *mod) in module_is_coming() argument
634 return mod->state == MODULE_STATE_COMING; in module_is_coming()
645 const struct module *mod, in within_module_mem_type() argument
650 base = (unsigned long)mod->mem[type].base; in within_module_mem_type()
651 size = mod->mem[type].size; in within_module_mem_type()
656 const struct module *mod) in within_module_core() argument
[all …]
Dlivepatch.h127 struct module *mod; member
160 struct module *mod; member
198 int klp_module_coming(struct module *mod);
199 void klp_module_going(struct module *mod);
240 static inline int klp_module_coming(struct module *mod) { return 0; } in klp_module_coming() argument
241 static inline void klp_module_going(struct module *mod) {} in klp_module_going() argument
Dkallsyms.h52 struct module *mod; in dereference_symbol_descriptor() local
59 mod = __module_address((unsigned long)ptr); in dereference_symbol_descriptor()
61 if (mod) in dereference_symbol_descriptor()
62 ptr = dereference_module_function_descriptor(mod, ptr); in dereference_symbol_descriptor()
Dcfi.h41 struct module *mod);
45 struct module *mod) {} in module_cfi_finalize() argument
Donce.h13 unsigned long *flags, struct module *mod);
18 struct module *mod);
Dnotifier.h126 #define _SRCU_NOTIFIER_HEAD(name, mod) \ argument
128 mod struct srcu_notifier_head name = \
132 #define _SRCU_NOTIFIER_HEAD(name, mod) \ argument
133 mod struct srcu_notifier_head name = \
Dftrace.h306 void ftrace_free_mem(struct module *mod, void *start, void *end);
312 static inline void ftrace_free_mem(struct module *mod, void *start, void *end) { } in ftrace_free_mem() argument
406 static inline void ftrace_free_mem(struct module *mod, void *start, void *end) { } in ftrace_free_mem() argument
755 extern int ftrace_make_nop(struct module *mod,
797 static inline int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec) in ftrace_init_nop() argument
799 return ftrace_make_nop(mod, rec, MCOUNT_ADDR); in ftrace_init_nop()
864 extern void ftrace_module_init(struct module *mod);
865 extern void ftrace_module_enable(struct module *mod);
866 extern void ftrace_release_mod(struct module *mod);
869 static inline void ftrace_module_init(struct module *mod) { } in ftrace_module_init() argument
[all …]
Dmoduleparam.h71 struct module *mod; member
307 extern void kernel_param_lock(struct module *mod);
308 extern void kernel_param_unlock(struct module *mod);
310 static inline void kernel_param_lock(struct module *mod) in kernel_param_lock() argument
313 static inline void kernel_param_unlock(struct module *mod) in kernel_param_unlock() argument
601 extern int module_param_sysfs_setup(struct module *mod,
605 extern void module_param_sysfs_remove(struct module *mod);
607 static inline int module_param_sysfs_setup(struct module *mod, in module_param_sysfs_setup() argument
614 static inline void module_param_sysfs_remove(struct module *mod) in module_param_sysfs_remove() argument
Dmost.h234 struct module *mod; member
266 struct module *mod; member
Dstatic_call.h171 struct module *mod; /* for vmlinux, mod == NULL */ member
182 extern int static_call_mod_init(struct module *mod);
Dccp.h378 struct scatterlist *mod; member
579 struct scatterlist *mod; member
Dtracepoint.h61 struct module *mod; member
64 bool trace_module_has_bad_taint(struct module *mod);
75 static inline bool trace_module_has_bad_taint(struct module *mod) in trace_module_has_bad_taint() argument
96 void for_each_tracepoint_in_module(struct module *mod, in for_each_tracepoint_in_module() argument
Dgunyah.h68 struct module *mod; member
89 struct module *mod; member
135 .mod = THIS_MODULE, \
/include/trace/events/
Dmodule.h33 TP_PROTO(struct module *mod),
35 TP_ARGS(mod),
39 __string( name, mod->name )
43 __entry->taints = mod->taints;
52 TP_PROTO(struct module *mod),
54 TP_ARGS(mod),
57 __string( name, mod->name )
72 TP_PROTO(struct module *mod, unsigned long ip),
74 TP_ARGS(mod, ip),
79 __string( name, mod->name )
[all …]
/include/trace/hooks/
Dmodule.h15 TP_PROTO(const struct module *mod),
16 TP_ARGS(mod));
19 TP_PROTO(const struct module *mod),
20 TP_ARGS(mod));
23 TP_PROTO(const struct module *mod),
24 TP_ARGS(mod));
/include/linux/iio/imu/
Dadis.h456 #define ADIS_MOD_CHAN(_type, mod, addr, si, info_sep, info_all, bits) { \ argument
459 .channel2 = IIO_MOD_ ## mod, \
474 #define ADIS_ACCEL_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
475 ADIS_MOD_CHAN(IIO_ACCEL, mod, addr, si, info_sep, info_all, bits)
477 #define ADIS_GYRO_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
478 ADIS_MOD_CHAN(IIO_ANGL_VEL, mod, addr, si, info_sep, info_all, bits)
480 #define ADIS_INCLI_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
481 ADIS_MOD_CHAN(IIO_INCLI, mod, addr, si, info_sep, info_all, bits)
483 #define ADIS_ROT_CHAN(mod, addr, si, info_sep, info_all, bits) \ argument
484 ADIS_MOD_CHAN(IIO_ROT, mod, addr, si, info_sep, info_all, bits)
/include/linux/iio/common/
Dst_sensors.h53 #define ST_SENSORS_LSM_CHANNELS_EXT(device_type, mask, index, mod, \ argument
57 .modified = mod, \
73 #define ST_SENSORS_LSM_CHANNELS(device_type, mask, index, mod, \ argument
75 ST_SENSORS_LSM_CHANNELS_EXT(device_type, mask, index, mod, \
/include/crypto/internal/
Decc.h226 void vli_mod_inv(u64 *result, const u64 *input, const u64 *mod,
241 const u64 *mod, unsigned int ndigits);
/include/linux/mtd/
Dmtd.h602 u32 mod; in mtd_align_erase_req() local
607 mod = mtd_mod_by_eb(req->addr, mtd); in mtd_align_erase_req()
608 if (mod) { in mtd_align_erase_req()
609 req->addr -= mod; in mtd_align_erase_req()
610 req->len += mod; in mtd_align_erase_req()
613 mod = mtd_mod_by_eb(req->addr + req->len, mtd); in mtd_align_erase_req()
614 if (mod) in mtd_align_erase_req()
615 req->len += mtd->erasesize - mod; in mtd_align_erase_req()
/include/sound/
Dseq_device.h68 struct module *mod);
/include/net/
Dipv6.h220 #define _DEVINC(net, statname, mod, idev, field) \ argument
224 mod##SNMP_INC_STATS64((_idev)->stats.statname, (field));\
225 mod##SNMP_INC_STATS64((net)->mib.statname##_statistics, (field));\
229 #define _DEVINCATOMIC(net, statname, mod, idev, field) \ argument
234 mod##SNMP_INC_STATS((net)->mib.statname##_statistics, (field));\
246 #define _DEVADD(net, statname, mod, idev, field, val) \ argument
250 mod##SNMP_ADD_STATS((_idev)->stats.statname, (field), (val)); \
251 mod##SNMP_ADD_STATS((net)->mib.statname##_statistics, (field), (val));\
254 #define _DEVUPD(net, statname, mod, idev, field, val) \ argument
258 mod##SNMP_UPD_PO_STATS((_idev)->stats.statname, field, (val)); \
[all …]
/include/linux/usb/
Dcomposite.h215 struct module *mod; member
579 struct module *mod; member
610 .mod = THIS_MODULE, \

12