Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 22 of 22) sorted by relevance

/scripts/mod/
Dmodpost.c159 struct module *mod; in find_module() local
161 for (mod = modules; mod; mod = mod->next) in find_module()
162 if (strcmp(mod->name, modname) == 0) in find_module()
164 return mod; in find_module()
169 struct module *mod; in new_module() local
171 mod = NOFAIL(malloc(sizeof(*mod) + strlen(modname) + 1)); in new_module()
172 memset(mod, 0, sizeof(*mod)); in new_module()
175 strcpy(mod->name, modname); in new_module()
176 mod->is_vmlinux = (strcmp(modname, "vmlinux") == 0); in new_module()
177 mod->gpl_compatible = -1; in new_module()
[all …]
Dfile2alias.c160 unsigned char max, struct module *mod) in do_usb_entry() argument
221 buf_printf(&mod->dev_table_buf, in do_usb_entry()
264 static void do_usb_entry_multi(void *symval, struct module *mod) in do_usb_entry_multi() argument
311 do_usb_entry(symval, devlo, ndigits, clo, chi, max, mod); in do_usb_entry_multi()
319 ndigits, clo, max, max, mod); in do_usb_entry_multi()
325 ndigits, 0x0, chi, max, mod); in do_usb_entry_multi()
330 struct module *mod) in do_usb_table() argument
335 device_id_check(mod->name, "usb", size, id_size, symval); in do_usb_table()
341 do_usb_entry_multi(symval + i, mod); in do_usb_table()
344 static void do_of_entry_multi(void *symval, struct module *mod) in do_of_entry_multi() argument
[all …]
Dmodpost.h194 void handle_moddevtable(struct module *mod, struct elf_info *info,
196 void add_moddevtable(struct buffer *buf, struct module *mod);
/scripts/
DMakefile.modfinal22 modname = $(notdir $(@:.mod.o=))
30 %.mod.o: %.mod.c FORCE
59 $(modules): %.ko: %$(mod-prelink-ext).o %.mod.o scripts/module.lds FORCE
62 targets += $(modules) $(modules:.ko=.mod.o)
Dnsdeps36 local mod=${1%.ko:}
39 local mod_source_files="`cat $mod.mod | sed -n 1p \
43 echo "Adding namespace $ns to module $mod.ko."
DMakefile.modsign22 ext-mod-dir = $(INSTALL_MOD_DIR)$(subst $(patsubst %/,%,$(KBUILD_EXTMOD)),,$(@D))
24 modinst_dir = $(if $(KBUILD_EXTMOD),$(ext-mod-dir),kernel/$(@D))
DMakefile.modinst28 ext-mod-dir = $(INSTALL_MOD_DIR)$(subst $(patsubst %/,%,$(KBUILD_EXTMOD)),,$(@D))
30 modinst_dir = $(if $(KBUILD_EXTMOD),$(ext-mod-dir),kernel/$(@D))
Dexport_report.pl29 for my $mod (sort keys %$href) {
30 my $list = $href->{$mod};
31 print "\t$mod:\n";
DMakefile.modpost51 MODPOST = scripts/mod/modpost \
151 $(output-symdump): $(MODORDER) $(input-symdump) $(modules:.ko=$(mod-prelink-ext).o) FORCE
DMakefile46 subdir- += basic dtc gdb kconfig mod
DMakefile.build90 targets-for-modules := $(patsubst %.o, %.mod, $(filter %.o, $(obj-m)))
305 …echo $(if $($*-objs)$($*-y)$($*-m), $(addprefix $(obj)/, $($*-objs) $($*-y) $($*-m)), $(@:.mod=.o)…
309 $(obj)/%.mod: $(obj)/%$(mod-prelink-ext).o FORCE
310 $(call if_changed,mod)
DMakefile.lib241 mod-prelink-ext := .lto
/scripts/kconfig/
Dsymbol.c22 .curr = { "m", mod },
195 prop->visible.tri == mod && choice_sym->curr.tri == yes) in sym_calc_visibility()
200 if (tri == mod && (sym->type != S_TRISTATE || modules_val == no)) in sym_calc_visibility()
212 if (tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_visibility()
221 if (tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_visibility()
230 if (tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_visibility()
311 sym->dir_dep.tri == mod ? 'm' : 'n'); in sym_warn_unmet_dep()
317 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, mod, in sym_warn_unmet_dep()
410 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_value()
488 if (type == S_BOOLEAN && val == mod) in sym_tristate_within_range()
[all …]
Dconf.c180 case mod: in conf_sym()
189 if (oldval != mod && sym_tristate_within_range(sym, mod)) in conf_sym()
207 newval = mod; in conf_sym()
246 case mod: in conf_choice()
255 case mod: in conf_choice()
389 if (sym->curr.tri != mod) in conf()
Dmconf.c548 case mod: ch = 'M'; break; in build_conf()
601 case mod: ch = 'M'; break; in build_conf()
605 if (sym->rev_dep.tri == mod) in build_conf()
725 if (sym_set_tristate_value(sym, mod)) in conf()
735 sym_set_tristate_value(sym, mod); in conf()
Dconfdata.c241 sym->def[def].tri = mod; in conf_set_sym_val()
493 case mod: in conf_read_simple()
1264 sym->def[S_DEF_USER].tri = mod; in conf_set_all_new_symbols()
1279 sym->def[S_DEF_USER].tri = mod; in conf_set_all_new_symbols()
1334 tristate old_val = (mode == def_y2m) ? yes : mod; in conf_rewrite_mod_or_yes()
1335 tristate new_val = (mode == def_y2m) ? mod : yes; in conf_rewrite_mod_or_yes()
Dnconf.c817 case mod: in build_conf()
872 case mod: in build_conf()
880 if (sym->rev_dep.tri == mod) in build_conf()
1197 if (sym_set_tristate_value(sym, mod)) in conf()
1207 sym_set_tristate_value(sym, mod); in conf()
Dexpr.h28 no, mod, yes enumerator
Dgconf.c817 newval = mod; in change_sym_value()
1127 case mod: in fill_row()
1142 if (val != mod && sym_tristate_within_range(sym, mod)) in fill_row()
Dmenu.c858 expr_gstr_print_revdep(sym->rev_dep.expr, r, mod, "Selected by [m]:\n"); in get_symbol_str()
865 expr_gstr_print_revdep(sym->implied.expr, r, mod, "Implied by [m]:\n"); in get_symbol_str()
Dqconf.cc153 case mod: in updateMenu()
767 setValue(item, mod); in keyPressEvent()
995 str += sym->visible == yes ? "y" : sym->visible == mod ? "m" : "n"; in symbolInfo()
/scripts/clang-tools/
Dgen_compile_commands.py151 mod = base + '.mod'
153 with open(mod) as m: