Defined in 2 files as a member:
- arch/x86/kernel/cpu/sgx/sgx.h, line 45 (as a member)
- drivers/virtio/virtio_balloon.c, line 76 (as a member)
Defined in 2 files as a function:
- drivers/vfio/pci/mlx5/cmd.c, line 466 (as a function)
- drivers/xen/privcmd.c, line 118 (as a function)
Referenced in 6 files:
- arch/x86/kernel/cpu/sgx/main.c
- drivers/accel/qaic/qaic_control.c
- drivers/dma/ste_dma40.c
- drivers/vfio/pci/mlx5/cmd.c
- drivers/virtio/virtio_balloon.c
- drivers/xen/privcmd.c
Smatch caller information:
drivers/vfio/pci/mlx5/cmd.c mlx5vf_alloc_qp_recv_resources() -> free_page_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pages | 512-4194304 |
| PARAM_VALUE | 1 | page_list | 16,4096-ptr_max |
| CAPPED_DATA | 0 | pages | 1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pages | |
| UNITS | 0 | pages | unit_array_size |
| LOCK2 | &mvdev->state_mutex | ||
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |
drivers/vfio/pci/mlx5/cmd.c mlx5vf_free_data_buffer() -> free_page_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pages | |
| HALF_LOCKED2 | &migf->lock | ||
| HALF_LOCKED2 | &migf->mvdev->state_mutex | ||
| HALF_LOCKED2 | &mvdev->state_mutex | ||
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |
drivers/vfio/pci/mlx5/cmd.c mlx5vf_free_qp_recv_resources() -> free_page_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pages | unit_array_size |
| LOCK2 | &mvdev->state_mutex | ||
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |
drivers/xen/privcmd.c privcmd_ioctl_mmap() -> free_page_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pages | 3753382001545351168 |
| PARAM_VALUE | 0 | pages->next | 3753382001545351168 |
| PARAM_VALUE | 0 | pages->prev | 4096-ptr_max |
| NOCHECK_CALL |
drivers/xen/privcmd.c privcmd_ioctl_mmap_batch() -> free_page_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pages | 1906208967408742400 |
| PARAM_VALUE | 0 | pages->next | 1906208967408742400 |
| PARAM_VALUE | 0 | pages->prev | 4096-ptr_max |
| NOCHECK_CALL |