Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/staging/greybus/usb.c hub_control() -> gb_operation_create()

Type Parameter Key Value
PARAM_VALUE 1 type 4
PARAM_VALUE 2 request_size 8
PARAM_VALUE 4 gfp 3264
UNITS 2 request_size unit_byte

drivers/staging/greybus/spilib.c gb_spi_operation_create() -> gb_operation_create()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->hd 4096-ptr_max
PARAM_VALUE 1 type 4
PARAM_VALUE 4 gfp 3264
DATA_SOURCE 0 connection $1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 request_size unit_byte
LOCK2 &ctlr->io_mutex
HALF_LOCKED2 &ctlr->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/staging/greybus/power_supply.c gb_power_supply_prop_descriptors_get() -> gb_operation_create()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 1 type 4
PARAM_VALUE 2 request_size 1
PARAM_VALUE 3 response_size 3-511
PARAM_VALUE 4 gfp 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 2 request_size unit_byte
LOCK2 &supplies->supplies_lock
TYPE_LOCK (struct gb_power_supplies)->supplies_lock

drivers/greybus/operation.c gb_operation_sync_timeout() -> gb_operation_create()

Type Parameter Key Value
PARAM_VALUE 0 connection->bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 type 1-23,33-40
PARAM_VALUE 2 request_size 0-s32max,18446744071562067968-u64max
PARAM_VALUE 3 response_size 0-s32max,18446744071562067968-u64max
PARAM_VALUE 4 gfp 3264
BUF_SIZE 0 connection (-1),376
BUF_SIZE 0 connection (-1),376
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request_size $3
DATA_SOURCE 3 response_size $5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 request_size 6-8196[c]
USER_DATA 3 response_size 3-16384[c]
UNITS 2 request_size unit_byte
UNITS 3 response_size unit_byte
HALF_LOCKED2 &cap->mutex
HALF_LOCKED2 &fw_mgmt->mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &intf->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &raw->disconnect_lock

drivers/staging/greybus/hid.c gb_hid_set_report() -> gb_operation_create()

Type Parameter Key Value
PARAM_VALUE 1 type 7
PARAM_VALUE 2 request_size 1-16385
PARAM_VALUE 3 response_size 0
PARAM_VALUE 4 gfp 3264
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 request_size 5-16385[c]
UNITS 2 request_size unit_byte
HALF_LOCKED2 &hid->driver_input_lock
HALF_LOCKED2 &hid->ll_open_lock
HALF_LOCKED2 global &minors_rwsem

drivers/staging/greybus/i2c.c gb_i2c_operation_create() -> gb_operation_create()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 1 type 5
PARAM_VALUE 2 request_size 2-4295360507
PARAM_VALUE 4 gfp 3264
DATA_SOURCE 0 connection $0
NOSPEC 3 response_size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 request_size 3-401384[c][u]
USER_DATA 3 response_size 1-8172[c][u]
UNITS 2 request_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/staging/greybus/loopback.c gb_loopback_async_operation() -> gb_operation_create()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->bundle 4096-ptr_max
PARAM_VALUE 0 connection->bundle->dev.power.request 0-4
PARAM_VALUE 0 connection->bundle->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 connection->bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 type 2-4
PARAM_VALUE 2 request_size 0-4000000
PARAM_VALUE 3 response_size 0,12-4000000
PARAM_VALUE 4 gfp 3264
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request_size $3
DATA_SOURCE 3 response_size $4
TASK_NOT_RUNNING
UNITS 2 request_size unit_byte
UNITS 3 response_size unit_byte
LOCK2 &gb->mutex
TYPE_LOCK (struct gb_loopback)->mutex

drivers/staging/greybus/loopback.c gb_loopback_operation_sync() -> gb_operation_create()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->bundle 4096-ptr_max
PARAM_VALUE 0 connection->bundle->dev.power.request 0-4
PARAM_VALUE 0 connection->bundle->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 connection->bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 type 2-4
PARAM_VALUE 2 request_size 0-4000000
PARAM_VALUE 3 response_size 0,12-4000000
PARAM_VALUE 4 gfp 3264
DATA_SOURCE 1 type $1
DATA_SOURCE 2 request_size $3
DATA_SOURCE 3 response_size $5
TASK_NOT_RUNNING
UNITS 2 request_size unit_byte
UNITS 3 response_size unit_byte
LOCK2 &gb->mutex
TYPE_LOCK (struct gb_loopback)->mutex

drivers/staging/greybus/sdio.c _gb_sdio_recv() -> gb_operation_create()

Type Parameter Key Value
PARAM_VALUE 1 type 5
PARAM_VALUE 2 request_size 5
PARAM_VALUE 3 response_size 4-4294967299
PARAM_VALUE 4 gfp 3264
CAPPED_DATA 3 response_size 1
UNITS 2 request_size unit_byte
UNITS 3 response_size unit_byte
LOCK2 &host->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_sdio_host)->lock

drivers/staging/greybus/sdio.c _gb_sdio_send() -> gb_operation_create()

Type Parameter Key Value
PARAM_VALUE 1 type 5
PARAM_VALUE 2 request_size 5-4294967300
PARAM_VALUE 3 response_size 4
PARAM_VALUE 4 gfp 3264
CAPPED_DATA 2 request_size 1
UNITS 2 request_size unit_byte
UNITS 3 response_size unit_byte
LOCK2 &host->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_sdio_host)->lock