Searched refs:loc_end (Results 1 – 2 of 2) sorted by relevance
476 u64 loc_base, loc_end; in add_usable_mem() local483 loc_end = um_info->ranges[i].end; in add_usable_mem()484 if (loc_base >= base && loc_end <= end) in add_usable_mem()486 else if (base < loc_end && end > loc_base) { in add_usable_mem()489 if (loc_end > end) in add_usable_mem()490 loc_end = end; in add_usable_mem()500 cpu_to_be64(loc_end - loc_base + 1); in add_usable_mem()
1671 const struct vmw_surface_loc *loc_end) in vmw_subres_dirty_add() argument1684 if (box_c2 < loc_end->z) in vmw_subres_dirty_add()1685 box->d = loc_end->z - box->z; in vmw_subres_dirty_add()1687 if (loc_start->z + 1 == loc_end->z) { in vmw_subres_dirty_add()1691 if (box_c2 < loc_end->y) in vmw_subres_dirty_add()1692 box->h = loc_end->y - box->y; in vmw_subres_dirty_add()1694 if (loc_start->y + 1 == loc_end->y) { in vmw_subres_dirty_add()1698 if (box_c2 < loc_end->x) in vmw_subres_dirty_add()1699 box->w = loc_end->x - box->x; in vmw_subres_dirty_add()