Searched refs:loc_end (Results 1 – 2 of 2) sorted by relevance
472 u64 loc_base, loc_end; in add_usable_mem() local479 loc_end = um_info->ranges[i].end; in add_usable_mem()480 if (loc_base >= base && loc_end <= end) in add_usable_mem()482 else if (base < loc_end && end > loc_base) { in add_usable_mem()485 if (loc_end > end) in add_usable_mem()486 loc_end = end; in add_usable_mem()496 cpu_to_be64(loc_end - loc_base + 1); in add_usable_mem()
1669 const struct vmw_surface_loc *loc_end) in vmw_subres_dirty_add() argument1682 if (box_c2 < loc_end->z) in vmw_subres_dirty_add()1683 box->d = loc_end->z - box->z; in vmw_subres_dirty_add()1685 if (loc_start->z + 1 == loc_end->z) { in vmw_subres_dirty_add()1689 if (box_c2 < loc_end->y) in vmw_subres_dirty_add()1690 box->h = loc_end->y - box->y; in vmw_subres_dirty_add()1692 if (loc_start->y + 1 == loc_end->y) { in vmw_subres_dirty_add()1696 if (box_c2 < loc_end->x) in vmw_subres_dirty_add()1697 box->w = loc_end->x - box->x; in vmw_subres_dirty_add()