/linux-master/kernel/bpf/ |
H A D | verifier.c | 2641 struct module *mod; local 2676 mod = btf_try_get_module(btf); 2677 if (!mod) { 2684 b->module = mod; 19655 /* [R,W]x mod 0 -> [R,W]x */ 20789 struct module *mod = NULL; local 20980 mod = btf_try_get_module(btf); 20981 if (mod) 20982 addr = find_kallsyms_symbol_value(mod, tname); 20989 module_put(mod); [all...] |
H A D | syscall.c | 2243 module_put(prog->aux->mod); 3438 module_put(prog->aux->mod); 3439 prog->aux->mod = tgt_info.tgt_mod;
|
/linux-master/fs/btrfs/ |
H A D | qgroup.c | 26 #include "tree-mod-log.h" 129 int mod) 133 qg->old_refcnt += mod; 137 int mod) 141 qg->new_refcnt += mod; 128 btrfs_qgroup_update_old_refcnt(struct btrfs_qgroup *qg, u64 seq, int mod) argument 136 btrfs_qgroup_update_new_refcnt(struct btrfs_qgroup *qg, u64 seq, int mod) argument
|
H A D | ioctl.c | 1143 int mod = 0; local 1209 mod = -1; 1212 mod = 1; 1229 if (mod < 0) { 1235 } else if (mod > 0) {
|
H A D | delayed-inode.c | 173 * If mod = 1, add this node into the prepared list. 177 int mod) 183 else if (mod) 259 int mod) 270 btrfs_queue_delayed_node(delayed_root, delayed_node, mod); 1020 int mod; local 1028 mod = -1; 1030 mod = 1; 1032 ret = btrfs_lookup_inode(trans, root, path, &key, mod); 175 btrfs_queue_delayed_node(struct btrfs_delayed_root *root, struct btrfs_delayed_node *node, int mod) argument 257 __btrfs_release_delayed_node( struct btrfs_delayed_node *delayed_node, int mod) argument
|
/linux-master/fs/bcachefs/ |
H A D | buckets.c | 1052 int mod = (int) bch2_bkey_needs_rebalance(c, new.s_c) - local 1055 if (mod) { 1057 new.k->p, mod > 0);
|
/linux-master/scripts/ |
H A D | Makefile.build | 86 targets-for-modules := $(foreach x, o mod, \ 195 if [ $(@) != "scripts/mod/empty.o" ]; then \ 252 $(obj)/%.mod: FORCE 253 $(call if_changed,mod) 442 $(multi-obj-m): %.o: %.mod FORCE
|
H A D | Makefile.modfinal | 22 modname = $(notdir $(@:.mod.o=)) 28 %.mod.o: %.mod.c FORCE 55 %.ko: %.o %.mod.o scripts/module.lds $(and $(CONFIG_DEBUG_INFO_BTF_MODULES),$(KBUILD_BUILTIN),vmlinux) FORCE 61 targets += $(modules:%.o=%.ko) $(modules:%.o=%.mod.o)
|
/linux-master/ |
H A D | Makefile | 288 single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %.symtypes %/ 1196 $(Q)$(MAKE) $(build)=scripts/mod 1890 $(foreach x, o mod, $(patsubst %.ko, %.$x, $(single-ko))) 1935 -o -name '*.su' -o -name '*.mod' \ 1936 -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
|
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gpu.c | 176 #define etnaviv_is_model_rev(gpu, mod, rev) \ 177 ((gpu)->identity.model == chipModel_##mod && \
|
/linux-master/arch/x86/kvm/ |
H A D | lapic.c | 1098 u32 mod; local 1101 mod = vector % dest_vcpus; 1103 for (i = 0; i <= mod; i++) {
|
/linux-master/kernel/trace/ |
H A D | trace_events.c | 2707 __register_event(struct trace_event_call *call, struct module *mod) argument 2719 call->module = mod; 3203 static void trace_module_add_events(struct module *mod) argument 3207 if (!mod->num_trace_events) 3211 if (trace_module_has_bad_taint(mod)) { 3213 mod->name); 3217 start = mod->trace_events; 3218 end = mod->trace_events + mod->num_trace_events; 3221 __register_event(*call, mod); 3226 trace_module_remove_events(struct module *mod) argument 3262 struct module *mod = data; local [all...] |
H A D | bpf_trace.c | 2364 struct module *mod; local 2367 mod = __module_address((unsigned long)btp); 2368 module_put(mod); 2531 struct module *mod = module; local 2534 if (mod->num_bpf_raw_events == 0 || 2882 static int add_module(struct modules_array *arr, struct module *mod) argument 2894 arr->mods[arr->mods_cnt] = mod; 2899 static bool has_module(struct modules_array *arr, struct module *mod) argument 2904 if (arr->mods[i] == mod) 2916 struct module *mod; local [all...] |
/linux-master/kernel/ |
H A D | kprobes.c | 2573 static void add_module_kprobe_blacklist(struct module *mod) argument 2578 if (mod->kprobe_blacklist) { 2579 for (i = 0; i < mod->num_kprobe_blacklist; i++) 2580 kprobe_add_ksym_blacklist(mod->kprobe_blacklist[i]); 2583 start = (unsigned long)mod->kprobes_text_start; 2585 end = start + mod->kprobes_text_size; 2589 start = (unsigned long)mod->noinstr_text_start; 2591 end = start + mod->noinstr_text_size; 2596 static void remove_module_kprobe_blacklist(struct module *mod) argument 2601 if (mod 2623 struct module *mod = data; local [all...] |
/linux-master/include/linux/ |
H A D | bpf.h | 1519 struct module *mod; member in struct:bpf_prog_aux
|
/linux-master/arch/x86/kernel/ |
H A D | callthunks.c | 99 struct module *mod; local 102 mod = __module_address((unsigned long)addr); 103 if (mod && within_module_core((unsigned long)addr, mod)) 341 struct module *mod) 344 .base = (unsigned long)mod->mem[MOD_TEXT].base, 345 .end = (unsigned long)mod->mem[MOD_TEXT].base + mod->mem[MOD_TEXT].size, 346 .name = mod->name, 340 callthunks_patch_module_calls(struct callthunk_sites *cs, struct module *mod) argument
|
/linux-master/arch/x86/include/asm/ |
H A D | alternative.h | 118 struct module *mod); 125 struct module *mod) {} 138 extern void alternatives_smp_module_add(struct module *mod, char *name, 141 extern void alternatives_smp_module_del(struct module *mod); 146 static inline void alternatives_smp_module_add(struct module *mod, char *name, argument 149 static inline void alternatives_smp_module_del(struct module *mod) {} argument 124 callthunks_patch_module_calls(struct callthunk_sites *sites, struct module *mod) argument
|
/linux-master/scripts/mod/ |
H A D | modpost.c | 165 struct module *mod; local 167 list_for_each_entry(mod, &modules, list) { 168 if (strcmp(mod->name, modname) == 0) 169 return mod; 176 struct module *mod; local 178 mod = NOFAIL(malloc(sizeof(*mod) + namelen + 1)); 179 memset(mod, 0, sizeof(*mod)); 181 INIT_LIST_HEAD(&mod 260 sym_add_unresolved(const char *name, struct module *mod, bool weak) argument 270 sym_find_with_module(const char *name, struct module *mod) argument 361 sym_add_exported(const char *name, struct module *mod, bool gpl_only, const char *namespace) argument 613 handle_symbol(struct module *mod, struct elf_info *info, const Elf_Sym *sym, const char *symname) argument 1083 check_export_symbol(struct module *mod, struct elf_info *elf, Elf_Addr faddr, const char *secname, Elf_Sym *sym) argument 1153 check_section_mismatch(struct module *mod, struct elf_info *elf, Elf_Sym *sym, unsigned int fsecndx, const char *fromsec, Elf_Addr faddr, Elf_Addr taddr) argument 1382 section_rela(struct module *mod, struct elf_info *elf, unsigned int fsecndx, const char *fromsec, const Elf_Rela *start, const Elf_Rela *stop) argument 1424 section_rel(struct module *mod, struct elf_info *elf, unsigned int fsecndx, const char *fromsec, const Elf_Rel *start, const Elf_Rel *stop) argument 1473 check_sec_ref(struct module *mod, struct elf_info *elf) argument 1522 extract_crcs_for_object(const char *object, struct module *mod) argument 1590 mod_set_crcs(struct module *mod) argument 1622 struct module *mod; local 1737 check_exports(struct module *mod) argument 1798 check_modname_len(struct module *mod) argument 1814 add_header(struct buffer *b, struct module *mod) argument 1867 add_exported_symbols(struct buffer *buf, struct module *mod) argument 1905 add_versions(struct buffer *b, struct module *mod) argument 1936 add_depends(struct buffer *b, struct module *mod) argument 1969 add_srcversion(struct buffer *b, struct module *mod) argument 2035 write_vmlinux_export_c_file(struct module *mod) argument 2048 write_mod_c_file(struct module *mod) argument 2090 struct module *mod; local 2138 struct module *mod; local 2160 struct module *mod; local 2188 struct module *mod; local [all...] |
/linux-master/scripts/kconfig/ |
H A D | menu.c | 815 expr_gstr_print_revdep(sym->rev_dep.expr, r, mod, "Selected by [m]:\n"); 822 expr_gstr_print_revdep(sym->implied.expr, r, mod, "Implied by [m]:\n");
|
H A D | mconf.c | 535 case mod: ch = 'M'; break; 588 case mod: ch = 'M'; break; 592 if (sym->rev_dep.tri == mod) 867 if (sym_set_tristate_value(sym, mod)) 877 sym_set_tristate_value(sym, mod);
|
H A D | conf.c | 125 * If choice is mod then we may have more items selected 242 sym->def[S_DEF_USER].tri = mod; 254 sym->def[S_DEF_USER].tri = mod; 274 * If curr.tri equals to mod then we can select several 397 case mod: 406 if (oldval != mod && sym_tristate_within_range(sym, mod)) 424 newval = mod; 463 case mod: 472 case mod [all...] |
H A D | symbol.c | 24 .curr = { "m", mod }, 187 * Tristate choice_values with visibility 'mod' are 192 prop->visible.tri == mod && choice_sym->curr.tri == yes) 197 if (tri == mod && (sym->type != S_TRISTATE || modules_val == no)) 209 if (tri == mod && sym_get_type(sym) == S_BOOLEAN) 218 if (tri == mod && sym_get_type(sym) == S_BOOLEAN) 227 if (tri == mod && sym_get_type(sym) == S_BOOLEAN) 308 sym->dir_dep.tri == mod ? 'm' : 'n'); 314 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, mod, 421 if (newval.tri == mod [all...] |
/linux-master/drivers/scsi/ |
H A D | scsi_scan.c | 1236 unsigned char mod[17]; 1242 scsi_inq_str(mod, result, 16, 32));
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 9835 const struct module_btf *mod = &obj->btf_modules[i]; local 9837 ret = find_attach_btf_id(mod->btf, attach_name, attach_type); 9839 *btf_obj_fd = mod->fd;
|
/linux-master/scripts/package/ |
H A D | builddeb | 100 while read -r mod; do 101 mod="${mod%.o}.ko" 102 dbg="${pdir}/usr/lib/debug/lib/modules/${KERNELRELEASE}/kernel/${mod}" 103 buildid=$("${READELF}" -n "${mod}" | sed -n 's@^.*Build ID: \(..\)\(.*\)@\1/\2@p') 107 "${OBJCOPY}" --only-keep-debug "${mod}" "${dbg}"
|