aboutsummaryrefslogtreecommitdiff
path: root/util/uuid.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2023-10-19 15:45:12 +0200
committerCédric Le Goater <clg@redhat.com>2023-11-03 09:20:31 +0100
commitc3104847363f4ac5d4e76e8ed637280f7be1ee68 (patch)
treee3555ba3e3f18344219ce312181a6030e88b93bd /util/uuid.c
parent43f04cbeff863ae68b6ead432af5e771b92b934c (diff)
util/reserved-region: Add new ReservedRegion helpers
Introduce resv_region_list_insert() helper which inserts a new ReservedRegion into a sorted list of reserved region. In case of overlap, the new region has higher priority and hides the existing overlapped segments. If the overlap is partial, new regions are created for parts which are not overlapped. The new region has higher priority independently on the type of the regions. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org> Tested-by: Yanghang Liu <yanghliu@redhat.com> Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'util/uuid.c')
0 files changed, 0 insertions, 0 deletions