Home
last modified time | relevance | path

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

/titanic_41/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 …]
/titanic_41/usr/src/lib/libpool/common/
H A Dpool_kernel.c1865 pool_xtransfer_undo_t *xtransfer; in pool_knl_res_xtransfer() local
1887 if ((xtransfer = malloc(sizeof (pool_xtransfer_undo_t))) == NULL) { in pool_knl_res_xtransfer()
1893 xtransfer->pxu_ioctl.px_o_id_type = in pool_knl_res_xtransfer()
1901 for (xtransfer->pxu_ioctl.px_o_complist_size = 0; in pool_knl_res_xtransfer()
1902 rl[xtransfer->pxu_ioctl.px_o_complist_size] != NULL; in pool_knl_res_xtransfer()
1903 xtransfer->pxu_ioctl.px_o_complist_size++) in pool_knl_res_xtransfer()
1905 if ((xtransfer->pxu_ioctl.px_o_comp_list = in pool_knl_res_xtransfer()
1906 calloc(xtransfer->pxu_ioctl.px_o_complist_size, in pool_knl_res_xtransfer()
1911 if ((xtransfer->pxu_rl = calloc( in pool_knl_res_xtransfer()
1912 xtransfer->pxu_ioctl.px_o_complist_size + 1, in pool_knl_res_xtransfer()
[all …]