Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_tmpl.c152 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); in ctfs_tmpl_ioctl()
161 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); in ctfs_tmpl_ioctl()
/illumos-gate/usr/src/uts/common/contract/
H A Dprocess.c237 str_value = (char *)kparam->ctpm_kbuf; in ctmpl_process_set()
242 param_value = *(uint64_t *)kparam->ctpm_kbuf; in ctmpl_process_set()
363 uint64_t *param_value = kparam->ctpm_kbuf; in ctmpl_process_get()
384 strlcpy((char *)kparam->ctpm_kbuf, in ctmpl_process_get()
388 strlcpy((char *)kparam->ctpm_kbuf, in ctmpl_process_get()
396 strlcpy((char *)kparam->ctpm_kbuf, in ctmpl_process_get()
401 strlcpy((char *)kparam->ctpm_kbuf, in ctmpl_process_get()
H A Ddevice.c514 str_value = (char *)kparam->ctpm_kbuf; in ctmpl_device_set()
519 param_value = *(uint64_t *)kparam->ctpm_kbuf; in ctmpl_device_set()
605 uint64_t *param_value = kparam->ctpm_kbuf; in ctmpl_device_get()
625 kparam->ret_size = strlcpy((char *)kparam->ctpm_kbuf, in ctmpl_device_get()
/illumos-gate/usr/src/uts/common/os/
H A Dcontract.c1450 kparam->ctpm_kbuf = kmem_alloc(size, KM_SLEEP); in ctparam_copyin()
1452 if (copyin(ubuf, kparam->ctpm_kbuf, size)) { in ctparam_copyin()
1453 kmem_free(kparam->ctpm_kbuf, size); in ctparam_copyin()
1487 if (copyout(kparam->ctpm_kbuf, param->ctpm_value, in ctparam_copyout()
1493 kmem_free(kparam->ctpm_kbuf, param->ctpm_size); in ctparam_copyout()
1552 param_value = *(uint64_t *)kparam->ctpm_kbuf; in ctmpl_set()
1623 param_value = kparam->ctpm_kbuf; in ctmpl_get()
/illumos-gate/usr/src/uts/common/sys/
H A Dcontract_impl.h114 void *ctpm_kbuf; /* kernel buffer for parameter value */ member
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprioctl.c106 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); in prctioctl()
113 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); in prctioctl()
127 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); in prctioctl()