Lines Matching refs:xtransfer
199 pool_xtransfer_t xtransfer; in pool_ioctl() local
407 xtransfer.px_o_id_type = xtransfer32.px_o_id_type; in pool_ioctl()
408 xtransfer.px_o_src_id = xtransfer32.px_o_src_id; in pool_ioctl()
409 xtransfer.px_o_tgt_id = xtransfer32.px_o_tgt_id; in pool_ioctl()
410 xtransfer.px_o_complist_size = in pool_ioctl()
412 xtransfer.px_o_comp_list = in pool_ioctl()
418 if (ddi_copyin((void *)arg, &xtransfer, in pool_ioctl()
425 if (xtransfer.px_o_complist_size > POOL_IDLIST_SIZE) in pool_ioctl()
427 id_buf = kmem_alloc(xtransfer.px_o_complist_size * in pool_ioctl()
429 if (ddi_copyin((void *)xtransfer.px_o_comp_list, id_buf, in pool_ioctl()
430 xtransfer.px_o_complist_size * sizeof (id_t), mode) != 0) { in pool_ioctl()
431 kmem_free(id_buf, xtransfer.px_o_complist_size * in pool_ioctl()
436 kmem_free(id_buf, xtransfer.px_o_complist_size * in pool_ioctl()
440 ret = pool_xtransfer(xtransfer.px_o_id_type, in pool_ioctl()
441 xtransfer.px_o_src_id, xtransfer.px_o_tgt_id, in pool_ioctl()
442 xtransfer.px_o_complist_size, id_buf); in pool_ioctl()
444 kmem_free(id_buf, xtransfer.px_o_complist_size * in pool_ioctl()