Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpib/common/gpib_os.c autospoll_ioctl() -> handle_to_descriptor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->got_module | 1 |
| PARAM_VALUE | 1 | handle | 0 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_priv | $1 |
| LOCK2 | &board->big_gpib_mutex | ||
| TYPE_LOCK | (struct gpib_board)->big_gpib_mutex |
drivers/gpib/common/gpib_os.c command_ioctl() -> handle_to_descriptor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | file_priv->got_module | 1 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &file_priv->descriptors_mutex | 1 |
| DATA_SOURCE | 0 | file_priv | $0 |
| USER_DATA | 1 | handle | s32min-s32max |
| LOCK2 | 0 | &file_priv->descriptors_mutex | |
| TYPE_LOCK | (struct gpib_file_private)->descriptors_mutex |
drivers/gpib/common/gpib_os.c ibclose() -> handle_to_descriptor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 1-u64max |
| PARAM_VALUE | 1 | handle | 0 |
| BUF_SIZE | 0 | file_priv | (-1),26 |
| BUF_SIZE | 0 | file_priv | (-1),26 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpib/common/gpib_os.c pad_ioctl() -> handle_to_descriptor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->got_module | 1 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_priv | $1 |
| USER_DATA | 1 | handle | s32min-s32max |
| LOCK2 | &board->big_gpib_mutex | ||
| TYPE_LOCK | (struct gpib_board)->big_gpib_mutex |
drivers/gpib/common/gpib_os.c read_ioctl() -> handle_to_descriptor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | file_priv->got_module | 1 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &file_priv->descriptors_mutex | 1 |
| DATA_SOURCE | 0 | file_priv | $0 |
| USER_DATA | 1 | handle | s32min-s32max |
| LOCK2 | 0 | &file_priv->descriptors_mutex | |
| TYPE_LOCK | (struct gpib_file_private)->descriptors_mutex |
drivers/gpib/common/gpib_os.c sad_ioctl() -> handle_to_descriptor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->got_module | 1 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file_priv | $1 |
| USER_DATA | 1 | handle | s32min-s32max |
| LOCK2 | &board->big_gpib_mutex | ||
| TYPE_LOCK | (struct gpib_board)->big_gpib_mutex |
drivers/gpib/common/gpib_os.c wait_ioctl() -> handle_to_descriptor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | file_priv->got_module | 1 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &file_priv->descriptors_mutex | 1 |
| DATA_SOURCE | 0 | file_priv | $0 |
| USER_DATA | 1 | handle | s32min-s32max |
| LOCK2 | &board->big_gpib_mutex | ||
| LOCK2 | 0 | &file_priv->descriptors_mutex | |
| TYPE_LOCK | (struct gpib_board)->big_gpib_mutex | ||
| TYPE_LOCK | (struct gpib_file_private)->descriptors_mutex |
drivers/gpib/common/gpib_os.c write_ioctl() -> handle_to_descriptor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | file_priv->descriptors_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | file_priv->got_module | 1 |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &file_priv->descriptors_mutex | 1 |
| DATA_SOURCE | 0 | file_priv | $0 |
| USER_DATA | 1 | handle | s32min-s32max |
| LOCK2 | 0 | &file_priv->descriptors_mutex | |
| TYPE_LOCK | (struct gpib_file_private)->descriptors_mutex |