Searched refs:howmany (Results 151 - 175 of 264) sorted by relevance

1234567891011

/freebsd-12-stable/sbin/restore/
H A Dtape.c287 map = calloc((unsigned)1, (unsigned)howmany(maxino, NBBY));
297 map = calloc((unsigned)1, (unsigned)howmany(maxino, NBBY));
/freebsd-12-stable/contrib/ldns/
H A Drr.c1195 ldns_rr_list_pop_rr_list(ldns_rr_list *rr_list, size_t howmany) argument
1200 size_t i = howmany;
1215 if (i == howmany) { /* so i <= 0 */
/freebsd-12-stable/sys/vm/
H A Dswap_pager.c2326 blist_free(sp->sw_blist, howmany(BBSIZE, PAGE_SIZE),
2327 nblks - howmany(BBSIZE, PAGE_SIZE));
2345 swap_pager_avail += nblks - howmany(BBSIZE, PAGE_SIZE);
/freebsd-12-stable/contrib/ncurses/ncurses/tty/
H A Dtty_update.c355 int howmany = ioctl(0, 'ichr', &n);
356 if (howmany >= 0 && n > 0) {
/freebsd-12-stable/sys/dev/cy/
H A Dcy.c382 howmany(CY_CLOCK(firmware_version)
1350 itimeout = howmany(1000 * bits, t->c_ispeed);
/freebsd-12-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cmd.c1097 n = howmany(blen, MLX5_CMD_DATA_BLOCK_SIZE);
1099 msg = mlx5_fwp_alloc(dev, flags, howmany(n, MLX5_NUM_CMDS_IN_ADAPTER_PAGE));
/freebsd-12-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_ethtool.c191 max_bw_value[i] = howmany(temp, MLX5E_100MB);
194 max_bw_value[i] = howmany(temp, MLX5E_1GB);
/freebsd-12-stable/sys/dev/sfxge/
H A Dsfxge_tx.c1007 howmany(TSOH_COUNT(_txq_entries), TSOH_PER_PAGE)
1605 howmany(SFXGE_TX_MAPPING_MAX_SEG,
/freebsd-12-stable/sys/netinet/
H A Dtcp_output.c1926 if ((frags + howmany(mlen, fragsize)) >= seglimit) {
1933 frags += howmany(mlen, fragsize);
/freebsd-12-stable/sys/arm64/arm64/
H A Dgicv3_its.c460 npages = howmany(its_tbl_size, PAGE_SIZE);
473 nitspages = howmany(its_tbl_size, page_size);
/freebsd-12-stable/lib/libc/db/hash/
H A Dhash.c165 nsegs = howmany(hashp->MAX_BUCKET + 1, hashp->SGSIZE);
/freebsd-12-stable/sys/dev/drm2/i915/
H A Di915_gem_execbuffer.c753 page_count = howmany(length, PAGE_SIZE) + 2;
/freebsd-12-stable/sys/dev/bwi/
H A Dif_bwi.c1187 howmany(freq.clkfreq_max * 150, 1000000));
1189 howmany(freq.clkfreq_max * 15, 1000000));
2865 len = howmany(pkt_bitlen * 2, rate);
3452 sc->sc_pwron_delay = howmany((val + 2) * 1000000, freq.clkfreq_min);
/freebsd-12-stable/sys/dev/extres/regulator/
H A Dregulator.c58 #define DIV_ROUND_UP(n,d) howmany(n, d)
/freebsd-12-stable/sys/dev/pccard/
H A Dpccard_cis.c353 howmany(sizeof mfc, sizeof mfc[0]))
/freebsd-12-stable/sys/dev/mfi/
H A Dmfi.c2159 blkcount = howmany(bio->bio_bcount, MFI_SECTOR_LEN);
2218 blkcount = howmany(bio->bio_bcount, MFI_SECTOR_LEN);
2625 io->header.data_len = howmany(len, MFI_SECTOR_LEN);
2663 blkcount = howmany(len, MFI_SECTOR_LEN);
/freebsd-12-stable/sys/geom/
H A Dgeom_disk.c418 howmany(bp->bio_ma_offset + bp->bio_length, PAGE_SIZE);
/freebsd-12-stable/sys/geom/uzip/
H A Dg_uzip.c238 end_blk = howmany(ofs + bp->bio_resid, sc->blksz);
/freebsd-12-stable/sys/kern/
H A Dkern_fail.c430 timo = howmany((int64_t)msecs * hz, 1000L);
H A Dvfs_cluster.c201 nblks = howmany(totread, size);
/freebsd-12-stable/sys/i386/linux/
H A Dlinux_sysvec.c313 vectp -= howmany(LINUX_AT_COUNT * sizeof(Elf32_Auxinfo),
/freebsd-12-stable/stand/libsa/
H A Dnandfs.c1020 nsec = howmany(length, bsize);
/freebsd-12-stable/sys/amd64/linux/
H A Dlinux_sysvec.c335 vectp -= howmany(LINUX_AT_COUNT * sizeof(Elf64_Auxinfo),
/freebsd-12-stable/sbin/fsck_msdosfs/
H A Dfat.c1153 blobs = howmany(fat->fatsize, fat32_cache_size);
/freebsd-12-stable/sbin/newfs_nandfs/
H A Dnewfs_nandfs.c137 #define SIZE_TO_BLOCK(size) howmany(size, blocksize)

Completed in 459 milliseconds

1234567891011