| /freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| H A D | ctfmerge.c | 635 int throttle, nslots, i; in wq_init() local 638 nslots = atoi(getenv("CTFMERGE_MAX_SLOTS")); in wq_init() 640 nslots = MERGE_PHASE1_MAX_SLOTS; in wq_init() 647 nslots = MIN(nslots, (nfiles + wq->wq_maxbatchsz - 1) / in wq_init() 650 wq->wq_wip = xcalloc(sizeof (wip_t) * nslots); in wq_init() 651 wq->wq_nwipslots = nslots; in wq_init() 652 wq->wq_nthreads = MIN(sysconf(_SC_NPROCESSORS_ONLN) * 3 / 2, nslots); in wq_init() 666 for (i = 0; i < nslots; i++) { in wq_init()
|
| /freebsd/sys/ufs/ufs/ |
| H A D | ufs_dirhash.c | 349 uint64_t dirblocks, i, narrays, nblocks, nslots; in ufsdirhash_build() local 376 nslots = ip->i_size / DIRECTSIZ(1); in ufsdirhash_build() 377 nslots = (nslots * 3 + 1) / 2; in ufsdirhash_build() 378 narrays = howmany(nslots, DH_NBLKOFF); in ufsdirhash_build() 379 nslots = narrays * DH_NBLKOFF; in ufsdirhash_build() 401 dh->dh_hlen = nslots; in ufsdirhash_build()
|
| /freebsd/tools/tools/ath/athregs/ |
| H A D | dumpregs.c | 321 register_keycache(u_int nslots, in register_keycache() argument 330 keyregs = (struct dumpreg *) calloc(nslots, 8*sizeof(struct dumpreg)); in register_keycache() 332 errx(-1, "no space to %d keycache slots\n", nslots); in register_keycache() 334 for (i = 0; i < nslots; i++) { in register_keycache() 344 register_regs(keyregs, 8*nslots, in register_keycache()
|
| /freebsd/contrib/ofed/libbnxtre/ |
| H A D | verbs.c | 1280 int nslots; in bnxt_re_get_sqmem_size() local 1288 nslots = bnxt_re_get_sq_slots(cntx->rdev, mode, nswr, in bnxt_re_get_sqmem_size() 1290 if (nslots < 0) in bnxt_re_get_sqmem_size() 1291 return nslots; in bnxt_re_get_sqmem_size() 1292 npsn = bnxt_re_get_npsn(mode, nswr, nslots); in bnxt_re_get_sqmem_size() 1297 qattr->slots = nslots; in bnxt_re_get_sqmem_size() 1300 qattr->sw_nwr = nslots; in bnxt_re_get_sqmem_size() 1304 bytes = nslots * sizeof(struct bnxt_re_sge); /* ring */ in bnxt_re_get_sqmem_size() 1318 int nslots; in bnxt_re_get_rqmem_size() local 1323 nslots = bnxt_re_get_rq_slots(cntx->rdev, cntx->modes, in bnxt_re_get_rqmem_size() [all …]
|
| /freebsd/tools/tools/ath/common/ |
| H A D | dumpregs.h | 90 void register_keycache(u_int nslots,
|
| /freebsd/crypto/openssh/ |
| H A D | ssh-pkcs11.c | 66 CK_ULONG nslots; member 117 for (i = 0; i < p->nslots; i++) { in pkcs11_provider_finalize() 1917 if ((rv = f->C_GetSlotList(CK_TRUE, NULL, &p->nslots)) != CKR_OK) { in pkcs11_register_provider() 1921 if (p->nslots == 0) { in pkcs11_register_provider() 1926 p->slotlist = xcalloc(p->nslots, sizeof(CK_SLOT_ID)); in pkcs11_register_provider() 1927 if ((rv = f->C_GetSlotList(CK_TRUE, p->slotlist, &p->nslots)) in pkcs11_register_provider() 1933 p->slotinfo = xcalloc(p->nslots, sizeof(struct pkcs11_slotinfo)); in pkcs11_register_provider() 1936 for (i = 0; i < p->nslots; i++) { in pkcs11_register_provider()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | mt76x02_beacon.c | 16 for (i = 0; i < dev->beacon_ops->nslots; i++) { in mt76x02_set_beacon_offsets()
|
| H A D | mt76x02_usb_core.c | 260 .nslots = N_BCN_SLOTS, in mt76x02u_init_beacon_config()
|
| H A D | mt76x02.h | 64 unsigned int nslots; member
|
| H A D | mt76x02_mmio.c | 95 .nslots = 8, in mt76x02e_init_beacon_config()
|
| /freebsd/tools/tools/ath/athpoke/ |
| H A D | athpoke.c | 217 register_keycache(u_int nslots, in register_keycache() argument
|
| /freebsd/tools/tools/ath/athdecode/ |
| H A D | main.c | 338 register_keycache(u_int nslots, in register_keycache() argument
|