Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/
Di915_scatterlist.c86 u64 block_size, offset, prev_end; in i915_rsgt_from_mm_node() local
114 prev_end = (resource_size_t)-1; in i915_rsgt_from_mm_node()
121 if (offset != prev_end || sg->length >= max_segment) { in i915_rsgt_from_mm_node()
140 prev_end = offset; in i915_rsgt_from_mm_node()
176 resource_size_t prev_end; in i915_rsgt_from_buddy_resource() local
200 prev_end = (resource_size_t)-1; in i915_rsgt_from_buddy_resource()
211 if (offset != prev_end || sg->length >= max_segment) { in i915_rsgt_from_buddy_resource()
230 prev_end = offset; in i915_rsgt_from_buddy_resource()
/linux-6.6.21/drivers/parisc/
Diommu-helpers.h132 unsigned long prev_end, sg_start; in iommu_coalesce_chunks() local
134 prev_end = (unsigned long)sg_virt(startsg) + in iommu_coalesce_chunks()
159 if (unlikely((prev_end != sg_start) || in iommu_coalesce_chunks()
160 ((prev_end | sg_start) & ~PAGE_MASK))) in iommu_coalesce_chunks()
/linux-6.6.21/arch/x86/mm/
Dnuma.c987 u64 prev_end; in numa_fill_memblks() local
1017 prev_end = blk[0]->end; in numa_fill_memblks()
1021 if (prev_end >= curr->start) { in numa_fill_memblks()
1022 if (prev_end < curr->end) in numa_fill_memblks()
1023 prev_end = curr->end; in numa_fill_memblks()
1025 curr->start = prev_end; in numa_fill_memblks()
1026 prev_end = curr->end; in numa_fill_memblks()
/linux-6.6.21/mm/
Dmemblock.c2007 unsigned long start, end, prev_end = 0; in free_unused_memmap() local
2024 start = min(start, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
2037 if (prev_end && prev_end < start) in free_unused_memmap()
2038 free_memmap(prev_end, start); in free_unused_memmap()
2045 prev_end = pageblock_align(end); in free_unused_memmap()
2049 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION)) { in free_unused_memmap()
2050 prev_end = pageblock_align(end); in free_unused_memmap()
2051 free_memmap(prev_end, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
/linux-6.6.21/fs/btrfs/
Dtree-checker.c326 u64 prev_end; in check_extent_data_item() local
330 prev_end = file_extent_end(leaf, prev_key, prev_fi); in check_extent_data_item()
331 if (unlikely(prev_end > key->offset)) { in check_extent_data_item()
334 prev_end, key->offset); in check_extent_data_item()
1492 u64 prev_end = prev_key->objectid; in check_extent_item() local
1495 prev_end += fs_info->nodesize; in check_extent_item()
1497 prev_end += prev_key->offset; in check_extent_item()
1499 if (unlikely(prev_end > key->objectid)) { in check_extent_item()
/linux-6.6.21/drivers/iio/imu/bno055/
Dbno055.c1443 int xfer_start, start, end, prev_end; in bno055_trigger_handler() local
1482 (prev_end <= BNO055_SCAN_QUATERNION)) ? 3 : 0; in bno055_trigger_handler()
1485 thr_hit = (start - prev_end + quat_extra_len) > in bno055_trigger_handler()
1496 prev_end - xfer_start, in bno055_trigger_handler()
1504 prev_end = end; in bno055_trigger_handler()
1513 prev_end - xfer_start, in bno055_trigger_handler()
/linux-6.6.21/fs/nfs/
Dpagelist.c1150 size_t prev_end = prev->wb_pgbase + prev->wb_bytes; in nfs_page_is_contiguous() local
1155 return prev_end == nfs_page_max_length(prev); in nfs_page_is_contiguous()
1156 if (req->wb_pgbase == prev_end) { in nfs_page_is_contiguous()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory.c601 u64 tmp_hint_addr, valid_start, valid_size, prev_start, prev_end, in get_va_block() local
710 prev_end = reserved_valid_start - 1; in get_va_block()
727 rc = add_va_block_locked(hdev, &va_range->list, prev_start, prev_end); in get_va_block()