Searched refs:MINOR_ALLOCED (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/md/ |
A D | dm.c | 107 #define MINOR_ALLOCED ((void *)-1) macro 1633 r = idr_alloc(&_minor_idr, MINOR_ALLOCED, minor, minor + 1, GFP_NOWAIT); in specific_minor() 1649 r = idr_alloc(&_minor_idr, MINOR_ALLOCED, 0, 1 << MINORBITS, GFP_NOWAIT); in next_free_minor() 1806 BUG_ON(old_md != MINOR_ALLOCED); in alloc_dev() 2095 if (!md || md == MINOR_ALLOCED || (MINOR(disk_devt(dm_disk(md))) != minor) || in dm_get_md() 2151 idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md)))); in __dm_destroy()
|
Completed in 8 milliseconds