Lines Matching refs:proprm

2490 	pool_proprm_undo_t *proprm;
2497 if ((proprm = malloc(sizeof (pool_proprm_undo_t))) == NULL) {
2501 (void) memset(proprm, 0, sizeof (pool_proprm_undo_t));
2502 proprm->pru_oldval.pv_class = POC_INVAL;
2503 (void) pool_get_property(TO_CONF(pe), pe, name, &proprm->pru_oldval);
2506 free(proprm);
2515 proprm->pru_ioctl.pp_o_id_type = pool_elem_class(pe);
2518 proprm->pru_ioctl.pp_o_id_sub_type =
2522 proprm->pru_ioctl.pp_o_id_sub_type =
2525 proprm->pru_ioctl.pp_o_prop_name_size = strlen(name);
2526 proprm->pru_ioctl.pp_o_prop_name =
2527 (char *)pool_value_get_name(&proprm->pru_oldval);
2528 proprm->pru_elem = pe;
2530 if (log_append(prov->pkc_log, POOL_PROPRM, (void *)proprm) !=
2532 free(proprm);
2788 pool_proprm_undo_t *proprm;
2968 proprm = (pool_proprm_undo_t *)li->li_details;
2970 if (pool_elem_class(proprm->pru_elem) != PEC_SYSTEM) {
2971 proprm->pru_ioctl.pp_o_id =
2972 elem_get_sysid(proprm->pru_elem);
2974 if (ioctl(prov->pkc_fd, POOL_PROPRM, &proprm->pru_ioctl) < 0) {
3010 pool_proprm_undo_t *proprm;
3128 proprm = (pool_proprm_undo_t *)li->li_details;
3130 if (pool_value_get_type(&proprm->pru_oldval) != POC_INVAL) {
3131 if (pool_put_property(conf, proprm->pru_elem,
3132 proprm->pru_ioctl.pp_o_prop_name,
3133 &proprm->pru_oldval) != PO_SUCCESS) {
3364 proprm = (pool_proprm_undo_t *)li->li_details;
3366 u_propput.pp_o_id_type = proprm->pru_ioctl.pp_o_id_type;
3368 proprm->pru_ioctl.pp_o_id_sub_type;
3369 u_propput.pp_o_id = elem_get_sysid(proprm->pru_elem);
3380 pool_value_get_name(&proprm->pru_oldval),
3381 &proprm->pru_oldval) != PO_SUCCESS)
3419 pool_proprm_undo_t *proprm;
3475 proprm = (pool_proprm_undo_t *)li->li_details;
3477 free(proprm);