summaryrefslogtreecommitdiffstats
path: root/libdm/datastruct
Commit message (Collapse)AuthorAgeFilesLines
* Use void pointer instead of char for binary keyZdenek Kabelac2011-03-101-6/+6
| | | | | | | | dm_hash binary functions takes void* key - so there is no need to cast pointers to char* (also the hash key does not have trailing '\0'). This is slight API change, but presents no change for the API user side it just allows to write code easier as the casting could be removed.
* Add dm_zalloc and use it and dm_pool_zalloc throughout.Alasdair Kergon2010-09-302-9/+5
|
* Use __attribute__ consistently throughout.Alasdair Kergon2010-07-091-2/+2
|
* Minor optimalization of _test_word.Zdenek Kabelac2010-07-081-2/+2
| | | | Skip ffs() if (test >> bit) is 0.
* Add dm_list_splice() to join two lists.Zdenek Kabelac2010-05-061-1/+23
|
* Add dm_bitset_equal to libdevmapper.Alasdair Kergon2010-04-201-0/+11
|
* Add dm_bit_and. (ejt)Alasdair Kergon2010-04-191-0/+7
|
* fix last commitAlasdair Kergon2010-04-191-1/+1
|
* Simplify dm_bitset_create. (ejt)Alasdair Kergon2010-04-191-5/+2
|
* Speed up dm_bit_get_next with ffs().Alasdair Kergon2010-04-191-10/+3
|
* remove no-longer-used filesAlasdair Kergon2010-01-192-101/+0
|
* Remove unnecessary / duplicate dm_list macros and functions.Dave Wysochanski2009-11-251-208/+0
| | | | | | | | | These are no longer used by anyone. The dm_list defines are all in libdevmapper.h and libdm/datastruct/list.c contains any function definitions. There is some code in "old-tests" that still use this but this code is not being maintained. Thanks to Zdenek for spotting this.
* Fix hash lookup segfault when keys compared are different lengths.Alasdair Kergon2009-11-031-1/+5
|
* more fixesAlasdair Kergon2008-11-041-0/+1
|
* Right, a simple build (without options) is working again.Alasdair Kergon2008-11-032-66/+66
|
* more tweaking to get things to compile - dmlib.h for log fns, list.hAlasdair Kergon2008-11-032-2/+2
|
* Skip add_dev_node when ioctls disabled.Alasdair Kergon2008-05-211-2/+4
| | | | | Make dm_hash_iter safe against deletion. Accept a NULL pointer to dm_free silently.
* make list_move consistent with other list fnsAlasdair Kergon2008-04-102-8/+12
|
* Add list_move() support function for list manipulation.Dave Wysochanski2008-03-261-0/+10
|
* Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.Alasdair Kergon2007-08-214-12/+12
|
* Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.Alasdair Kergon2007-08-202-6/+6
|
* Add "const" attributes where possible: first cut.Jim Meyering2007-08-072-14/+14
|
* Standardise protective include file #defines.Alasdair Kergon2007-04-272-4/+4
|
* Deal with some more compiler warnings. Hope this doesn't break anything...Alasdair Kergon2007-04-271-2/+2
|
* Add dm_event_handler_[gs]et_timeout functions.Alasdair Kergon2007-01-221-2/+4
| | | | Streamline dm_report_field_* interface.
* remove inlinesAlasdair Kergon2006-04-191-0/+136
|
* Check for libsepol.Alasdair Kergon2006-04-191-67/+12
| | | | | | Add some cflow & scope support. Separate out DEFS from CFLAGS. Remove inlines and use unique function names.
* Rename _log to dm_log and export.Alasdair Kergon2006-01-311-2/+5
| | | | Fix misc compile-time warnings.
* Fix hash function to avoid using a negative array offset.Alasdair Kergon2006-01-091-2/+2
|
* Don't inline _find in hash.c and tidy signed/unsigned etc.Alasdair Kergon2006-01-041-13/+16
|
* Use hash, bitset, malloc, pool from libdevmapper.Alasdair Kergon2005-10-161-0/+20
|
* export bitset, pool, hash, mallocAlasdair Kergon2005-10-162-65/+63
|
* Code to build and display device dependency tree.Alasdair Kergon2005-10-164-0/+458
|
* Basic support for mirrors.Alasdair Kergon2005-06-011-0/+27
|
* Fix contiguous allocations with linear.Alasdair Kergon2005-05-111-0/+8
|
* more refinementsAlasdair Kergon2005-04-061-9/+10
|
* Annotate, tidy and extend list.h.Alasdair Kergon2005-04-061-9/+99
|
* Update copyright notices.Alasdair Kergon2004-03-301-2/+11
|
* Improve segment merge/split code.Alasdair Kergon2003-09-151-13/+17
|
* Another sync point - numerous fixes & clean ups.Alasdair Kergon2003-07-041-0/+8
|
* list_nextAlasdair Kergon2003-05-061-0/+5
|
* Improve build robustness.Alasdair Kergon2003-04-151-3/+6
|
* Tidy various pre-processing incl. making libdl optional.Alasdair Kergon2003-03-241-0/+2
|
* Default stripesize 64k & config file setting for it;Alasdair Kergon2002-12-191-5/+3
| | | | | | Clear many compiler warnings (i386) & associated bugs - hopefully without introducing too many new bugs:-) (Same exercise required for other archs.) Default compilation has optimisation - or else use ./configure --enable-debug
* New column-based reporting tools: lvs, pvs & vgs.Alasdair Kergon2002-12-121-7/+18
|
* Add list_iterate that's safe with deletions.Alasdair Kergon2002-01-291-1/+4
|
* o Tool support for segments.Alasdair Kergon2001-11-281-0/+10
| | | | o vgmerge working.
* Use inttypes.hAlasdair Kergon2001-11-151-2/+2
|
* More LV-related tidying. lvdisplay without args now shows all LVs.Alasdair Kergon2001-11-141-0/+4
|
* o LGPL list implementationJoe Thornber2001-10-311-87/+32
|