Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/xen/xen-scsiback.c scsiback_gnttab_data_map() -> scsiback_gnttab_data_map_list()

Type Parameter Key Value
PARAM_VALUE 0 pending_req 4096-ptr_max
PARAM_VALUE 0 pending_req->cmd_len 0-16
PARAM_VALUE 0 pending_req->data_len 0
PARAM_VALUE 0 pending_req->info 4096-ptr_max
PARAM_VALUE 0 pending_req->info->ring.nr_ents 1-u32max
PARAM_VALUE 0 pending_req->info->ring.sring 4096-ptr_max
PARAM_VALUE 0 pending_req->n_grants 0
PARAM_VALUE 0 pending_req->n_sg 0
PARAM_VALUE 0 pending_req->rqid 0-15
PARAM_VALUE 0 pending_req->sc_data_direction 0-3
PARAM_VALUE 0 pending_req->se_cmd.map_cpu 0
PARAM_VALUE 0 pending_req->se_cmd.map_tag 0-s32max
PARAM_VALUE 0 pending_req->se_cmd.se_dev->caw_sem.first_waiter->up 0-1
PARAM_VALUE 0 pending_req->v2p 4096-ptr_max
PARAM_VALUE 0 pending_req->v2p->tpg 4096-ptr_max
PARAM_VALUE 0 *pending_req->grant_handles 0-4294967295
PARAM_VALUE 4 cnt 1-26
PARAM_VALUE 5 flags 6
BUF_SIZE 1 seg 208
BUF_SIZE 2 pg 1232
BUF_SIZE 3 grant 616
CAPPED_DATA 0 pending_req->se_cmd.map_tag 1
CAPPED_DATA 0 pending_req->v2p->v.chn 1
CAPPED_DATA 0 pending_req->v2p->v.lun 1
CAPPED_DATA 0 pending_req->v2p->v.tgt 1
DATA_SOURCE 0 pending_req $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/xen/xen-scsiback.c scsiback_gnttab_data_map() -> scsiback_gnttab_data_map_list()

Type Parameter Key Value
PARAM_VALUE 0 pending_req 4096-ptr_max
PARAM_VALUE 0 pending_req->cmd_len 0-16
PARAM_VALUE 0 pending_req->data_len 0
PARAM_VALUE 0 pending_req->info 4096-ptr_max
PARAM_VALUE 0 pending_req->info->ring.nr_ents 1-u32max
PARAM_VALUE 0 pending_req->info->ring.sring 4096-ptr_max
PARAM_VALUE 0 pending_req->n_grants 0
PARAM_VALUE 0 pending_req->n_sg 1-26
PARAM_VALUE 0 pending_req->rqid 0-15
PARAM_VALUE 0 pending_req->sc_data_direction 0-3
PARAM_VALUE 0 pending_req->se_cmd.map_cpu 0
PARAM_VALUE 0 pending_req->se_cmd.map_tag 0-s32max
PARAM_VALUE 0 pending_req->se_cmd.se_dev->caw_sem.first_waiter->up 0-1
PARAM_VALUE 0 pending_req->sgl 16,4096-ptr_max
PARAM_VALUE 0 pending_req->sgl->dma_address 0
PARAM_VALUE 0 pending_req->sgl->dma_flags 0
PARAM_VALUE 0 pending_req->sgl->dma_length 0
PARAM_VALUE 0 pending_req->sgl->length 0
PARAM_VALUE 0 pending_req->sgl->offset 0
PARAM_VALUE 0 pending_req->sgl->page_link 0
PARAM_VALUE 0 pending_req->v2p 4096-ptr_max
PARAM_VALUE 0 pending_req->v2p->tpg 4096-ptr_max
PARAM_VALUE 0 *pending_req->grant_handles 0-4294967295
PARAM_VALUE 2 pg 4096-ptr_max
PARAM_VALUE 3 grant 4096-ptr_max
PARAM_VALUE 3 *grant u32max
PARAM_VALUE 4 cnt 1-26
PARAM_VALUE 5 flags 2,6
BUF_SIZE 0 pending_req->sgl 0-4096
BUF_SIZE 1 seg 208
BUF_SIZE 1 seg 208
CAPPED_DATA 0 pending_req->se_cmd.map_tag 1
CAPPED_DATA 0 pending_req->v2p->v.chn 1
CAPPED_DATA 0 pending_req->v2p->v.lun 1
CAPPED_DATA 0 pending_req->v2p->v.tgt 1
CAPPED_DATA 4 cnt 1
DATA_SOURCE 0 pending_req $1
FUZZY_MAX 0 pending_req->n_sg 26
FUZZY_MAX 5 flags 2
BIT_INFO 0 pending_req->n_sg 0x0,0xff
BIT_INFO 5 flags 0x2,0x6
HARD_MAX 0 pending_req->n_sg 26
MEM_ZERO 0 pending_req->sgl
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 pending_req->n_sg
NO_OVERFLOW_SIMPLE 4 cnt
UNITS 4 cnt unit_array_size
HALF_LOCKED2 _T->lock

drivers/xen/xen-scsiback.c scsiback_gnttab_data_map() -> scsiback_gnttab_data_map_list()

Type Parameter Key Value
PARAM_VALUE 0 pending_req 4096-ptr_max
PARAM_VALUE 0 pending_req->cmd_len 0-16
PARAM_VALUE 0 pending_req->data_len 0
PARAM_VALUE 0 pending_req->info 4096-ptr_max
PARAM_VALUE 0 pending_req->info->ring.nr_ents 1-u32max
PARAM_VALUE 0 pending_req->info->ring.sring 4096-ptr_max
PARAM_VALUE 0 pending_req->n_sg 0-128
PARAM_VALUE 0 pending_req->rqid 0-15
PARAM_VALUE 0 pending_req->sc_data_direction 0-3
PARAM_VALUE 0 pending_req->se_cmd.map_cpu 0
PARAM_VALUE 0 pending_req->se_cmd.map_tag 0-s32max
PARAM_VALUE 0 pending_req->se_cmd.se_dev->caw_sem.first_waiter->up 0-1
PARAM_VALUE 0 pending_req->sgl 16,4096-ptr_max
PARAM_VALUE 0 pending_req->sgl->dma_address 0
PARAM_VALUE 0 pending_req->sgl->dma_flags 0
PARAM_VALUE 0 pending_req->sgl->dma_length 0
PARAM_VALUE 0 pending_req->sgl->length 0
PARAM_VALUE 0 pending_req->sgl->offset 0
PARAM_VALUE 0 pending_req->sgl->page_link 0
PARAM_VALUE 0 pending_req->v2p 4096-ptr_max
PARAM_VALUE 0 pending_req->v2p->tpg 4096-ptr_max
PARAM_VALUE 0 *pending_req->pages 4096-ptr_max
PARAM_VALUE 4 cnt 0-8191
PARAM_VALUE 5 flags 2,6
BUF_SIZE 0 pending_req->sgl 0-4096
CAPPED_DATA 0 pending_req->se_cmd.map_tag 1
CAPPED_DATA 0 pending_req->v2p->v.chn 1
CAPPED_DATA 0 pending_req->v2p->v.lun 1
CAPPED_DATA 0 pending_req->v2p->v.tgt 1
CAPPED_DATA 4 cnt 1
DATA_SOURCE 0 pending_req $1
FUZZY_MAX 0 pending_req->n_sg 128
FUZZY_MAX 5 flags 2
BIT_INFO 5 flags 0x2,0x6
HARD_MAX 0 pending_req->n_sg 128
MEM_ZERO 0 pending_req->sgl
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 pending_req->n_sg
UNITS 1 seg unit_byte
HALF_LOCKED2 _T->lock