Home
last modified time | relevance | path

Searched refs:ALIGN_DOWN (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.4/fs/iomap/
Dswapfile.c43 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/
Dib_umem.h66 ALIGN_DOWN(umem->address, PAGE_SIZE)) >> in ib_umem_num_pages()
/Linux-v5.4/include/video/
Dudlfb.h101 #define DL_ALIGN_DOWN(x, a) ALIGN_DOWN(x, a)
/Linux-v5.4/drivers/rpmsg/
Dqcom_glink_rpm.c168 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/
Dmodule-plts.c52 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/
Dkaslr.c164 base = ALIGN_DOWN(base, THREAD_SIZE); in get_random_base()
/Linux-v5.4/mm/
Dshuffle.c138 ALIGN_DOWN(get_random_long() % z->spanned_pages, in __shuffle_zone()
/Linux-v5.4/drivers/spi/
Dspi-fsl-qspi.c536 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()
Dspi-nxp-fspi.c667 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/
Dhash_pgtable.c423 start = ALIGN_DOWN(start, step); in hash__change_memory_range()
Dradix_pgtable.c179 start = ALIGN_DOWN(start, PAGE_SIZE); in radix__change_memory_range()
/Linux-v5.4/drivers/crypto/
Dexynos-rng.c104 slen = ALIGN_DOWN(slen, 4); in exynos_rng_set_seed()
/Linux-v5.4/drivers/nvdimm/
Dpfn_devs.c394 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/
Ddebug.c263 pos = ALIGN_DOWN(pos, 4); in sof_dfsentry_read()
/Linux-v5.4/arch/mips/mm/
Dinit.c289 cfg->upper = ALIGN_DOWN(PFN_PHYS(start_pfn + nr_pages), maar_align) - 1; in maar_res_walk()
/Linux-v5.4/arch/sh/drivers/pci/
Dpcie-sh7786.c368 memstart = ALIGN_DOWN(memstart, memsize); in pcie_init()
/Linux-v5.4/arch/x86/mm/
Dnuma_emulation.c266 size = ALIGN_DOWN(size, FAKE_NODE_MIN_SIZE); in split_nodes_size_interleave_uniform()
/Linux-v5.4/drivers/gpu/drm/udl/
Dudl_fb.c37 #define DL_ALIGN_DOWN(x, a) ALIGN_DOWN(x, a)
/Linux-v5.4/tools/testing/selftests/x86/
Dprotection_keys.c56 #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/
Dpcie-iproc.c973 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/
Dziirave_wdt.c277 (addr - ALIGN_DOWN(addr, ZIIRAVE_FIRM_PAGE_SIZE)); in ziirave_firm_write_pkt()
/Linux-v5.4/drivers/infiniband/core/
Dumem_odp.c219 ALIGN_DOWN(umem_odp->umem.address, page_size); in ib_init_umem_odp()
/Linux-v5.4/include/linux/
Dkernel.h34 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) macro
/Linux-v5.4/drivers/s390/block/
Ddasd_fba.c797 max_bytes = ALIGN_DOWN(max_bytes, PAGE_SIZE); in dasd_fba_setup_blk_queue()
/Linux-v5.4/drivers/firmware/efi/
Defi.c600 p = early_memremap(ALIGN_DOWN(prsv, PAGE_SIZE), in efi_config_parse_tables()

12