Searched refs:kreq (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/intel/io/ipmi/ |
H A D | ipmi_main.c | 237 struct ipmi_request *kreq; in ipmi_ioctl() local 309 kreq = ipmi_alloc_request(dev, req.msgid, in ipmi_ioctl() 314 copyin(req.msg.data, kreq->ir_request, req.msg.data_len)) { in ipmi_ioctl() 315 ipmi_free_request(kreq); in ipmi_ioctl() 320 error = sc->ipmi_enqueue_request(sc, kreq); in ipmi_ioctl() 333 kreq = TAILQ_FIRST(&dev->ipmi_completed_requests); in ipmi_ioctl() 334 if (kreq == NULL) { in ipmi_ioctl() 340 recv.msgid = kreq->ir_msgid; in ipmi_ioctl() 341 recv.msg.netfn = IPMI_REPLY_ADDR(kreq->ir_addr) >> 2; in ipmi_ioctl() 342 recv.msg.cmd = kreq->ir_command; in ipmi_ioctl() [all …]
|
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | privcmd_hcall.c | 167 mmu_update_t *kreq, single_kreq; in privcmd_HYPERVISOR_mmu_update() local 171 bytes = count * sizeof (*kreq); in privcmd_HYPERVISOR_mmu_update() 172 kreq = (count == 1) ? &single_kreq : kmem_alloc(bytes, KM_SLEEP); in privcmd_HYPERVISOR_mmu_update() 179 error = import_buffer(&req_ie, ureq, kreq, bytes, IE_IMPEXP); in privcmd_HYPERVISOR_mmu_update() 182 ((error == -X_EFAULT) ? ureq : kreq)); in privcmd_HYPERVISOR_mmu_update() 185 error = HYPERVISOR_mmu_update(kreq, count, &kscount, domid); in privcmd_HYPERVISOR_mmu_update() 189 kmem_free(kreq, bytes); in privcmd_HYPERVISOR_mmu_update()
|