Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/arch/arm/kernel/
Dsetup.c755 u64 aligned_start; in arm_add_memory() local
761 aligned_start = PAGE_ALIGN(start); in arm_add_memory()
762 if (aligned_start > start + size) in arm_add_memory()
765 size -= aligned_start - start; in arm_add_memory()
768 if (aligned_start > ULONG_MAX) { in arm_add_memory()
774 if (aligned_start + size > ULONG_MAX) { in arm_add_memory()
782 size = ULONG_MAX - aligned_start; in arm_add_memory()
786 if (aligned_start < PHYS_OFFSET) { in arm_add_memory()
787 if (aligned_start + size <= PHYS_OFFSET) { in arm_add_memory()
789 aligned_start, aligned_start + size); in arm_add_memory()
[all …]
/linux-6.1.9/fs/jffs2/
Dfile.c258 unsigned aligned_start = start & ~3; in jffs2_write_end() local
277 aligned_start = 0; in jffs2_write_end()
302 ret = jffs2_write_inode_range(c, f, ri, page_address(pg) + aligned_start, in jffs2_write_end()
303 (pg->index << PAGE_SHIFT) + aligned_start, in jffs2_write_end()
304 end - aligned_start, &writtenlen); in jffs2_write_end()
314 writtenlen -= min(writtenlen, (start - aligned_start)); in jffs2_write_end()
/linux-6.1.9/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.1.9/init/
Dinitramfs.c632 unsigned long aligned_start = ALIGN_DOWN(start, PAGE_SIZE); in free_initrd_mem() local
635 memblock_free((void *)aligned_start, aligned_end - aligned_start); in free_initrd_mem()
/linux-6.1.9/drivers/misc/cxl/
Dpci.c1039 loff_t aligned_start, aligned_end; in cxl_pci_afu_read_err_buffer() local
1049 aligned_start = round_down(off, 8); in cxl_pci_afu_read_err_buffer()
1051 aligned_length = aligned_end - aligned_start; in cxl_pci_afu_read_err_buffer()
1065 memcpy_fromio(tbuf, ebuf + aligned_start, aligned_length); in cxl_pci_afu_read_err_buffer()
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c1041 u8 *buffer_start, *aligned_start; in dpaa2_eth_build_single_fd() local
1050 aligned_start = PTR_ALIGN(buffer_start - DPAA2_ETH_TX_BUF_ALIGN, in dpaa2_eth_build_single_fd()
1052 if (aligned_start >= skb->head) in dpaa2_eth_build_single_fd()
1053 buffer_start = aligned_start; in dpaa2_eth_build_single_fd()
2668 void *buffer_start, *aligned_start; in dpaa2_eth_xdp_create_fd() local
2683 aligned_start = PTR_ALIGN(buffer_start - DPAA2_ETH_TX_BUF_ALIGN, in dpaa2_eth_xdp_create_fd()
2685 if (aligned_start >= xdpf->data - xdpf->headroom) in dpaa2_eth_xdp_create_fd()
2686 buffer_start = aligned_start; in dpaa2_eth_xdp_create_fd()
/linux-6.1.9/fs/btrfs/
Dextent-tree.c1205 u64 aligned_start = ALIGN(start, 1 << 9); in btrfs_issue_discard() local
1207 if (WARN_ON(start != aligned_start)) { in btrfs_issue_discard()
1208 len -= aligned_start - start; in btrfs_issue_discard()
1210 start = aligned_start; in btrfs_issue_discard()