Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libcontract/common/
H A Dlibcontract.c75 param.ctpm_size = sizeof (uint64_t); in ct_tmpl_set_internal()
91 param.ctpm_size = strlen(value) + 1; in ct_tmpl_set_internal_string()
118 param.ctpm_size = sizeof (uint64_t); in ct_tmpl_set_cookie()
132 param.ctpm_size = sizeof (uint64_t); in ct_tmpl_get_internal()
146 param.ctpm_size = size; in ct_tmpl_get_internal_string()
150 return (param.ctpm_size); in ct_tmpl_get_internal_string()
171 param.ctpm_size = sizeof (uint64_t); in ct_tmpl_get_cookie()
/titanic_41/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()
/titanic_41/usr/src/uts/common/contract/
H A Dprocess.c237 str_value[param->ctpm_size - 1] = '\0'; in ctmpl_process_set()
239 if (param->ctpm_size < sizeof (uint64_t)) in ctmpl_process_set()
309 if (param->ctpm_size == 1) /* empty string */ in ctmpl_process_set()
367 if (param->ctpm_size < sizeof (uint64_t)) in ctmpl_process_get()
384 CT_PR_SVC_DEFAULT, param->ctpm_size); in ctmpl_process_get()
388 refstr_value(ctp->ctp_svc_fmri), param->ctpm_size); in ctmpl_process_get()
397 param->ctpm_size); in ctmpl_process_get()
401 refstr_value(ctp->ctp_svc_aux), param->ctpm_size); in ctmpl_process_get()
H A Ddevice.c513 str_value[param->ctpm_size - 1] = '\0'; in ctmpl_device_set()
515 if (param->ctpm_size < sizeof (uint64_t)) in ctmpl_device_set()
609 if (param->ctpm_size < sizeof (uint64_t)) in ctmpl_device_get()
624 dtmpl->ctd_minor, param->ctpm_size); in ctmpl_device_get()
/titanic_41/usr/src/uts/common/sys/
H A Dcontract.h116 uint32_t ctpm_size; member
H A Dcontract_impl.h99 uint32_t ctpm_size; member
/titanic_41/usr/src/uts/common/os/
H A Dcontract.c1441 size = STRUCT_FGET(uarg, ctpm_size); in ctparam_copyin()
1455 param->ctpm_size = size; in ctparam_copyin()
1478 STRUCT_FSET(uarg, ctpm_size, kparam->ret_size); in ctparam_copyout()
1485 MIN(kparam->ret_size, param->ctpm_size))) { in ctparam_copyout()
1490 kmem_free(kparam->ctpm_kbuf, param->ctpm_size); in ctparam_copyout()
1545 if (param->ctpm_size < sizeof (uint64_t)) { in ctmpl_set()
1615 if (param->ctpm_size < sizeof (uint64_t)) { in ctmpl_get()
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprioctl.c104 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); in prctioctl()
111 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); in prctioctl()
125 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); in prctioctl()
/titanic_41/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c590 param.ctpm_size = sizeof (uint64_t); in ctfs_ioctl()