Searched refs:MINOR_ALLOCED (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/drivers/md/ |
D | dm.c | 133 #define MINOR_ALLOCED ((void *)-1) macro 1693 r = idr_alloc(&_minor_idr, MINOR_ALLOCED, minor, minor + 1, GFP_NOWAIT); in specific_minor() 1709 r = idr_alloc(&_minor_idr, MINOR_ALLOCED, 0, 1 << MINORBITS, GFP_NOWAIT); in next_free_minor() 1858 BUG_ON(old_md != MINOR_ALLOCED); in alloc_dev() 2144 if (!md || md == MINOR_ALLOCED || (MINOR(disk_devt(dm_disk(md))) != minor) || in dm_get_md() 2200 idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md)))); in __dm_destroy()
|