Home
last modified time | relevance | path

Searched refs:kreq (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/intel/io/ipmi/
H A Dipmi_main.c239 struct ipmi_request *kreq; in ipmi_ioctl() local
311 kreq = ipmi_alloc_request(dev, req.msgid, in ipmi_ioctl()
316 copyin(req.msg.data, kreq->ir_request, req.msg.data_len)) { in ipmi_ioctl()
317 ipmi_free_request(kreq); in ipmi_ioctl()
322 error = sc->ipmi_enqueue_request(sc, kreq); in ipmi_ioctl()
335 kreq = TAILQ_FIRST(&dev->ipmi_completed_requests); in ipmi_ioctl()
336 if (kreq == NULL) { in ipmi_ioctl()
342 recv.msgid = kreq->ir_msgid; in ipmi_ioctl()
343 recv.msg.netfn = IPMI_REPLY_ADDR(kreq->ir_addr) >> 2; in ipmi_ioctl()
344 recv.msg.cmd = kreq->ir_command; in ipmi_ioctl()
[all …]
/titanic_50/usr/src/uts/i86xpv/io/
H A Dprivcmd_hcall.c167 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()