Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/
H A Ddevpool.c199 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()
[all …]
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_kernel.c1866 pool_xtransfer_undo_t *xtransfer; in pool_knl_res_xtransfer() local
1888 if ((xtransfer = malloc(sizeof (pool_xtransfer_undo_t))) == NULL) { in pool_knl_res_xtransfer()
1894 xtransfer->pxu_ioctl.px_o_id_type = in pool_knl_res_xtransfer()
1902 for (xtransfer->pxu_ioctl.px_o_complist_size = 0; in pool_knl_res_xtransfer()
1903 rl[xtransfer->pxu_ioctl.px_o_complist_size] != NULL; in pool_knl_res_xtransfer()
1904 xtransfer->pxu_ioctl.px_o_complist_size++) in pool_knl_res_xtransfer()
1906 if ((xtransfer->pxu_ioctl.px_o_comp_list = in pool_knl_res_xtransfer()
1907 calloc(xtransfer->pxu_ioctl.px_o_complist_size, in pool_knl_res_xtransfer()
1912 if ((xtransfer->pxu_rl = calloc( in pool_knl_res_xtransfer()
1913 xtransfer->pxu_ioctl.px_o_complist_size + 1, in pool_knl_res_xtransfer()
[all …]