Home
last modified time | relevance | path

Searched refs:nslots (Results 1 – 12 of 12) sorted by relevance

/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfmerge.c635 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 Dufs_dirhash.c349 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 Ddumpregs.c321 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 Dverbs.c1280 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 Ddumpregs.h90 void register_keycache(u_int nslots,
/freebsd/crypto/openssh/
H A Dssh-pkcs11.c66 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 Dmt76x02_beacon.c16 for (i = 0; i < dev->beacon_ops->nslots; i++) { in mt76x02_set_beacon_offsets()
H A Dmt76x02_usb_core.c260 .nslots = N_BCN_SLOTS, in mt76x02u_init_beacon_config()
H A Dmt76x02.h64 unsigned int nslots; member
H A Dmt76x02_mmio.c95 .nslots = 8, in mt76x02e_init_beacon_config()
/freebsd/tools/tools/ath/athpoke/
H A Dathpoke.c217 register_keycache(u_int nslots, in register_keycache() argument
/freebsd/tools/tools/ath/athdecode/
H A Dmain.c338 register_keycache(u_int nslots, in register_keycache() argument