Searched refs:MINOR_ALLOCED (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/md/ |
D | dm.c | 124 #define MINOR_ALLOCED ((void *)-1) macro 1833 r = idr_alloc(&_minor_idr, MINOR_ALLOCED, minor, minor + 1, GFP_NOWAIT); in specific_minor() 1849 r = idr_alloc(&_minor_idr, MINOR_ALLOCED, 0, 1 << MINORBITS, GFP_NOWAIT); in next_free_minor() 2021 BUG_ON(old_md != MINOR_ALLOCED); in alloc_dev() 2281 if (!md || md == MINOR_ALLOCED || (MINOR(disk_devt(dm_disk(md))) != minor) || in dm_get_md() 2337 idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md)))); in __dm_destroy()
|