Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/memstick/core/memstick.c h_memstick_read_dev_id() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 4
PARAM_VALUE 2 buf 1455421578311741440
PARAM_VALUE 3 length 4
BUF_SIZE 2 buf 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 length unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/memstick.c h_memstick_set_rw_addr() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 8
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 length 4
BUF_SIZE 2 buf 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 length unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/mspro_block.c h_mspro_block_setup_cmd() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 11
PARAM_VALUE 2 buf 7340591390737424384
PARAM_VALUE 3 length 8
BUF_SIZE 2 buf 8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 length unit_byte
HALF_LOCKED2 &msb->q_lock

drivers/memstick/core/mspro_block.c h_mspro_block_transfer_data() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 14
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/mspro_block.c h_mspro_block_transfer_data() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 7
PARAM_VALUE 2 buf 0
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/mspro_block.c h_mspro_block_transfer_data() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 14
PARAM_VALUE 2 buf 5500666208116797440
PARAM_VALUE 2 *buf 37
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/mspro_block.c h_mspro_block_transfer_data() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 7
PARAM_VALUE 2 buf 0
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/mspro_block.c h_mspro_block_transfer_data() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 7
PARAM_VALUE 2 buf 0
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/mspro_block.c h_mspro_block_transfer_data() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 7
PARAM_VALUE 2 buf 0
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/mspro_block.c mspro_block_init_card() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 0 mrq->data_len 1,4,6,8
PARAM_VALUE 0 mrq->error (-110)
PARAM_VALUE 0 mrq->long_data 0
PARAM_VALUE 0 mrq->tpc 7,11
PARAM_VALUE 1 tpc 4
PARAM_VALUE 2 buf 0
PARAM_VALUE 3 length 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 length unit_byte
HALF_LOCKED2 &host->lock

drivers/memstick/core/mspro_block.c mspro_block_set_interface() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 0 mrq->data_len 1,4,6,8
PARAM_VALUE 0 mrq->error (-110)
PARAM_VALUE 0 mrq->long_data 0
PARAM_VALUE 0 mrq->tpc 7,11
PARAM_VALUE 1 tpc 11
PARAM_VALUE 2 buf 3852308283823665152
PARAM_VALUE 3 length 8
BUF_SIZE 2 buf 8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 length unit_byte
HALF_LOCKED2 &host->lock

drivers/memstick/core/mspro_block.c mspro_block_switch_interface() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 0 mrq->data_len 1,4,6,8
PARAM_VALUE 0 mrq->error (-110)
PARAM_VALUE 0 mrq->long_data 0
PARAM_VALUE 0 mrq->tpc 11
PARAM_VALUE 1 tpc 7
PARAM_VALUE 2 buf 0
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &host->lock

drivers/memstick/core/mspro_block.c mspro_block_wait_for_ced() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 0 mrq->error (-110)
PARAM_VALUE 1 tpc 7
PARAM_VALUE 2 buf 0
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &host->lock

drivers/memstick/core/ms_block.c h_msb_parallel_switch() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 0 mrq->error 0
PARAM_VALUE 1 tpc 7
PARAM_VALUE 2 buf 0
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c h_msb_read_page() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 0 mrq->error 0
PARAM_VALUE 1 tpc 14
PARAM_VALUE 2 buf 8020183831187185664
PARAM_VALUE 2 *buf 170
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c h_msb_reset() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 0 mrq->error 0
PARAM_VALUE 1 tpc 14
PARAM_VALUE 2 buf 772490706524131328
PARAM_VALUE 2 *buf 60
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c h_msb_send_command() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 0 mrq->error 0
PARAM_VALUE 1 tpc 14
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c h_msb_write_block() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 0 mrq->error 0
PARAM_VALUE 1 tpc 14
PARAM_VALUE 2 buf 5213393545787785216
PARAM_VALUE 2 *buf 85
PARAM_VALUE 3 length 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c msb_read_int_reg() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 7
PARAM_VALUE 2 buf 0
PARAM_VALUE 3 length 1
BUF_SIZE 0 mrq 40
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c msb_read_regs() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 8
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 length 4
BUF_SIZE 0 mrq 40
BUF_SIZE 2 buf 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 length unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c msb_read_regs() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 4
PARAM_VALUE 2 buf 0
PARAM_VALUE 3 length 4
BUF_SIZE 0 mrq 40
DATA_SOURCE 3 length $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 length unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c msb_write_regs() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 8
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 length 4
BUF_SIZE 0 mrq 40
BUF_SIZE 2 buf 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 length unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c msb_write_regs() -> memstick_init_req()

Type Parameter Key Value
PARAM_VALUE 0 mrq 4096-ptr_max
PARAM_VALUE 1 tpc 11
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 length 1,4,6
BUF_SIZE 0 mrq 40
BUF_SIZE 2 buf 4,6
BUF_SIZE 2 buf 4,6
CAPPED_DATA 3 length 1
DATA_SOURCE 2 buf $3
DATA_SOURCE 3 length $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 length unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags