Home
last modified time | relevance | path

Searched refs:howmany (Results 1 – 25 of 65) sorted by relevance

123

/f-stack/freebsd/vm/
H A Dvm_dumpset.h54 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 Dvm_reserv.c121 #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 Dip6_mroute.h87 #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 Dip6_mroute.h87 #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 Dieee80211_phy.c530 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.h78 #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 Dsysmacros.h146 #ifndef howmany
147 #define howmany(x, y) (((x) + ((y) - 1)) / (y)) macro
/f-stack/freebsd/sys/
H A Dparam.h303 #ifndef howmany
304 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
H A Dbus_dma.h252 bus_dma_template_fill(t, pm, howmany(sizeof(pm), sizeof(pm[0]))); \
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/linux/
H A Dtypes.h65 unsigned long n[howmany(bits, sizeof (long) * 8)]
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_context_os.h74 #define MSEC_TO_TICK(msec) (howmany((hrtime_t)(msec) * hz, MILLISEC))
/f-stack/freebsd/mips/nlm/dev/sec/
H A Dnlmrsa.c131 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 Dzfs_context.h614 #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 Dkern_sendfile.c909 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 Dkern_clock.c574 ticks = howmany(sec * 1000000 + (unsigned long)usec, tick) + 1; in tvtohz()
577 + howmany((unsigned long)usec, tick) + 1; in tvtohz()
H A Dtty_outq.c99 to->to_quota = howmany(size, TTYOUTQ_DATASIZE); in ttyoutq_setsize()
H A Dtty_inq.c122 ti->ti_quota = howmany(size, TTYINQ_DATASIZE); in ttyinq_setsize()
H A Dsubr_uio.c96 #define PHYS_PAGE_COUNT(len) (howmany(len, PAGE_SIZE) + 1)
/f-stack/freebsd/mips/ingenic/
H A Djz4780_nemc.c98 #define JZ4780_NEMC_NS_TO_TICKS(sc, val) howmany((val) * 1000, (sc)->clock_tick_psecs)
H A Djz4780_clk_gen.c162 div_l = howmany(fin, *fout); in jz4780_clk_gen_set_freq()
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsysmacros.h174 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
/f-stack/freebsd/opencrypto/
H A Dcryptosoft.c390 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 Dtegra_xhci.c798 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 Dff_kern_timeout.c1072 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 Datrtc.c319 UINT32 bytewidth = howmany(bitwidth, 8); in atrtc_acpi_cmos_handler()

123