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() -> alloc_perm_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | perm | 4303131665802719384 |
| PARAM_VALUE | 1 | size | 6 |
| BUF_SIZE | 0 | perm | 64 |
| BUF_SIZE | 0 | perm | 64 |
| DATA_SOURCE | 0 | perm | $0 |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_basic_perm() -> alloc_perm_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | perm | 4303131665802719232 |
| PARAM_VALUE | 1 | size | 64 |
| BUF_SIZE | 0 | perm | 672 |
| BUF_SIZE | 0 | perm | 672 |
| DATA_SOURCE | 0 | perm | $0 |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_exp_perm() -> alloc_perm_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | perm | 4303131665802719360 |
| PARAM_VALUE | 1 | size | 52 |
| BUF_SIZE | 0 | perm | 160 |
| BUF_SIZE | 0 | perm | 160 |
| DATA_SOURCE | 0 | perm | $0 |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_msi_perm() -> alloc_perm_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | perm | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 10,14,20,24 |
| BUF_SIZE | 0 | perm | 32 |
| DATA_SOURCE | 0 | perm | $0 |
| DATA_SOURCE | 1 | size | $1 |
| FUZZY_MAX | 1 | size | 10 |
| 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() -> alloc_perm_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | perm | 4303131665802719288 |
| PARAM_VALUE | 1 | size | 24 |
| BUF_SIZE | 0 | perm | 448 |
| BUF_SIZE | 0 | perm | 448 |
| DATA_SOURCE | 0 | perm | $0 |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_pm_perm() -> alloc_perm_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | perm | 4303131665802719240 |
| PARAM_VALUE | 1 | size | 8 |
| BUF_SIZE | 0 | perm | 640 |
| BUF_SIZE | 0 | perm | 640 |
| DATA_SOURCE | 0 | perm | $0 |
drivers/vfio/pci/vfio_pci_config.c init_pci_cap_vpd_perm() -> alloc_perm_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | perm | 4303131665802719256 |
| PARAM_VALUE | 1 | size | 8 |
| BUF_SIZE | 0 | perm | 576 |
| BUF_SIZE | 0 | perm | 576 |
| DATA_SOURCE | 0 | perm | $0 |
drivers/vfio/pci/vfio_pci_config.c init_pci_ext_cap_err_perm() -> alloc_perm_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | perm | 8477774961732009992 |
| PARAM_VALUE | 1 | size | 44 |
| BUF_SIZE | 0 | perm | 1568 |
| BUF_SIZE | 0 | perm | 1568 |
| DATA_SOURCE | 0 | perm | $0 |
drivers/vfio/pci/vfio_pci_config.c init_pci_ext_cap_pwr_perm() -> alloc_perm_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | perm | 8477774961732010016 |
| PARAM_VALUE | 1 | size | 16 |
| BUF_SIZE | 0 | perm | 1472 |
| BUF_SIZE | 0 | perm | 1472 |
| DATA_SOURCE | 0 | perm | $0 |