| /f-stack/freebsd/vm/ |
| H A D | vm_dumpset.h | 54 adj += howmany(dump_avail[i + 1], PAGE_SIZE) - in dump_add_page() 73 adj += howmany(dump_avail[i + 1], PAGE_SIZE) - in dump_drop_page() 84 tot = howmany(dump_avail[i + 1], PAGE_SIZE) - in vm_page_dump_index_to_pa()
|
| H A D | vm_reserv.c | 121 #define NPOPMAP howmany(VM_LEVEL_0_NPAGES, NBPOPMAP) 122 #define NPOPMAP_MAX howmany(VM_LEVEL_0_NPAGES_MAX, NBPOPMAP) 1086 used += howmany(seg->end, VM_LEVEL_0_SIZE) - in vm_reserv_init() 1441 count += howmany(vm_phys_segs[i].end, VM_LEVEL_0_SIZE) - in vm_reserv_startup() 1445 howmany(vm_phys_segs[i].end, VM_LEVEL_0_SIZE)); in vm_reserv_startup() 1451 count += howmany(phys_avail[i + 1], VM_LEVEL_0_SIZE) - in vm_reserv_startup() 1455 howmany(phys_avail[i + 1], VM_LEVEL_0_SIZE)); in vm_reserv_startup()
|
| /f-stack/freebsd/netinet6/ |
| H A D | ip6_mroute.h | 87 #ifndef howmany 88 #define howmany(x, y) (((x) + ((y) - 1)) / (y)) macro 92 if_mask ifs_bits[howmany(IF_SETSIZE, NIFBITS)];
|
| /f-stack/tools/compat/include/netinet6/ |
| H A D | ip6_mroute.h | 87 #ifndef howmany 88 #define howmany(x, y) (((x) + ((y) - 1)) / (y)) macro 92 if_mask ifs_bits[howmany(IF_SETSIZE, NIFBITS)];
|
| /f-stack/freebsd/net80211/ |
| H A D | ieee80211_phy.c | 530 numSymbols = howmany(numBits, bitsPerSymbol); in ieee80211_compute_duration() 540 numSymbols = howmany(numBits, bitsPerSymbol); in ieee80211_compute_duration() 550 numSymbols = howmany(numBits, bitsPerSymbol); in ieee80211_compute_duration() 561 numSymbols = howmany(numBits, bitsPerSymbol); in ieee80211_compute_duration() 610 numSymbols = howmany(numBits, bitsPerSymbol); in ieee80211_compute_duration_ht()
|
| H A D | _ieee80211.h | 78 #define IEEE80211_MODE_BYTES howmany(IEEE80211_MODE_MAX, NBBY) 163 #define IEEE80211_CHAN_BYTES howmany(IEEE80211_CHAN_MAX, NBBY)
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | sysmacros.h | 146 #ifndef howmany 147 #define howmany(x, y) (((x) + ((y) - 1)) / (y)) macro
|
| /f-stack/freebsd/sys/ |
| H A D | param.h | 303 #ifndef howmany 304 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
| H A D | bus_dma.h | 252 bus_dma_template_fill(t, pm, howmany(sizeof(pm), sizeof(pm[0]))); \
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/linux/ |
| H A D | types.h | 65 unsigned long n[howmany(bits, sizeof (long) * 8)]
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/zfs/sys/ |
| H A D | zfs_context_os.h | 74 #define MSEC_TO_TICK(msec) (howmany((hrtime_t)(msec) * hz, MILLISEC))
|
| /f-stack/freebsd/mips/nlm/dev/sec/ |
| H A D | nlmrsa.c | 131 howmany(krp->krp_param[i].crp_nbits, 8)); in print_krp_params() 241 howmany(outparam->crp_nbits, 8), in nlm_xlprsaecc_msgring_handler() 472 howmany(kp->crp_nbits, 8), 0); in xlp_rsa_kprocess()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zfs_context.h | 614 #define MSEC_TO_TICK(msec) (howmany((hrtime_t)(msec) * hz, MILLISEC)) 615 #define USEC_TO_TICK(usec) (howmany((hrtime_t)(usec) * hz, MICROSEC)) 616 #define NSEC_TO_TICK(nsec) (howmany((hrtime_t)(nsec) * hz, NANOSEC))
|
| /f-stack/freebsd/kern/ |
| H A D | kern_sendfile.c | 909 npages = howmany(space + (off & PAGE_MASK), PAGE_SIZE); in vn_sendfile() 923 rhpages = howmany(rem + (off & PAGE_MASK), PAGE_SIZE) - in vn_sendfile() 927 rhpages = min(howmany(maxphys, PAGE_SIZE), rhpages); in vn_sendfile() 928 rhpages = min(howmany(obj_size - trunc_page(off), PAGE_SIZE) - in vn_sendfile()
|
| H A D | kern_clock.c | 574 ticks = howmany(sec * 1000000 + (unsigned long)usec, tick) + 1; in tvtohz() 577 + howmany((unsigned long)usec, tick) + 1; in tvtohz()
|
| H A D | tty_outq.c | 99 to->to_quota = howmany(size, TTYOUTQ_DATASIZE); in ttyoutq_setsize()
|
| H A D | tty_inq.c | 122 ti->ti_quota = howmany(size, TTYINQ_DATASIZE); in ttyinq_setsize()
|
| H A D | subr_uio.c | 96 #define PHYS_PAGE_COUNT(len) (howmany(len, PAGE_SIZE) + 1)
|
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_nemc.c | 98 #define JZ4780_NEMC_NS_TO_TICKS(sc, val) howmany((val) * 1000, (sc)->clock_tick_psecs)
|
| H A D | jz4780_clk_gen.c | 162 div_l = howmany(fin, *fout); in jz4780_clk_gen_set_freq()
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | sysmacros.h | 174 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
| /f-stack/freebsd/opencrypto/ |
| H A D | cryptosoft.c | 390 uint32_t blkbuf[howmany(AES_BLOCK_LEN, sizeof(uint32_t))]; in swcr_gmac() 467 uint32_t blkbuf[howmany(AES_BLOCK_LEN, sizeof(uint32_t))]; in swcr_gcm() 705 uint32_t blkbuf[howmany(AES_BLOCK_LEN, sizeof(uint32_t))]; in swcr_ccm()
|
| /f-stack/freebsd/arm/nvidia/ |
| H A D | tegra_xhci.c | 798 code_tags = howmany(fw_hdr->boot_codetag, XUSB_CSB_IMEM_BLOCK_SIZE); in load_fw() 799 code_size = howmany(fw_hdr->boot_codesize, XUSB_CSB_IMEM_BLOCK_SIZE); in load_fw()
|
| /f-stack/lib/ |
| H A D | ff_kern_timeout.c | 1072 delta_ticks = howmany(time_change->tv_sec * 1000000 + in adjust_timeout_calltodo() 1076 howmany(time_change->tv_usec, tick) + 1; in adjust_timeout_calltodo()
|
| /f-stack/freebsd/x86/isa/ |
| H A D | atrtc.c | 319 UINT32 bytewidth = howmany(bitwidth, 8); in atrtc_acpi_cmos_handler()
|