/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_blit.c | 112 return round_down(offset + diff_offs, granularity); \ 163 return round_down(offset + vmw_find_first_diff_u8(dst, src, size), in vmw_find_first_diff() 185 return round_down(location, granularity); \ 194 size_t to_copy = round_down(size, sizeof(_type)); \ 231 return round_down(vmw_find_last_diff_u8(dst, src, size) - 1, in vmw_find_last_diff() 292 if (WARN_ON_ONCE(round_down(n, diff->cpp) != n)) in vmw_diff_memcpy()
|
/Linux-v4.19/arch/x86/mm/ |
D | init.c | 287 unsigned long start = round_down(mr[i].start, PMD_SIZE); in adjust_range_page_size_mask() 300 unsigned long start = round_down(mr[i].start, PUD_SIZE); in adjust_range_page_size_mask() 370 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 373 if (end_pfn > round_down(limit_pfn, PFN_DOWN(PMD_SIZE))) in split_mem_range() 374 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 386 end_pfn = round_down(limit_pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range() 396 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 585 start = round_down(last_start - 1, step_size); in memory_map_top_down()
|
D | numa_32.c | 55 start = round_down(start, PAGES_PER_SECTION); in memory_present()
|
/Linux-v4.19/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.h | 212 return round_down(offset, 4); in sunxi_mux_reg() 227 return round_down(offset, 4); in sunxi_data_reg() 242 return round_down(offset, 4); in sunxi_dlevel_reg() 257 return round_down(offset, 4); in sunxi_pull_reg()
|
/Linux-v4.19/arch/x86/boot/compressed/ |
D | pgtable_64.c | 59 bios_start = round_down(bios_start, PAGE_SIZE); in find_trampoline_placement() 78 bios_start = round_down(bios_start, PAGE_SIZE); in find_trampoline_placement()
|
D | kaslr_64.c | 138 start = round_down(start, PMD_SIZE); in add_identity_map()
|
/Linux-v4.19/lib/ |
D | find_bit.c | 50 start = round_down(start, BITS_PER_LONG); in _find_next_bit() 185 start = round_down(start, BITS_PER_LONG); in _find_next_bit_le()
|
/Linux-v4.19/arch/arm/crypto/ |
D | aes-neonbs-glue.c | 96 blocks = round_down(blocks, in __ecb_crypt() 165 blocks = round_down(blocks, in cbc_decrypt() 211 blocks = round_down(blocks, in ctr_encrypt() 289 blocks = round_down(blocks, in __xts_crypt()
|
D | crc32-ce-glue.c | 127 l = round_down(length, SCALE_F); in crc32_pmull_update() 161 l = round_down(length, SCALE_F); in crc32c_pmull_update()
|
D | speck-neon-glue.c | 72 count = round_down(nbytes, SPECK_NEON_CHUNK_SIZE); in __speck128_xts_crypt() 173 count = round_down(nbytes, SPECK_NEON_CHUNK_SIZE); in __speck64_xts_crypt()
|
/Linux-v4.19/arch/arm64/crypto/ |
D | aes-neonbs-glue.c | 108 blocks = round_down(blocks, in __ecb_crypt() 190 blocks = round_down(blocks, in cbc_decrypt() 239 blocks = round_down(blocks, in ctr_encrypt() 316 blocks = round_down(blocks, in __xts_crypt()
|
D | crc32-ce-glue.c | 110 l = round_down(length, SCALE_F); in crc32_pmull_update() 142 l = round_down(length, SCALE_F); in crc32c_pmull_update()
|
D | aes-ctr-fallback.h | 33 nbytes = round_down(nbytes, AES_BLOCK_SIZE); in aes_ctr_encrypt_fallback()
|
D | speck-neon-glue.c | 66 count = round_down(nbytes, SPECK_NEON_CHUNK_SIZE); in __speck128_xts_crypt() 167 count = round_down(nbytes, SPECK_NEON_CHUNK_SIZE); in __speck64_xts_crypt()
|
/Linux-v4.19/drivers/bus/ |
D | uniphier-system-bus.c | 82 paddr = round_down(paddr, 0x00020000); in uniphier_system_bus_add_bank() 92 paddr = round_down(paddr, mask); in uniphier_system_bus_add_bank()
|
/Linux-v4.19/drivers/staging/fwserial/ |
D | dma_fifo.h | 112 tx_limit = round_down(tx_limit, fifo->align); in dma_fifo_change_tx_limit()
|
/Linux-v4.19/arch/arm/kernel/ |
D | efi.c | 42 if (round_down(base + size, SECTION_SIZE) < in efi_set_mapping_permissions()
|
/Linux-v4.19/arch/x86/platform/olpc/ |
D | olpc_ofw.c | 111 start = round_down((unsigned long)olpc_ofw_cif, OFW_BOUND); in olpc_ofw_detect()
|
/Linux-v4.19/tools/lib/ |
D | find_bit.c | 51 start = round_down(start, BITS_PER_LONG); in _find_next_bit()
|
/Linux-v4.19/drivers/media/platform/vsp1/ |
D | vsp1_rwpf.c | 217 sel->r.width = round_down(sel->r.width, 2); in vsp1_rwpf_set_selection() 218 sel->r.height = round_down(sel->r.height, 2); in vsp1_rwpf_set_selection()
|
D | vsp1_rpf.c | 278 crop.height = round_down(crop.height / 2, fmtinfo->vsub); in rpf_configure_partition() 279 crop.top = round_down(crop.top / 2, fmtinfo->vsub); in rpf_configure_partition()
|
/Linux-v4.19/arch/arm/mm/ |
D | init.c | 257 start = round_down(phys_initrd_start, PAGE_SIZE); in arm_initrd_init() 410 start = round_down(start, MAX_ORDER_NR_PAGES); in free_unused_memmap() 787 start = round_down(start, PAGE_SIZE); in free_initrd_mem()
|
/Linux-v4.19/drivers/atm/ |
D | horizon.c | 604 r == round_up ? "up" : r == round_down ? "down" : "nearest"); in make_rate() 623 case round_down: in make_rate() 656 case round_down: in make_rate() 673 if (r == round_down) in make_rate() 699 c, (r == round_up) ? "up" : (r == round_down) ? "down" : "nearest", tol); in make_rate_with_tolerance() 2247 r = round_down; in hrz_open() 2253 r = round_down; in hrz_open() 2286 pr = round_down; in hrz_open() 2295 sr = round_down; in hrz_open() 2301 sr = round_down; in hrz_open()
|
/Linux-v4.19/fs/btrfs/ |
D | file.c | 1475 start_pos = round_down(pos, fs_info->sectorsize); in lock_and_cleanup_extent_if_need() 1536 lockstart = round_down(pos, fs_info->sectorsize); in check_can_nocow() 1729 __pos = round_down(pos, in btrfs_buffered_write() 1759 lockstart = round_down(pos, in btrfs_buffered_write() 1791 round_down(pos, fs_info->sectorsize), in btrfs_buffered_write() 1932 start_pos = round_down(pos, fs_info->sectorsize); in btrfs_file_write_iter() 2340 round_down(*start, fs_info->sectorsize), in find_first_non_hole() 2438 lockend = round_down(offset + len, in btrfs_punch_hole() 2764 offset = round_down(offset, sectorsize); in btrfs_zero_range_check_range_boundary() 2791 u64 alloc_start = round_down(offset, sectorsize); in btrfs_zero_range() [all …]
|
/Linux-v4.19/drivers/firmware/efi/libstub/ |
D | arm64-stub.c | 82 preferred_offset = round_down(dram_base, MIN_KIMG_ALIGN) + TEXT_OFFSET; in handle_kernel_image()
|