Defined in 2 files as a function:
- include/rdma/uverbs_ioctl.h, line 892 (as a function)
- include/rdma/uverbs_ioctl.h, line 953 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/core/uverbs_ioctl.c ib_uverbs_run_method() -> uverbs_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bundle | 4096-ptr_max |
| PARAM_VALUE | 0 | bundle->method_elm | 4096-ptr_max |
| PARAM_VALUE | 0 | bundle->method_elm->handler | 1-u64max |
| PARAM_VALUE | 1 | size | 0-68719476720 |
| DATA_SOURCE | 1 | size | r size_mul |
| USER_DATA | 1 | size | 0-1048560[c] |
| LOCK2 | &ufile->device->disassociate_srcu | ||
| TYPE_LOCK | (struct ib_uverbs_device)->disassociate_srcu |
drivers/infiniband/core/uverbs_ioctl.c uverbs_process_attr() -> uverbs_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bundle | 4096-ptr_max |
| PARAM_VALUE | 0 | bundle->attrs | 4096-ptr_max |
| USER_DATA | 1 | size | 0-u16max |
| UNITS | 1 | size | unit_byte |
| LOCK2 | &ufile->device->disassociate_srcu | ||
| TYPE_LOCK | (struct ib_uverbs_device)->disassociate_srcu |
drivers/infiniband/core/uverbs_ioctl.c uverbs_process_idrs_array() -> uverbs_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bundle | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-131064 |
| CAPPED_DATA | 1 | size | 1 |
| USER_DATA | 1 | size | 0-131064[c] |
| LOCK2 | &ufile->device->disassociate_srcu | ||
| TYPE_LOCK | (struct ib_uverbs_device)->disassociate_srcu |