Defined in 2 files as a function:
- include/rdma/uverbs_ioctl.h, line 898 (as a function)
- include/rdma/uverbs_ioctl.h, line 958 (as a function)
Referenced in 4 files:
- drivers/infiniband/core/uverbs_std_types_counters.c, line 113
- drivers/infiniband/core/uverbs_std_types_device.c, line 78
- drivers/infiniband/hw/mlx5/devx.c
- include/rdma/uverbs_ioctl.h, line 911
Smatch caller information:
drivers/infiniband/core/uverbs_std_types_device.c gather_objects_handle() -> uverbs_zalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bundle | 4096-ptr_max |
| PARAM_VALUE | 0 | bundle->ufile | 4096-ptr_max |
| PARAM_VALUE | 0 | bundle->ufile->device | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 4-65532 |
| DATA_SOURCE | 0 | bundle | $2 |
| DATA_SOURCE | 1 | size | $3 |
drivers/infiniband/core/uverbs_std_types_device.c uverbs_kcalloc() -> uverbs_zalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bundle | 4096-ptr_max |
| PARAM_VALUE | 0 | bundle->ufile | 4096-ptr_max |
| PARAM_VALUE | 0 | bundle->ufile->device | 4096-ptr_max |
| DATA_SOURCE | 0 | bundle | $0 |
| BIT_INFO | 1 | size | 0x0,0x1fffff |
| BIT_INFO | 1 | size | 0x0,0x1fffff |
drivers/infiniband/core/uverbs_std_types_counters.c ib_uverbs_handler_UVERBS_METHOD_COUNTERS_READ() -> uverbs_zalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-34359738360 |
| DATA_SOURCE | 0 | bundle | $0 |
drivers/infiniband/hw/mlx5/devx.c devx_umem_reg_cmd_alloc() -> uverbs_zalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | bundle | $1 |
drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_OBJ_CREATE() -> uverbs_zalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-u16max,18446744073709551614 |
| DATA_SOURCE | 0 | bundle | $0 |
| DATA_SOURCE | 1 | size | r uverbs_attr_get_len |
drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_OBJ_MODIFY() -> uverbs_zalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-u16max,18446744073709551614 |
| DATA_SOURCE | 0 | bundle | $0 |
| DATA_SOURCE | 1 | size | r uverbs_attr_get_len |
drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_OBJ_QUERY() -> uverbs_zalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-u16max,18446744073709551614 |
| DATA_SOURCE | 0 | bundle | $0 |
| DATA_SOURCE | 1 | size | r uverbs_attr_get_len |
drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_OTHER() -> uverbs_zalloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bundle | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0-u16max,18446744073709551614 |
| DATA_SOURCE | 0 | bundle | $0 |
| DATA_SOURCE | 1 | size | r uverbs_attr_get_len |