Searched refs:aligned_start (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/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-6.12.1/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-6.12.1/fs/jffs2/ |
D | file.c | 251 unsigned aligned_start = start & ~3; in jffs2_write_end() local 271 aligned_start = 0; in jffs2_write_end() 292 buf = kmap_local_folio(folio, aligned_start); in jffs2_write_end() 294 folio_pos(folio) + aligned_start, in jffs2_write_end() 295 end - aligned_start, &writtenlen); in jffs2_write_end() 302 writtenlen -= min(writtenlen, (start - aligned_start)); in jffs2_write_end()
|
/linux-6.12.1/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-6.12.1/init/ |
D | initramfs.c | 629 unsigned long aligned_start = ALIGN_DOWN(start, PAGE_SIZE); in free_initrd_mem() local 632 memblock_free((void *)aligned_start, aligned_end - aligned_start); in free_initrd_mem()
|
/linux-6.12.1/mm/ |
D | debug_vm_pgtable.c | 1110 phys_addr_t aligned_start, aligned_end; in phys_align_check() local 1115 aligned_start = ALIGN(pstart, psize); in phys_align_check() 1116 aligned_end = aligned_start + psize; in phys_align_check() 1118 if (aligned_end > aligned_start && aligned_end <= pend) { in phys_align_check() 1120 *physp = aligned_start; in phys_align_check()
|
/linux-6.12.1/drivers/misc/cxl/ |
D | pci.c | 1024 loff_t aligned_start, aligned_end; in cxl_pci_afu_read_err_buffer() local 1034 aligned_start = round_down(off, 8); in cxl_pci_afu_read_err_buffer() 1036 aligned_length = aligned_end - aligned_start; in cxl_pci_afu_read_err_buffer() 1050 memcpy_fromio(tbuf, ebuf + aligned_start, aligned_length); in cxl_pci_afu_read_err_buffer()
|
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 1075 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.12.1/fs/btrfs/ |
D | extent-tree.c | 1243 u64 aligned_start = ALIGN(start, 1 << SECTOR_SHIFT); in btrfs_issue_discard() local 1246 if (start != aligned_start) { in btrfs_issue_discard() 1247 len -= aligned_start - start; in btrfs_issue_discard() 1249 start = aligned_start; in btrfs_issue_discard()
|