/Linux-v5.4/fs/iomap/ |
D | swapfile.c | 43 next_ppage = ALIGN_DOWN(iomap->addr + iomap->length, PAGE_SIZE) >> in iomap_swapfile_add_extent() 145 loff_t len = ALIGN_DOWN(i_size_read(inode), PAGE_SIZE); in iomap_swapfile_activate()
|
/Linux-v5.4/include/rdma/ |
D | ib_umem.h | 66 ALIGN_DOWN(umem->address, PAGE_SIZE)) >> in ib_umem_num_pages()
|
/Linux-v5.4/include/video/ |
D | udlfb.h | 101 #define DL_ALIGN_DOWN(x, a) ALIGN_DOWN(x, a)
|
/Linux-v5.4/drivers/rpmsg/ |
D | qcom_glink_rpm.c | 168 aligned_dlen = ALIGN_DOWN(dlen, 4); in glink_rpm_tx_write() 176 pad = ALIGN(tlen, 8) - ALIGN_DOWN(tlen, 4); in glink_rpm_tx_write()
|
/Linux-v5.4/arch/arm64/kernel/ |
D | module-plts.c | 52 p = ALIGN_DOWN((u64)a, SZ_4K); in plt_entries_equal() 53 q = ALIGN_DOWN((u64)b, SZ_4K); in plt_entries_equal()
|
/Linux-v5.4/arch/s390/boot/ |
D | kaslr.c | 164 base = ALIGN_DOWN(base, THREAD_SIZE); in get_random_base()
|
/Linux-v5.4/mm/ |
D | shuffle.c | 138 ALIGN_DOWN(get_random_long() % z->spanned_pages, in __shuffle_zone()
|
/Linux-v5.4/drivers/spi/ |
D | spi-fsl-qspi.c | 536 for (i = 0; i < ALIGN_DOWN(op->data.nbytes, 4); i += 4) { in fsl_qspi_fill_txfifo() 562 for (i = 0; i < ALIGN_DOWN(op->data.nbytes, 4); i += 4) { in fsl_qspi_read_rxfifo() 680 op->data.nbytes = ALIGN_DOWN(op->data.nbytes, 8); in fsl_qspi_adjust_op_size()
|
D | spi-nxp-fspi.c | 667 for (i = 0; i < ALIGN_DOWN(op->data.nbytes, 8); i += 8) { in nxp_fspi_fill_txfifo() 708 for (i = 0; i < ALIGN_DOWN(len, 8); i += 8) { in nxp_fspi_read_rxfifo() 836 op->data.nbytes = ALIGN_DOWN(op->data.nbytes, 8); in nxp_fspi_adjust_op_size()
|
/Linux-v5.4/arch/powerpc/mm/book3s64/ |
D | hash_pgtable.c | 423 start = ALIGN_DOWN(start, step); in hash__change_memory_range()
|
D | radix_pgtable.c | 179 start = ALIGN_DOWN(start, PAGE_SIZE); in radix__change_memory_range()
|
/Linux-v5.4/drivers/crypto/ |
D | exynos-rng.c | 104 slen = ALIGN_DOWN(slen, 4); in exynos_rng_set_seed()
|
/Linux-v5.4/drivers/nvdimm/ |
D | pfn_devs.c | 394 nsoff = ALIGN_DOWN((nd_region->ndr_start in nd_pfn_clear_memmap_errors() 756 end_trunc = start + size - ALIGN_DOWN(start + size, align); in nd_pfn_init()
|
/Linux-v5.4/sound/soc/sof/ |
D | debug.c | 263 pos = ALIGN_DOWN(pos, 4); in sof_dfsentry_read()
|
/Linux-v5.4/arch/mips/mm/ |
D | init.c | 289 cfg->upper = ALIGN_DOWN(PFN_PHYS(start_pfn + nr_pages), maar_align) - 1; in maar_res_walk()
|
/Linux-v5.4/arch/sh/drivers/pci/ |
D | pcie-sh7786.c | 368 memstart = ALIGN_DOWN(memstart, memsize); in pcie_init()
|
/Linux-v5.4/arch/x86/mm/ |
D | numa_emulation.c | 266 size = ALIGN_DOWN(size, FAKE_NODE_MIN_SIZE); in split_nodes_size_interleave_uniform()
|
/Linux-v5.4/drivers/gpu/drm/udl/ |
D | udl_fb.c | 37 #define DL_ALIGN_DOWN(x, a) ALIGN_DOWN(x, a)
|
/Linux-v5.4/tools/testing/selftests/x86/ |
D | protection_keys.c | 56 #define ALIGN_DOWN(x, align_to) ((x) & ~((align_to)-1)) macro 58 #define ALIGN_PTR_DOWN(p, ptr_align_to) ((typeof(p))ALIGN_DOWN((unsigned long)(p), ptr_align_to))
|
/Linux-v5.4/drivers/pci/controller/ |
D | pcie-iproc.c | 973 axi_addr = ALIGN_DOWN(axi_addr, window_size); in iproc_pcie_setup_ob() 974 pci_addr = ALIGN_DOWN(pci_addr, window_size); in iproc_pcie_setup_ob()
|
/Linux-v5.4/drivers/watchdog/ |
D | ziirave_wdt.c | 277 (addr - ALIGN_DOWN(addr, ZIIRAVE_FIRM_PAGE_SIZE)); in ziirave_firm_write_pkt()
|
/Linux-v5.4/drivers/infiniband/core/ |
D | umem_odp.c | 219 ALIGN_DOWN(umem_odp->umem.address, page_size); in ib_init_umem_odp()
|
/Linux-v5.4/include/linux/ |
D | kernel.h | 34 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) macro
|
/Linux-v5.4/drivers/s390/block/ |
D | dasd_fba.c | 797 max_bytes = ALIGN_DOWN(max_bytes, PAGE_SIZE); in dasd_fba_setup_blk_queue()
|
/Linux-v5.4/drivers/firmware/efi/ |
D | efi.c | 600 p = early_memremap(ALIGN_DOWN(prsv, PAGE_SIZE), in efi_config_parse_tables()
|