Lines Matching refs:p_data
174 void *p_data = (void *)data; in hvmemul_do_io() local
218 memcpy(&p.data, p_data, size); in hvmemul_do_io()
362 memcpy(p_data, &p.data, size); in hvmemul_do_io()
1144 static int linear_read(unsigned long addr, unsigned int bytes, void *p_data, in linear_read() argument
1157 rc = linear_read(addr, part1, p_data, pfec, hvmemul_ctxt); in linear_read()
1159 rc = linear_read(addr + part1, bytes - part1, p_data + part1, in linear_read()
1171 rc = hvm_copy_from_guest_linear(p_data, addr, bytes, pfec, &pfinfo); in linear_read()
1186 return hvmemul_linear_mmio_read(addr, bytes, p_data, pfec, in linear_read()
1199 static int linear_write(unsigned long addr, unsigned int bytes, void *p_data, in linear_write() argument
1212 rc = linear_write(addr, part1, p_data, pfec, hvmemul_ctxt); in linear_write()
1214 rc = linear_write(addr + part1, bytes - part1, p_data + part1, in linear_write()
1226 rc = hvm_copy_to_guest_linear(addr, p_data, bytes, pfec, &pfinfo); in linear_write()
1238 return hvmemul_linear_mmio_write(addr, bytes, p_data, pfec, in linear_write()
1254 void *p_data, in __hvmemul_read() argument
1275 return linear_read(addr, bytes, p_data, pfec, hvmemul_ctxt); in __hvmemul_read()
1281 void *p_data, in hvmemul_read() argument
1289 return set_context_data(p_data, bytes); in hvmemul_read()
1292 seg, offset, p_data, bytes, hvm_access_read, in hvmemul_read()
1299 void *p_data, in hvmemul_insn_fetch() argument
1315 int rc = __hvmemul_read(seg, offset, p_data, bytes, in hvmemul_insn_fetch()
1331 memcpy(&hvmemul_ctxt->insn_buf[insn_off], p_data, bytes); in hvmemul_insn_fetch()
1339 memcpy(p_data, &hvmemul_ctxt->insn_buf[insn_off], bytes); in hvmemul_insn_fetch()
1346 void *p_data, in hvmemul_write() argument
1375 return linear_write(addr, bytes, p_data, pfec, hvmemul_ctxt); in hvmemul_write()
1380 case 2: write_u16_atomic(mapping, *(uint16_t *)p_data); break; in hvmemul_write()
1381 case 4: write_u32_atomic(mapping, *(uint32_t *)p_data); break; in hvmemul_write()
1382 case 8: write_u64_atomic(mapping, *(uint64_t *)p_data); break; in hvmemul_write()
1383 default: memcpy(mapping, p_data, bytes); break; in hvmemul_write()
1447 void *p_data, in hvmemul_blk() argument
1479 rc = x86_emul_blk(mapping, p_data, bytes, eflags, state, ctxt); in hvmemul_blk()
1488 void *p_data, in hvmemul_write_discard() argument
1520 void *p_data, in hvmemul_rep_stos_discard() argument
1985 void *p_data, in hvmemul_rep_stos() argument
2047 buf = p_data; in hvmemul_rep_stos()
2058 : "a" (*(const uint##bits##_t *)p_data), \ in hvmemul_rep_stos()
2079 if ( buf != p_data ) in hvmemul_rep_stos()
2108 p_data); in hvmemul_rep_stos()