/kernel/linux/linux-5.10/arch/sh/mm/ |
D | flush-sh4.c | 16 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 …]
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | setup.c | 755 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 …]
|
/kernel/linux/linux-5.10/fs/jffs2/ |
D | file.c | 259 unsigned aligned_start = start & ~3; in jffs2_write_end() local 278 aligned_start = 0; in jffs2_write_end() 303 ret = jffs2_write_inode_range(c, f, ri, page_address(pg) + aligned_start, in jffs2_write_end() 304 (pg->index << PAGE_SHIFT) + aligned_start, in jffs2_write_end() 305 end - aligned_start, &writtenlen); in jffs2_write_end() 315 writtenlen -= min(writtenlen, (start - aligned_start)); in jffs2_write_end()
|
/kernel/linux/linux-5.10/arch/openrisc/kernel/ |
D | setup.c | 81 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()
|
/kernel/linux/linux-5.10/init/ |
D | initramfs.c | 541 unsigned long aligned_start = ALIGN_DOWN(start, PAGE_SIZE); in free_initrd_mem() local 544 memblock_free(__pa(aligned_start), aligned_end - aligned_start); in free_initrd_mem()
|
/kernel/linux/linux-5.10/drivers/misc/cxl/ |
D | pci.c | 1039 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 926 u8 *buffer_start, *aligned_start; in dpaa2_eth_build_single_fd() local 935 aligned_start = PTR_ALIGN(buffer_start - DPAA2_ETH_TX_BUF_ALIGN, in dpaa2_eth_build_single_fd() 937 if (aligned_start >= skb->head) in dpaa2_eth_build_single_fd() 938 buffer_start = aligned_start; in dpaa2_eth_build_single_fd() 2301 void *buffer_start, *aligned_start; in dpaa2_eth_xdp_create_fd() local 2316 aligned_start = PTR_ALIGN(buffer_start - DPAA2_ETH_TX_BUF_ALIGN, in dpaa2_eth_xdp_create_fd() 2318 if (aligned_start >= xdpf->data - xdpf->headroom) in dpaa2_eth_xdp_create_fd() 2319 buffer_start = aligned_start; in dpaa2_eth_xdp_create_fd()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | extent-tree.c | 1198 u64 aligned_start = ALIGN(start, 1 << 9); in btrfs_issue_discard() local 1200 if (WARN_ON(start != aligned_start)) { in btrfs_issue_discard() 1201 len -= aligned_start - start; in btrfs_issue_discard() 1203 start = aligned_start; in btrfs_issue_discard()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 2580 - unsigned aligned_start = start & ~3; 2599 - aligned_start = 0; 2624 - ret = jffs2_write_inode_range(c, f, ri, page_address(pg) + aligned_start, 2625 - (pg->index << PAGE_SHIFT) + aligned_start, 2626 - end - aligned_start, &writtenlen); 2636 - writtenlen -= min(writtenlen, (start - aligned_start));
|