Searched refs:mod (Results 76 - 100 of 447) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/armada/
H A Darmada_fb.h13 uint8_t mod; member in struct:armada_framebuffer
/linux-master/kernel/trace/
H A Dtrace_synth.h36 struct module *mod; member in struct:synth_event
/linux-master/tools/testing/selftests/livepatch/test_modules/
H A Dtest_klp_callbacks_demo.c23 if (obj->mod)
24 pr_info("%s: %s -> %s\n", callback, obj->mod->name,
25 module_state[obj->mod->state]);
103 .mod = THIS_MODULE,
/linux-master/kernel/livepatch/
H A Dcore.c54 /* sets obj->mod if object is not vmlinux and module is found */
57 struct module *mod; local
68 mod = find_module(obj->name);
73 * until mod->exit() finishes. This is especially important for
76 if (mod && mod->klp_alive)
77 obj->mod = mod;
654 obj->mod = NULL;
725 module_put(patch->mod);
1188 klp_cleanup_module_patches_limited(struct module *mod, struct klp_patch *limit) argument
1217 klp_module_coming(struct module *mod) argument
1298 klp_module_going(struct module *mod) argument
[all...]
/linux-master/fs/btrfs/
H A Ddir-item.h24 const struct fscrypt_str *name, int mod);
29 u64 index, const struct fscrypt_str *name, int mod);
46 int mod);
/linux-master/arch/parisc/kernel/
H A Dinventory.c231 dev->mod0 = pa_pdc_cell->mod[0];
243 pa_pdc_cell->mod[0]);
249 pa_pdc_cell->mod[0], pa_pdc_cell->mod[1],
250 pa_pdc_cell->mod[2]);
270 printk(KERN_DEBUG "ranges %ld\n", pa_pdc_cell->mod[1]);
271 for (i = 0; i < pa_pdc_cell->mod[1]; i++) {
274 i, pa_pdc_cell->mod[2 + i * 3], /* type */
275 pa_pdc_cell->mod[3 + i * 3], /* start */
276 pa_pdc_cell->mod[
479 int mod; local
[all...]
/linux-master/include/linux/
H A Dmodule.h47 struct module *mod; member in struct:module_kobject
320 struct module *mod; member in struct:mod_tree_node
603 static inline bool module_is_live(struct module *mod) argument
605 return mod->state != MODULE_STATE_GOING;
616 const struct module *mod,
621 base = (unsigned long)mod->mem[type].base;
622 size = mod->mem[type].size;
627 const struct module *mod)
630 if (within_module_mem_type(addr, mod, type))
637 const struct module *mod)
615 within_module_mem_type(unsigned long addr, const struct module *mod, enum mod_mem_type type) argument
626 within_module_core(unsigned long addr, const struct module *mod) argument
636 within_module_init(unsigned long addr, const struct module *mod) argument
646 within_module(unsigned long addr, const struct module *mod) argument
746 is_livepatch_module(struct module *mod) argument
789 within_module_core(unsigned long addr, const struct module *mod) argument
795 within_module_init(unsigned long addr, const struct module *mod) argument
801 within_module(unsigned long addr, const struct module *mod) argument
855 dereference_module_function_descriptor(struct module *mod, void *ptr) argument
880 module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod) argument
885 module_bug_cleanup(struct module *mod) argument
985 find_kallsyms_symbol_value(struct module *mod, const char *name) argument
[all...]
H A Dlivepatch.h112 * @mod: kernel module associated with the patched object
127 struct module *mod; member in struct:klp_object
146 * @mod: reference to the live patch module
160 struct module *mod; member in struct:klp_patch
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; } argument
241 static inline void klp_module_going(struct module *mod) {} argument
/linux-master/arch/m68k/kernel/
H A Dmodule.c104 struct module *mod)
106 module_fixup(mod, mod->arch.fixup_start, mod->arch.fixup_end);
112 void module_fixup(struct module *mod, struct m68k_fixup_info *start, argument
102 module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod) argument
/linux-master/arch/nios2/kernel/
H A Dmodule.c45 struct module *mod)
81 mod->name);
91 mod->name);
96 mod->name);
124 mod->name, ELF32_R_TYPE(rela[i].r_info));
43 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *mod) argument
/linux-master/sound/soc/intel/avs/
H A Dcontrol.c28 struct avs_path_module *mod; local
33 list_for_each_entry(mod, &ppl->mod_list, node) {
34 if (guid_equal(&mod->template->cfg_ext->type, &AVS_PEAKVOL_MOD_UUID)
35 && mod->template->ctl_id == id) {
37 return mod;
/linux-master/arch/arm64/kernel/
H A Dftrace.c198 static struct plt_entry *get_ftrace_plt(struct module *mod) argument
201 struct plt_entry *plt = mod->arch.ftrace_trampolines;
226 struct module *mod,
256 * 'mod' is only set at module load time, but if we end up
261 * disabled, but we can rely on ftrace_lock to ensure that 'mod'
264 if (!mod) {
266 mod = __module_text_address(pc);
270 if (WARN_ON(!mod))
273 plt = get_ftrace_plt(mod);
391 int ftrace_init_nop(struct module *mod, struc argument
225 ftrace_find_callable_addr(struct dyn_ftrace *rec, struct module *mod, unsigned long *addr) argument
412 ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, unsigned long addr) argument
[all...]
/linux-master/tools/perf/util/
H A Ddebuginfo.c55 dbg->mod = dwfl_report_offline(dbg->dwfl, "", "", fd);
56 if (!dbg->mod)
59 dbg->dbg = dwfl_module_getdwarf(dbg->mod, &dbg->bias);
63 dwfl_module_build_id(dbg->mod, &dbg->build_id, &dummy);
152 elf = dwfl_module_getelf(dbg->mod, &dbg->bias);
157 n = dwfl_module_relocations(dbg->mod);
162 p = dwfl_module_relocation_info(dbg->mod, i, &shndx);
H A Dunwind-libdw.c24 static int __find_debuginfo(Dwfl_Module *mod __maybe_unused, void **userdata,
47 Dwfl_Module *mod; local
74 mod = dwfl_addrmodule(ui->dwfl, ip);
75 if (mod) {
78 dwfl_module_info(mod, NULL, &s, NULL, NULL, NULL, NULL, NULL);
80 mod = NULL;
83 if (!mod) {
87 mod = dwfl_report_elf(ui->dwfl, dso->short_name, filename, -1,
90 if (!mod) {
94 mod
[all...]
/linux-master/arch/loongarch/kernel/
H A Dftrace_dyn.c41 static struct plt_entry *get_ftrace_plt(struct module *mod, unsigned long addr) argument
43 struct plt_entry *plt = mod->arch.ftrace_trampolines;
63 static bool ftrace_find_callable_addr(struct dyn_ftrace *rec, struct module *mod, unsigned long *addr) argument
84 * 'mod' is only set at module load time, but if we end up
89 * disabled, but we can rely on ftrace_lock to ensure that 'mod'
92 if (!mod) {
94 mod = __module_text_address(pc);
98 if (WARN_ON(!mod))
101 plt = get_ftrace_plt(mod, *addr);
111 static bool ftrace_find_callable_addr(struct dyn_ftrace *rec, struct module *mod, unsigne argument
170 ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec) argument
198 ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, unsigned long addr) argument
[all...]
/linux-master/net/ethtool/
H A Dplca.c32 bool *mod)
51 *mod = true;
148 bool mod = false; local
160 plca_update_sint(&plca_cfg.enabled, tb, ETHTOOL_A_PLCA_ENABLED, &mod);
161 plca_update_sint(&plca_cfg.node_id, tb, ETHTOOL_A_PLCA_NODE_ID, &mod);
162 plca_update_sint(&plca_cfg.node_cnt, tb, ETHTOOL_A_PLCA_NODE_CNT, &mod);
163 plca_update_sint(&plca_cfg.to_tmr, tb, ETHTOOL_A_PLCA_TO_TMR, &mod);
165 &mod);
167 &mod);
168 if (!mod)
31 plca_update_sint(int *dst, struct nlattr **tb, u32 attrid, bool *mod) argument
[all...]
H A Dlinkmodes.c238 bool *mod, const struct net_device *dev)
254 *mod = false;
260 mod);
278 *mod = true;
284 info->extack, mod);
288 mod);
289 ethnl_update_u32(&ksettings->lanes, lanes_cfg, mod);
291 mod);
292 ethnl_update_u8(&lsettings->master_slave_cfg, master_slave_cfg, mod);
297 *mod
236 ethnl_update_linkmodes(struct genl_info *info, struct nlattr **tb, struct ethtool_link_ksettings *ksettings, bool *mod, const struct net_device *dev) argument
324 bool mod = false; local
[all...]
H A Deee.c133 bool mod = false; local
143 link_mode_names, info->extack, &mod);
146 ethnl_update_bool(&eee.eee_enabled, tb[ETHTOOL_A_EEE_ENABLED], &mod);
148 &mod);
150 &mod);
151 if (!mod)
H A Dnetlink.h66 * @mod: pointer to bool for modification tracking
69 * pointed to by @dst; do nothing if @attr is null. Bool pointed to by @mod
74 bool *mod)
85 *mod = true;
92 * @mod: pointer to bool for modification tracking
95 * pointed to by @dst; do nothing if @attr is null. Bool pointed to by @mod
100 bool *mod)
111 *mod = true;
118 * @mod: pointer to bool for modification tracking
122 * null. Bool pointed to by @mod i
73 ethnl_update_u32(u32 *dst, const struct nlattr *attr, bool *mod) argument
99 ethnl_update_u8(u8 *dst, const struct nlattr *attr, bool *mod) argument
125 ethnl_update_bool32(u32 *dst, const struct nlattr *attr, bool *mod) argument
151 ethnl_update_bool(bool *dst, const struct nlattr *attr, bool *mod) argument
178 ethnl_update_binary(void *dst, unsigned int len, const struct nlattr *attr, bool *mod) argument
202 ethnl_update_bitfield32(u32 *dst, const struct nlattr *attr, bool *mod) argument
[all...]
/linux-master/drivers/gpu/drm/tilcdc/
H A Dtilcdc_drv.c49 void tilcdc_module_init(struct tilcdc_module *mod, const char *name, argument
52 mod->name = name;
53 mod->funcs = funcs;
54 INIT_LIST_HEAD(&mod->list);
55 list_add(&mod->list, &module_list);
58 void tilcdc_module_cleanup(struct tilcdc_module *mod) argument
60 list_del(&mod->list);
96 struct tilcdc_module *mod; local
98 list_for_each_entry(mod, &module_list, list) {
99 DBG("loading module: %s", mod
458 struct tilcdc_module *mod; local
[all...]
/linux-master/arch/xtensa/kernel/
H A Dmodule.c51 struct module *mod)
90 mod->name, relsec, i,
114 mod->name, relsec, i,
157 mod->name,
177 mod->name,
183 mod->name,
47 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *mod) argument
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_mgmt.c77 * @mod: module in the chip that this handler will handle its messages
82 enum hinic_mod_type mod,
89 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod];
99 * @mod: module in the chip that this handler handles its messages
102 enum hinic_mod_type mod)
104 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod];
118 * @mod: module in the chip that will get the message
127 u16 msg_len, enum hinic_mod_type mod,
135 HINIC_MSG_HEADER_SET(mod, MODULE) |
190 * @mod
81 hinic_register_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, enum hinic_mod_type mod, void *handle, void (*callback)(void *handle, u8 cmd, void *buf_in, u16 in_size, void *buf_out, u16 *out_size)) argument
101 hinic_unregister_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, enum hinic_mod_type mod) argument
126 prepare_header(struct hinic_pf_to_mgmt *pf_to_mgmt, u16 msg_len, enum hinic_mod_type mod, enum msg_ack_type ack_type, enum mgmt_direction_type direction, u16 cmd, u16 msg_id) argument
200 send_msg_to_mgmt(struct hinic_pf_to_mgmt *pf_to_mgmt, enum hinic_mod_type mod, u8 cmd, u8 *data, u16 data_len, enum msg_ack_type ack_type, enum mgmt_direction_type direction, u16 resp_msg_id) argument
245 msg_to_mgmt_sync(struct hinic_pf_to_mgmt *pf_to_mgmt, enum hinic_mod_type mod, u8 cmd, u8 *buf_in, u16 in_size, u8 *buf_out, u16 *out_size, enum mgmt_direction_type direction, u16 resp_msg_id, u32 timeout) argument
319 msg_to_mgmt_async(struct hinic_pf_to_mgmt *pf_to_mgmt, enum hinic_mod_type mod, u8 cmd, u8 *buf_in, u16 in_size, enum mgmt_direction_type direction, u16 resp_msg_id) argument
350 hinic_msg_to_mgmt(struct hinic_pf_to_mgmt *pf_to_mgmt, enum hinic_mod_type mod, u8 cmd, void *buf_in, u16 in_size, void *buf_out, u16 *out_size, enum hinic_mgmt_msg_type sync) argument
[all...]
/linux-master/drivers/base/
H A Dmodule.c33 void module_add_driver(struct module *mod, struct device_driver *drv) argument
42 if (mod)
43 mk = &mod->mkobj;
/linux-master/arch/x86/math-emu/
H A Dget_address.c71 /* Decode the SIB byte. This function assumes mod != 0 */
72 static int sib(int mod, unsigned long *fpu_eip) argument
86 if ((mod == 0) && (base == 5))
100 if (mod == 1) {
109 } else if (mod == 2 || base == 5) { /* The second condition also has mod==0 */
213 u_char mod; local
227 mod = (FPU_modrm >> 6) & 3;
229 if (rm == 4 && mod != 3) {
230 address = sib(mod, fpu_ei
298 u_char mod; local
[all...]
/linux-master/arch/mips/kernel/
H A Djump_label.c93 void jump_label_apply_nops(struct module *mod) argument
95 struct jump_entry *iter_start = mod->jump_entries;
96 struct jump_entry *iter_stop = iter_start + mod->num_jump_entries;

Completed in 173 milliseconds

1234567891011>>