Home
last modified time | relevance | path

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

12345678910>>...27

/freebsd-14-stable/sys/kern/
HDkern_module.c59 #define MOD_EVENT(mod, type) (mod)->handler((mod), (type), (mod)->arg) argument
67 modevent_nop(module_t mod, int what, void *arg) in modevent_nop() argument
95 module_t mod; in module_shutdown() local
101 TAILQ_FOREACH_REVERSE(mod, &modules, modulelist, link) in module_shutdown()
102 MOD_EVENT(mod, MOD_SHUTDOWN); in module_shutdown()
112 module_t mod; in module_register_init() local
116 mod = module_lookupbyname(data->name); in module_register_init()
117 if (mod == NULL) in module_register_init()
121 error = MOD_EVENT(mod, MOD_LOAD); in module_register_init()
123 MOD_EVENT(mod, MOD_UNLOAD); in module_register_init()
[all …]
/freebsd-14-stable/sys/sys/
HDsdt.h91 #define SDT_PROBE_DEFINE(prov, mod, func, name) argument
92 #define SDT_PROBE_DECLARE(prov, mod, func, name) argument
94 #define SDT_PROBE(prov, mod, func, name, arg0, arg1, arg2, arg3, arg4) argument
95 #define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type, xtype) argument
97 #define SDT_PROBE_DEFINE0(prov, mod, func, name) argument
98 #define SDT_PROBE_DEFINE1(prov, mod, func, name, arg0) argument
99 #define SDT_PROBE_DEFINE2(prov, mod, func, name, arg0, arg1) argument
100 #define SDT_PROBE_DEFINE3(prov, mod, func, name, arg0, arg1, arg2) argument
101 #define SDT_PROBE_DEFINE4(prov, mod, func, name, arg0, arg1, arg2, arg3) argument
102 #define SDT_PROBE_DEFINE5(prov, mod, func, name, arg0, arg1, arg2, arg3, arg4) argument
[all …]
HDpmckern.h101 #define PMC_SOFT_DEFINE_EX(prov, mod, func, name, alloc, release) \ argument
102 struct pmc_soft pmc_##prov##_##mod##_##func##_##name = \
103 { 0, alloc, release, { #prov "_" #mod "_" #func "." #name, 0 } }; \
104 SYSINIT(pmc_##prov##_##mod##_##func##_##name##_init, SI_SUB_KDTRACE, \
106 &pmc_##prov##_##mod##_##func##_##name ); \
107 SYSUNINIT(pmc_##prov##_##mod##_##func##_##name##_uninit, \
109 &pmc_##prov##_##mod##_##func##_##name )
111 #define PMC_SOFT_DEFINE(prov, mod, func, name) \ argument
112 PMC_SOFT_DEFINE_EX(prov, mod, func, name, NULL, NULL)
114 #define PMC_SOFT_DECLARE(prov, mod, func, name) \ argument
[all …]
/freebsd-14-stable/contrib/bmake/unit-tests/
HDvarmod-select-words.mk12 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 \
30 mod-squarebrackets-start-end \
31 mod-squarebrackets-nested \
32 mod-squarebrackets-space
34 mod-squarebrackets-0-star-at:
55 mod-squarebrackets-hash:
69 mod-squarebrackets-n:
[all …]
HDmoderrs.mk14 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
32 mod-unknown-indirect: print-header print-footer
[all …]
/freebsd-14-stable/sbin/fsck_msdosfs/
HDcheck.c53 int mod = 0; in checkfilesys() local
96 mod |= readfat(dosfs, &boot, &fat); in checkfilesys()
97 if (mod & FSFATAL) { in checkfilesys()
105 mod |= resetDosDirSection(fat); in checkfilesys()
107 if (mod & FSFATAL) in checkfilesys()
111 mod |= handleDirTree(fat); in checkfilesys()
112 if (mod & FSFATAL) in checkfilesys()
118 mod |= checklost(fat); in checkfilesys()
119 if (mod & FSFATAL) in checkfilesys()
123 if (mod & FSFATMOD) { in checkfilesys()
[all …]
HDdir.c559 int mod = FSOK; in readDosDirSection() local
592 mod |= checkchain(fat, dir->head, &dirclusters); in readDosDirSection()
649 mod |= THISMOD|FSDIRMOD; in readDosDirSection()
655 mod |= THISMOD|FSDIRMOD; in readDosDirSection()
658 mod |= FSERROR; in readDosDirSection()
770 mod |= removede(fat, in readDosDirSection()
810 mod |= k = removede(fat, in readDosDirSection()
814 if (mod & FSFATAL) in readDosDirSection()
820 mod |= THISMOD; in readDosDirSection()
863 mod |= THISMOD|FSDIRMOD; in readDosDirSection()
[all …]
/freebsd-14-stable/contrib/unbound/services/
HDmodstack.c95 stack->mod = NULL; in modstack_init()
104 free(stack->mod); in modstack_free()
105 stack->mod = NULL; in modstack_free()
123 stack->mod = (struct module_func_block**)calloc((size_t) in modstack_config()
125 if(!stack->mod) { in modstack_config()
130 stack->mod[i] = module_factory(&module_conf); in modstack_config()
131 if(!stack->mod[i]) { in modstack_config()
247 if(stack->mod[i]->startup == NULL)
250 i, stack->mod[i]->name);
251 fptr_ok(fptr_whitelist_mod_startup(stack->mod[i]->startup));
[all …]
/freebsd-14-stable/crypto/libecc/src/nn/
HDnn_mod_pow.c39 …t _nn_exp_monty_ladder_ltr(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod, nn_src_t r, nn_src… in _nn_exp_monty_ladder_ltr() argument
71 ret = nn_cmp(base, mod, &cmp); EG(ret, err); in _nn_exp_monty_ladder_ltr()
74 ret = nn_mod(&T[rbit], base, mod); EG(ret, err); in _nn_exp_monty_ladder_ltr()
77 ret = nn_mul_redc1(&T[rbit], &T[rbit], r_square, mod, mpinv); EG(ret, err); in _nn_exp_monty_ladder_ltr()
83 ret = nn_mul_redc1(&T[rbit], base, r_square, mod, mpinv); EG(ret, err); in _nn_exp_monty_ladder_ltr()
94 ret = nn_mul_redc1(&T[1-rbit], &T[rbit], &T[rbit], mod, mpinv); EG(ret, err); in _nn_exp_monty_ladder_ltr()
97 ret = nn_mod_mul(&T[1-rbit], &T[rbit], &T[rbit], mod); EG(ret, err); in _nn_exp_monty_ladder_ltr()
114 ret = nn_mul_redc1(&T[2], &T[expbit ^ rbit], &T[expbit ^ rbit], mod, mpinv); EG(ret, err); in _nn_exp_monty_ladder_ltr()
117 ret = nn_mod_mul(&T[2], &T[expbit ^ rbit], &T[expbit ^ rbit], mod); EG(ret, err); in _nn_exp_monty_ladder_ltr()
121 ret = nn_mul_redc1(&T[1], &T[0], &T[1], mod, mpinv); EG(ret, err); in _nn_exp_monty_ladder_ltr()
[all …]
/freebsd-14-stable/sys/tests/
HDktest.c97 struct ktest_module *mod, const struct ktest_test_info *test_info) in dump_mod_test() argument
104 nlattr_add_string(nw, KTEST_ATTR_MOD_NAME, mod->info->name); in dump_mod_test()
117 struct ktest_module *mod, struct nl_ktest_parsed *attrs) in dump_mod_tests() argument
119 for (int i = 0; i < mod->info->num_tests; i++) { in dump_mod_tests()
120 const struct ktest_test_info *test_info = &mod->info->tests[i]; in dump_mod_tests()
123 int error = dump_mod_test(hdr, npt, mod, test_info); in dump_mod_tests()
135 struct ktest_module *mod; in dump_tests() local
145 TAILQ_FOREACH(mod, &module_list, entries) { in dump_tests()
146 if (attrs.mod_name && strcmp(attrs.mod_name, mod->info->name)) in dump_tests()
148 error = dump_mod_tests(hdr, npt, mod, &attrs); in dump_tests()
[all …]
/freebsd-14-stable/lib/libc/net/
HDnsdispatch.c484 ns_mod mod; in nss_load_module() local
487 memset(&mod, 0, sizeof(mod)); in nss_load_module()
488 mod.name = strdup(source); in nss_load_module()
489 if (mod.name == NULL) { in nss_load_module()
497 mod.handle = nss_builtin_handle; in nss_load_module()
512 if (snprintf(buf, sizeof(buf), "nss_%s.so.%d", mod.name, in nss_load_module()
515 mod.handle = libc_dlopen(buf, RTLD_LOCAL|RTLD_LAZY); in nss_load_module()
516 if (mod.handle == NULL) { in nss_load_module()
521 nss_log(LOG_DEBUG, "%s, %s", mod.name, dlerror()); in nss_load_module()
525 fn = (nss_module_register_fn)dlfunc(mod.handle, in nss_load_module()
[all …]
/freebsd-14-stable/contrib/ofed/libibmad/
HDsmp.c61 unsigned mod, unsigned timeout, int *rstatus, in smp_set_status_via() argument
67 DEBUG("attr 0x%x mod 0x%x route %s", attrid, mod, portid2str(portid)); in smp_set_status_via()
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
113 DEBUG("attr 0x%x mod 0x%x route %s", attrid, mod, portid2str(portid)); in smp_query_status_via()
116 rpc.attr.mod = mod; in smp_query_status_via()
[all …]
HDcc.c50 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-14-stable/share/i18n/esdb/UTF/
HDMakefile6 UTF-16-mod= UTF1632
8 UTF-16BE-mod= UTF1632
10 UTF-16LE-mod= UTF1632
12 UTF-16-INTERNAL-mod= UTF1632
14 UTF-16-SWAPPED-mod= UTF1632
16 UTF-32-mod= UTF1632
18 UTF-32BE-mod= UTF1632
20 UTF-32LE-mod= UTF1632
22 UTF-32-INTERNAL-mod= UTF1632
24 UTF-32-SWAPPED-mod= UTF1632
[all …]
/freebsd-14-stable/contrib/libarchive/libarchive/
HDarchive_options.c36 const char **mod, const char **opt, const char **val);
104 const char *s, *mod, *opt, *val; in _archive_set_options() local
119 mod = opt = val = NULL; in _archive_set_options()
121 parse_option(&s, &mod, &opt, &val); in _archive_set_options()
122 if (mod == NULL && opt != NULL && in _archive_set_options()
132 r = use_option(a, mod, opt, val); in _archive_set_options()
137 if (r == ARCHIVE_FAILED && mod != NULL) { in _archive_set_options()
146 "Unknown module name: `%s'", mod); in _archive_set_options()
154 mod?mod:"", mod?":":"", opt); in _archive_set_options()
171 const char *end, *mod, *opt, *val; in parse_option() local
[all …]
/freebsd-14-stable/contrib/mandoc/
HDtbl_layout.c74 mod: in mods()
91 goto mod; in mods()
106 goto mod; in mods()
112 goto mod; in mods()
115 goto mod; in mods()
118 goto mod; in mods()
123 goto mod; in mods()
126 goto mod; in mods()
133 goto mod; in mods()
136 goto mod; in mods()
[all …]
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_libignore.cpp58 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 …]
HDsanitizer_symbolizer.cpp47 void AddressInfo::FillModuleInfo(const LoadedModule &mod) { in FillModuleInfo() argument
48 module = internal_strdup(mod.full_name()); in FillModuleInfo()
49 module_offset = address - mod.base_address(); in FillModuleInfo()
50 module_arch = mod.arch(); in FillModuleInfo()
51 if (mod.uuid_size()) in FillModuleInfo()
52 internal_memcpy(uuid, mod.uuid(), mod.uuid_size()); in FillModuleInfo()
53 uuid_size = mod.uuid_size(); in FillModuleInfo()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/stats/
HDstats.cpp65 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-14-stable/crypto/openssl/crypto/bn/
HDbn_blind.c20 BIGNUM *mod; /* just a reference */ member
30 BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod) in BN_BLINDING_new() argument
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()
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm-c/
HDlto.h247 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,
324 extern lto_bool_t lto_module_has_ctor_dtor(lto_module_t mod);
404 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod);
[all …]
/freebsd-14-stable/stand/efi/boot1/
HDproto.c133 const boot_module_t *mod; in load_loader() local
136 mod = boot_modules[i]; in load_loader()
137 for (dev = mod->devices(); dev != NULL; dev = dev->next) { in load_loader()
141 if (mod->load(PATH_LOADER_EFI, dev, bufp, bufsize) == in load_loader()
144 *modp = mod; in load_loader()
162 const boot_module_t *mod; in choice_protocol() local
212 status = load_loader(&mod, &dev, &loaderbuf, &loadersize, 1); in choice_protocol()
214 status = load_loader(&mod, &dev, &loaderbuf, &loadersize, 0); in choice_protocol()
221 try_boot(mod, dev, loaderbuf, loadersize); in choice_protocol()
/freebsd-14-stable/contrib/libucl/python/src/
HDuclmodule.c299 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()
309 PyModule_AddObject(mod, "SchemaError", SchemaError); 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()
[all …]
/freebsd-14-stable/contrib/bmake/
HDvar.c2276 ModMatch(const char *mod, const char *modname, const ModChain *ch) in ModMatch() argument
2279 return strncmp(mod, modname, n) == 0 && IsDelimiter(mod[n], ch); in ModMatch()
2284 ModMatchEq(const char *mod, const char *modname, const ModChain *ch) in ModMatchEq() argument
2287 return strncmp(mod, modname, n) == 0 && in ModMatchEq()
2288 (IsDelimiter(mod[n], ch) || mod[n] == '='); in ModMatchEq()
2552 const char *mod = *pp; in ApplyModifier_Time() local
2553 bool gmt = mod[0] == 'g'; in ApplyModifier_Time()
2555 if (!ModMatchEq(mod, gmt ? "gmtime" : "localtime", ch)) in ApplyModifier_Time()
2557 args = mod + (gmt ? 6 : 9); in ApplyModifier_Time()
2678 const char *mod = *pp; in ApplyModifier_Range() local
[all …]
/freebsd-14-stable/sys/cddl/dev/sdt/
HDsdt.c139 char mod[DTRACE_MODNAMELEN]; in sdt_create_probe() local
159 if (*probe->mod == 0) { in sdt_create_probe()
160 len = strlcpy(mod, probe->sdtp_lf->filename, sizeof(mod)); in sdt_create_probe()
161 if (len > 3 && strcmp(mod + len - 3, ".ko") == 0) in sdt_create_probe()
162 mod[len - 3] = '\0'; in sdt_create_probe()
164 strlcpy(mod, probe->mod, sizeof(mod)); in sdt_create_probe()
188 if (dtrace_probe_lookup(prov->id, mod, func, name) != DTRACE_IDNONE) in sdt_create_probe()
191 (void)dtrace_probe_create(prov->id, mod, func, name, 1, probe); in sdt_create_probe()
421 sdt_modevent(module_t mod __unused, int type, void *data __unused) in sdt_modevent()

12345678910>>...27