Lines Matching defs:xtransfer
1863 pool_xtransfer_undo_t *xtransfer;
1885 if ((xtransfer = malloc(sizeof (pool_xtransfer_undo_t))) == NULL) {
1891 xtransfer->pxu_ioctl.px_o_id_type =
1899 for (xtransfer->pxu_ioctl.px_o_complist_size = 0;
1900 rl[xtransfer->pxu_ioctl.px_o_complist_size] != NULL;
1901 xtransfer->pxu_ioctl.px_o_complist_size++)
1903 if ((xtransfer->pxu_ioctl.px_o_comp_list =
1904 calloc(xtransfer->pxu_ioctl.px_o_complist_size,
1909 if ((xtransfer->pxu_rl = calloc(
1910 xtransfer->pxu_ioctl.px_o_complist_size + 1,
1915 (void) memcpy(xtransfer->pxu_rl, rl,
1916 xtransfer->pxu_ioctl.px_o_complist_size *
1918 xtransfer->pxu_src = src_e;
1919 xtransfer->pxu_tgt = tgt_e;
1921 if (log_append(prov->pkc_log, POOL_XTRANSFER, (void *)xtransfer) !=
1923 free(xtransfer);
2789 pool_xtransfer_undo_t *xtransfer;
2912 xtransfer = (pool_xtransfer_undo_t *)li->li_details;
2914 xtransfer->pxu_ioctl.px_o_src_id =
2915 elem_get_sysid(xtransfer->pxu_src);
2916 xtransfer->pxu_ioctl.px_o_tgt_id =
2917 elem_get_sysid(xtransfer->pxu_tgt);
2918 for (size = 0; xtransfer->pxu_rl[size] != NULL; size ++) {
2919 xtransfer->pxu_ioctl.px_o_comp_list[size] =
2920 elem_get_sysid(TO_ELEM(xtransfer->pxu_rl[size]));
2923 pool_elem_dprintf(TO_ELEM(xtransfer->pxu_rl[size]));
2935 &xtransfer->pxu_ioctl) < 0) {
3011 pool_xtransfer_undo_t *xtransfer;
3068 xtransfer = (pool_xtransfer_undo_t *)li->li_details;
3070 for (size = 0; xtransfer->pxu_rl[size] != NULL; size++) {
3075 if (pool_set_container(xtransfer->pxu_src,
3076 TO_ELEM(xtransfer->pxu_rl[size])) == PO_FAIL) {
3082 if (resource_get_size(pool_elem_res(xtransfer->pxu_src),
3084 resource_get_size(pool_elem_res(xtransfer->pxu_tgt),
3092 (void) pool_put_any_ns_property(xtransfer->pxu_src,
3095 (void) pool_put_any_ns_property(xtransfer->pxu_tgt,
3292 xtransfer = (pool_xtransfer_undo_t *)li->li_details;
3294 (void) memcpy(&u_xtransfer, &xtransfer->pxu_ioctl,
3296 u_xtransfer.px_o_src_id = elem_get_sysid(xtransfer->pxu_tgt);
3297 u_xtransfer.px_o_tgt_id = elem_get_sysid(xtransfer->pxu_src);
3420 pool_xtransfer_undo_t *xtransfer;
3460 xtransfer = (pool_xtransfer_undo_t *)li->li_details;
3462 free(xtransfer->pxu_rl);
3463 free(xtransfer->pxu_ioctl.px_o_comp_list);
3464 free(xtransfer);