Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_basic_perm() -> p_setw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4303131665802719232 |
| PARAM_VALUE | 0 | p->virt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->write | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | virt | u16max |
| PARAM_VALUE | 3 | write | 0 |
| BUF_SIZE | 0 | p | 672 |
| BUF_SIZE | 0 | p | 672 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_basic_perm() -> p_setw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4303131665802719232 |
| PARAM_VALUE | 0 | p->virt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->write | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 2 |
| PARAM_VALUE | 2 | virt | u16max |
| PARAM_VALUE | 3 | write | 0 |
| BUF_SIZE | 0 | p | 672 |
| BUF_SIZE | 0 | p | 672 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_basic_perm() -> p_setw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4303131665802719232 |
| PARAM_VALUE | 0 | p->virt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->write | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 4 |
| PARAM_VALUE | 2 | virt | 1024 |
| PARAM_VALUE | 3 | write | u16max |
| BUF_SIZE | 0 | p | 672 |
| BUF_SIZE | 0 | p | 672 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_basic_perm() -> p_setw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4303131665802719232 |
| PARAM_VALUE | 0 | p->virt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->write | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 6 |
| PARAM_VALUE | 2 | virt | 16 |
| PARAM_VALUE | 3 | write | 0 |
| BUF_SIZE | 0 | p | 672 |
| BUF_SIZE | 0 | p | 672 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_exp_perm() -> p_setw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4303131665802719360 |
| PARAM_VALUE | 0 | p->virt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->write | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 8 |
| PARAM_VALUE | 2 | virt | 61664 |
| PARAM_VALUE | 3 | write | 65023 |
| BUF_SIZE | 0 | p | 160 |
| BUF_SIZE | 0 | p | 160 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_exp_perm() -> p_setw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4303131665802719360 |
| PARAM_VALUE | 0 | p->virt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->write | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 40 |
| PARAM_VALUE | 2 | virt | 0 |
| PARAM_VALUE | 3 | write | 65503 |
| BUF_SIZE | 0 | p | 160 |
| BUF_SIZE | 0 | p | 160 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_msi_perm() -> p_setw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->virt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->write | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 12 |
| PARAM_VALUE | 2 | virt | u16max |
| PARAM_VALUE | 3 | write | u16max |
| BUF_SIZE | 0 | p | 32 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_msi_perm() -> p_setw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->virt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->write | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 8 |
| PARAM_VALUE | 2 | virt | u16max |
| PARAM_VALUE | 3 | write | u16max |
| BUF_SIZE | 0 | p | 32 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_pcix_perm() -> p_setw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4303131665802719288 |
| PARAM_VALUE | 0 | p->virt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->write | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 2 |
| PARAM_VALUE | 2 | virt | 0 |
| PARAM_VALUE | 3 | write | u16max |
| BUF_SIZE | 0 | p | 448 |
| BUF_SIZE | 0 | p | 448 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_pm_perm() -> p_setw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4303131665802719240 |
| PARAM_VALUE | 0 | p->virt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->write | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 2 |
| PARAM_VALUE | 2 | virt | 63488 |
| PARAM_VALUE | 3 | write | 0 |
| BUF_SIZE | 0 | p | 640 |
| BUF_SIZE | 0 | p | 640 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_vpd_perm() -> p_setw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4303131665802719256 |
| PARAM_VALUE | 0 | p->virt | 4096-ptr_max |
| PARAM_VALUE | 0 | p->write | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 2 |
| PARAM_VALUE | 2 | virt | u16max |
| PARAM_VALUE | 3 | write | u16max |
| BUF_SIZE | 0 | p | 576 |
| BUF_SIZE | 0 | p | 576 |
| DATA_SOURCE | 0 | p | $0 |
| NOCHECK_CALL |