| /freebsd-14.2/sys/powerpc/fpu/ |
| H A D | fpu_implode.c | 99 goto rounddown; in round() 113 goto rounddown; in round() 116 goto rounddown; in round() 120 goto rounddown; in round() 126 goto rounddown; in round() 132 goto rounddown; in round() 148 rounddown: in round()
|
| /freebsd-14.2/tools/build/cross-build/include/common/sys/ |
| H A D | param.h | 74 #ifndef rounddown 75 #define rounddown(x, y) (((x) / (y)) * (y)) macro
|
| /freebsd-14.2/sbin/fdisk/ |
| H A D | fdisk.c | 393 partp->dp_size = rounddown(disksecs, dos_cylsecs) - in main() 550 partp->dp_size = rounddown(disksecs, dos_cylsecs) - start; in init_sector0() 1164 prev_head_boundary = rounddown(partp->dp_start, in process_partition() 1179 partp->dp_size = rounddown(disksecs, dos_cylsecs) - in process_partition() 1186 prev_cyl_boundary = rounddown(partp->dp_start + partp->dp_size, in process_partition() 1211 prev_head_boundary = rounddown(partp->dp_start, dos_sectors); in process_partition() 1235 prev_cyl_boundary = rounddown(partp->dp_start + partp->dp_size, in process_partition() 1427 prev_head_boundary = rounddown(start, dos_sectors); in sanitize_partition() 1444 prev_cyl_boundary = rounddown(start + size, dos_cylsecs); in sanitize_partition()
|
| /freebsd-14.2/tools/boot/smbios/ |
| H A D | main.c | 44 pa2 = rounddown(pa, PAGE); in ptov()
|
| /freebsd-14.2/sys/crypto/openssl/ |
| H A D | ossl_chacha20.c | 103 todo = rounddown(MIN(resid, MIN(inlen, outlen)), in ossl_chacha20() 231 todo = rounddown(MIN(resid, MIN(inlen, outlen)), in ossl_chacha20_poly1305_encrypt() 400 todo = rounddown(MIN(resid, MIN(inlen, outlen)), in ossl_chacha20_poly1305_decrypt()
|
| H A D | ossl_aes.c | 141 seglen = rounddown(MIN(plen, MIN(inlen, outlen)), blocklen); in ossl_aes_cbc()
|
| /freebsd-14.2/sys/vm/ |
| H A D | phys_pager.c | 238 base = rounddown(pidx, phys_pager_cluster); in default_phys_pager_populate() 283 base = rounddown(pindex, phys_pager_cluster); in default_phys_pager_haspage()
|
| H A D | swap_pager.c | 1236 rounddown(m->pindex, SWAP_META_PAGES)); in swap_pager_unswapped() 2042 rdpi = rounddown(pindex, SWAP_META_PAGES); in swp_pager_meta_build() 2157 rounddown(pindex, SWAP_META_PAGES)); in swp_pager_meta_transfer() 2273 rounddown(pindex, SWAP_META_PAGES)); in swp_pager_meta_lookup() 2298 rounddown(pindex, SWAP_META_PAGES)); in swap_pager_find_least()
|
| /freebsd-14.2/usr.bin/truncate/tests/ |
| H A D | truncate_test.sh | 401 atf_test_case rounddown 460 atf_add_test_case rounddown
|
| /freebsd-14.2/sys/sys/ |
| H A D | gmon.h | 150 #define ROUNDDOWN(x,y) rounddown(x,y)
|
| H A D | param.h | 324 #define rounddown(x, y) (((x)/(y))*(y)) macro
|
| /freebsd-14.2/sys/dev/random/ |
| H A D | fortuna.c | 591 chunk_size = rounddown(chunk_size, RANDOM_BLOCKSIZE); in random_fortuna_genbytes() 634 chunk_size = rounddown(bytecount, in random_fortuna_genbytes()
|
| H A D | hash.c | 156 rounddown((size_t)UINT32_MAX, CHACHA_BLOCKLEN)); in randomdev_keystream()
|
| /freebsd-14.2/sys/dev/qat/qat_common/ |
| H A D | adf_gen4_timer.c | 22 return rounddown(jiffies + timeout, timeout); in adf_get_next_timeout()
|
| /freebsd-14.2/lib/libc/gen/ |
| H A D | getutxent.c | 83 rounddown(BUFSIZ, sizeof(struct futx))); in setutxdb()
|
| /freebsd-14.2/sbin/growfs/ |
| H A D | growfs.c | 514 for (f = rounddown(frag, sblock.fs_frag); in frag_adjust() 684 k = rounddown(osblock.fs_size - cbase, in updjcg() 695 (i >= rounddown(osblock.fs_size - cbase, in updjcg() 720 (i >= rounddown(osblock.fs_size - cbase, in updjcg() 941 for (d = rounddown(d, sblock.fs_frag); d >= osblock.fs_csaddr; in updcsloc()
|
| /freebsd-14.2/sys/libkern/ |
| H A D | gsb_crc32.c | 692 running_length = rounddown(length - init_bytes, 8); in crc32c_sb8_64_bit()
|
| /freebsd-14.2/sys/dev/random/fenestrasX/ |
| H A D | fx_rng.c | 71 rounddown((size_t)UINT32_MAX, CHACHA_BLOCKLEN)); in fxrng_rng_keystream_internal()
|
| /freebsd-14.2/sys/dev/firewire/ |
| H A D | fwdma.c | 159 ssize = rounddown(PAGE_SIZE, esize); in fwdma_malloc_multiseg()
|
| /freebsd-14.2/sys/ddb/ |
| H A D | db_output.c | 74 #define NEXT_TAB(i) rounddown((i) + db_tab_stop_width, db_tab_stop_width)
|
| /freebsd-14.2/sbin/recoverdisk/ |
| H A D | recoverdisk.c | 489 bigsize = rounddown(bigsize, sectorsize); in main() 504 medsize = rounddown(medsize, minsize); in main()
|
| /freebsd-14.2/sys/dev/syscons/ |
| H A D | scmouse.c | 499 rounddown(scp->mouse_pos, scp->xsize) + i; in mouse_cut_start() 544 sol = rounddown(scp->mouse_pos, scp->xsize); in mouse_cut_word() 593 from = rounddown(scp->mouse_pos, scp->xsize); in mouse_cut_line()
|
| /freebsd-14.2/usr.sbin/quot/ |
| H A D | quot.c | 146 last = rounddown(ino, INOCNT(super)); in get_inode() 418 fp->fsz_first = rounddown(ksz, FSZCNT); in dofsizes()
|
| /freebsd-14.2/lib/msun/tests/ |
| H A D | csqrt_test.c | 270 mantdig = rounddown(mantdig, 2); in test_precision()
|
| /freebsd-14.2/sys/arm64/nvidia/tegra210/ |
| H A D | tegra210_cpufreq.c | 171 #define ROUND_DOWN(val, div) rounddown(val, div)
|