Searched refs:loc_end (Results 1 – 2 of 2) sorted by relevance
470 u64 loc_base, loc_end; in add_usable_mem() local477 loc_end = um_info->ranges[i].end; in add_usable_mem()478 if (loc_base >= base && loc_end <= end) in add_usable_mem()480 else if (base < loc_end && end > loc_base) { in add_usable_mem()483 if (loc_end > end) in add_usable_mem()484 loc_end = end; in add_usable_mem()494 cpu_to_be64(loc_end - loc_base + 1); in add_usable_mem()
1724 const struct svga3dsurface_loc *loc_end) in vmw_subres_dirty_add() argument1737 if (box_c2 < loc_end->z) in vmw_subres_dirty_add()1738 box->d = loc_end->z - box->z; in vmw_subres_dirty_add()1740 if (loc_start->z + 1 == loc_end->z) { in vmw_subres_dirty_add()1744 if (box_c2 < loc_end->y) in vmw_subres_dirty_add()1745 box->h = loc_end->y - box->y; in vmw_subres_dirty_add()1747 if (loc_start->y + 1 == loc_end->y) { in vmw_subres_dirty_add()1751 if (box_c2 < loc_end->x) in vmw_subres_dirty_add()1752 box->w = loc_end->x - box->x; in vmw_subres_dirty_add()