| /src/sys/arch/alpha/tc/ |
| tc_dma_3000_500.c | 82 tc_dma_init_3000_500(int nslots) 89 sisize = nslots * sizeof(struct tc_dma_slot_info); 93 for (i = 0; i < nslots; i++)
|
| /src/sys/arch/amd64/amd64/ |
| gdt.c | 61 #define NSLOTS(sz) \ 63 #define NDYNSLOTS NSLOTS(MAXGDTSIZ) 67 size_t nslots; member in struct:__anonb7120b8e0108 140 gdt_bitmap.nslots = NSLOTS(gdt_size); 230 for (i = 0; i < gdt_bitmap.nslots; i++) { 246 KASSERT(slot < gdt_bitmap.nslots);
|
| /src/sys/dev/cardbus/ |
| sdhc_cardbus.c | 109 int nslots; local in function:sdhc_cardbus_attach 135 nslots = SDHC_PCI_NUM_SLOTS(slotinfo); 136 KASSERT(nslots == 1); 139 sc->sc.sc_host = malloc(sizeof(struct sdhc_host *) * nslots,
|
| /src/sys/arch/i386/i386/ |
| gdt.c | 49 #define NSLOTS(sz) \ 51 #define NDYNSLOTS NSLOTS(MAXGDTSIZ) 55 size_t nslots; member in struct:__anone6c360ca0108 153 gdt_bitmap.nslots = NSLOTS(gdt_size); 261 for (i = 0; i < gdt_bitmap.nslots; i++) { 277 KASSERT(slot < gdt_bitmap.nslots);
|
| /src/sys/uvm/ |
| uvm_swap.c | 1641 uvm_swap_alloc(int *nslots /* IN/OUT */, bool lessok) 1659 if (*nslots > BLIST_MAX_ALLOC) { 1662 *nslots = BLIST_MAX_ALLOC; 1679 if (sdp->swd_npginuse + *nslots > sdp->swd_npages) 1681 result = blist_alloc(sdp->swd_blist, *nslots); 1692 sdp->swd_npginuse += *nslots; 1693 uvmexp.swpginuse += *nslots; 1698 *nslots, result + sdp->swd_drumoffset, 0, 0); 1704 if (*nslots > 1 && lessok) { 1705 *nslots = 1 [all...] |
| /src/sys/dev/pci/ |
| sdhc_pci.c | 344 int nslots; local in function:sdhc_pci_attach 385 nslots = SDHC_PCI_NUM_SLOTS(slotinfo); 388 sc->sc.sc_host = malloc(sizeof(struct sdhc_host *) * nslots, 418 reg < SDHC_PCI_BAR_END && nslots > 0; 419 reg += width, nslots--) {
|
| virtio.c | 621 uint16_t nslots) 625 idx = vq->vq_used_idx + nslots; 636 return nslots < nused; 646 uint16_t nslots; local in function:virtio_postpone_intr_smart 648 nslots = (uint16_t) 651 return virtio_postpone_intr(sc, vq, nslots); 661 uint16_t nslots; local in function:virtio_postpone_intr_far 663 nslots = (uint16_t) 666 return virtio_postpone_intr(sc, vq, nslots); 969 size_t nslots) [all...] |
| virtiovar.h | 235 uint16_t nslots);
|
| if_mcx.c | 6737 mcx_rx_fill_slots(struct mcx_softc *sc, struct mcx_rx *rx, uint nslots) 6752 for (fills = 0; fills < nslots; fills++) { 6800 return (nslots - fills);
|
| /src/sys/compat/linux/common/ |
| linux_cdrom.h | 158 u_int8_t nslots; member in struct:linux_cdrom_mechstat_header
|
| /src/sys/ufs/lfs/ |
| ulfs_dirhash.c | 135 int dirblocks, i, j, memreqd, nblocks, narrays, nslots, slot; local in function:ulfsdirhash_build 165 nslots = ip->i_size / LFS_DIRECTSIZ(fs, 1); 166 nslots = (nslots * 3 + 1) / 2; 167 narrays = howmany(nslots, DH_NBLKOFF); 168 nslots = narrays * DH_NBLKOFF; 215 dh->dh_hlen = nslots;
|
| /src/sys/ufs/ufs/ |
| ufs_dirhash.c | 131 int dirblocks, i, j, memreqd, nblocks, narrays, nslots, slot; local in function:ufsdirhash_build 162 nslots = ip->i_size / UFS_DIRECTSIZ(1); 163 nslots = (nslots * 3 + 1) / 2; 164 narrays = howmany(nslots, DH_NBLKOFF); 165 nslots = narrays * DH_NBLKOFF; 212 dh->dh_hlen = nslots;
|
| /src/sys/dev/usb/ |
| ohci.c | 274 int nslots; member in struct:ohci_pipe::__anon22920bf6020a::__anon22920bf60408 3367 int nslots = opipe->intr.nslots; local in function:ohci_device_intr_close 3376 DPRINTFN(1, "pipe=%#jx nslots=%jd pos=%jd", (uintptr_t)pipe, nslots, 3397 for (j = 0; j < nslots; j++) 3398 --sc->sc_bws[(pos * nslots + j) % OHCI_NO_INTRS]; 3408 u_int npoll, slow, shigh, nslots; local in function:ohci_device_setintr 3438 nslots = OHCI_NO_INTRS / npoll; 3441 for (j = 0; j < nslots; j++ [all...] |
| /src/sys/arch/x86/x86/ |
| pmap.c | 1480 size_t startsl, endsl, nslots, winsize; local in function:slotspace_rand 1495 nslots = roundup(sz+NBPD_L4, NBPD_L4) / NBPD_L4; 1523 if (minsslot - curslot >= nslots) {
|