Defined in 3 files as a function:
- drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c, line 158 (as a function)
- drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h, line 44 (as a function)
- drivers/vdpa/vdpa_user/vduse_dev.c, line 433 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/vdpa/vdpa_user/vduse_dev.c vduse_dev_ioctl() -> is_mem_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 44 |
| BUF_SIZE | 0 | ptr | 44 |
| USER_DATA | 0 | *ptr | 0-255 |
| UNITS | 1 | size | unit_byte |
| USER_PTR | 0 | ptr |
drivers/vdpa/vdpa_user/vduse_dev.c vduse_dev_ioctl() -> is_mem_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 20 |
| BUF_SIZE | 0 | ptr | 20 |
| USER_DATA | 0 | *ptr | 0-255 |
| UNITS | 1 | size | unit_byte |
| USER_PTR | 0 | ptr |
drivers/vdpa/vdpa_user/vduse_dev.c vduse_dev_ioctl() -> is_mem_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 20 |
| BUF_SIZE | 0 | ptr | 20 |
| USER_DATA | 0 | *ptr | 0-255 |
| UNITS | 1 | size | unit_byte |
| USER_PTR | 0 | ptr |
drivers/vdpa/vdpa_user/vduse_dev.c vduse_dev_ioctl() -> is_mem_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 20 |
| BUF_SIZE | 0 | ptr | 20 |
| USER_DATA | 0 | *ptr | 0-255 |
| UNITS | 1 | size | unit_byte |
| USER_PTR | 0 | ptr |
drivers/vdpa/vdpa_user/vduse_dev.c vduse_dev_ioctl() -> is_mem_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 20 |
| BUF_SIZE | 0 | ptr | 20 |
| USER_DATA | 0 | *ptr | 0-255 |
| UNITS | 1 | size | unit_byte |
| USER_PTR | 0 | ptr |
drivers/vdpa/vdpa_user/vduse_dev.c vduse_dev_write_iter() -> is_mem_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 16 |
| BUF_SIZE | 0 | ptr | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/vdpa/vdpa_user/vduse_dev.c vduse_validate_config() -> is_mem_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 44 |
| BUF_SIZE | 0 | ptr | 44 |
| USER_DATA | 0 | *ptr | 0-255 |
| UNITS | 1 | size | unit_byte |
| USER_PTR | 0 | ptr | |
| LOCK2 | global &vduse_lock |
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c load_tar_archive() -> is_mem_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &eng_grps->lock | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct otx_cpt_eng_grps)->lock |