Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

block/partitions/core.c add_partition() -> blk_alloc_ext_minor()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &disk->open_mutex
TYPE_LOCK (struct gendisk)->open_mutex

block/genhd.c __add_disk() -> blk_alloc_ext_minor()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &set->update_nr_hwq_lock