]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/linux/range.h
9 int add_range(struct range
*range
, int az
, int nr_range
,
13 int add_range_with_merge(struct range
*range
, int az
, int nr_range
,
16 void subtract_range(struct range
*range
, int az
, u64 start
, u64 end
);
18 int clean_sort_range(struct range
*range
, int az
);
20 void sort_range(struct range
*range
, int nr_range
);
22 #define MAX_RESOURCE ((resource_size_t)~0)
23 static inline resource_size_t
cap_resource(u64 val
)
25 if (val
> MAX_RESOURCE
)