Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
arch/x86/kvm/emulate.c __load_segment_descriptor() -> (struct x86_emulate_ops)->cmpxchg_emulated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->mode | 1-u32max |
| PARAM_VALUE | 0 | ctxt->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->get_cr | 8265647234411626496 |
| PARAM_VALUE | 0 | ctxt->ops->get_idt | 8853942836760453120 |
| PARAM_VALUE | 0 | ctxt->ops->get_msr | 8129238678163517440 |
| PARAM_VALUE | 0 | ctxt->ops->get_segment | 7209599553600106496 |
| PARAM_VALUE | 0 | ctxt->ops->intercept | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->is_canonical_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->read_std | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->set_segment | 6488883502986878976 |
| PARAM_VALUE | 0 | ctxt->ops->write_std | 5847011921159122944 |
| PARAM_VALUE | 0 | ctxt->vcpu->kvm->vm_bugged | 0-1 |
| PARAM_VALUE | 0 | ctxt->vcpu->kvm->vm_dead | 0-1 |
| PARAM_VALUE | 0 | ctxt->vcpu->last_used_slot->as_id | 0-1 |
| PARAM_VALUE | 0 | ctxt->vcpu->last_used_slot->id | 0-32766 |
| PARAM_VALUE | 2 | old | 5229258402788229120 |
| PARAM_VALUE | 3 | new | 5003382777688281088 |
| PARAM_VALUE | 4 | bytes | 8 |
| PARAM_VALUE | 5 | exception | 4096-ptr_max |
| BUF_SIZE | 2 | old | 8 |
| BUF_SIZE | 3 | new | 8 |
| DATA_SOURCE | 0 | ctxt | $0 |
| FUZZY_MAX | 0 | ctxt->mode | 4 |
| CONTAINER | 0 | -64-8+0 | $(-1) |
| CONTAINER | 5 | -64-8+48 | $(-1) |
| MEM_ZERO | 3 | new | |
| USER_DATA | 0 | ctxt->src.val | 0-u32max |
| USER_PTR | 0 | ctxt->fetch.end |
arch/x86/kvm/emulate.c segmented_cmpxchg() -> (struct x86_emulate_ops)->cmpxchg_emulated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->lock_prefix | 1-255 |
| PARAM_VALUE | 0 | ctxt->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->get_cr | 8265647234411626496 |
| PARAM_VALUE | 0 | ctxt->ops->get_idt | 8853942836760453120 |
| PARAM_VALUE | 0 | ctxt->ops->get_msr | 8129238678163517440 |
| PARAM_VALUE | 0 | ctxt->ops->get_segment | 7209599553600106496 |
| PARAM_VALUE | 0 | ctxt->ops->intercept | 4096-ptr_max |
| PARAM_VALUE | 0 | ctxt->ops->read_std | 5532471905094541312 |
| PARAM_VALUE | 0 | ctxt->ops->set_segment | 6488883502986878976 |
| PARAM_VALUE | 0 | ctxt->ops->write_std | 5847011921159122944 |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 3 | new | 4096-ptr_max |
| PARAM_VALUE | 5 | exception | 4096-ptr_max |
| BUF_SIZE | 2 | old | 8 |
| BUF_SIZE | 2 | old | 8 |
| BUF_SIZE | 3 | new | 8 |
| BUF_SIZE | 3 | new | 8 |
| DATA_SOURCE | 0 | ctxt | $0 |
| DATA_SOURCE | 2 | old | $2 |
| DATA_SOURCE | 3 | new | $3 |
| DATA_SOURCE | 4 | bytes | $4 |
| CONTAINER | 0 | -64-8+0 | $(-1) |
| CONTAINER | 5 | -64-8+48 | $(-1) |
| BIT_INFO | 0 | ctxt->d | 0x0,0xffffdfffffffffff |
| USER_DATA | 0 | ctxt->src.val | 0-u32max |
| USER_PTR | 0 | ctxt->fetch.end |