Searched refs:aligned_start (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/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 …]
|
/Linux-v6.6/arch/arm/kernel/ |
D | setup.c | 762 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-v6.6/fs/jffs2/ |
D | file.c | 257 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-v6.6/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()
|
/Linux-v6.6/init/ |
D | initramfs.c | 625 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-v6.6/mm/ |
D | debug_vm_pgtable.c | 1121 phys_addr_t aligned_start, aligned_end; in phys_align_check() local 1126 aligned_start = ALIGN(pstart, psize); in phys_align_check() 1127 aligned_end = aligned_start + psize; in phys_align_check() 1129 if (aligned_end > aligned_start && aligned_end <= pend) { in phys_align_check() 1131 *physp = aligned_start; in phys_align_check()
|
/Linux-v6.6/drivers/misc/cxl/ |
D | pci.c | 1030 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-v6.6/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 1071 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() 2812 void *buffer_start, *aligned_start; in dpaa2_eth_xdp_create_fd() local 2827 aligned_start = PTR_ALIGN(buffer_start - DPAA2_ETH_TX_BUF_ALIGN, in dpaa2_eth_xdp_create_fd() 2829 if (aligned_start >= xdpf->data - xdpf->headroom) in dpaa2_eth_xdp_create_fd() 2830 buffer_start = aligned_start; in dpaa2_eth_xdp_create_fd()
|
/Linux-v6.6/fs/btrfs/ |
D | extent-tree.c | 1242 u64 aligned_start = ALIGN(start, 1 << SECTOR_SHIFT); in btrfs_issue_discard() local 1244 if (WARN_ON(start != aligned_start)) { in btrfs_issue_discard() 1245 len -= aligned_start - start; in btrfs_issue_discard() 1247 start = aligned_start; in btrfs_issue_discard()
|