/linux-6.12.1/kernel/module/ |
D | sysfs.c | 72 static int add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs() 130 static void remove_sect_attrs(struct module *mod) in remove_sect_attrs() 166 static int add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs() 225 static void remove_notes_attrs(struct module *mod) in remove_notes_attrs() 232 static inline int add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs() 236 static inline void remove_sect_attrs(struct module *mod) { } in remove_sect_attrs() 237 static inline int add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs() 241 static inline void remove_notes_attrs(struct module *mod) { } in remove_notes_attrs() 244 static void del_usage_links(struct module *mod) in del_usage_links() 256 static int add_usage_links(struct module *mod) in add_usage_links() [all …]
|
D | main.c | 118 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() 313 struct module *mod; in find_symbol() local 351 struct module *mod; in find_module_all() local 372 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu() 377 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc() 401 static void percpu_modfree(struct module *mod) in percpu_modfree() 411 static void percpu_modcopy(struct module *mod, in percpu_modcopy() [all …]
|
D | kallsyms.c | 25 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 …]
|
D | internal.h | 64 struct module *mod; member 83 unsigned int sym, str, mod, vers, info, pcpu; member 144 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf() 149 static inline void free_module_elf(struct module *mod) { } in free_module_elf() 152 static inline bool set_livepatch_module(struct module *mod) in set_livepatch_module() 262 static inline int try_add_tainted_module(struct module *mod) in try_add_tainted_module() 308 static inline void mod_tree_insert(struct module *mod) { } in mod_tree_insert() 309 static inline void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init() 310 static inline void mod_tree_remove(struct module *mod) { } in mod_tree_remove() 313 struct module *mod; in mod_find() local [all …]
|
D | strict_rwx.c | 14 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() 47 int module_enable_rodata_ro(const struct module *mod, bool after_init) in module_enable_rodata_ro() 67 int module_enable_data_nx(const struct module *mod) in module_enable_data_nx() 82 char *secstrings, struct module *mod) in module_enforce_rwx_sections()
|
D | procfs.c | 16 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info() 41 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info() 65 static unsigned int module_total_size(struct module *mod) in module_total_size() 76 struct module *mod = list_entry(p, struct module, list); in m_show() local
|
/linux-6.12.1/drivers/net/can/ |
D | janz-ican3.c | 292 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.12.1/sound/soc/sh/rcar/ |
D | ssi.c | 82 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 …]
|
D | src.c | 34 struct rsnd_mod mod; member 45 #define rsnd_src_sync_is_enabled(mod) (rsnd_mod_to_src(mod)->sen.val) argument 67 static void rsnd_src_activation(struct rsnd_mod *mod) in rsnd_src_activation() 73 static void rsnd_src_halt(struct rsnd_mod *mod) in rsnd_src_halt() 80 struct rsnd_mod *mod) in rsnd_src_dma_req() 91 struct rsnd_mod *mod) in rsnd_src_convert_rate() 202 struct rsnd_mod *mod) in rsnd_src_set_convert_rate() 357 static int rsnd_src_irq(struct rsnd_mod *mod, in rsnd_src_irq() 396 static void rsnd_src_status_clear(struct rsnd_mod *mod) in rsnd_src_status_clear() 404 static bool rsnd_src_error_occurred(struct rsnd_mod *mod) in rsnd_src_error_occurred() [all …]
|
D | ctu.c | 73 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 …]
|
D | ssiu.c | 12 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 …]
|
D | dvc.c | 37 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 …]
|
D | mix.c | 39 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 …]
|
D | dma.c | 34 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 …]
|
D | cmd.c | 11 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
|
D | core.c | 116 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.12.1/arch/loongarch/kernel/ |
D | module.c | 47 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.12.1/sound/soc/intel/avs/ |
D | path.c | 33 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.12.1/kernel/printk/ |
D | index.c | 20 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.12.1/include/linux/ |
D | kmod.h | 25 #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
|
/linux-6.12.1/lib/ |
D | codetag.c | 24 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() 210 void codetag_load_module(struct module *mod) in codetag_load_module() 223 bool codetag_unload_module(struct module *mod) in codetag_unload_module()
|
/linux-6.12.1/scripts/mod/ |
D | modpost.c | 159 struct module *mod; in find_module() local 170 struct module *mod; in new_module() local 245 static void sym_add_unresolved(const char *name, struct module *mod, bool weak) in sym_add_unresolved() 255 static struct symbol *sym_find_with_module(const char *name, struct module *mod) in sym_find_with_module() 345 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported() 604 static void handle_symbol(struct module *mod, struct elf_info *info, in handle_symbol() 1057 static void check_export_symbol(struct module *mod, struct elf_info *elf, in check_export_symbol() 1127 static void check_section_mismatch(struct module *mod, struct elf_info *elf, in check_section_mismatch() 1322 static void section_rela(struct module *mod, struct elf_info *elf, in section_rela() 1364 static void section_rel(struct module *mod, struct elf_info *elf, in section_rel() [all …]
|
/linux-6.12.1/drivers/gpu/drm/tilcdc/ |
D | tilcdc_panel.c | 40 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.12.1/drivers/gpio/ |
D | gpio-janz-ttl.c | 59 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_get_value() local 81 struct ttl_module *mod = dev_get_drvdata(gpio->parent); in ttl_set_value() local 108 static void ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val) in ttl_write_reg() 114 static void ttl_setup_device(struct ttl_module *mod) in ttl_setup_device() 143 struct ttl_module *mod; in ttl_probe() local
|
/linux-6.12.1/sound/soc/qcom/qdsp6/ |
D | topology.c | 167 struct audioreach_module *mod; in audioreach_tplg_alloc_module() local 424 struct audioreach_module *mod = NULL; in audioreach_parse_common_tokens() local 578 struct audioreach_module *mod; in audioreach_widget_load_module_common() local 605 struct audioreach_module *mod; in audioreach_widget_load_enc_dec_cnv() local 640 static int audioreach_widget_log_module_load(struct audioreach_module *mod, in audioreach_widget_log_module_load() 670 static int audioreach_widget_dma_module_load(struct audioreach_module *mod, in audioreach_widget_dma_module_load() 699 static int audioreach_widget_i2s_module_load(struct audioreach_module *mod, in audioreach_widget_i2s_module_load() 734 static int audioreach_widget_dp_module_load(struct audioreach_module *mod, in audioreach_widget_dp_module_load() 762 struct audioreach_module *mod; in audioreach_widget_load_buffer() local 846 struct audioreach_module *mod = w->dobj.private; in audioreach_pga_event() local [all …]
|