Home
last modified time | relevance | path

Searched refs:aligned_start (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/arch/sh/mm/
Dflush-sh4.c16 reg_size_t aligned_start, v, cnt, end; in sh4__flush_wback_region() local
18 aligned_start = register_align(start); in sh4__flush_wback_region()
19 v = aligned_start & ~(L1_CACHE_BYTES-1); in sh4__flush_wback_region()
20 end = (aligned_start + size + L1_CACHE_BYTES-1) in sh4__flush_wback_region()
50 reg_size_t aligned_start, v, cnt, end; in sh4__flush_purge_region() local
52 aligned_start = register_align(start); in sh4__flush_purge_region()
53 v = aligned_start & ~(L1_CACHE_BYTES-1); in sh4__flush_purge_region()
54 end = (aligned_start + size + L1_CACHE_BYTES-1) in sh4__flush_purge_region()
80 reg_size_t aligned_start, v, cnt, end; in sh4__flush_invalidate_region() local
82 aligned_start = register_align(start); in sh4__flush_invalidate_region()
[all …]
/linux-6.6.21/arch/arm/kernel/
Dsetup.c762 u64 aligned_start; in arm_add_memory() local
768 aligned_start = PAGE_ALIGN(start); in arm_add_memory()
769 if (aligned_start > start + size) in arm_add_memory()
772 size -= aligned_start - start; in arm_add_memory()
775 if (aligned_start > ULONG_MAX) { in arm_add_memory()
781 if (aligned_start + size > ULONG_MAX) { in arm_add_memory()
789 size = ULONG_MAX - aligned_start; in arm_add_memory()
793 if (aligned_start < PHYS_OFFSET) { in arm_add_memory()
794 if (aligned_start + size <= PHYS_OFFSET) { in arm_add_memory()
796 aligned_start, aligned_start + size); in arm_add_memory()
[all …]
/linux-6.6.21/fs/jffs2/
Dfile.c257 unsigned aligned_start = start & ~3; in jffs2_write_end() local
276 aligned_start = 0; in jffs2_write_end()
301 ret = jffs2_write_inode_range(c, f, ri, page_address(pg) + aligned_start, in jffs2_write_end()
302 (pg->index << PAGE_SHIFT) + aligned_start, in jffs2_write_end()
303 end - aligned_start, &writtenlen); in jffs2_write_end()
313 writtenlen -= min(writtenlen, (start - aligned_start)); in jffs2_write_end()
/linux-6.6.21/arch/openrisc/kernel/
Dsetup.c81 unsigned long aligned_start = ALIGN_DOWN(initrd_start, PAGE_SIZE); in setup_memory() local
84 memblock_reserve(__pa(aligned_start), aligned_end - aligned_start); in setup_memory()
/linux-6.6.21/init/
Dinitramfs.c625 unsigned long aligned_start = ALIGN_DOWN(start, PAGE_SIZE); in free_initrd_mem() local
628 memblock_free((void *)aligned_start, aligned_end - aligned_start); in free_initrd_mem()
/linux-6.6.21/mm/
Ddebug_vm_pgtable.c1129 phys_addr_t aligned_start, aligned_end; in phys_align_check() local
1134 aligned_start = ALIGN(pstart, psize); in phys_align_check()
1135 aligned_end = aligned_start + psize; in phys_align_check()
1137 if (aligned_end > aligned_start && aligned_end <= pend) { in phys_align_check()
1139 *physp = aligned_start; in phys_align_check()
/linux-6.6.21/drivers/misc/cxl/
Dpci.c1030 loff_t aligned_start, aligned_end; in cxl_pci_afu_read_err_buffer() local
1040 aligned_start = round_down(off, 8); in cxl_pci_afu_read_err_buffer()
1042 aligned_length = aligned_end - aligned_start; in cxl_pci_afu_read_err_buffer()
1056 memcpy_fromio(tbuf, ebuf + aligned_start, aligned_length); in cxl_pci_afu_read_err_buffer()
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c1075 u8 *buffer_start, *aligned_start; in dpaa2_eth_build_single_fd() local
1080 aligned_start = PTR_ALIGN(buffer_start - DPAA2_ETH_TX_BUF_ALIGN, in dpaa2_eth_build_single_fd()
1082 if (aligned_start >= skb->head) in dpaa2_eth_build_single_fd()
1083 buffer_start = aligned_start; in dpaa2_eth_build_single_fd()
2814 void *buffer_start, *aligned_start; in dpaa2_eth_xdp_create_fd() local
2829 aligned_start = PTR_ALIGN(buffer_start - DPAA2_ETH_TX_BUF_ALIGN, in dpaa2_eth_xdp_create_fd()
2831 if (aligned_start >= xdpf->data - xdpf->headroom) in dpaa2_eth_xdp_create_fd()
2832 buffer_start = aligned_start; in dpaa2_eth_xdp_create_fd()
/linux-6.6.21/fs/btrfs/
Dextent-tree.c1246 u64 aligned_start = ALIGN(start, 1 << SECTOR_SHIFT); in btrfs_issue_discard() local
1249 if (start != aligned_start) { in btrfs_issue_discard()
1250 len -= aligned_start - start; in btrfs_issue_discard()
1252 start = aligned_start; in btrfs_issue_discard()