Home
last modified time | relevance | path

Searched defs:mod (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/linux-6.14.4/scripts/mod/
Dfile2alias.c48 module_alias_printf(struct module *mod, bool append_wildcard, in module_alias_printf()
185 unsigned char max, struct module *mod) in do_usb_entry()
287 static void do_usb_entry_multi(struct module *mod, void *symval) in do_usb_entry_multi()
352 static void do_of_entry(struct module *mod, void *symval) in do_of_entry()
379 static void do_hid_entry(struct module *mod, void *symval) in do_hid_entry()
397 static void do_ieee1394_entry(struct module *mod, void *symval) in do_ieee1394_entry()
420 static void do_pci_entry(struct module *mod, void *symval) in do_pci_entry()
475 static void do_ccw_entry(struct module *mod, void *symval) in do_ccw_entry()
498 static void do_ap_entry(struct module *mod, void *symval) in do_ap_entry()
506 static void do_css_entry(struct module *mod, void *symval) in do_css_entry()
[all …]
Dmodpost.c164 struct module *mod; in find_module() local
176 struct module *mod; in new_module() local
239 static void sym_add_unresolved(const char *name, struct module *mod, bool weak) in sym_add_unresolved()
249 static struct symbol *sym_find_with_module(const char *name, struct module *mod) in sym_find_with_module()
337 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported()
599 static void handle_symbol(struct module *mod, struct elf_info *info, in handle_symbol()
1052 static void check_export_symbol(struct module *mod, struct elf_info *elf, in check_export_symbol()
1122 static void check_section_mismatch(struct module *mod, struct elf_info *elf, in check_section_mismatch()
1317 static void section_rela(struct module *mod, struct elf_info *elf, in section_rela()
1359 static void section_rel(struct module *mod, struct elf_info *elf, in section_rel()
[all …]
/linux-6.14.4/kernel/module/
Dsysfs.c65 static int add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs()
122 static void remove_sect_attrs(struct module *mod) in remove_sect_attrs()
151 static int add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs()
211 static void remove_notes_attrs(struct module *mod) in remove_notes_attrs()
226 static inline int add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs()
230 static inline void remove_sect_attrs(struct module *mod) { } in remove_sect_attrs()
231 static inline int add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs()
235 static inline void remove_notes_attrs(struct module *mod) { } in remove_notes_attrs()
238 static void del_usage_links(struct module *mod) in del_usage_links()
250 static int add_usage_links(struct module *mod) in add_usage_links()
[all …]
Dmain.c118 static void mod_update_bounds(struct module *mod) in mod_update_bounds()
154 static inline int strong_try_module_get(struct module *mod) in strong_try_module_get()
165 static inline void add_taint_module(struct module *mod, unsigned flag, in add_taint_module()
176 void __noreturn __module_put_and_kthread_exit(struct module *mod, long code) in __module_put_and_kthread_exit()
345 struct module *mod; in find_symbol() local
383 struct module *mod; in find_module_all() local
404 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
409 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
433 static void percpu_modfree(struct module *mod) in percpu_modfree()
443 static void percpu_modcopy(struct module *mod, in percpu_modcopy()
[all …]
Dkallsyms.c25 const struct module *mod) in is_exported()
113 void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab()
170 void add_kallsyms(struct module *mod, const struct load_info *info) in add_kallsyms()
228 void init_build_id(struct module *mod, const struct load_info *info) in init_build_id()
242 void init_build_id(struct module *mod, const struct load_info *info) in init_build_id()
256 static const char *find_kallsyms_symbol(struct module *mod, in find_kallsyms_symbol()
314 void * __weak dereference_module_function_descriptor(struct module *mod, in dereference_module_function_descriptor()
333 struct module *mod; in module_address_lookup() local
360 struct module *mod; in lookup_module_symbol_name() local
386 struct module *mod; in module_get_kallsym() local
[all …]
Dstrict_rwx.c14 static int module_set_memory(const struct module *mod, enum mod_mem_type type, in module_set_memory()
32 int module_enable_text_rox(const struct module *mod) in module_enable_text_rox()
50 int module_enable_rodata_ro(const struct module *mod) in module_enable_rodata_ro()
67 int module_enable_rodata_ro_after_init(const struct module *mod) in module_enable_rodata_ro_after_init()
75 int module_enable_data_nx(const struct module *mod) in module_enable_data_nx()
90 char *secstrings, struct module *mod) in module_enforce_rwx_sections()
Dinternal.h64 struct module *mod; member
85 unsigned int mod; member
151 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf()
156 static inline void free_module_elf(struct module *mod) { } in free_module_elf()
159 static inline bool set_livepatch_module(struct module *mod) in set_livepatch_module()
269 static inline int try_add_tainted_module(struct module *mod) in try_add_tainted_module()
315 static inline void mod_tree_insert(struct module *mod) { } in mod_tree_insert()
316 static inline void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init()
317 static inline void mod_tree_remove(struct module *mod) { } in mod_tree_remove()
320 struct module *mod; in mod_find() local
[all …]
/linux-6.14.4/drivers/net/can/
Djanz-ican3.c292 static inline void ican3_set_page(struct ican3_dev *mod, unsigned int page) in ican3_set_page()
309 static int ican3_old_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_old_recv_msg()
354 static int ican3_old_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_old_send_msg()
391 static void ican3_init_new_host_interface(struct ican3_dev *mod) in ican3_init_new_host_interface()
470 static void ican3_init_fast_host_interface(struct ican3_dev *mod) in ican3_init_fast_host_interface()
558 static int ican3_new_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_new_send_msg()
589 static int ican3_new_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_new_recv_msg()
621 static int ican3_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_send_msg()
637 static int ican3_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) in ican3_recv_msg()
657 static int ican3_msg_connect(struct ican3_dev *mod) in ican3_msg_connect()
[all …]
/linux-6.14.4/sound/soc/renesas/rcar/
Dssi.c82 struct rsnd_mod mod; member
116 #define rsnd_ssi_is_multi_secondary(mod, io) \ argument
118 #define rsnd_ssi_is_run_mods(mod, io) \ argument
120 #define rsnd_ssi_can_output_clk(mod) (!__rsnd_ssi_is_pin_sharing(mod)) argument
124 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_use_busif() local
139 static void rsnd_ssi_status_clear(struct rsnd_mod *mod) in rsnd_ssi_status_clear()
144 static u32 rsnd_ssi_status_get(struct rsnd_mod *mod) in rsnd_ssi_status_get()
149 static void rsnd_ssi_status_check(struct rsnd_mod *mod, in rsnd_ssi_status_check()
179 struct rsnd_mod *mod = rsnd_io_to_mod(io, types[i]); in rsnd_ssi_multi_secondaries() local
266 static int rsnd_ssi_master_clk_start(struct rsnd_mod *mod, in rsnd_ssi_master_clk_start()
[all …]
Dsrc.c34 struct rsnd_mod mod; member
46 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val) argument
68 static void rsnd_src_activation(struct rsnd_mod *mod) in rsnd_src_activation()
74 static void rsnd_src_halt(struct rsnd_mod *mod) in rsnd_src_halt()
81 struct rsnd_mod *mod) in rsnd_src_dma_req()
92 struct rsnd_mod *mod) in rsnd_src_convert_rate()
203 struct rsnd_mod *mod) in rsnd_src_set_convert_rate()
263 struct rsnd_mod *mod) in rsnd_src_init_convert_rate()
409 static int rsnd_src_irq(struct rsnd_mod *mod, in rsnd_src_irq()
448 static void rsnd_src_status_clear(struct rsnd_mod *mod) in rsnd_src_status_clear()
[all …]
Dctu.c73 struct rsnd_mod mod; member
95 static void rsnd_ctu_activation(struct rsnd_mod *mod) in rsnd_ctu_activation()
101 static void rsnd_ctu_halt(struct rsnd_mod *mod) in rsnd_ctu_halt()
107 static int rsnd_ctu_probe_(struct rsnd_mod *mod, in rsnd_ctu_probe_()
115 struct rsnd_mod *mod) in rsnd_ctu_value_init()
152 struct rsnd_mod *mod) in rsnd_ctu_value_reset()
170 static int rsnd_ctu_init(struct rsnd_mod *mod, in rsnd_ctu_init()
187 static int rsnd_ctu_quit(struct rsnd_mod *mod, in rsnd_ctu_quit()
198 static int rsnd_ctu_pcm_new(struct rsnd_mod *mod, in rsnd_ctu_pcm_new()
264 static int rsnd_ctu_id(struct rsnd_mod *mod) in rsnd_ctu_id()
[all …]
Dssiu.c12 struct rsnd_mod mod; member
50 #define rsnd_ssiu_busif_err_irq_enable(mod) rsnd_ssiu_busif_err_irq_ctrl(mod, 1) argument
51 #define rsnd_ssiu_busif_err_irq_disable(mod) rsnd_ssiu_busif_err_irq_ctrl(mod, 0) argument
52 static void rsnd_ssiu_busif_err_irq_ctrl(struct rsnd_mod *mod, int enable) in rsnd_ssiu_busif_err_irq_ctrl()
88 bool rsnd_ssiu_busif_err_status_clear(struct rsnd_mod *mod) in rsnd_ssiu_busif_err_status_clear()
132 static u32 *rsnd_ssiu_get_status(struct rsnd_mod *mod, in rsnd_ssiu_get_status()
142 static int rsnd_ssiu_init(struct rsnd_mod *mod, in rsnd_ssiu_init()
226 static int rsnd_ssiu_quit(struct rsnd_mod *mod, in rsnd_ssiu_quit()
243 static int rsnd_ssiu_init_gen2(struct rsnd_mod *mod, in rsnd_ssiu_init_gen2()
333 static int rsnd_ssiu_start_gen2(struct rsnd_mod *mod, in rsnd_ssiu_start_gen2()
[all …]
Ddvc.c37 struct rsnd_mod mod; member
57 static void rsnd_dvc_activation(struct rsnd_mod *mod) in rsnd_dvc_activation()
63 static void rsnd_dvc_halt(struct rsnd_mod *mod) in rsnd_dvc_halt()
74 struct rsnd_mod *mod) in rsnd_dvc_volume_parameter()
94 struct rsnd_mod *mod) in rsnd_dvc_volume_init()
144 struct rsnd_mod *mod) in rsnd_dvc_volume_update()
178 static int rsnd_dvc_probe_(struct rsnd_mod *mod, in rsnd_dvc_probe_()
185 static int rsnd_dvc_init(struct rsnd_mod *mod, in rsnd_dvc_init()
204 static int rsnd_dvc_quit(struct rsnd_mod *mod, in rsnd_dvc_quit()
215 static int rsnd_dvc_pcm_new(struct rsnd_mod *mod, in rsnd_dvc_pcm_new()
[all …]
Dmix.c39 struct rsnd_mod mod; member
69 static void rsnd_mix_activation(struct rsnd_mod *mod) in rsnd_mix_activation()
75 static void rsnd_mix_halt(struct rsnd_mod *mod) in rsnd_mix_halt()
85 struct rsnd_mod *mod) in rsnd_mix_volume_parameter()
105 struct rsnd_mod *mod) in rsnd_mix_volume_init()
126 struct rsnd_mod *mod) in rsnd_mix_volume_update()
138 static int rsnd_mix_probe_(struct rsnd_mod *mod, in rsnd_mix_probe_()
145 static int rsnd_mix_init(struct rsnd_mod *mod, in rsnd_mix_init()
164 static int rsnd_mix_quit(struct rsnd_mod *mod, in rsnd_mix_quit()
175 static int rsnd_mix_pcm_new(struct rsnd_mod *mod, in rsnd_mix_pcm_new()
[all …]
Ddma.c34 struct rsnd_mod mod; member
82 static int rsnd_dmaen_stop(struct rsnd_mod *mod, in rsnd_dmaen_stop()
89 static int rsnd_dmaen_cleanup(struct rsnd_mod *mod, in rsnd_dmaen_cleanup()
109 static int rsnd_dmaen_prepare(struct rsnd_mod *mod, in rsnd_dmaen_prepare()
138 static int rsnd_dmaen_start(struct rsnd_mod *mod, in rsnd_dmaen_start()
192 struct rsnd_mod *mod, char *x) in rsnd_dma_request_channel()
257 static int rsnd_dmaen_pointer(struct rsnd_mod *mod, in rsnd_dmaen_pointer()
319 struct rsnd_mod *mod) in rsnd_dmapp_get_id()
371 struct rsnd_mod *mod = rsnd_mod_get(dma); in rsnd_dmapp_write() local
383 struct rsnd_mod *mod = rsnd_mod_get(dma); in rsnd_dmapp_read() local
[all …]
Dcmd.c11 struct rsnd_mod mod; member
23 static int rsnd_cmd_init(struct rsnd_mod *mod, in rsnd_cmd_init()
99 static int rsnd_cmd_start(struct rsnd_mod *mod, in rsnd_cmd_start()
108 static int rsnd_cmd_stop(struct rsnd_mod *mod, in rsnd_cmd_stop()
120 struct rsnd_mod *mod) in rsnd_cmd_debug_info()
149 struct rsnd_mod *mod = rsnd_cmd_mod_get(priv, id); in rsnd_cmd_attach() local
Dcore.c116 void rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type) in rsnd_mod_make_sure()
128 struct rsnd_mod *mod) in rsnd_mod_dma_req()
138 char *rsnd_mod_name(struct rsnd_mod *mod) in rsnd_mod_name()
167 u32 *rsnd_mod_get_status(struct rsnd_mod *mod, in rsnd_mod_get_status()
174 int rsnd_mod_id_raw(struct rsnd_mod *mod) in rsnd_mod_id_raw()
179 int rsnd_mod_id(struct rsnd_mod *mod) in rsnd_mod_id()
187 int rsnd_mod_id_sub(struct rsnd_mod *mod) in rsnd_mod_id_sub()
196 struct rsnd_mod *mod, in rsnd_mod_init()
216 void rsnd_mod_quit(struct rsnd_mod *mod) in rsnd_mod_quit()
222 void rsnd_mod_interrupt(struct rsnd_mod *mod, in rsnd_mod_interrupt()
[all …]
/linux-6.14.4/arch/loongarch/kernel/
Dmodule.c47 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none()
60 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32()
67 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64()
74 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel()
80 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute()
86 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_dup()
105 static int apply_r_larch_sop_push_plt_pcrel(struct module *mod, in apply_r_larch_sop_push_plt_pcrel()
120 static int apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop()
166 static int apply_r_larch_sop_imm_field(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_imm_field()
257 static int apply_r_larch_add_sub(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_add_sub()
[all …]
/linux-6.14.4/lib/
Dcodetag.c24 struct module *mod; member
128 static void *get_symbol(struct module *mod, const char *prefix, const char *name) in get_symbol()
148 static struct codetag_range get_section_range(struct module *mod, in get_section_range()
157 static const char *get_mod_name(__maybe_unused struct module *mod) in get_mod_name()
166 static int codetag_module_init(struct codetag_type *cttype, struct module *mod) in codetag_module_init()
213 bool codetag_needs_module_section(struct module *mod, const char *name, in codetag_needs_module_section()
241 void *codetag_alloc_module_section(struct module *mod, const char *name, in codetag_alloc_module_section()
266 void codetag_free_module_sections(struct module *mod) in codetag_free_module_sections()
282 void codetag_module_replaced(struct module *mod, struct module *new_mod) in codetag_module_replaced()
298 void codetag_load_module(struct module *mod) in codetag_load_module()
[all …]
/linux-6.14.4/sound/soc/intel/avs/
Dpath.c33 struct avs_path_module *mod; in avs_path_find_module() local
145 static int avs_copier_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_copier_create()
265 static struct avs_control_data *avs_get_module_control(struct avs_path_module *mod) in avs_get_module_control()
288 static int avs_peakvol_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_peakvol_create()
324 static int avs_updown_mix_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_updown_mix_create()
346 static int avs_src_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_src_create()
363 static int avs_asrc_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_asrc_create()
383 static int avs_aec_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_aec_create()
402 static int avs_mux_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_mux_create()
420 static int avs_wov_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_wov_create()
[all …]
/linux-6.14.4/kernel/printk/
Dindex.c20 static struct pi_entry *pi_get_entry(const struct module *mod, loff_t pos) in pi_get_entry()
45 const struct module *mod = s->file->f_inode->i_private; in pi_next() local
128 static const char *pi_get_module_name(struct module *mod) in pi_get_module_name()
133 static const char *pi_get_module_name(struct module *mod) in pi_get_module_name()
139 static void pi_create_file(struct module *mod) in pi_create_file()
146 static void pi_remove_file(struct module *mod) in pi_remove_file()
154 struct module *mod = data; in pi_module_notify() local
/linux-6.14.4/include/linux/
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
32 #define try_then_request_module(x, mod...) (x) argument
Dcodetag.h98 codetag_needs_module_section(struct module *mod, const char *name, in codetag_needs_module_section()
101 codetag_alloc_module_section(struct module *mod, const char *name, in codetag_alloc_module_section()
104 static inline void codetag_free_module_sections(struct module *mod) {} in codetag_free_module_sections()
105 static inline void codetag_module_replaced(struct module *mod, struct module *new_mod) {} in codetag_module_replaced()
106 static inline void codetag_load_module(struct module *mod) {} in codetag_load_module()
107 static inline void codetag_unload_module(struct module *mod) {} in codetag_unload_module()
/linux-6.14.4/drivers/gpu/drm/tilcdc/
Dtilcdc_panel.c40 struct panel_module *mod; member
86 struct panel_module *mod) in panel_encoder_create()
123 struct panel_module *mod; member
187 struct panel_module *mod, struct drm_encoder *encoder) in panel_connector_create()
225 static int panel_modeset_init(struct tilcdc_module *mod, struct drm_device *dev) in panel_modeset_init()
309 struct tilcdc_module *mod; in panel_probe() local
373 struct tilcdc_module *mod = dev_get_platdata(&pdev->dev); in panel_remove() local
/linux-6.14.4/arch/x86/kernel/
Dalternative.c396 struct module *mod) in alt_replace_call()
454 struct module *mod) in apply_alternatives()
735 struct module *mod) in apply_retpolines()
814 struct module *mod) in apply_returns()
857 struct module *mod) { } in apply_returns()
863 struct module *mod) { } in apply_retpolines()
865 struct module *mod) { } in apply_returns()
901 void __init_or_module noinline apply_seal_endbr(s32 *start, s32 *end, struct module *mod) in apply_seal_endbr()
917 void __init_or_module apply_seal_endbr(s32 *start, s32 *end, struct module *mod) { } in apply_seal_endbr()
1139 static int cfi_disable_callers(s32 *start, s32 *end, struct module *mod) in cfi_disable_callers()
[all …]

12345678910>>...14