Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/
H A Ddevpool.c204 pool_proprm_t proprm; in pool_ioctl() local
611 proprm.pp_o_id_type = proprm32.pp_o_id_type; in pool_ioctl()
612 proprm.pp_o_id_sub_type = proprm32.pp_o_id_sub_type; in pool_ioctl()
613 proprm.pp_o_id = proprm32.pp_o_id; in pool_ioctl()
614 proprm.pp_o_prop_name_size = in pool_ioctl()
616 proprm.pp_o_prop_name = in pool_ioctl()
622 if (ddi_copyin((void *)arg, &proprm, in pool_ioctl()
626 if (proprm.pp_o_prop_name_size + 1 > POOL_PROPNAME_SIZE) in pool_ioctl()
628 prop_name = kmem_alloc(proprm.pp_o_prop_name_size + 1, in pool_ioctl()
630 if (ddi_copyin(proprm.pp_o_prop_name, prop_name, in pool_ioctl()
[all …]
/titanic_44/usr/src/lib/libpool/common/
H A Dpool_kernel.c2491 pool_proprm_undo_t *proprm; in pool_knl_rm_property() local
2498 if ((proprm = malloc(sizeof (pool_proprm_undo_t))) == NULL) { in pool_knl_rm_property()
2502 (void) memset(proprm, 0, sizeof (pool_proprm_undo_t)); in pool_knl_rm_property()
2503 proprm->pru_oldval.pv_class = POC_INVAL; in pool_knl_rm_property()
2504 (void) pool_get_property(TO_CONF(pe), pe, name, &proprm->pru_oldval); in pool_knl_rm_property()
2507 free(proprm); in pool_knl_rm_property()
2516 proprm->pru_ioctl.pp_o_id_type = pool_elem_class(pe); in pool_knl_rm_property()
2519 proprm->pru_ioctl.pp_o_id_sub_type = in pool_knl_rm_property()
2523 proprm->pru_ioctl.pp_o_id_sub_type = in pool_knl_rm_property()
2526 proprm->pru_ioctl.pp_o_prop_name_size = strlen(name); in pool_knl_rm_property()
[all …]