Home
last modified time | relevance | path

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

12345678910

/linux/scripts/mod/
H A Dfile2alias.c48 module_alias_printf(struct module *mod, bool append_wildcard, in module_alias_printf()
186 unsigned char max, struct module *mod) in do_usb_entry()
288 static void do_usb_entry_multi(struct module *mod, void *symval) in do_usb_entry_multi()
353 static void do_of_entry(struct module *mod, void *symval) in do_of_entry()
380 static void do_hid_entry(struct module *mod, void *symval) in do_hid_entry()
398 static void do_ieee1394_entry(struct module *mod, void *symval) in do_ieee1394_entry()
421 static void do_pci_entry(struct module *mod, void *symval) in do_pci_entry()
476 static void do_ccw_entry(struct module *mod, void *symval) in do_ccw_entry()
499 static void do_ap_entry(struct module *mod, void *symval) in do_ap_entry()
507 static void do_css_entry(struct module *mod, void *symval) in do_css_entry()
[all …]
/linux/kernel/module/
H A 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 …]
H A Dmain.c118 static void mod_update_bounds(struct module *mod) in mod_update_bounds()
182 static inline int strong_try_module_get(struct module *mod) in strong_try_module_get()
193 static inline void add_taint_module(struct module *mod, unsigned flag, in add_taint_module()
228 void __noreturn __module_put_and_kthread_exit(struct module *mod, long code) in __module_put_and_kthread_exit()
397 struct module *mod; in find_symbol() local
433 struct module *mod; in find_module_all() local
452 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
457 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
481 static void percpu_modfree(struct module *mod) in percpu_modfree()
491 static void percpu_modcopy(struct module *mod, in percpu_modcopy()
[all …]
H A Dkallsyms.c25 const struct module *mod) in is_exported() argument
113 void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab() argument
170 add_kallsyms(struct module * mod,const struct load_info * info) add_kallsyms() argument
228 init_build_id(struct module * mod,const struct load_info * info) init_build_id() argument
242 init_build_id(struct module * mod,const struct load_info * info) init_build_id() argument
256 find_kallsyms_symbol(struct module * mod,unsigned long addr,unsigned long * size,unsigned long * offset) find_kallsyms_symbol() argument
314 dereference_module_function_descriptor(struct module * mod,void * ptr) dereference_module_function_descriptor() argument
332 struct module *mod; module_address_lookup() local
361 struct module *mod; lookup_module_symbol_name() local
387 struct module *mod; module_get_kallsym() local
414 __find_kallsyms_symbol_value(struct module * mod,const char * name) __find_kallsyms_symbol_value() argument
431 struct module *mod; __module_kallsyms_lookup_name() local
466 find_kallsyms_symbol_value(struct module * mod,const char * name) find_kallsyms_symbol_value() argument
480 struct module *mod; module_kallsyms_on_each_symbol() local
[all...]
H A Dinternal.h67 struct module *mod; member
88 unsigned int mod; member
150 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf()
155 static inline void free_module_elf(struct module *mod) { } in free_module_elf()
158 static inline bool set_livepatch_module(struct module *mod) in set_livepatch_module()
268 static inline int try_add_tainted_module(struct module *mod) in try_add_tainted_module()
314 static inline void mod_tree_insert(struct module *mod) { } in mod_tree_insert()
315 static inline void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init()
316 static inline void mod_tree_remove(struct module *mod) { } in mod_tree_remove()
319 struct module *mod; in mod_find() local
[all …]
H A Dprocfs.c16 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
H A Dtree_lookup.c78 void mod_tree_insert(struct module *mod) in mod_tree_insert()
87 void mod_tree_remove_init(struct module *mod) in mod_tree_remove_init()
95 void mod_tree_remove(struct module *mod) in mod_tree_remove()
/linux/sound/soc/renesas/rcar/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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()
255 static int rsnd_dmaen_pointer(struct rsnd_mod *mod, in rsnd_dmaen_pointer()
317 struct rsnd_mod *mod) in rsnd_dmapp_get_id()
369 struct rsnd_mod *mod = rsnd_mod_get(dma); in rsnd_dmapp_write() local
381 struct rsnd_mod *mod = rsnd_mod_get(dma); in rsnd_dmapp_read() local
[all …]
H A 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/arch/loongarch/kernel/
H A Dmodule.c60 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none()
73 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32()
83 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64()
91 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel()
97 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute()
103 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_dup()
122 static int apply_r_larch_sop_push_plt_pcrel(struct module *mod, in apply_r_larch_sop_push_plt_pcrel()
137 static int apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop()
183 static int apply_r_larch_sop_imm_field(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_imm_field()
274 static int apply_r_larch_add_sub(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_add_sub()
[all …]
/linux/lib/
H A Dcodetag.c30 struct module *mod; member
138 static void *get_symbol(struct module *mod, const char *prefix, const char *name) in get_symbol()
158 static struct codetag_range get_section_range(struct module *mod, in get_section_range()
167 static const char *get_mod_name(__maybe_unused struct module *mod) in get_mod_name()
176 static int codetag_module_init(struct codetag_type *cttype, struct module *mod) in codetag_module_init()
234 bool codetag_needs_module_section(struct module *mod, const char *name, in codetag_needs_module_section()
262 void *codetag_alloc_module_section(struct module *mod, const char *name, in codetag_alloc_module_section()
287 void codetag_free_module_sections(struct module *mod) in codetag_free_module_sections()
303 void codetag_module_replaced(struct module *mod, struct module *new_mod) in codetag_module_replaced()
319 int codetag_load_module(struct module *mod) in codetag_load_module()
[all …]
H A Donce.c25 static void once_disable_jump(struct static_key_true *key, struct module *mod) in once_disable_jump()
61 unsigned long *flags, struct module *mod) in __do_once_done()
91 struct module *mod) in __do_once_sleepable_done()
/linux/kernel/printk/
H A 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/include/linux/
H A Dkmod.h22 #define request_module(mod...) __request_module(true, mod) argument
23 #define request_module_nowait(mod...) __request_module(false, mod) argument
24 #define try_then_request_module(x, mod...) \ argument
29 #define try_then_request_module(x, mod...) (x) argument
H A Dcodetag.h102 codetag_needs_module_section(struct module *mod, const char *name, in codetag_needs_module_section()
105 codetag_alloc_module_section(struct module *mod, const char *name, in codetag_alloc_module_section()
108 static inline void codetag_free_module_sections(struct module *mod) {} in codetag_free_module_sections()
109 static inline void codetag_module_replaced(struct module *mod, struct module *new_mod) {} in codetag_module_replaced()
110 static inline int codetag_load_module(struct module *mod) { return 0; } in codetag_load_module()
111 static inline void codetag_unload_module(struct module *mod) {} in codetag_unload_module()
/linux/drivers/gpu/drm/tilcdc/
H A 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/drivers/gpio/
H A Dgpio-janz-ttl.c59 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
110 static void ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val) in ttl_write_reg()
116 static void ttl_setup_device(struct ttl_module *mod) in ttl_setup_device()
145 struct ttl_module *mod; in ttl_probe() local
/linux/net/ethtool/
H A Dnetlink.h78 bool *mod) in ethnl_update_u32() argument
104 bool *mod) in ethnl_update_u8() argument
130 ethnl_update_bool32(u32 * dst,const struct nlattr * attr,bool * mod) ethnl_update_bool32() argument
156 ethnl_update_bool(bool * dst,const struct nlattr * attr,bool * mod) ethnl_update_bool() argument
183 ethnl_update_binary(void * dst,unsigned int len,const struct nlattr * attr,bool * mod) ethnl_update_binary() argument
207 ethnl_update_bitfield32(u32 * dst,const struct nlattr * attr,bool * mod) ethnl_update_bitfield32() argument
[all...]
/linux/drivers/usb/renesas_usbhs/
H A Dmod.c65 void usbhs_mod_register(struct usbhs_priv *priv, struct usbhs_mod *mod, int id) in usbhs_mod_register()
90 struct usbhs_mod *mod = usbhs_mod_get_current(priv); in usbhs_mod_is_host() local
109 struct usbhs_mod *mod = NULL; in usbhs_mod_change() local
194 struct usbhs_mod *mod = usbhs_mod_get_current(priv); in usbhs_status_get_each_irq() local
303 void usbhs_irq_callback_update(struct usbhs_priv *priv, struct usbhs_mod *mod) in usbhs_irq_callback_update()
/linux/net/can/
H A Dgw.c173 static void mod_and_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_fddata()
181 static void mod_or_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_fddata()
189 static void mod_xor_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_xor_fddata()
197 static void mod_set_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_set_fddata()
237 static void mod_and_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_ccdlc()
244 static void mod_or_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_ccdlc()
251 static void mod_xor_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_xor_ccdlc()
258 static void mod_set_ccdlc(struct canfd_frame *cf, struct cf_mod *mod) in mod_set_ccdlc()
462 struct cf_mod *mod; in can_can_gw_rcv() local
632 struct cf_mod *mod; in cgw_put_job() local
[all …]
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_mgmt.c82 enum hinic_mod_type mod, in hinic_register_mgmt_msg_cb()
102 enum hinic_mod_type mod) in hinic_unregister_mgmt_msg_cb()
127 u16 msg_len, enum hinic_mod_type mod, in prepare_header()
201 enum hinic_mod_type mod, u8 cmd, in send_msg_to_mgmt()
246 enum hinic_mod_type mod, u8 cmd, in msg_to_mgmt_sync()
320 enum hinic_mod_type mod, u8 cmd, in msg_to_mgmt_async()
351 enum hinic_mod_type mod, u8 cmd, in hinic_msg_to_mgmt()

12345678910