Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libcustr/common/
H A Dcustr.c301 custr_xalloc(custr_t **cus, custr_alloc_t *cao) in custr_xalloc() argument
305 if (cao == NULL) in custr_xalloc()
306 cao = &custr_alloc_default; in custr_xalloc()
308 if ((t = cao->cua_ops->custr_ao_alloc(cao, sizeof (*t))) == NULL) { in custr_xalloc()
314 t->cus_alloc = cao; in custr_xalloc()
326 custr_xalloc_buf(custr_t **cus, void *buf, size_t buflen, custr_alloc_t *cao) in custr_xalloc_buf() argument
335 if ((ret = custr_xalloc(cus, cao)) != 0) in custr_xalloc_buf()
356 custr_alloc_t *cao; in custr_free() local
364 cao = cus->cus_alloc; in custr_free()
365 cao->cua_ops->custr_ao_free(cao, cus, sizeof (*cus)); in custr_free()
[all …]