| /dragonfly/sys/kern/ |
| HD | kern_module.c | 55 #define MOD_EVENT(mod, type) (mod)->handler((mod), (type), (mod)->arg) argument 64 modevent_nop(module_t mod, int what, void* arg) in modevent_nop() argument 83 module_t mod; in module_shutdown() local 85 for (mod = TAILQ_FIRST(&modules); mod; mod = TAILQ_NEXT(mod, link)) in module_shutdown() 86 MOD_EVENT(mod, MOD_SHUTDOWN); in module_shutdown() 94 module_t mod; in module_register_init() local 96 mod = module_lookupbyname(data->name); in module_register_init() 97 if (mod == NULL) { in module_register_init() 105 mod = module_lookupbyname(data->name); in module_register_init() 106 if (mod == NULL) in module_register_init() [all …]
|
| HD | kern_linker.c | 479 module_t mod, next; in linker_file_unload() local 505 mod = TAILQ_FIRST(&file->modules); in linker_file_unload() 506 for (mod = TAILQ_FIRST(&file->modules); mod; mod = next) { in linker_file_unload() 507 next = module_getfnext(mod); in linker_file_unload() 514 if ((error = module_unload(mod)) != 0) { in linker_file_unload() 516 mod)); in linker_file_unload() 521 module_release(mod); in linker_file_unload() 1086 modlist_t mod; in modlist_lookup() local 1088 TAILQ_FOREACH(mod, &found_modules, link) { in modlist_lookup() 1089 if (strcmp(mod->name, name) == 0 && (ver == 0 || mod->version == ver)) in modlist_lookup() [all …]
|
| HD | kern_syscalls.c | 81 syscall_module_handler(struct module *mod, int what, void *arg) in syscall_module_handler() argument 94 module_setspecific(mod, &ms); in syscall_module_handler() 96 error = data->chainevh(mod, what, data->chainarg); in syscall_module_handler() 101 error = data->chainevh(mod, what, data->chainarg); in syscall_module_handler() 110 return data->chainevh(mod, what, data->chainarg); in syscall_module_handler()
|
| /dragonfly/sbin/fsck_msdosfs/ |
| HD | check.c | 45 int mod = 0; in checkfilesys() local 81 mod |= readfat(dosfs, &boot, &fat); in checkfilesys() 82 if (mod & FSFATAL) { in checkfilesys() 90 mod |= resetDosDirSection(fat); in checkfilesys() 92 if (mod & FSFATAL) in checkfilesys() 96 mod |= handleDirTree(fat); in checkfilesys() 97 if (mod & FSFATAL) in checkfilesys() 103 mod |= checklost(fat); in checkfilesys() 104 if (mod & FSFATAL) in checkfilesys() 108 if (mod & FSFATMOD) { in checkfilesys() [all …]
|
| HD | dir.c | 555 int mod = FSOK; in readDosDirSection() local 588 mod |= checkchain(fat, dir->head, &dirclusters); in readDosDirSection() 645 mod |= THISMOD|FSDIRMOD; in readDosDirSection() 651 mod |= THISMOD|FSDIRMOD; in readDosDirSection() 654 mod |= FSERROR; in readDosDirSection() 766 mod |= removede(fat, in readDosDirSection() 806 mod |= k = removede(fat, in readDosDirSection() 810 if (mod & FSFATAL) in readDosDirSection() 816 mod |= THISMOD; in readDosDirSection() 859 mod |= THISMOD|FSDIRMOD; in readDosDirSection() [all …]
|
| /dragonfly/lib/libc/net/ |
| HD | nsdispatch.c | 472 ns_mod mod; in nss_load_module() local 475 memset(&mod, 0, sizeof(mod)); in nss_load_module() 476 mod.name = strdup(source); in nss_load_module() 477 if (mod.name == NULL) { in nss_load_module() 485 mod.handle = nss_builtin_handle; in nss_load_module() 490 if (snprintf(buf, sizeof(buf), "nss_%s.so.%d", mod.name, in nss_load_module() 493 mod.handle = libc_dlopen(buf, RTLD_LOCAL|RTLD_LAZY); in nss_load_module() 494 if (mod.handle == NULL) { in nss_load_module() 499 nss_log(LOG_DEBUG, "%s, %s", mod.name, dlerror()); in nss_load_module() 503 fn = (nss_module_register_fn)dlfunc(mod.handle, in nss_load_module() [all …]
|
| /dragonfly/contrib/libarchive/libarchive/ |
| HD | archive_options.c | 37 const char **mod, const char **opt, const char **val); 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() 138 if (r == ARCHIVE_FAILED && mod != NULL) { 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 [all …]
|
| /dragonfly/crypto/libressl/crypto/bn/ |
| HD | bn_blind.c | 126 BIGNUM *mod; /* just a reference */ member 140 BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod) in BN_BLINDING_new() argument 144 bn_check_top(mod); in BN_BLINDING_new() 160 if ((ret->mod = BN_dup(mod)) == NULL) in BN_BLINDING_new() 162 if (BN_get_flags(mod, BN_FLG_CONSTTIME) != 0) in BN_BLINDING_new() 163 BN_set_flags(ret->mod, BN_FLG_CONSTTIME); in BN_BLINDING_new() 187 BN_clear_free(r->mod); in BN_BLINDING_free() 210 if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx)) in BN_BLINDING_update() 212 if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx)) in BN_BLINDING_update() 253 if (!BN_mod_mul(n, n,b->A, b->mod, ctx)) in BN_BLINDING_convert_ex() [all …]
|
| HD | bn_prime.c | 295 BN_ULONG mod = BN_mod_word(a, primes[i]); in BN_is_prime_fasttest_ex() local 296 if (mod == (BN_ULONG)-1) in BN_is_prime_fasttest_ex() 298 if (mod == 0) in BN_is_prime_fasttest_ex() 420 BN_ULONG mod = BN_mod_word(rnd, (BN_ULONG)primes[i]); in probable_prime() local 421 if (mod == (BN_ULONG)-1) in probable_prime() 423 mods[i] = (prime_t)mod; in probable_prime() 477 BN_LONG mod = BN_mod_word(rnd, (BN_ULONG)primes[i]); in probable_prime_dh() local 478 if (mod == (BN_ULONG)-1) in probable_prime_dh() 480 if (mod <= 1) { in probable_prime_dh()
|
| HD | bn_mont.c | 367 BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) in BN_MONT_CTX_set() argument 372 if (BN_is_zero(mod)) in BN_MONT_CTX_set() 379 if (!BN_copy(&(mont->N), mod)) in BN_MONT_CTX_set() 393 mont->ri = (BN_num_bits(mod) + in BN_MONT_CTX_set() 407 if ((buf[0] = mod->d[0])) in BN_MONT_CTX_set() 409 if ((buf[1] = mod->top > 1 ? mod->d[1] : 0)) in BN_MONT_CTX_set() 441 buf[0] = mod->d[0]; /* tmod = N mod word size */ in BN_MONT_CTX_set() 518 BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, int lock, const BIGNUM *mod, in BN_MONT_CTX_set_locked() argument 532 if (ret && !BN_MONT_CTX_set(ret, mod, ctx)) in BN_MONT_CTX_set_locked()
|
| /dragonfly/contrib/mdocml/ |
| HD | tbl_layout.c | 74 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 …]
|
| /dragonfly/share/i18n/esdb/UTF/ |
| HD | Makefile.inc | 8 UTF-16-mod= UTF1632 10 UTF-16BE-mod= UTF1632 12 UTF-16LE-mod= UTF1632 14 UTF-32-mod= UTF1632 16 UTF-32BE-mod= UTF1632 18 UTF-32LE-mod= UTF1632 20 UTF-8-mod= UTF8 22 UTF-7-mod= UTF7
|
| /dragonfly/contrib/cvs-1.12/src/ |
| HD | history.c | 203 char *mod; /* The module within which the file is contained */ member 339 if (left->mod && right->mod) in sort_order() 340 if ((i = strcmp (left->mod, right->mod)) != 0) in sort_order() 591 char **mod; in history() local 625 for (mod = mod_list; mod < &mod_list[mod_count]; ++mod) in history() 626 option_with_arg ("-n", *mod); in history() 631 for (mod = user_list; mod < &user_list[user_count]; ++mod) in history() 632 option_with_arg ("-u", *mod); in history() 1056 hr->end = hr->mod = NULL; in fill_hrec() 1080 hr->mod = line; in fill_hrec() [all …]
|
| /dragonfly/contrib/gmp/ |
| HD | randmts.c | 105 mpz_t mod; /* Modulus. */ in randseed_mt() local 110 mpz_init (mod); in randseed_mt() 113 mpz_set_ui (mod, 0L); in randseed_mt() 114 mpz_setbit (mod, 19937L); in randseed_mt() 115 mpz_sub_ui (mod, mod, 20027L); in randseed_mt() 116 mpz_mod (seed1, seed, mod); /* Reduce `seed' modulo `mod'. */ in randseed_mt() 132 mpz_clear (mod); in randseed_mt()
|
| /dragonfly/contrib/bmake/ |
| HD | var.c | 2286 ModMatch(const char *mod, const char *modname, const ModChain *ch) in ModMatch() argument 2289 return strncmp(mod, modname, n) == 0 && IsDelimiter(mod[n], ch); in ModMatch() 2294 ModMatchEq(const char *mod, const char *modname, const ModChain *ch) in ModMatchEq() argument 2297 return strncmp(mod, modname, n) == 0 && in ModMatchEq() 2298 (IsDelimiter(mod[n], ch) || mod[n] == '='); in ModMatchEq() 2568 const char *mod = *pp; in ApplyModifier_Time() local 2569 bool gmt = mod[0] == 'g'; in ApplyModifier_Time() 2571 if (!ModMatchEq(mod, gmt ? "gmtime" : "localtime", ch)) in ApplyModifier_Time() 2573 args = mod + (gmt ? 6 : 9); in ApplyModifier_Time() 2684 const char *mod = *pp; in ApplyModifier_Range() local [all …]
|
| /dragonfly/sys/sys/ |
| HD | module.h | 150 void module_reference(module_t mod); 151 int module_release(module_t mod); 152 int module_unload(module_t mod); 153 int module_getid(module_t mod); 154 module_t module_getfnext(module_t mod); 155 void module_setspecific(module_t mod, modspecific_t *datap);
|
| /dragonfly/usr.bin/calendar/ |
| HD | gregorian.c | 67 int r4 = mod(year, 4); in gregorian_leap_year() 68 int r400 = mod(year, 400); in gregorian_leap_year() 112 int d1 = mod(d0, 146097); in gregorian_year_from_fixed() 113 int d2 = mod(d1, 36524); in gregorian_year_from_fixed() 114 int d3 = mod(d2, 1461); in gregorian_year_from_fixed()
|
| HD | ecclesiastical.c | 60 int shifted_epact = mod(14 + 11 * mod(g_year, 19), 30); in orthodox_easter() 79 int y_mod19 = mod(g_year, 19); in easter() 82 int shifted_epact = mod(n, 30); in easter()
|
| /dragonfly/games/primes/ |
| HD | primes.c | 200 ubig mod; /* temp storage for mod */ in primes() local 280 mod = start%factor; in primes() 281 if (mod & 0x1) { in primes() 282 q = &table[(factor-mod)/2]; in primes() 284 q = &table[mod ? factor-(mod/2) : 0]; in primes()
|
| /dragonfly/stand/boot/efi/boot1/ |
| HD | boot1.c | 334 const boot_module_t *mod; in load_loader() local 340 mod = boot_modules[i]; in load_loader() 341 for (dev = mod->devices(); dev != NULL; dev = dev->next) { in load_loader() 345 status = mod->load(PATH_LOADER, dev, bufp, bufsize); in load_loader() 347 status = mod->load(PATH_LOADER_ALT, dev, bufp, in load_loader() 352 *modp = mod; in load_loader() 373 const boot_module_t *mod; in try_boot() local 381 status = load_loader(&mod, &dev, &loaderbuf, &loadersize, TRUE); in try_boot() 383 status = load_loader(&mod, &dev, &loaderbuf, in try_boot() 412 status = mod->load(PATH_DOTCONFIG, dev, &buf, &bufsize); in try_boot() [all …]
|
| /dragonfly/sys/dev/disk/md/ |
| HD | md.c | 102 mdinit(module_t mod, int cmd, void *arg) in mdinit() argument 504 caddr_t mod; in md_drvinit() local 512 mod = NULL; in md_drvinit() 513 while ((mod = preload_search_next_name(mod)) != NULL) { in md_drvinit() 514 name = (char *)preload_search_info(mod, MODINFO_NAME); in md_drvinit() 515 type = (char *)preload_search_info(mod, MODINFO_TYPE); in md_drvinit() 522 c = preload_search_info(mod, MODINFO_ADDR); in md_drvinit() 524 c = preload_search_info(mod, MODINFO_SIZE); in md_drvinit()
|
| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | double-int.c | 938 double_int *mod, bool *overflow) const in divmod_with_overflow() argument 945 &mod->low, &mod->high); in divmod_with_overflow() 951 double_int *mod) const in divmod() argument 958 &mod->low, &mod->high); in divmod() 965 double_int::sdivmod (double_int b, unsigned code, double_int *mod) const in sdivmod() argument 967 return this->divmod (b, false, code, mod); in sdivmod() 973 double_int::udivmod (double_int b, unsigned code, double_int *mod) const in udivmod() argument 975 return this->divmod (b, true, code, mod); in udivmod() 985 double_int mod; in div() local 987 return this->divmod (b, uns, code, &mod); in div() [all …]
|
| /dragonfly/usr.sbin/pfctl/ |
| HD | pfctl_osfp.c | 149 #define GET_INT(v, mod, n, ty, mx) \ in pfctl_file_fingerprints() argument 150 get_int(&line, &len, &v, mod, n, ty, mx, fp_filename, lineno) in pfctl_file_fingerprints() 779 get_int(char **line, size_t *len, int *var, int *mod, in get_int() argument 786 if (mod) in get_int() 787 *mod = 0; in get_int() 803 if (mod && (flags & T_MSS)) in get_int() 804 *mod = T_MSS; in get_int() 809 if (mod && (flags & T_MTU)) in get_int() 810 *mod = T_MTU; in get_int() 820 if (mod && (flags & T_DC)) { in get_int() [all …]
|
| /dragonfly/contrib/gcc-8.0/libgomp/ |
| HD | taskloop.c | 122 UTYPE mod = n % num_tasks; in GOMP_taskloop() local 124 if (mod) in GOMP_taskloop() 127 nfirst = mod - 1; in GOMP_taskloop() 140 UTYPE mod = n % num_tasks; in GOMP_taskloop() local 142 if (mod) in GOMP_taskloop() 145 nfirst = mod - 1; in GOMP_taskloop()
|
| /dragonfly/games/larn/ |
| HD | scores.c | 551 const char *mod; in died() local 628 mod = "an"; in died() 630 mod = "a"; in died() 631 sprintf(logg.what, "killed by %s %s", mod, monster[x].name); in died() 679 const char *mod; in diedsub() local 684 mod = "an"; in diedsub() 686 mod = "a"; in diedsub() 687 lprintf("killed by %s %s", mod, monster[x].name); in diedsub()
|