| /freebsd-13.1/sys/kern/ |
| H A D | kern_module.c | 61 #define MOD_EVENT(mod, type) (mod)->handler((mod), (type), (mod)->arg) argument 97 module_t mod; in module_shutdown() local 114 module_t mod; in module_register_init() local 143 TAILQ_REMOVE(&mod->file->modules, mod, flink); in module_register_init() 144 TAILQ_INSERT_HEAD(&mod->file->modules, mod, flink); in module_register_init() 190 mod->refs++; in module_reference() 204 mod->refs--; in module_release() 208 TAILQ_REMOVE(&mod->file->modules, mod, flink); in module_release() 216 module_t mod; in module_lookupbyname() local 311 module_t mod; in sys_modnext() local [all …]
|
| /freebsd-13.1/sys/sys/ |
| H A D | sdt.h | 91 #define SDT_PROBE_DEFINE(prov, mod, func, name) argument 108 #define SDT_PROBE0(prov, mod, func, name) argument 187 SDT_PROBE_DEFINE(prov, mod, func, name) 190 SDT_PROBE_DEFINE(prov, mod, func, name); \ 194 SDT_PROBE_DEFINE(prov, mod, func, name); \ 199 SDT_PROBE_DEFINE(prov, mod, func, name); \ 205 SDT_PROBE_DEFINE(prov, mod, func, name); \ 212 SDT_PROBE_DEFINE(prov, mod, func, name); \ 221 SDT_PROBE_DEFINE(prov, mod, func, name); \ 241 SDT_PROBE_DEFINE(prov, mod, func, name) [all …]
|
| H A D | pmckern.h | 102 #define PMC_SOFT_DEFINE_EX(prov, mod, func, name, alloc, release) \ argument 103 struct pmc_soft pmc_##prov##_##mod##_##func##_##name = \ 104 { 0, alloc, release, { #prov "_" #mod "_" #func "." #name, 0 } }; \ 105 SYSINIT(pmc_##prov##_##mod##_##func##_##name##_init, SI_SUB_KDTRACE, \ 107 &pmc_##prov##_##mod##_##func##_##name ); \ 108 SYSUNINIT(pmc_##prov##_##mod##_##func##_##name##_uninit, \ 110 &pmc_##prov##_##mod##_##func##_##name ) 112 #define PMC_SOFT_DEFINE(prov, mod, func, name) \ argument 113 PMC_SOFT_DEFINE_EX(prov, mod, func, name, NULL, NULL) 115 #define PMC_SOFT_DECLARE(prov, mod, func, name) \ argument [all …]
|
| /freebsd-13.1/contrib/bmake/unit-tests/ |
| H A D | varmod-select-words.mk | 12 all: mod-squarebrackets mod-S-W mod-C-W mod-tW-tw 27 mod-squarebrackets: mod-squarebrackets-0-star-at \ 28 mod-squarebrackets-hash \ 29 mod-squarebrackets-n \ 31 mod-squarebrackets-nested \ 32 mod-squarebrackets-space 55 mod-squarebrackets-hash: 69 mod-squarebrackets-n: 142 mod-C-W: 149 mod-S-W: [all …]
|
| H A D | moderrs.mk | 14 all: mod-unknown-direct mod-unknown-indirect 20 all: mod-subst-delimiter 21 all: mod-regex-delimiter 22 all: mod-ts-parse 23 all: mod-t-parse 24 all: mod-ifelse-parse 25 all: mod-remember-parse 26 all: mod-sysv-parse 28 mod-unknown-direct: print-header print-footer 121 mod-ts-parse: print-header print-footer [all …]
|
| /freebsd-13.1/sbin/fsck_msdosfs/ |
| H A D | check.c | 55 int mod = 0; in checkfilesys() local 99 if (mod & FSFATAL) { in checkfilesys() 109 if (mod & FSFATAL) in checkfilesys() 114 if (mod & FSFATAL) in checkfilesys() 121 if (mod & FSFATAL) in checkfilesys() 125 if (mod & FSFATMOD) { in checkfilesys() 128 if (mod & FSFATAL) in checkfilesys() 131 mod |= FSERROR; in checkfilesys() 163 if (mod && (mod & FSERROR) == 0) { in checkfilesys() 164 if (mod & FSDIRTY) { in checkfilesys() [all …]
|
| H A D | dir.c | 548 int mod = FSOK; in readDosDirSection() local 647 mod |= FSERROR; in readDosDirSection() 809 mod |= THISMOD; in readDosDirSection() 884 mod |= FSERROR; in readDosDirSection() 990 mod |= THISMOD; in readDosDirSection() 1008 mod &= ~THISMOD; in readDosDirSection() 1028 mod &= ~THISMOD; in readDosDirSection() 1036 int mod; in handleDirTree() local 1039 if (mod & FSFATAL) in handleDirTree() 1060 if (mod & FSFATAL) in handleDirTree() [all …]
|
| /freebsd-13.1/lib/libc/net/ |
| H A D | nsdispatch.c | 487 ns_mod mod; in nss_load_module() local 490 memset(&mod, 0, sizeof(mod)); in nss_load_module() 537 mod.mtab = fn(mod.name, &mod.mtabsize, &mod.unregister); in nss_load_module() 538 if (mod.mtab == NULL || mod.mtabsize == 0) { in nss_load_module() 541 mod.handle = NULL; in nss_load_module() 546 qsort(mod.mtab, mod.mtabsize, sizeof(mod.mtab[0]), in nss_load_module() 559 free(mod->name); in ns_mod_free() 563 mod->unregister(mod->mtab, mod->mtabsize); in ns_mod_free() 595 ns_mod *mod; in nss_method_lookup() local 607 if (mod != NULL && mod->handle != NULL) { in nss_method_lookup() [all …]
|
| /freebsd-13.1/contrib/ofed/libibmad/ |
| H A D | smp.c | 61 unsigned mod, unsigned timeout, int *rstatus, in smp_set_status_via() argument 77 rpc.attr.mod = mod; in smp_set_status_via() 93 unsigned mod, unsigned timeout, in smp_set_via() argument 96 return smp_set_status_via(data, portid, attrid, mod, timeout, NULL, in smp_set_via() 101 unsigned mod, unsigned timeout) in smp_set() argument 103 return smp_set_via(data, portid, attrid, mod, timeout, ibmp); in smp_set() 107 unsigned attrid, unsigned mod, unsigned timeout, in smp_query_status_via() argument 116 rpc.attr.mod = mod; in smp_query_status_via() 139 unsigned mod, unsigned timeout, in smp_query_via() argument 147 unsigned mod, unsigned timeout) in smp_query() argument [all …]
|
| H A D | cc.c | 50 unsigned attrid, unsigned mod, unsigned timeout, in cc_query_status_via() argument 57 DEBUG("attr 0x%x mod 0x%x route %s", attrid, mod, portid2str(portid)); in cc_query_status_via() 60 rpc.attr.mod = mod; in cc_query_status_via() 85 unsigned attrid, unsigned mod, unsigned timeout, in cc_config_status_via() argument 92 DEBUG("attr 0x%x mod 0x%x route %s", attrid, mod, portid2str(portid)); in cc_config_status_via() 95 rpc.attr.mod = mod; in cc_config_status_via()
|
| /freebsd-13.1/share/i18n/esdb/UTF/ |
| H A D | Makefile | 7 UTF-16-mod= UTF1632 9 UTF-16BE-mod= UTF1632 11 UTF-16LE-mod= UTF1632 13 UTF-16-INTERNAL-mod= UTF1632 15 UTF-16-SWAPPED-mod= UTF1632 17 UTF-32-mod= UTF1632 19 UTF-32BE-mod= UTF1632 21 UTF-32LE-mod= UTF1632 25 UTF-32-SWAPPED-mod= UTF1632 27 UTF-8-mod= UTF8 [all …]
|
| /freebsd-13.1/contrib/unbound/services/ |
| H A D | modstack.c | 95 stack->mod = NULL; in modstack_init() 115 if(!stack->mod) { in modstack_config() 120 stack->mod[i] = module_factory(&module_conf); in modstack_config() 121 if(!stack->mod[i]) { in modstack_config() 235 i, stack->mod[i]->name); in modstack_setup() 252 (*stack->mod[i]->deinit)(env, i); in modstack_desetup() 255 free(stack->mod); in modstack_desetup() 256 stack->mod = NULL; in modstack_desetup() 264 if(strcmp(stack->mod[i]->name, name) == 0) in modstack_find() 276 mods.mod[m]->get_mem)); in mod_get_mem() [all …]
|
| /freebsd-13.1/contrib/mandoc/ |
| H A D | tbl_layout.c | 70 mod: in mods() 98 goto mod; in mods() 104 goto mod; in mods() 107 goto mod; in mods() 110 goto mod; in mods() 115 goto mod; in mods() 118 goto mod; in mods() 125 goto mod; in mods() 128 goto mod; in mods() 131 goto mod; in mods() [all …]
|
| /freebsd-13.1/contrib/libarchive/libarchive/ |
| H A D | archive_options.c | 105 const char *s, *mod, *opt, *val; in _archive_set_options() local 120 mod = opt = val = NULL; in _archive_set_options() 122 parse_option(&s, &mod, &opt, &val); in _archive_set_options() 123 if (mod == NULL && opt != NULL && in _archive_set_options() 133 r = use_option(a, mod, opt, val); in _archive_set_options() 147 "Unknown module name: `%s'", mod); in _archive_set_options() 155 mod?mod:"", mod?":":"", opt); in _archive_set_options() 172 const char *end, *mod, *opt, *val; in parse_option() local 176 mod = NULL; in parse_option() 198 mod = opt; in parse_option() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_libignore.cpp | 58 for (const auto &mod : modules) { in OnLibraryLoaded() local 59 for (const auto &range : mod.ranges()) { in OnLibraryLoaded() 62 if (!TemplateMatch(lib->templ, mod.full_name()) && in OnLibraryLoaded() 64 internal_strcmp(lib->real_name, mod.full_name()) == 0)) in OnLibraryLoaded() 69 SanitizerToolName, lib->templ, lib->name, mod.full_name()); in OnLibraryLoaded() 78 lib->templ, mod.full_name()); in OnLibraryLoaded() 80 lib->name = internal_strdup(mod.full_name()); in OnLibraryLoaded() 100 for (const auto &mod : modules) { in OnLibraryLoaded() local 101 if (!mod.instrumented()) in OnLibraryLoaded() 103 for (const auto &range : mod.ranges()) { in OnLibraryLoaded() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/stats/ |
| H A D | stats.cpp | 65 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( in WriteModuleReport() local 67 WriteToFile(stats_fd, mod->full_name(), in WriteModuleReport() 68 internal_strlen(mod->full_name()) + 1); in WriteModuleReport() 74 WriteLE(stats_fd, s->addr - mod->base_address()); in WriteModuleReport() 86 unsigned __sanitizer_stats_register(StatModule **mod) { in __sanitizer_stats_register() argument 88 modules.push_back(mod); in __sanitizer_stats_register() 104 for (StatModule **mod : modules) { in WriteFullReport() 105 if (!mod) in WriteFullReport() 107 WriteModuleReport(mod); in WriteFullReport()
|
| /freebsd-13.1/crypto/openssl/crypto/bn/ |
| H A D | bn_blind.c | 20 bn_check_top(mod); in BN_BLINDING_new() 47 if ((ret->mod = BN_dup(mod)) == NULL) in BN_BLINDING_new() 50 if (BN_get_flags(mod, BN_FLG_CONSTTIME) != 0) in BN_BLINDING_new() 51 BN_set_flags(ret->mod, BN_FLG_CONSTTIME); in BN_BLINDING_new() 74 BN_free(r->mod); in BN_BLINDING_free() 102 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx) in BN_BLINDING_update() 103 || !BN_mod_mul(b->A, b->A, b->A, b->mod, ctx)) in BN_BLINDING_update() 143 ret = BN_mod_mul(n, n, b->A, b->mod, ctx); in BN_BLINDING_convert_ex() 182 ret = BN_mod_mul(n, n, r, b->mod, ctx); in BN_BLINDING_invert_ex() 259 if (!BN_priv_rand_range(ret->A, ret->mod)) in BN_BLINDING_create_param() [all …]
|
| /freebsd-13.1/stand/efi/boot1/ |
| H A D | proto.c | 136 const boot_module_t *mod; in load_loader() local 139 mod = boot_modules[i]; in load_loader() 140 for (dev = mod->devices(); dev != NULL; dev = dev->next) { in load_loader() 144 if (mod->load(PATH_LOADER_EFI, dev, bufp, bufsize) == in load_loader() 147 *modp = mod; in load_loader() 165 const boot_module_t *mod; in choice_protocol() local 215 status = load_loader(&mod, &dev, &loaderbuf, &loadersize, 1); in choice_protocol() 217 status = load_loader(&mod, &dev, &loaderbuf, &loadersize, 0); in choice_protocol() 224 try_boot(mod, dev, loaderbuf, loadersize); in choice_protocol()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | lto.h | 247 lto_module_dispose(lto_module_t mod); 255 lto_module_get_target_triple(lto_module_t mod); 263 lto_module_set_target_triple(lto_module_t mod, const char *triple); 271 lto_module_get_num_symbols(lto_module_t mod); 279 lto_module_get_symbol_name(lto_module_t mod, unsigned int index); 287 lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index); 298 lto_module_get_linkeropts(lto_module_t mod); 311 extern lto_bool_t lto_module_get_macho_cputype(lto_module_t mod, 394 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); 405 lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod); [all …]
|
| /freebsd-13.1/usr.sbin/ndiscvt/ |
| H A D | windrv_stub.c | 214 windrv_modevent(mod, cmd, arg) in windrv_modevent() argument 215 module_t mod; in windrv_modevent() 234 windrv_load(mod, drv_data_start, drv_data_len, PCIBus, 238 windrv_load(mod, drv_data_start, drv_data_len, PCMCIABus, 242 windrv_load(mod, drv_data_start, drv_data_len, PNPBus, 251 windrv_unload(mod, drv_data_start, drv_data_len); 254 windrv_unload(mod, drv_data_start, drv_data_len); 257 windrv_unload(mod, drv_data_start, drv_data_len);
|
| /freebsd-13.1/contrib/libucl/python/src/ |
| H A D | uclmodule.c | 299 init_macros(PyObject *mod) in init_macros() argument 301 PyModule_AddIntMacro(mod, UCL_EMIT_JSON); in init_macros() 302 PyModule_AddIntMacro(mod, UCL_EMIT_JSON_COMPACT); in init_macros() 303 PyModule_AddIntMacro(mod, UCL_EMIT_CONFIG); in init_macros() 304 PyModule_AddIntMacro(mod, UCL_EMIT_YAML); in init_macros() 305 PyModule_AddIntMacro(mod, UCL_EMIT_MSGPACK); in init_macros() 324 PyObject *mod = PyModule_Create (&uclmodule); in PyInit_ucl() local 325 init_macros (mod); in PyInit_ucl() 327 return mod; in PyInit_ucl() 332 PyObject *mod = Py_InitModule ("ucl", uclMethods); in initucl() local [all …]
|
| /freebsd-13.1/stand/kshim/ |
| H A D | bsd_kernel.c | 712 const struct module_data *mod; in devclass_find_create() local 719 return (mod); in devclass_find_create() 740 dev->dev_module = mod; in devclass_add_device() 756 if (mod == NULL) { in devclass_delete_device() 773 if (!mod) { in make_device() 926 const struct module_data *mod; in device_allocate_softc() local 928 mod = dev->dev_module; in device_allocate_softc() 931 (mod->driver->size != 0)) { in device_allocate_softc() 946 const struct module_data *mod; in device_probe_and_attach() local 956 mod = dev->dev_module; in device_probe_and_attach() [all …]
|
| /freebsd-13.1/contrib/bmake/ |
| H A D | var.c | 3093 if (IsDelimiter(mod[1], ch) || mod[1] == '\0') { in ApplyModifier_To() 3329 if (IsDelimiter(mod[1], ch) || mod[1] == '\0') { in ApplyModifier_Order() 3343 if ((mod[1] == 'n' && mod[2] == 'r') || in ApplyModifier_Order() 3344 (mod[1] == 'r' && mod[2] == 'n')) in ApplyModifier_Order() 3750 expr->name, (int)(p - mod), mod, in LogAfterApply() 3756 expr->name, (int)(p - mod), mod, in LogAfterApply() 3923 (int)(p - mod), mod); in ApplySingleModifier() 3939 (int)(p - mod), mod, in ApplySingleModifier() 3946 (int)(p - mod), mod); in ApplySingleModifier() 4016 mod = p; in ApplyModifiers() [all …]
|
| /freebsd-13.1/sys/cddl/dev/sdt/ |
| H A D | sdt.c | 141 char mod[DTRACE_MODNAMELEN]; in sdt_create_probe() local 161 if (*probe->mod == 0) { in sdt_create_probe() 162 len = strlcpy(mod, probe->sdtp_lf->filename, sizeof(mod)); in sdt_create_probe() 163 if (len > 3 && strcmp(mod + len - 3, ".ko") == 0) in sdt_create_probe() 164 mod[len - 3] = '\0'; in sdt_create_probe() 166 strlcpy(mod, probe->mod, sizeof(mod)); in sdt_create_probe() 190 if (dtrace_probe_lookup(prov->id, mod, func, name) != DTRACE_IDNONE) in sdt_create_probe() 193 (void)dtrace_probe_create(prov->id, mod, func, name, 1, probe); in sdt_create_probe() 423 sdt_modevent(module_t mod __unused, int type, void *data __unused) in sdt_modevent()
|
| /freebsd-13.1/contrib/ofed/infiniband-diags/src/ |
| H A D | smpdump.c | 82 void drsmp_get_init(void *umad, DRPath * path, int attr, int mod) in drsmp_get_init() argument 94 smp->attr_mod = htonl(mod); in drsmp_get_init() 107 void smp_get_init(void *umad, int lid, int attr, int mod) in smp_get_init() argument 119 smp->attr_mod = htonl(mod); in smp_get_init() 125 void drsmp_set_init(void *umad, DRPath * path, int attr, int mod, void *data) in drsmp_set_init() argument 133 smp->attr_mod = htonl(mod); in drsmp_set_init() 226 int i, portid, mod = 0, attr; in main() local 266 mod = strtoul(argv[2], 0, 0); in main() 283 drsmp_get_init(umad, &path, attr, mod); in main() 285 smp_get_init(umad, dlid, attr, mod); in main()
|