Home
last modified time | relevance | path

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

12345678910>>...28

/freebsd/sys/kern/
H A Dkern_module.c58 #define MOD_EVENT(mod, type) (mod)->handler((mod), (type), (mod)->arg) argument
66 modevent_nop(module_t mod, int what, void *arg) in modevent_nop() argument
94 module_t mod; in module_shutdown() local
100 TAILQ_FOREACH_REVERSE(mod, &modules, modulelist, link) in module_shutdown()
101 MOD_EVENT(mod, MOD_SHUTDOWN); in module_shutdown()
111 module_t mod; in module_register_init() local
115 mod = module_lookupbyname(data->name); in module_register_init()
116 if (mod == NULL) in module_register_init()
120 error = MOD_EVENT(mod, MOD_LOAD); in module_register_init()
122 MOD_EVENT(mod, MOD_UNLOAD); in module_register_init()
[all …]
/freebsd/sys/sys/
H A Dsdt.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 …]
H A Dpmckern.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/contrib/bmake/unit-tests/
H A Dvarmod-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 …]
H A Dmoderrs.mk13 all: mod-unknown-direct mod-unknown-indirect
19 all: mod-subst-delimiter
20 all: mod-regex-delimiter
21 all: mod-ts-parse
22 all: mod-t-parse
23 all: mod-ifelse-parse
24 all: mod-remember-parse
25 all: mod-sysv-parse
27 mod-unknown-direct: print-footer
31 mod-unknown-indirect: print-footer
[all …]
/freebsd/sbin/fsck_msdosfs/
H A Dcheck.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 …]
H A Ddir.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/contrib/unbound/services/
H A Dmodstack.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) in modstack_call_startup()
250 i, stack->mod[i]->name); in modstack_call_startup()
251 fptr_ok(fptr_whitelist_mod_startup(stack->mod[i]->startup)); in modstack_call_startup()
[all …]
/freebsd/sys/tests/
H A Dktest.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/lib/libc/net/
H A Dnsdispatch.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/contrib/ofed/libibmad/
H A Dsmp.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 …]
H A Dcc.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/share/i18n/esdb/UTF/
H A DMakefile6 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/contrib/libarchive/libarchive/
H A Darchive_options.c36 const char **mod, const char **opt, const char **val);
104 const char *s, *mod, *opt, *val; in _archive_set_options()
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 in _archive_set_options()
105 const char *s, *mod, *opt, *val; _archive_set_options() local
172 const char *end, *mod, *opt, *val; parse_option() local
[all...]
/freebsd/contrib/mandoc/
H A Dtbl_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/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_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 …]
H A Dsanitizer_symbolizer.cpp47 void AddressInfo::FillModuleInfo(const LoadedModule &mod) { in FillModuleInfo()
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();
45 FillModuleInfo(const LoadedModule & mod) FillModuleInfo() argument
/freebsd/contrib/llvm-project/compiler-rt/lib/stats/
H A Dstats.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/crypto/openssl/crypto/bn/
H A Dbn_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/contrib/llvm-project/llvm/include/llvm-c/
H A Dlto.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/sys/x86/xen/
H A Dpv.c159 struct hvm_modlist_entry *mod; in hammer_time_xen() local
192 mod = (struct hvm_modlist_entry *) in hammer_time_xen()
195 physfree = MAX(roundup2(mod[i].paddr + mod[i].size, in hammer_time_xen()
264 struct hvm_modlist_entry *mod; in xen_pvh_parse_preload_data() local
267 mod = (struct hvm_modlist_entry *) in xen_pvh_parse_preload_data()
269 cmdline = mod[0].cmdline_paddr ? in xen_pvh_parse_preload_data()
270 (const char *)(mod[0].cmdline_paddr + KERNBASE) : NULL; in xen_pvh_parse_preload_data()
275 header = (struct xen_header *)(mod[0].paddr + KERNBASE); in xen_pvh_parse_preload_data()
283 preload_metadata = (caddr_t)(mod[0].paddr + in xen_pvh_parse_preload_data()
303 off = mod[0].paddr + header->modulep_offset - metadata + in xen_pvh_parse_preload_data()
[all …]
/freebsd/stand/efi/boot1/
H A Dproto.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/contrib/libucl/python/src/
H A Duclmodule.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/stand/kshim/
H A Dbsd_kernel.c711 const struct module_data *mod; in devclass_find_create() local
713 TAILQ_FOREACH(mod, &module_head, entry) { in devclass_find_create()
714 if (devclass_equal(mod->mod_name, classname)) { in devclass_find_create()
715 if (devclass_create(mod->devclass_pp)) { in devclass_find_create()
718 return (mod); in devclass_find_create()
725 devclass_add_device(const struct module_data *mod, device_t dev) in devclass_add_device() argument
731 pp_dev = mod->devclass_pp[0]->dev_list; in devclass_add_device()
739 dev->dev_module = mod; in devclass_add_device()
753 devclass_delete_device(const struct module_data *mod, device_t dev) in devclass_delete_device() argument
755 if (mod == NULL) { in devclass_delete_device()
[all …]
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dsmpdump.c82 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()

12345678910>>...28