Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- block/genhd.c, line 301
- drivers/block/ataflop.c, line 2139
- drivers/block/brd.c, line 414
- drivers/block/floppy.c, line 4605
- drivers/block/loop.c, line 2303
- drivers/md/md.c
- drivers/scsi/sd.c, line 4459
- include/linux/blkdev.h, line 1005
Smatch caller information:
drivers/block/floppy.c do_floppy_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 2 |
| PARAM_VALUE | 1 | name | 1932358429132394496 |
| BUF_SIZE | 1 | name | 3 |
| STR_LEN | 0 | major | 2 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/block/brd.c brd_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 1 |
| PARAM_VALUE | 1 | name | 1256745211281985536 |
| BUF_SIZE | 1 | name | 8 |
| STR_LEN | 0 | major | 7 |
| TERMINATED | 1 | name | 1 |
drivers/md/md.c md_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 9 |
| PARAM_VALUE | 1 | name | 6741125991152701440 |
| BUF_SIZE | 1 | name | 3 |
| STR_LEN | 0 | major | 2 |
| TERMINATED | 1 | name | 1 |
drivers/md/md.c md_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 0 |
| PARAM_VALUE | 1 | name | 8864168609686913024 |
| BUF_SIZE | 1 | name | 4 |
| STR_LEN | 0 | major | 3 |
| TERMINATED | 1 | name | 1 |
drivers/mmc/core/block.c mmc_blk_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 179 |
| PARAM_VALUE | 1 | name | 2151193437088219136 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 4 |
| STR_LEN | 0 | major | 3 |
| TERMINATED | 1 | name | 1 |
drivers/scsi/sd.c init_sd() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 8,65-71,128-135 |
| PARAM_VALUE | 1 | name | 2168200635778138112 |
| BUF_SIZE | 1 | name | 3 |
| STR_LEN | 0 | major | 2 |
| TERMINATED | 1 | name | 1 |
drivers/memstick/core/mspro_block.c mspro_block_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 546461148932472832 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 12 |
| STR_LEN | 0 | major | 11 |
| TERMINATED | 1 | name | 1 |
drivers/block/rnbd/rnbd-clt.c rnbd_client_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 0-254,4294967274,4294967280,4294967284 |
| PARAM_VALUE | 1 | name | 4557539404345348096 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 5 |
| STR_LEN | 0 | major | 4 |
| TERMINATED | 1 | name | 1 |
drivers/block/drbd/drbd_main.c drbd_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 147 |
| PARAM_VALUE | 1 | name | 3363969293528739840 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 5 |
| STR_LEN | 0 | major | 4 |
| TERMINATED | 1 | name | 1 |
drivers/mtd/ubi/block.c ubiblock_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 0 |
| PARAM_VALUE | 1 | name | 5795627978284081152 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 9 |
| STR_LEN | 0 | major | 8 |
| TERMINATED | 1 | name | 1 |
drivers/block/loop.c loop_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 7 |
| PARAM_VALUE | 1 | name | 303003381828526080 |
| BUF_SIZE | 1 | name | 5 |
| STR_LEN | 0 | major | 4 |
| TERMINATED | 1 | name | 1 |
drivers/block/aoe/aoemain.c aoe_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 152 |
| PARAM_VALUE | 1 | name | 9032692799982903296 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 4 |
| STR_LEN | 0 | major | 3 |
| TERMINATED | 1 | name | 1 |
drivers/md/dm.c local_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 14 |
drivers/mtd/mtd_blkdevs.c register_mtd_blktrans() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 0-254,256-257 |
| PARAM_VALUE | 2 | probe | 0 |
drivers/block/null_blk/main.c null_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 0 |
| PARAM_VALUE | 1 | name | 766502352926269440 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 6 |
| STR_LEN | 0 | major | 5 |
| TERMINATED | 1 | name | 1 |
drivers/block/zram/zram_drv.c zram_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 0 |
| PARAM_VALUE | 1 | name | 6826668372539092992 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 5 |
| STR_LEN | 0 | major | 4 |
| TERMINATED | 1 | name | 1 |
drivers/block/rbd.c rbd_dev_device_setup() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 0 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 32 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/block/rbd.c rbd_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 0 |
| PARAM_VALUE | 1 | name | 6346261202084470784 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 4 |
| STR_LEN | 0 | major | 3 |
| TERMINATED | 1 | name | 1 |
block/genhd.c genhd_device_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 259 |
| PARAM_VALUE | 1 | name | 3915548445433401344 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 7 |
| STR_LEN | 0 | major | 6 |
| TERMINATED | 1 | name | 1 |
| NOCHECK_CALL |
drivers/block/virtio_blk.c virtio_blk_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 0 |
| PARAM_VALUE | 1 | name | 9026466876476534784 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 8 |
| STR_LEN | 0 | major | 7 |
| TERMINATED | 1 | name | 1 |
drivers/block/mtip32xx/mtip32xx.c mtip_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 0 |
| PARAM_VALUE | 1 | name | 7090877267193290752 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 9 |
| STR_LEN | 0 | major | 8 |
| TERMINATED | 1 | name | 1 |
drivers/scsi/sr.c init_sr() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 11 |
| PARAM_VALUE | 1 | name | 6510513127326212096 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 3 |
| STR_LEN | 0 | major | 2 |
| TERMINATED | 1 | name | 1 |
drivers/md/bcache/super.c bcache_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 0 |
| PARAM_VALUE | 1 | name | 879422499130236928 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 7 |
| STR_LEN | 0 | major | 6 |
| TERMINATED | 1 | name | 1 |
drivers/block/nbd.c nbd_init() -> __register_blkdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 43 |
| PARAM_VALUE | 1 | name | 2636789363221254144 |
| PARAM_VALUE | 2 | probe | 0 |
| BUF_SIZE | 1 | name | 4 |
| STR_LEN | 0 | major | 3 |
| TERMINATED | 1 | name | 1 |