Searched refs:propput (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/uts/common/io/ |
H A D | devpool.c | 203 pool_propput_t propput; in pool_ioctl() local 557 propput.pp_o_id_type = propput32.pp_o_id_type; in pool_ioctl() 558 propput.pp_o_id_sub_type = propput32.pp_o_id_sub_type; in pool_ioctl() 559 propput.pp_o_id = propput32.pp_o_id; in pool_ioctl() 560 propput.pp_o_bufsize = propput32.pp_o_bufsize; in pool_ioctl() 561 propput.pp_o_buf = in pool_ioctl() 567 if (ddi_copyin((void *)arg, &propput, in pool_ioctl() 571 if (propput.pp_o_bufsize > POOL_PROPBUF_SIZE) in pool_ioctl() 573 listbuf = kmem_alloc(propput.pp_o_bufsize, KM_SLEEP); in pool_ioctl() 574 if (ddi_copyin(propput.pp_o_buf, listbuf, in pool_ioctl() [all …]
|
/titanic_41/usr/src/lib/libpool/common/ |
H A D | pool_kernel.c | 2398 pool_propput_undo_t *propput; in pool_knl_put_property() local 2426 if ((propput = malloc(sizeof (pool_propput_undo_t))) == NULL) { in pool_knl_put_property() 2430 (void) memset(propput, 0, sizeof (pool_propput_undo_t)); in pool_knl_put_property() 2431 propput->ppu_blist = bl; in pool_knl_put_property() 2435 if (nvlist_alloc(&propput->ppu_alist, NV_UNIQUE_NAME_TYPE, 0) != 0) { in pool_knl_put_property() 2436 nvlist_free(propput->ppu_blist); in pool_knl_put_property() 2437 free(propput); in pool_knl_put_property() 2441 if (nvlist_add_nvpair(propput->ppu_alist, ap) != 0) { in pool_knl_put_property() 2442 nvlist_free(propput->ppu_blist); in pool_knl_put_property() 2443 nvlist_free(propput->ppu_alist); in pool_knl_put_property() [all …]
|