Searched refs:MINOR_ALLOCED (Results 1 – 1 of 1) sorted by relevance
/drivers/md/ |
D | dm.c | 134 #define MINOR_ALLOCED ((void *)-1) macro 1749 r = idr_alloc(&_minor_idr, MINOR_ALLOCED, minor, minor + 1, GFP_NOWAIT); in specific_minor() 1765 r = idr_alloc(&_minor_idr, MINOR_ALLOCED, 0, 1 << MINORBITS, GFP_NOWAIT); in next_free_minor() 1938 BUG_ON(old_md != MINOR_ALLOCED); in alloc_dev() 2224 if (!md || md == MINOR_ALLOCED || (MINOR(disk_devt(dm_disk(md))) != minor) || in dm_get_md() 2280 idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md)))); in __dm_destroy()
|