| /f-stack/tools/compat/ |
| H A D | compat.h | 44 #ifndef rounddown 45 #define rounddown(x, y) (((x)/(y))*(y)) macro
|
| /f-stack/freebsd/vm/ |
| H A D | phys_pager.c | 239 base = rounddown(pidx, phys_pager_cluster); in default_phys_pager_populate() 284 base = rounddown(pindex, phys_pager_cluster); in default_phys_pager_haspage()
|
| H A D | swap_pager.c | 1202 rounddown(m->pindex, SWAP_META_PAGES)); in swap_pager_unswapped() 2020 rdpi = rounddown(pindex, SWAP_META_PAGES); in swp_pager_meta_build() 2129 rounddown(pindex, SWAP_META_PAGES)); in swp_pager_meta_transfer() 2232 rounddown(pindex, SWAP_META_PAGES)); in swp_pager_meta_lookup() 2256 rounddown(pindex, SWAP_META_PAGES)); in swap_pager_find_least()
|
| /f-stack/freebsd/sys/ |
| H A D | gmon.h | 151 #define ROUNDDOWN(x,y) rounddown(x,y)
|
| H A D | param.h | 307 #define rounddown(x, y) (((x)/(y))*(y)) macro
|
| /f-stack/freebsd/libkern/ |
| H A D | gsb_crc32.c | 687 running_length = rounddown(length - init_bytes, 8); in crc32c_sb8_64_bit()
|
| /f-stack/freebsd/amd64/cloudabi64/ |
| H A D | cloudabi64_sysvec.c | 171 tcbptr = rounddown(attr->stack + attr->stack_len - sizeof(tcbptr), in cloudabi64_thread_setregs()
|
| /f-stack/freebsd/ddb/ |
| H A D | db_output.c | 76 #define NEXT_TAB(i) rounddown((i) + db_tab_stop_width, db_tab_stop_width)
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | qca955x_chip.c | 372 reg = QCA955X_GPIO_REG_OUT_FUNC0 + rounddown(gpio, 4); in qca955x_chip_gpio_output_configure()
|
| H A D | qca953x_chip.c | 363 reg = QCA953X_GPIO_REG_OUT_FUNC0 + rounddown(gpio, 4); in qca953x_chip_gpio_output_configure()
|
| H A D | ar934x_chip.c | 445 reg = AR934X_GPIO_REG_OUT_FUNC0 + rounddown(gpio, 4); in ar934x_chip_gpio_output_configure()
|
| /f-stack/freebsd/arm64/nvidia/tegra210/ |
| H A D | tegra210_cpufreq.c | 173 #define ROUND_DOWN(val, div) rounddown(val, div)
|
| /f-stack/freebsd/opencrypto/ |
| H A D | cryptosoft.c | 421 len = rounddown(MIN(len, resid), blksz); in swcr_gmac() 507 len = rounddown(crp->crp_aad_length, blksz); in swcr_gcm() 524 len = rounddown(MIN(len, resid), blksz); in swcr_gcm()
|
| H A D | criov.c | 187 skip -= rounddown(skip, PAGE_SIZE); in cvm_page_contiguous_segment()
|
| /f-stack/freebsd/arm/nvidia/tegra124/ |
| H A D | tegra124_cpufreq.c | 216 #define ROUND_DOWN(val, div) rounddown(val, div)
|
| /f-stack/freebsd/amd64/include/ |
| H A D | pmap.h | 241 #define DMPML4I rounddown(KPML4BASE-NDMPML4E, NDMPML4E) /* Below KVM */
|
| /f-stack/freebsd/kern/ |
| H A D | subr_compressor.c | 361 bytes_to_dump = rounddown(s->zst_outbuffer.pos, 4096); in zst_flush_intermediate()
|
| H A D | sys_generic.c | 1047 addr += rounddown(b, sizeof(fd_mask)) + in select_check_badfd() 1050 addr += rounddown(b, sizeof(uint32_t)) + in select_check_badfd()
|
| H A D | vfs_default.c | 1117 bstart = rounddown(ap->a_start, bsize); in vop_stdadvise()
|
| H A D | kern_shutdown.c | 1465 rlength = rounddown(length, di->blocksize); in kerneldumpcomp_write_cb()
|
| H A D | vfs_vnops.c | 3128 len = savlen = rounddown(len - rem, blksize) + rem; in vn_generic_copy_file_range()
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_ethdev.h | 833 #define rounddown(x, y) ((x) - ((x) % (y))) macro
|
| H A D | hns3_ethdev.c | 3420 shared_buf = rounddown(rx_all - rx_priv, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok() 3444 hi_thrd = rounddown(hi_thrd, HNS3_BUF_SIZE_UNIT); in hns3_is_rx_buf_ok() 3605 rx_priv = rounddown(rx_priv, HNS3_BUF_SIZE_UNIT); in hns3_only_alloc_priv_buff()
|
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2835_sdhci.c | 88 rounddown(BCM_SDHCI_SLOT_LEFT(slot), BCM_SDHCI_BUFFER_SIZE))
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_vnops_os.c | 4052 rounddown(start, blksz), in zfs_getpages() 4053 roundup(end, blksz) - rounddown(start, blksz), RL_READER); in zfs_getpages() 4083 pgsin_b = OFF_TO_IDX(start - rounddown(start, blksz)); in zfs_getpages() 4176 lo_off = rounddown(off, blksz); in zfs_putpages()
|