Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/memstick/host/tifm_ms.c tifm_ms_complete_cmd() -> memstick_next_req()

Type Parameter Key Value
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 *mrq 4096-ptr_max
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 host unit_byte
LOCK2 &fm->lock
LOCK2 &sock->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct tifm_adapter)->lock
TYPE_LOCK (struct tifm_dev)->lock

drivers/memstick/host/tifm_ms.c tifm_ms_remove() -> memstick_next_req()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->private->eject 1
PARAM_VALUE 0 host->private->req 4096-ptr_max
PARAM_VALUE 0 host->private->req->error (-62)
PARAM_VALUE 0 host->private->timer.entry.pprev 0
PARAM_VALUE 0 host->private->timer.flags 0-4194302
PARAM_VALUE 0 host->private->timer.function 0
PARAM_VALUE 0 host->request 3939557476095029248
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 *mrq 4096-ptr_max
BUF_SIZE 0 host s32min-(-2),1-s32max
BUF_SIZE 0 host s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 host unit_byte
LOCK2 &sock->lock
LOCK2 flags
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct tifm_dev)->lock

drivers/memstick/host/tifm_ms.c tifm_ms_req_tasklet() -> memstick_next_req()

Type Parameter Key Value
PARAM_VALUE 0 host->private->eject 1
PARAM_VALUE 0 host->private->req 0,4096-ptr_max
PARAM_VALUE 0 host->private->req->data_dir 0-1
PARAM_VALUE 0 host->private->req->data_len 1,4,6,8
PARAM_VALUE 0 host->private->req->error (-62)
PARAM_VALUE 0 host->private->req->long_data 0-1
PARAM_VALUE 0 host->private->req->need_card_int 0-1
PARAM_VALUE 0 host->private->req->tpc 2,7,13-14
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 *mrq 0,4096-ptr_max
DATA_SOURCE 0 host $0
PREEMPT_ADD <- disables preempt
LOCK2 &sock->lock
LOCK2 flags
TYPE_LOCK (struct tifm_dev)->lock

drivers/memstick/host/tifm_ms.c tifm_ms_req_tasklet() -> memstick_next_req()

Type Parameter Key Value
PARAM_VALUE 0 host->private->eject 0
PARAM_VALUE 0 host->private->req 0,4096-ptr_max
PARAM_VALUE 0 host->private->req->data_dir 0-1
PARAM_VALUE 0 host->private->req->data_len 1,4,6,8
PARAM_VALUE 0 host->private->req->error (-12)
PARAM_VALUE 0 host->private->req->long_data 1
PARAM_VALUE 0 host->private->req->need_card_int 0-1
PARAM_VALUE 0 host->private->req->sg.dma_address u64max
PARAM_VALUE 0 host->private->req->sg.dma_flags 0,2-u32max
PARAM_VALUE 0 host->private->req->tpc 2,7,13-14
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 *mrq 0,4096-ptr_max
DATA_SOURCE 0 host $0
PREEMPT_ADD <- disables preempt
LOCK2 &sock->lock
LOCK2 flags
TYPE_LOCK (struct tifm_dev)->lock

drivers/memstick/host/rtsx_usb_ms.c rtsx_usb_ms_drv_remove() -> memstick_next_req()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->removing 1
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 *mrq 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &host->host_mutex
HALF_LOCKED2 &_dev->mutex
TYPE_LOCK (struct rtsx_usb_ms)->host_mutex

drivers/memstick/host/rtsx_usb_ms.c rtsx_usb_ms_handle_req() -> memstick_next_req()

Type Parameter Key Value
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 *mrq 0,4096-ptr_max
HALF_LOCKED2 &pool->lock

drivers/memstick/host/jmb38x_ms.c jmb38x_ms_complete_cmd() -> memstick_next_req()

Type Parameter Key Value
PARAM_VALUE 0 host->private->req 4096-ptr_max
PARAM_VALUE 0 host->private->timer.entry.pprev 0
PARAM_VALUE 0 host->private->timer.flags 0-4194302
PARAM_VALUE 0 host->private->timer.function 0
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 *mrq 4096-ptr_max
DATA_SOURCE 0 host $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &host->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct jmb38x_ms_host)->lock

drivers/memstick/host/jmb38x_ms.c jmb38x_ms_complete_cmd() -> memstick_next_req()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->private->req 4096-ptr_max
PARAM_VALUE 0 host->private->timer.entry.pprev 0
PARAM_VALUE 0 host->private->timer.flags 0-4194302
PARAM_VALUE 0 host->private->timer.function 0
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 *mrq 4096-ptr_max
DATA_SOURCE 0 host $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &host->lock
LOCK2 flags
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct jmb38x_ms_host)->lock

drivers/memstick/host/jmb38x_ms.c jmb38x_ms_req_tasklet() -> memstick_next_req()

Type Parameter Key Value
PARAM_VALUE 0 host->private->req 0,4096-ptr_max
PARAM_VALUE 0 host->private->req->data_dir 0-1
PARAM_VALUE 0 host->private->req->data_len 1,4,6,8
PARAM_VALUE 0 host->private->req->error (-62),(-12)
PARAM_VALUE 0 host->private->req->long_data 0-1
PARAM_VALUE 0 host->private->req->need_card_int 0-1
PARAM_VALUE 0 host->private->req->tpc 2,7,13-14
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 *mrq 0,4096-ptr_max
DATA_SOURCE 0 host $0
PREEMPT_ADD <- disables preempt
LOCK2 &host->lock
LOCK2 flags
TYPE_LOCK (struct jmb38x_ms_host)->lock

drivers/memstick/host/r592.c r592_process_thread() -> memstick_next_req()

Type Parameter Key Value
PARAM_VALUE 1 mrq 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 &dev->io_thread_lock
LOCK2 flags
TYPE_LOCK (struct r592_device)->io_thread_lock

drivers/memstick/host/r592.c r592_remove() -> memstick_next_req()

Type Parameter Key Value
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 *mrq 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING