Defined in 1 files as a function:
Referenced in 7 files:
- block/blk-sysfs.c, line 614
- block/ioctl.c, line 698
- drivers/cdrom/cdrom.c, line 2168
- drivers/md/dm.c, line 1177
- drivers/scsi/sg.c, line 847
- fs/btrfs/volumes.c, line 8338
- include/linux/blkdev.h, line 1259
Smatch caller information:
fs/btrfs/volumes.c btrfs_init_writeback_bio_size() -> queue_max_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| LOCK2 | &fs_devices->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
drivers/scsi/sg.c max_sectors_bytes() -> queue_max_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | q | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sdp->open_rel_lock |
drivers/cdrom/cdrom.c cdrom_read_cdda_bpc() -> queue_max_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &cd->lock | ||
| TYPE_LOCK | (struct scsi_cd)->lock |
block/ioctl.c blkdev_common_ioctl() -> queue_max_sectors()
| Type | Parameter | Key | Value |
|---|
drivers/md/dm.c __max_io_len() -> queue_max_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/scsi/scsi_ioctl.c queue_max_bytes() -> queue_max_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | q | $0 |
| HALF_LOCKED2 | &cd->lock |
block/bsg.c queue_max_bytes() -> queue_max_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | q | $0 |