Searched refs:mod (Results 26 - 50 of 447) sorted by relevance

1234567891011>>

/linux-master/kernel/
H A Dcfi.c49 struct module *mod)
54 mod->kcfi_traps = NULL;
55 mod->kcfi_traps_end = NULL;
63 mod->kcfi_traps = (s32 *)sechdrs[i].sh_addr;
64 mod->kcfi_traps_end = (s32 *)(sechdrs[i].sh_addr + sechdrs[i].sh_size);
71 struct module *mod; local
76 mod = __module_address(addr);
77 if (mod)
78 found = is_trap(addr, mod->kcfi_traps, mod
48 module_cfi_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod) argument
[all...]
H A Dstatic_call_inline.c158 .mod = NULL,
164 struct module *mod = site_mod->mod; local
179 if (mod) {
181 stop = mod->static_call_sites +
182 mod->num_static_call_sites;
183 init = mod->state == MODULE_STATE_COMING;
220 static int __static_call_init(struct module *mod, argument
236 if ((mod && within_module_init((unsigned long)site_addr, mod)) ||
325 struct module *mod; local
364 static_call_add_module(struct module *mod) argument
403 static_call_del_module(struct module *mod) argument
435 struct module *mod = data; local
[all...]
H A Djump_label.c548 struct module *mod; member in struct:static_key_mod
564 struct static_key_mod *mod)
568 WARN_ON_ONCE((unsigned long)mod & JUMP_TYPE_MASK);
570 key->next = mod;
576 struct module *mod; local
580 mod = __module_text_address((unsigned long)start);
581 WARN_ON_ONCE(__module_text_address((unsigned long)end) != mod);
582 if (!try_module_get(mod))
583 mod = NULL;
586 if (!mod)
563 static_key_set_mod(struct static_key *key, struct static_key_mod *mod) argument
600 struct static_key_mod *mod; local
623 jump_label_add_module(struct module *mod) argument
685 jump_label_del_module(struct module *mod) argument
739 struct module *mod = data; local
811 struct module *mod; local
[all...]
/linux-master/sound/soc/sh/rcar/
H A Dcmd.c11 struct rsnd_mod mod; member in struct:rsnd_cmd
23 static int rsnd_cmd_init(struct rsnd_mod *mod, argument
41 if (ARRAY_SIZE(path) < rsnd_mod_id(mod) + 1)
90 rsnd_mod_write(mod, CMD_ROUTE_SLCT, data);
91 rsnd_mod_write(mod, CMD_BUSIF_MODE, rsnd_get_busif_shift(io, mod) | 1);
92 rsnd_mod_write(mod, CMD_BUSIF_DALIGN, rsnd_get_dalign(mod, io));
94 rsnd_adg_set_cmd_timsel_gen2(mod, io);
99 static int rsnd_cmd_start(struct rsnd_mod *mod, argument
108 rsnd_cmd_stop(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
118 rsnd_cmd_debug_info(struct seq_file *m, struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
149 struct rsnd_mod *mod = rsnd_cmd_mod_get(priv, id); local
[all...]
H A Ddma.c35 struct rsnd_mod mod; member in struct:rsnd_dma
54 #define rsnd_mod_to_dma(_mod) container_of((_mod), struct rsnd_dma, mod)
69 static void __rsnd_dmaen_complete(struct rsnd_mod *mod, argument
78 struct rsnd_mod *mod = data; local
80 rsnd_mod_interrupt(mod, __rsnd_dmaen_complete);
97 static int rsnd_dmaen_stop(struct rsnd_mod *mod, argument
101 struct rsnd_dma *dma = rsnd_mod_to_dma(mod);
110 static int rsnd_dmaen_cleanup(struct rsnd_mod *mod, argument
114 struct rsnd_dma *dma = rsnd_mod_to_dma(mod);
130 static int rsnd_dmaen_prepare(struct rsnd_mod *mod, argument
159 rsnd_dmaen_start(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
240 rsnd_dma_request_channel(struct device_node *of_node, char *name, struct rsnd_mod *mod, char *x) argument
306 rsnd_dmaen_pointer(struct rsnd_mod *mod, struct rsnd_dai_stream *io, snd_pcm_uframes_t *pointer) argument
379 rsnd_dmapp_get_id(struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
432 struct rsnd_mod *mod = rsnd_mod_get(dma); local
444 struct rsnd_mod *mod = rsnd_mod_get(dma); local
453 struct rsnd_mod *mod = rsnd_mod_get(dma); local
465 rsnd_dmapp_stop(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
483 rsnd_dmapp_start(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
518 rsnd_dmapp_debug_info(struct seq_file *m, struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
582 rsnd_gen2_dma_addr(struct rsnd_dai_stream *io, struct rsnd_mod *mod, int is_play, int is_from) argument
665 rsnd_gen4_dma_addr(struct rsnd_dai_stream *io, struct rsnd_mod *mod, int is_play, int is_from) argument
686 rsnd_dma_addr(struct rsnd_dai_stream *io, struct rsnd_mod *mod, int is_play, int is_from) argument
718 struct rsnd_mod *mod[MOD_MAX]; local
815 rsnd_dma_alloc(struct rsnd_dai_stream *io, struct rsnd_mod *mod, struct rsnd_mod **dma_mod) argument
891 rsnd_dma_attach(struct rsnd_dai_stream *io, struct rsnd_mod *mod, struct rsnd_mod **dma_mod) argument
[all...]
/linux-master/net/can/
H A Dgw.c99 struct cf_mod *mod);
133 struct cf_mod mod; member in struct:cgw_job
154 struct cf_mod *mod) { op ; }
156 MODFUNC(mod_and_id, cf->can_id &= mod->modframe.and.can_id)
157 MODFUNC(mod_and_len, cf->len &= mod->modframe.and.len)
158 MODFUNC(mod_and_flags, cf->flags &= mod->modframe.and.flags)
159 MODFUNC(mod_and_data, *(u64 *)cf->data &= *(u64 *)mod->modframe.and.data)
160 MODFUNC(mod_or_id, cf->can_id |= mod->modframe.or.can_id)
161 MODFUNC(mod_or_len, cf->len |= mod->modframe.or.len)
162 MODFUNC(mod_or_flags, cf->flags |= mod
173 mod_and_fddata(struct canfd_frame *cf, struct cf_mod *mod) argument
181 mod_or_fddata(struct canfd_frame *cf, struct cf_mod *mod) argument
189 mod_xor_fddata(struct canfd_frame *cf, struct cf_mod *mod) argument
197 mod_set_fddata(struct canfd_frame *cf, struct cf_mod *mod) argument
237 mod_and_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) argument
244 mod_or_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) argument
251 mod_xor_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) argument
258 mod_set_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) argument
800 cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod, u8 gwtype, void *gwtypeattr, u8 *limhops) argument
1062 struct cf_mod mod; local
1182 struct cf_mod mod; local
[all...]
/linux-master/kernel/printk/
H A Dindex.c20 static struct pi_entry *pi_get_entry(const struct module *mod, loff_t pos) argument
26 if (mod) {
27 entries = mod->printk_index_start;
28 nr_entries = mod->printk_index_size;
45 const struct module *mod = s->file->f_inode->i_private; local
46 struct pi_entry *entry = pi_get_entry(mod, *pos);
128 static const char *pi_get_module_name(struct module *mod) argument
130 return mod ? mod->name : "vmlinux";
133 static const char *pi_get_module_name(struct module *mod) argument
139 pi_create_file(struct module *mod) argument
142 mod, &dfs_index_fops); local
146 pi_remove_file(struct module *mod) argument
154 struct module *mod = data; local
[all...]
/linux-master/include/linux/
H A Dmoduleloader.h23 struct module *mod);
26 unsigned int arch_mod_section_prepend(struct module *mod, unsigned int section);
59 struct module *mod);
82 struct module *mod);
116 struct module *mod);
127 void module_arch_cleanup(struct module *mod);
129 /* Any cleanup before freeing mod->module_init */
130 void module_arch_freeing_init(struct module *mod);
H A Dcfi.h41 struct module *mod);
45 struct module *mod) {}
43 module_cfi_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod) argument
/linux-master/arch/powerpc/include/asm/
H A Dmodule.h78 int module_trampoline_target(struct module *mod, unsigned long trampoline,
80 int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs);
82 static inline int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs) argument
/linux-master/lib/
H A Dbug.c69 struct module *mod; local
73 list_for_each_entry_rcu(mod, &module_bug_list, bug_list) {
76 bug = mod->bug_table;
77 for (i = 0; i < mod->num_bugs; ++i, ++bug)
89 struct module *mod)
94 mod->bug_table = NULL;
95 mod->num_bugs = 0;
102 mod->bug_table = (void *) sechdrs[i].sh_addr;
103 mod->num_bugs = sechdrs[i].sh_size / sizeof(struct bug_entry);
114 list_add_rcu(&mod
88 module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod) argument
117 module_bug_cleanup(struct module *mod) argument
236 struct module *mod; local
[all...]
H A Donce.c25 static void once_disable_jump(struct static_key_true *key, struct module *mod) argument
35 w->module = mod;
36 __module_get(mod);
61 unsigned long *flags, struct module *mod)
66 once_disable_jump(once_key, mod);
91 struct module *mod)
96 once_disable_jump(once_key, mod);
H A Derror-inject.c108 static void module_load_ei_list(struct module *mod) argument
110 if (!mod->num_ei_funcs)
113 populate_error_injection_list(mod->ei_funcs,
114 mod->ei_funcs + mod->num_ei_funcs, mod);
117 static void module_unload_ei_list(struct module *mod) argument
121 if (!mod->num_ei_funcs)
126 if (ent->priv == mod) {
138 struct module *mod local
[all...]
/linux-master/arch/loongarch/kernel/
H A Dmodule-sections.c12 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) argument
14 struct mod_section *got_sec = &mod->arch.got;
31 pr_err("%s: module contains bad GOT relocation\n", mod->name);
38 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) argument
41 struct mod_section *plt_sec = &mod->arch.plt;
42 struct mod_section *plt_idx_sec = &mod->arch.plt_idx;
105 char *secstrings, struct module *mod)
115 mod->arch.got.shndx = i;
117 mod->arch.plt.shndx = i;
119 mod
104 module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
[all...]
/linux-master/arch/arm/kernel/
H A Dmodule-plts.c46 u32 get_module_plt(struct module *mod, unsigned long loc, Elf32_Addr val) argument
48 struct mod_plt_sec *pltsec = !within_module_init(loc, mod) ?
49 &mod->arch.core : &mod->arch.init;
210 char *secstrings, struct module *mod)
223 mod->arch.core.plt = s;
225 mod->arch.init.plt = s;
230 if (!mod->arch.core.plt || !mod->arch.init.plt) {
231 pr_err("%s: module PLT section(s) missing\n", mod
209 module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
285 struct module *mod; local
[all...]
/linux-master/kernel/module/
H A Dsigning.c43 int mod_verify_sig(const void *mod, struct load_info *info) argument
54 memcpy(&ms, mod + (modlen - sizeof(ms)), sizeof(ms));
64 return verify_pkcs7_signature(mod, modlen, mod + modlen, sig_len,
75 const void *mod = info->hdr; local
84 memcmp(mod + info->len - markerlen, MODULE_SIG_STRING, markerlen) == 0) {
87 err = mod_verify_sig(mod, info);
H A Dversion.c15 struct module *mod,
29 return try_to_force_load(mod, symname) == 0;
59 struct module *mod)
76 return check_version(info, "module_layout", mod, fsa.crc);
94 void module_layout(struct module *mod, argument
13 check_version(const struct load_info *info, const char *symname, struct module *mod, const s32 *crc) argument
58 check_modstruct_version(const struct load_info *info, struct module *mod) argument
H A Ddebug_kmemleak.c12 void kmemleak_load_module(const struct module *mod, argument
18 kmemleak_scan_area(mod, sizeof(struct module), GFP_KERNEL);
/linux-master/sound/soc/intel/avs/
H A Dpath.c32 struct avs_path_module *mod; local
34 list_for_each_entry(mod, &ppl->mod_list, node)
35 if (mod->template->id == template_id)
36 return mod;
144 static int avs_copier_create(struct avs_dev *adev, struct avs_path_module *mod) argument
147 struct avs_tplg_module *t = mod->template;
221 node_id.vindex = mod->owner->owner->dma_id;
227 mod->owner->owner->dma_id;
259 mod->gtw_attrs = cfg->gtw_cfg.config.attrs;
261 ret = avs_dsp_init_module(adev, mod
267 avs_get_module_control(struct avs_path_module *mod) argument
290 avs_peakvol_create(struct avs_dev *adev, struct avs_path_module *mod) argument
326 avs_updown_mix_create(struct avs_dev *adev, struct avs_path_module *mod) argument
348 avs_src_create(struct avs_dev *adev, struct avs_path_module *mod) argument
365 avs_asrc_create(struct avs_dev *adev, struct avs_path_module *mod) argument
384 avs_aec_create(struct avs_dev *adev, struct avs_path_module *mod) argument
403 avs_mux_create(struct avs_dev *adev, struct avs_path_module *mod) argument
421 avs_wov_create(struct avs_dev *adev, struct avs_path_module *mod) argument
438 avs_micsel_create(struct avs_dev *adev, struct avs_path_module *mod) argument
455 avs_modbase_create(struct avs_dev *adev, struct avs_path_module *mod) argument
471 avs_modext_create(struct avs_dev *adev, struct avs_path_module *mod) argument
511 avs_probe_create(struct avs_dev *adev, struct avs_path_module *mod) argument
539 avs_path_module_type_create(struct avs_dev *adev, struct avs_path_module *mod) argument
550 avs_path_module_send_init_configs(struct avs_dev *adev, struct avs_path_module *mod) argument
577 avs_path_module_free(struct avs_dev *adev, struct avs_path_module *mod) argument
587 struct avs_path_module *mod; local
696 struct avs_path_module *mod; local
729 struct avs_path_module *mod, *save; local
779 struct avs_path_module *mod; local
[all...]
/linux-master/scripts/mod/
H A Dmodpost.c165 struct module *mod; local
167 list_for_each_entry(mod, &modules, list) {
168 if (strcmp(mod->name, modname) == 0)
169 return mod;
176 struct module *mod; local
178 mod = NOFAIL(malloc(sizeof(*mod) + namelen + 1));
179 memset(mod, 0, sizeof(*mod));
181 INIT_LIST_HEAD(&mod
260 sym_add_unresolved(const char *name, struct module *mod, bool weak) argument
270 sym_find_with_module(const char *name, struct module *mod) argument
361 sym_add_exported(const char *name, struct module *mod, bool gpl_only, const char *namespace) argument
613 handle_symbol(struct module *mod, struct elf_info *info, const Elf_Sym *sym, const char *symname) argument
1083 check_export_symbol(struct module *mod, struct elf_info *elf, Elf_Addr faddr, const char *secname, Elf_Sym *sym) argument
1153 check_section_mismatch(struct module *mod, struct elf_info *elf, Elf_Sym *sym, unsigned int fsecndx, const char *fromsec, Elf_Addr faddr, Elf_Addr taddr) argument
1382 section_rela(struct module *mod, struct elf_info *elf, unsigned int fsecndx, const char *fromsec, const Elf_Rela *start, const Elf_Rela *stop) argument
1424 section_rel(struct module *mod, struct elf_info *elf, unsigned int fsecndx, const char *fromsec, const Elf_Rel *start, const Elf_Rel *stop) argument
1473 check_sec_ref(struct module *mod, struct elf_info *elf) argument
1522 extract_crcs_for_object(const char *object, struct module *mod) argument
1590 mod_set_crcs(struct module *mod) argument
1622 struct module *mod; local
1737 check_exports(struct module *mod) argument
1798 check_modname_len(struct module *mod) argument
1814 add_header(struct buffer *b, struct module *mod) argument
1867 add_exported_symbols(struct buffer *buf, struct module *mod) argument
1905 add_versions(struct buffer *b, struct module *mod) argument
1936 add_depends(struct buffer *b, struct module *mod) argument
1969 add_srcversion(struct buffer *b, struct module *mod) argument
2035 write_vmlinux_export_c_file(struct module *mod) argument
2048 write_mod_c_file(struct module *mod) argument
2090 struct module *mod; local
2138 struct module *mod; local
2160 struct module *mod; local
2188 struct module *mod; local
[all...]
/linux-master/arch/arm/mach-imx/
H A Dhardware.h16 #define addr_in_module(addr, mod) \
17 ((unsigned long)(addr) - mod ## _BASE_ADDR < mod ## _SIZE)
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_mod_race.c36 * ret = mod->init()
66 * module. This is why try_get_module_live returns false if mod->state is not
84 int BPF_PROG(fexit_init_module, struct module *mod, int ret) argument
94 int BPF_PROG(fexit_module_get, const struct btf *btf, struct module *mod) argument
96 res_try_get_module = !!mod;
/linux-master/scripts/
H A Dnsdeps34 local mod=${1%.ko:}
37 local mod_source_files=$(sed "s|^\(.*\)\.o$|${src_prefix}\1.c|" $mod.mod)
40 echo "Adding namespace $ns to module $mod.ko."
/linux-master/arch/arc/kernel/
H A Dmodule.c27 char *secstr, struct module *mod)
30 mod->arch.unw_sec_idx = 0;
31 mod->arch.unw_info = NULL;
33 mod->arch.secstr = secstr;
37 void module_arch_cleanup(struct module *mod) argument
40 if (mod->arch.unw_info)
41 unwind_remove_table(mod->arch.unw_info, 0);
133 struct module *mod)
137 int unwsec = mod->arch.unw_sec_idx;
140 unw = unwind_add_table(mod, (voi
26 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstr, struct module *mod) argument
132 module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod) argument
[all...]
/linux-master/tools/perf/arch/powerpc/util/
H A Dskip-callchain-idx.c97 static Dwarf_Frame *get_eh_frame(Dwfl_Module *mod, Dwarf_Addr pc) argument
104 cfi = dwfl_module_eh_cfi(mod, &bias);
122 static Dwarf_Frame *get_dwarf_frame(Dwfl_Module *mod, Dwarf_Addr pc) argument
129 cfi = dwfl_module_dwarf_cfi(mod, &bias);
156 Dwfl_Module *mod; local
173 mod = dwfl_report_elf(dwfl, exec_file, exec_file, -1,
175 if (!mod) {
189 mod = dwfl_addrmodule(dwfl, pc);
190 if (!mod) {
199 frame = get_eh_frame(mod, p
[all...]

Completed in 238 milliseconds

1234567891011>>