/freebsd/sys/powerpc/fpu/ |
H A D | fpu_implode.c | 96 goto rounddown; in round() 110 goto rounddown; in round() 113 goto rounddown; in round() 117 goto rounddown; in round() 123 goto rounddown; in round() 129 goto rounddown; in round() 145 rounddown: in round()
|
/freebsd/sys/riscv/thead/ |
H A D | thead.c | 58 register vm_offset_t t0 __asm("t0") = rounddown(va, dcache_line_size); in thead_cpu_dcache_wbinv_range() 70 register vm_offset_t t0 __asm("t0") = rounddown(va, dcache_line_size); in thead_cpu_dcache_inv_range() 82 register vm_offset_t t0 __asm("t0") = rounddown(va, dcache_line_size); in thead_cpu_dcache_wb_range()
|
/freebsd/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/sbin/fdisk/ |
H A D | fdisk.c | 394 partp->dp_size = rounddown(disksecs, dos_cylsecs) - in main() 553 partp->dp_size = rounddown(disksecs, dos_cylsecs) - start; in init_sector0() 1167 prev_head_boundary = rounddown(partp->dp_start, in process_partition() 1182 partp->dp_size = rounddown(disksecs, dos_cylsecs) - in process_partition() 1189 prev_cyl_boundary = rounddown(partp->dp_start + partp->dp_size, in process_partition() 1214 prev_head_boundary = rounddown(partp->dp_start, dos_sectors); in process_partition() 1238 prev_cyl_boundary = rounddown(partp->dp_start + partp->dp_size, in process_partition() 1430 prev_head_boundary = rounddown(start, dos_sectors); in sanitize_partition() 1447 prev_cyl_boundary = rounddown(start + size, dos_cylsecs); in sanitize_partition()
|
/freebsd/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 | 144 seglen = rounddown(MIN(plen, MIN(inlen, outlen)), blocklen); in ossl_aes_cbc()
|
/freebsd/tools/boot/smbios/ |
H A D | main.c | 44 pa2 = rounddown(pa, PAGE); in ptov()
|
/freebsd/sys/vm/ |
H A D | phys_pager.c | 237 base = rounddown(pidx, phys_pager_cluster); in default_phys_pager_populate() 282 base = rounddown(pindex, phys_pager_cluster); in default_phys_pager_haspage()
|
H A D | swap_pager.c | 546 rounddown(pindex, SWAP_META_PAGES))); in swblk_lookup() 565 rounddown(pindex, SWAP_META_PAGES))); in swblk_iter_lookup_ge() 591 rounddown(pindex, SWAP_META_PAGES))); in swblk_iter_reinit() 614 rounddown(pindex, SWAP_META_PAGES))); in swblk_iter_lookup() 2188 sb->p = rounddown(pindex, SWAP_META_PAGES); in swp_pager_meta_build() 2250 MPASS(sb->p == rounddown(pindex, SWAP_META_PAGES)); in swp_pager_meta_build()
|
/freebsd/usr.bin/truncate/tests/ |
H A D | truncate_test.sh | 401 atf_test_case rounddown 460 atf_add_test_case rounddown
|
/freebsd/sys/sys/ |
H A D | gmon.h | 148 #define ROUNDDOWN(x,y) rounddown(x,y)
|
H A D | param.h | 314 #define rounddown(x, y) (((x)/(y))*(y)) macro
|
/freebsd/sys/dev/random/ |
H A D | fortuna.c | 590 chunk_size = rounddown(chunk_size, RANDOM_BLOCKSIZE); in random_fortuna_genbytes() 633 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/sys/dev/qat/qat_common/ |
H A D | adf_gen4_timer.c | 22 return rounddown(jiffies + timeout, timeout); in adf_get_next_timeout()
|
/freebsd/sbin/growfs/ |
H A D | growfs.c | 506 for (f = rounddown(frag, sblock.fs_frag); in frag_adjust() 676 k = rounddown(osblock.fs_size - cbase, in updjcg() 687 (i >= rounddown(osblock.fs_size - cbase, in updjcg() 712 (i >= rounddown(osblock.fs_size - cbase, in updjcg() 933 for (d = rounddown(d, sblock.fs_frag); d >= osblock.fs_csaddr; in updcsloc()
|
/freebsd/lib/libc/gen/ |
H A D | getutxent.c | 83 rounddown(BUFSIZ, sizeof(struct futx))); in setutxdb()
|
/freebsd/sys/libkern/ |
H A D | gsb_crc32.c | 688 running_length = rounddown(length - init_bytes, 8); in crc32c_sb8_64_bit()
|
/freebsd/sys/dev/random/fenestrasX/ |
H A D | fx_rng.c | 70 rounddown((size_t)UINT32_MAX, CHACHA_BLOCKLEN)); in fxrng_rng_keystream_internal()
|
/freebsd/sys/dev/firewire/ |
H A D | fwdma.c | 159 ssize = rounddown(PAGE_SIZE, esize); in fwdma_malloc_multiseg()
|
/freebsd/sys/ddb/ |
H A D | db_output.c | 74 #define NEXT_TAB(i) rounddown((i) + db_tab_stop_width, db_tab_stop_width)
|
/freebsd/sbin/recoverdisk/ |
H A D | recoverdisk.c | 489 bigsize = rounddown(bigsize, sectorsize); in main() 504 medsize = rounddown(medsize, minsize); in main()
|
/freebsd/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/usr.sbin/quot/ |
H A D | quot.c | 145 last = rounddown(ino, INOCNT(super)); in get_inode() 417 fp->fsz_first = rounddown(ksz, FSZCNT); in dofsizes()
|
/freebsd/lib/msun/tests/ |
H A D | csqrt_test.c | 269 mantdig = rounddown(mantdig, 2); in test_precision()
|