1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
lvm2/libdm/datastruct
Bryn M. Reeves 81fad9e853 libdm: add dm_bitset_parse_list()
Add a function to parse a list of integer values and ranges into
a dm_bitset representation. Individual values signify that that bit
is set in the resulting mask and ranges are given as a pair of
start and end values, M-N, such that M and N are the first and
last members of the range (inclusive).

The implementation is based on the kernel's __bitmap_parselist()
that is used for cpumasks and other set configuration passed in
string form from user space.
2016-07-05 19:53:16 +01:00
..
bitset.c libdm: add dm_bitset_parse_list() 2016-07-05 19:53:16 +01:00
hash.c doc: change fsf address 2016-01-21 12:11:37 +01:00
list.c doc: change fsf address 2016-01-21 12:11:37 +01:00