Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iommu/intel/pasid.c pasid_clear_present() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 1 |
| PARAM_VALUE | 2 | bits | 0 |
| BUF_SIZE | 0 | ptr | 64 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| HALF_LOCKED2 | &domain->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &srcu | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_clear_ssade() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 512 |
| PARAM_VALUE | 2 | bits | 0 |
| BUF_SIZE | 0 | ptr | 64 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| LOCK2 | &iopt->iova_rwsem | ||
| HALF_LOCKED2 | &domain->lock | ||
| HALF_LOCKED2 | &domain->s1_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dmar_domain)->lock | ||
| TYPE_LOCK | (struct intel_iommu)->lock | ||
| TYPE_LOCK | (struct io_pagetable)->iova_rwsem |
drivers/iommu/intel/pasid.c pasid_set_address_width() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 28 |
| PARAM_VALUE | 2 | bits | 0,4-18446744073709551612 |
| BUF_SIZE | 0 | ptr | 64 |
| BIT_INFO | 2 | bits | 0x0,0xfffffffffffffffc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_domain_id() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | u16max |
| BUF_SIZE | 0 | ptr | 56 |
| DATA_SOURCE | 2 | bits | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_eafe() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 128 |
| PARAM_VALUE | 2 | bits | 128 |
| BUF_SIZE | 0 | ptr | 48 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| HALF_LOCKED2 | &group->mutex | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_fault_enable() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 2 |
| PARAM_VALUE | 2 | bits | 0 |
| BUF_SIZE | 0 | ptr | 64 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_flpm() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 12 |
| PARAM_VALUE | 2 | bits | 4 |
| BUF_SIZE | 0 | ptr | 48 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| HALF_LOCKED2 | &group->mutex | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_flptr() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 18446744073709547520 |
| BUF_SIZE | 0 | ptr | 48 |
| DATA_SOURCE | 2 | bits | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| HALF_LOCKED2 | &group->mutex | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_page_snoop() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 8388608 |
| PARAM_VALUE | 2 | bits | 0,8388608 |
| BUF_SIZE | 0 | ptr | 56 |
| BIT_INFO | 2 | bits | 0x0,0x0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_pgsnp() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 16777216 |
| PARAM_VALUE | 2 | bits | 16777216 |
| BUF_SIZE | 0 | ptr | 56 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dmar_domain->lock | ||
| HALF_LOCKED2 | &iommu->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_present() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 1 |
| PARAM_VALUE | 2 | bits | 1 |
| BUF_SIZE | 0 | ptr | 64 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_slptr() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 18446744073709547520 |
| BUF_SIZE | 0 | ptr | 64 |
| DATA_SOURCE | 2 | bits | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| HALF_LOCKED2 | &group->mutex | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_sre() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 1 |
| PARAM_VALUE | 2 | bits | 1 |
| BUF_SIZE | 0 | ptr | 48 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| HALF_LOCKED2 | &group->mutex | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_ssade() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 512 |
| PARAM_VALUE | 2 | bits | 512 |
| BUF_SIZE | 0 | ptr | 64 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| HALF_LOCKED2 | &iopt->iova_rwsem | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_translation_type() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 448 |
| PARAM_VALUE | 2 | bits | 64-256 |
| BUF_SIZE | 0 | ptr | 64 |
| BIT_INFO | 2 | bits | 0x0,0x1c0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c pasid_set_wpe() -> pasid_set_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0,2 |
| PARAM_VALUE | 1 | mask | 16 |
| PARAM_VALUE | 2 | bits | 16 |
| BUF_SIZE | 0 | ptr | 48 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &iommu->lock | ||
| HALF_LOCKED2 | &group->mutex | ||
| TYPE_LOCK | (struct intel_iommu)->lock |