Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/sg.c sg_ioctl_common() -> sg_new_read()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->cmd_q 1
PARAM_VALUE 0 sfp->req_arr->data.bufflen 0-s32max
PARAM_VALUE 0 sfp->req_arr->data.dio_in_use 0-255
PARAM_VALUE 0 sfp->req_arr->data.k_use_sg 0-u16max
PARAM_VALUE 0 sfp->req_arr->data.page_order s32min-s32max
PARAM_VALUE 0 sfp->req_arr->data.sglist_len 0-4294967295
PARAM_VALUE 0 sfp->req_arr->done 0
PARAM_VALUE 0 sfp->req_arr->ew.work.data.counter 0
PARAM_VALUE 0 sfp->req_arr->ew.work.entry.next 0
PARAM_VALUE 0 sfp->req_arr->ew.work.entry.prev 0
PARAM_VALUE 0 sfp->req_arr->ew.work.func 0
PARAM_VALUE 0 sfp->req_arr->header.driver_status 0
PARAM_VALUE 0 sfp->req_arr->header.host_status 0
PARAM_VALUE 0 sfp->req_arr->header.info 0,2
PARAM_VALUE 0 sfp->req_arr->header.masked_status 0
PARAM_VALUE 0 sfp->req_arr->header.msg_status 0
PARAM_VALUE 0 sfp->req_arr->header.resid 0
PARAM_VALUE 0 sfp->req_arr->header.status 0
PARAM_VALUE 0 sfp->req_arr->orphan 0
PARAM_VALUE 0 sfp->req_arr->parentfp->f_mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->req_arr->parentfp->f_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sfp->req_arr->parentfp->f_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sfp->req_arr->parentfp->f_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 sfp->req_arr->parentfp->f_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sfp->req_arr->parentfp->f_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 sfp->req_arr->parentfp->f_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 sfp->req_arr->parentfp->f_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sfp->req_arr->parentfp->parentdp->device->request_queue->q_lockdep_map->name 0-255
PARAM_VALUE 0 sfp->req_arr->parentfp->res_in_use 1
PARAM_VALUE 0 sfp->req_arr->parentfp->rq_list_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 sfp->req_arr->res_used 0-1
PARAM_VALUE 0 sfp->req_arr->rq->__sector (-1)
PARAM_VALUE 0 sfp->req_arr->rq->end_io 5004016333643636736
PARAM_VALUE 0 sfp->req_arr->rq->mq_ctx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->next_cpu 0-s32max
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->next_cpu_batch 1-s32max
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->queue->last_merge->cmd_flags 0,16384-4294967295
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->queue->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->run_work.timer.is_hard 0-1
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->run_work.timer.is_lazy 0-1
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->run_work.timer.is_queued 0-1
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->run_work.timer.is_soft 0-1
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->sched_tags->bitmap_tags.wake_index.counter 0-7
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->sched_tags->bitmap_tags.wakeup_cnt.counter 0-s32max
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->sched_tags->breserved_tags.wake_index.counter 0-7
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->sched_tags->breserved_tags.wakeup_cnt.counter 0-s32max
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->tags->bitmap_tags.wake_index.counter 0-7
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->tags->bitmap_tags.wakeup_cnt.counter 0-s32max
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->tags->breserved_tags.wake_index.counter 0-7
PARAM_VALUE 0 sfp->req_arr->rq->mq_hctx->tags->breserved_tags.wakeup_cnt.counter 0-s32max
PARAM_VALUE 0 sfp->req_arr->rq->q->disk->zone_wplugs_worker_bio_done.wait.lock.owner (-1)
PARAM_VALUE 0 sfp->req_arr->rq->q->disk->zone_wplugs_worker_bio_done.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 sfp->req_arr->rq->rq_flags 0,256-4294967295
PARAM_VALUE 0 sfp->req_arr->sg_io_owned 0-1
PARAM_VALUE 0 sfp->rq_list.next 4096-ptr_max
PARAM_VALUE 0 sfp->rq_list.prev 4096-ptr_max
PARAM_VALUE 0 sfp->rq_list.prev->next 4096-ptr_max
PARAM_VALUE 0 sfp->rq_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sfp->rq_list_lock.dep_map->name 0-255
PARAM_VALUE 0 sfp->rq_list_lock.owner (-1)
PARAM_VALUE 0 sfp->rq_list_lock.owner_cpu u32max
PARAM_VALUE 0 sfp->rq_list_lock.raw_lock.wlocked 0
PARAM_VALUE 0 *sfp->req_arr->header->cmdp 0-255
PARAM_VALUE 0 *sfp->req_arr->parentfp->parentdp->device->request_queue->q_lockdep_map.name 0-255
PARAM_VALUE 2 count 88
PARAM_VALUE 3 srp 4096-ptr_max
PARAM_VALUE 3 srp->data.bufflen 0-s32max
PARAM_VALUE 3 srp->done 2
PARAM_VALUE 3 srp->ew.work.data.counter 0
PARAM_VALUE 3 srp->ew.work.entry.next 0
PARAM_VALUE 3 srp->ew.work.entry.prev 0
PARAM_VALUE 3 srp->ew.work.func 0
PARAM_VALUE 3 srp->header.cmd_len 6-252
PARAM_VALUE 3 srp->header.driver_status 0
PARAM_VALUE 3 srp->header.dxfer_len 0-268435455
PARAM_VALUE 3 srp->header.host_status 0
PARAM_VALUE 3 srp->header.info 0,2
PARAM_VALUE 3 srp->header.interface_id 83
PARAM_VALUE 3 srp->header.masked_status 0
PARAM_VALUE 3 srp->header.msg_status 0
PARAM_VALUE 3 srp->header.resid 0
PARAM_VALUE 3 srp->header.status 0
PARAM_VALUE 3 srp->orphan 0
PARAM_VALUE 3 srp->res_used 0-1
PARAM_VALUE 3 srp->sg_io_owned 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $2
DATA_SOURCE 1 buf $4
TASK_NOT_RUNNING
UNITS 2 count unit_byte

drivers/scsi/sg.c sg_read() -> sg_new_read()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->parentdp 1-u64max
PARAM_VALUE 0 sfp->rq_list_lock.dep_map->name 0-255
PARAM_VALUE 0 sfp->rq_list_lock.owner (-1)
PARAM_VALUE 0 sfp->rq_list_lock.owner_cpu u32max
PARAM_VALUE 0 sfp->rq_list_lock.raw_lock.wlocked 0
PARAM_VALUE 2 count 0-1000000000,2147479552
PARAM_VALUE 3 srp 4096-ptr_max
PARAM_VALUE 3 srp->done 2
PARAM_VALUE 3 srp->header.interface_id s32min-(-1),1-s32max
PARAM_VALUE 3 srp->sg_io_owned 0
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
CAPPED_DATA 1 buf 1
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 count $2
DATA_SOURCE 3 srp r sg_get_rq_mark
FUZZY_MAX 2 count 2147479552
USER_DATA 1 buf 0-u64max[c]
USER_DATA 2 count 0-1000000000
UNITS 2 count unit_byte