| /freebsd-12.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 …]
|
| H A D | kern_linker.c | 513 modlist_t mod; in linker_reference_module() local 533 modlist_t mod; in linker_release_module() local 667 for (mod = TAILQ_FIRST(&file->modules); mod; in linker_file_unload() 668 mod = module_getfnext(mod)) { in linker_file_unload() 690 for (mod = TAILQ_FIRST(&file->modules); mod; mod = next) { in linker_file_unload() 1404 modlist_t mod; in modlist_lookup() local 1409 return (mod); in modlist_lookup() 1440 modlist_t mod; in modlist_newmodule() local 1449 return (mod); in modlist_newmodule() 1491 modlist_t mod; in linker_preload() local [all …]
|
| /freebsd-12.1/sys/sys/ |
| H A D | sdt.h | 91 #define SDT_PROBE_DEFINE(prov, mod, func, name) argument 107 #define SDT_PROBE0(prov, mod, func, name) argument 184 SDT_PROBE_DEFINE(prov, mod, func, name) 187 SDT_PROBE_DEFINE(prov, mod, func, name); \ 191 SDT_PROBE_DEFINE(prov, mod, func, name); \ 196 SDT_PROBE_DEFINE(prov, mod, func, name); \ 202 SDT_PROBE_DEFINE(prov, mod, func, name); \ 209 SDT_PROBE_DEFINE(prov, mod, func, name); \ 218 SDT_PROBE_DEFINE(prov, mod, func, name); \ 238 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-12.1/sbin/fsck_msdosfs/ |
| H A D | check.c | 53 int mod = 0; in checkfilesys() local 98 if (mod & FSFATAL) { in checkfilesys() 109 if (mod & FSFATAL) in checkfilesys() 122 if (mod & FSFATAL) in checkfilesys() 131 if (mod & FSFATAL) in checkfilesys() 136 if (mod & FSFATAL) in checkfilesys() 143 if (mod & FSFATAL) in checkfilesys() 149 mod |= writefat(dosfs, &boot, fat, mod & FSFIXFAT); in checkfilesys() 153 mod |= FSERROR; in checkfilesys() 166 if (mod && (mod & FSERROR) == 0) { in checkfilesys() [all …]
|
| H A D | dir.c | 452 int mod = FSOK; in readDosDirSection() local 523 mod |= FSERROR; in readDosDirSection() 676 mod |= THISMOD; in readDosDirSection() 694 mod |= FSERROR; in readDosDirSection() 841 mod |= THISMOD; in readDosDirSection() 856 mod &= ~THISMOD; in readDosDirSection() 875 mod &= ~THISMOD; in readDosDirSection() 883 int mod; in handleDirTree() local 886 if (mod & FSFATAL) in handleDirTree() 907 if (mod & FSFATAL) in handleDirTree() [all …]
|
| /freebsd-12.1/contrib/bmake/unit-tests/ |
| H A D | modword.mk | 5 all: mod-squarebrackets mod-S-W mod-C-W mod-tW-tw 21 mod-squarebrackets: mod-squarebrackets-0-star-at \ 22 mod-squarebrackets-hash \ 23 mod-squarebrackets-n \ 25 mod-squarebrackets-nested 27 mod-squarebrackets-0-star-at: 48 mod-squarebrackets-hash: 62 mod-squarebrackets-n: 127 mod-C-W: 134 mod-S-W: [all …]
|
| /freebsd-12.1/lib/libc/net/ |
| H A D | nsdispatch.c | 474 ns_mod mod; in nss_load_module() local 477 memset(&mod, 0, sizeof(mod)); in nss_load_module() 524 mod.mtab = fn(mod.name, &mod.mtabsize, &mod.unregister); in nss_load_module() 525 if (mod.mtab == NULL || mod.mtabsize == 0) { in nss_load_module() 528 mod.handle = NULL; in nss_load_module() 533 qsort(mod.mtab, mod.mtabsize, sizeof(mod.mtab[0]), in nss_load_module() 546 free(mod->name); in ns_mod_free() 550 mod->unregister(mod->mtab, mod->mtabsize); in ns_mod_free() 582 ns_mod *mod; in nss_method_lookup() local 594 if (mod != NULL && mod->handle != NULL) { in nss_method_lookup() [all …]
|
| /freebsd-12.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-12.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-12.1/contrib/unbound/services/ |
| H A D | modstack.c | 92 stack->mod = NULL; in modstack_init() 112 if(!stack->mod) { in modstack_config() 118 if(!stack->mod[i]) { in modstack_config() 227 i, stack->mod[i]->name); in modstack_setup() 229 if(!(*stack->mod[i]->init)(env, i)) { in modstack_setup() 244 (*stack->mod[i]->deinit)(env, i); in modstack_desetup() 247 free(stack->mod); in modstack_desetup() 248 stack->mod = NULL; in modstack_desetup() 256 if(strcmp(stack->mod[i]->name, name) == 0) in modstack_find() 268 mods.mod[m]->get_mem)); in mod_get_mem() [all …]
|
| /freebsd-12.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-12.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-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_libignore.cc | 59 for (const auto &mod : modules) { in OnLibraryLoaded() local 60 for (const auto &range : mod.ranges()) { in OnLibraryLoaded() 63 if (!TemplateMatch(lib->templ, mod.full_name()) && in OnLibraryLoaded() 65 internal_strcmp(lib->real_name, mod.full_name()) == 0)) in OnLibraryLoaded() 70 SanitizerToolName, lib->templ, lib->name, mod.full_name()); in OnLibraryLoaded() 79 lib->templ, mod.full_name()); in OnLibraryLoaded() 81 lib->name = internal_strdup(mod.full_name()); in OnLibraryLoaded() 101 for (const auto &mod : modules) { in OnLibraryLoaded() local 102 if (!mod.instrumented()) in OnLibraryLoaded() 104 for (const auto &range : mod.ranges()) { in OnLibraryLoaded() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/stats/ |
| H A D | stats.cc | 66 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( in WriteModuleReport() local 68 WriteToFile(stats_fd, mod->full_name(), in WriteModuleReport() 69 internal_strlen(mod->full_name()) + 1); in WriteModuleReport() 75 WriteLE(stats_fd, s->addr - mod->base_address()); in WriteModuleReport() 87 unsigned __sanitizer_stats_register(StatModule **mod) { in __sanitizer_stats_register() argument 89 modules.push_back(mod); in __sanitizer_stats_register() 105 for (StatModule **mod : modules) { in WriteFullReport() 106 if (!mod) in WriteFullReport() 108 WriteModuleReport(mod); in WriteFullReport()
|
| /freebsd-12.1/crypto/openssl/crypto/bn/ |
| H A D | bn_blind.c | 20 BIGNUM *mod; /* just a reference */ member 34 bn_check_top(mod); in BN_BLINDING_new() 61 if ((ret->mod = BN_dup(mod)) == NULL) in BN_BLINDING_new() 64 if (BN_get_flags(mod, BN_FLG_CONSTTIME) != 0) in BN_BLINDING_new() 65 BN_set_flags(ret->mod, BN_FLG_CONSTTIME); in BN_BLINDING_new() 88 BN_free(r->mod); in BN_BLINDING_free() 116 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx) in BN_BLINDING_update() 117 || !BN_mod_mul(b->A, b->A, b->A, b->mod, ctx)) in BN_BLINDING_update() 157 ret = BN_mod_mul(n, n, b->A, b->mod, ctx); in BN_BLINDING_convert_ex() 196 ret = BN_mod_mul(n, n, r, b->mod, ctx); in BN_BLINDING_invert_ex() [all …]
|
| /freebsd-12.1/contrib/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); 379 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); 390 lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod); 728 extern lto_bool_t lto_module_is_thinlto(lto_module_t mod);
|
| /freebsd-12.1/contrib/libucl/python/src/ |
| H A D | uclmodule.c | 298 init_macros(PyObject *mod) in init_macros() argument 300 PyModule_AddIntMacro(mod, UCL_EMIT_JSON); in init_macros() 301 PyModule_AddIntMacro(mod, UCL_EMIT_JSON_COMPACT); in init_macros() 302 PyModule_AddIntMacro(mod, UCL_EMIT_CONFIG); in init_macros() 303 PyModule_AddIntMacro(mod, UCL_EMIT_YAML); in init_macros() 304 PyModule_AddIntMacro(mod, UCL_EMIT_MSGPACK); in init_macros() 323 PyObject *mod = PyModule_Create (&uclmodule); in PyInit_ucl() local 324 init_macros (mod); in PyInit_ucl() 326 return mod; in PyInit_ucl() 331 PyObject *mod = Py_InitModule ("ucl", uclMethods); in initucl() local [all …]
|
| /freebsd-12.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-12.1/stand/kshim/ |
| H A D | bsd_kernel.c | 697 const struct module_data *mod; in devclass_find_create() local 704 return (mod); in devclass_find_create() 725 dev->dev_module = mod; in devclass_add_device() 741 if (mod == NULL) { in devclass_delete_device() 758 if (!mod) { in make_device() 911 const struct module_data *mod; in device_allocate_softc() local 913 mod = dev->dev_module; in device_allocate_softc() 916 (mod->driver->size != 0)) { in device_allocate_softc() 931 const struct module_data *mod; in device_probe_and_attach() local 941 mod = dev->dev_module; in device_probe_and_attach() [all …]
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | double-int.c | 211 double_int *mod) in double_int_divmod() argument 216 &ret.low, &ret.high, &mod->low, &mod->high); in double_int_divmod() 223 double_int_sdivmod (double_int a, double_int b, unsigned code, double_int *mod) in double_int_sdivmod() argument 225 return double_int_divmod (a, b, false, code, mod); in double_int_sdivmod() 231 double_int_udivmod (double_int a, double_int b, unsigned code, double_int *mod) in double_int_udivmod() argument 233 return double_int_divmod (a, b, true, code, mod); in double_int_udivmod() 243 double_int mod; in double_int_div() local 245 return double_int_divmod (a, b, uns, code, &mod); in double_int_div() 271 double_int mod; in double_int_mod() local 273 double_int_divmod (a, b, uns, code, &mod); in double_int_mod() [all …]
|
| /freebsd-12.1/sys/cddl/dev/sdt/ |
| H A D | sdt.c | 140 char mod[DTRACE_MODNAMELEN]; in sdt_create_probe() local 160 if (*probe->mod == 0) { in sdt_create_probe() 161 len = strlcpy(mod, probe->sdtp_lf->filename, sizeof(mod)); in sdt_create_probe() 162 if (len > 3 && strcmp(mod + len - 3, ".ko") == 0) in sdt_create_probe() 163 mod[len - 3] = '\0'; in sdt_create_probe() 165 strlcpy(mod, probe->mod, sizeof(mod)); in sdt_create_probe() 189 if (dtrace_probe_lookup(prov->id, mod, func, name) != DTRACE_IDNONE) in sdt_create_probe() 192 (void)dtrace_probe_create(prov->id, mod, func, name, 1, probe); in sdt_create_probe() 400 sdt_modevent(module_t mod __unused, int type, void *data __unused) in sdt_modevent()
|
| /freebsd-12.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()
|
| /freebsd-12.1/sys/dev/nand/ |
| H A D | nandsim.c | 596 nandsim_modify(struct sim_mod *mod) in nandsim_modify() argument 602 mod->chip_num); in nandsim_modify() 604 if (mod->field != SIM_MOD_LOG_LEVEL) { in nandsim_modify() 605 if (mod->ctrl_num >= MAX_SIM_DEV || in nandsim_modify() 606 mod->chip_num >= MAX_CTRL_CS) in nandsim_modify() 609 sim_conf = ctrls[mod->ctrl_num].chips[mod->chip_num]; in nandsim_modify() 610 sim_chip = get_nandsim_chip(mod->ctrl_num, mod->chip_num); in nandsim_modify() 613 switch (mod->field) { in nandsim_modify() 615 nandsim_log_level = mod->new_value; in nandsim_modify() 627 sim_conf->error_ratio = mod->new_value; in nandsim_modify() [all …]
|