Lines Matching defs:propget
202 pool_propget_t propget;
478 propget.pp_o_id = propget32.pp_o_id;
479 propget.pp_o_id_type = propget32.pp_o_id_type;
480 propget.pp_o_id_subtype = propget32.pp_o_id_subtype;
481 propget.pp_o_prop_name =
483 propget.pp_o_prop_name_size =
485 propget.pp_i_buf =
487 propget.pp_i_bufsize = propget32.pp_i_bufsize;
492 if (ddi_copyin((void *)arg, &propget,
496 if (propget.pp_o_prop_name_size + 1 > POOL_PROPNAME_SIZE)
498 prop_name = kmem_alloc(propget.pp_o_prop_name_size + 1,
500 if (ddi_copyin(propget.pp_o_prop_name, prop_name,
501 propget.pp_o_prop_name_size + 1, mode) != 0) {
502 kmem_free(prop_name, propget.pp_o_prop_name_size + 1);
507 kmem_free(prop_name, propget.pp_o_prop_name_size + 1);
510 ret = pool_propget(prop_name, propget.pp_o_id_type,
511 propget.pp_o_id_subtype, propget.pp_o_id, &list);
513 kmem_free(prop_name, propget.pp_o_prop_name_size + 1);
532 if (ddi_copyout(&propget, (void *)arg,
537 if (propget.pp_i_buf == NULL) {
539 } else if (propget.pp_i_bufsize >= kbufsz) {
540 if (ddi_copyout(kbuf, propget.pp_i_buf,