Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/core/user_mad.c ib_umad_reg_agent() -> __get_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0-31 |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &file->mutex | 1 |
| CAPPED_DATA | 0 | &file->port->file_mutex | 1 |
| DATA_SOURCE | 0 | file | $0 |
| FUZZY_MAX | 1 | id | 31 |
| HARD_MAX | 1 | id | 31 |
| LOCK2 | 0 | &file->mutex | |
| LOCK2 | 0 | &file->port->file_mutex | |
| TYPE_LOCK | (struct ib_umad_file)->mutex | ||
| TYPE_LOCK | (struct ib_umad_port)->file_mutex |
drivers/infiniband/core/user_mad.c ib_umad_reg_agent2() -> __get_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0-31 |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &file->mutex | 1 |
| CAPPED_DATA | 0 | &file->port->file_mutex | 1 |
| DATA_SOURCE | 0 | file | $0 |
| FUZZY_MAX | 1 | id | 31 |
| HARD_MAX | 1 | id | 31 |
| LOCK2 | 0 | &file->mutex | |
| LOCK2 | 0 | &file->port->file_mutex | |
| TYPE_LOCK | (struct ib_umad_file)->mutex | ||
| TYPE_LOCK | (struct ib_umad_port)->file_mutex |
drivers/infiniband/core/user_mad.c ib_umad_unreg_agent() -> __get_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0-31 |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &file->mutex | 1 |
| CAPPED_DATA | 0 | &file->port->file_mutex | 1 |
| CAPPED_DATA | 1 | id | 1 |
| DATA_SOURCE | 0 | file | $0 |
| NOSPEC | 1 | id | |
| NOSPEC | 1 | id | |
| USER_DATA | 1 | id | 1-31[c] |
| LOCK2 | 0 | &file->mutex | |
| LOCK2 | 0 | &file->port->file_mutex | |
| TYPE_LOCK | (struct ib_umad_file)->mutex | ||
| TYPE_LOCK | (struct ib_umad_port)->file_mutex |
drivers/infiniband/core/user_mad.c ib_umad_write() -> __get_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0-31 |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &file->mutex | 1 |
| LOCK2 | 0 | &file->mutex | |
| TYPE_LOCK | (struct ib_umad_file)->mutex |
drivers/infiniband/core/user_mad.c queue_packet() -> __get_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0-31 |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &file->mutex | 1 |
| DATA_SOURCE | 0 | file | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &file->mutex | |
| TYPE_LOCK | (struct ib_umad_file)->mutex |