Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/vfio/pci/vfio_pci_config.c init_pci_cap_af_perm() -> p_setb()

Type Parameter Key Value
PARAM_VALUE 0 p 4303131665802719384
PARAM_VALUE 0 p->virt 4096-ptr_max
PARAM_VALUE 0 p->write 4096-ptr_max
PARAM_VALUE 1 off 1
PARAM_VALUE 2 virt 255
PARAM_VALUE 3 write 0
BUF_SIZE 0 p 64
BUF_SIZE 0 p 64
DATA_SOURCE 0 p $0
NOCHECK_CALL

drivers/vfio/pci/vfio_pci_config.c init_pci_cap_af_perm() -> p_setb()

Type Parameter Key Value
PARAM_VALUE 0 p 4303131665802719384
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 1
PARAM_VALUE 3 write 1
BUF_SIZE 0 p 64
BUF_SIZE 0 p 64
DATA_SOURCE 0 p $0
NOCHECK_CALL

drivers/vfio/pci/vfio_pci_config.c init_pci_cap_basic_perm() -> p_setb()

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 12
PARAM_VALUE 2 virt 0
PARAM_VALUE 3 write 255
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_setb()

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 13
PARAM_VALUE 2 virt 0
PARAM_VALUE 3 write 255
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_setb()

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 15
PARAM_VALUE 2 virt 0
PARAM_VALUE 3 write 255
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_setb()

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 52
PARAM_VALUE 2 virt 255
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_setb()

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 60
PARAM_VALUE 2 virt 255
PARAM_VALUE 3 write 255
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_setb()

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 61
PARAM_VALUE 2 virt 255
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_setb()

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 1
PARAM_VALUE 2 virt 255
PARAM_VALUE 3 write 0
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_setb()

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 1
PARAM_VALUE 2 virt 255
PARAM_VALUE 3 write 0
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_setb()

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 2
PARAM_VALUE 2 virt 255
PARAM_VALUE 3 write 255
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_setb()

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 1
PARAM_VALUE 2 virt 255
PARAM_VALUE 3 write 0
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_setb()

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 1
PARAM_VALUE 2 virt 255
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_setb()

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 1
PARAM_VALUE 2 virt 255
PARAM_VALUE 3 write 0
BUF_SIZE 0 p 576
BUF_SIZE 0 p 576
DATA_SOURCE 0 p $0
NOCHECK_CALL

drivers/vfio/pci/vfio_pci_config.c init_pci_ext_cap_pwr_perm() -> p_setb()

Type Parameter Key Value
PARAM_VALUE 0 p 8477774961732010016
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 0
PARAM_VALUE 3 write 255
BUF_SIZE 0 p 1472
BUF_SIZE 0 p 1472
DATA_SOURCE 0 p $0
NOCHECK_CALL