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