Searched defs:kparam (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_tmpl.c | 126 ct_kparam_t kparam; local 127 ct_param_t *param = &kparam.param; 148 error = ctparam_copyin((void *)arg, &kparam, flag, cmd); 151 error = ctmpl_set(tmplnode->ctfs_tmn_tmpl, &kparam, cr); 152 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); 156 error = ctparam_copyin((void *)arg, &kparam, flag, cmd); 159 error = ctmpl_get(tmplnode->ctfs_tmn_tmpl, &kparam); 161 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); 163 error = ctparam_copyout(&kparam, (void *)arg, flag);
|
/illumos-gate/usr/src/uts/common/contract/ |
H A D | process.c | 224 ctmpl_process_set(struct ct_template *tmpl, ct_kparam_t *kparam, argument 228 ct_param_t *param = &kparam->param; 236 str_value = (char *)kparam->ctpm_kbuf; 241 param_value = *(uint64_t *)kparam->ctpm_kbuf; 358 ctmpl_process_get(struct ct_template *template, ct_kparam_t *kparam) argument 361 ct_param_t *param = &kparam->param; 362 uint64_t *param_value = kparam->ctpm_kbuf; 369 kparam->ret_size = sizeof (uint64_t); 382 kparam->ret_size = 383 strlcpy((char *)kparam [all...] |
H A D | device.c | 498 ctmpl_device_set(struct ct_template *tmpl, ct_kparam_t *kparam, argument 502 ct_param_t *param = &kparam->param; 512 str_value = (char *)kparam->ctpm_kbuf; 517 param_value = *(uint64_t *)kparam->ctpm_kbuf; 599 ctmpl_device_get(struct ct_template *template, ct_kparam_t *kparam) argument 602 ct_param_t *param = &kparam->param; 603 uint64_t *param_value = kparam->ctpm_kbuf; 611 kparam->ret_size = sizeof (uint64_t); 623 kparam->ret_size = strlcpy((char *)kparam [all...] |
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prioctl.c | 92 ct_kparam_t kparam; local 93 ct_param_t *param = &kparam.param; 99 error = ctparam_copyin((void *)arg, &kparam, flag, cmd); 104 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); 111 kmem_free(kparam.ctpm_kbuf, param->ctpm_size); 116 error = ctmpl_set(tmpl, &kparam, cr); 118 error = ctmpl_get(tmpl, &kparam); 123 error = ctparam_copyout(&kparam, (void *)arg, flag); 125 kmem_free(kparam.ctpm_kbuf, param->ctpm_size);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | contract.c | 1424 * the caller must kmem_free() the buffer pointed by kparam->ctpm_kbuf. 1431 ctparam_copyin(const void *uaddr, ct_kparam_t *kparam, int flag, int cmd) argument 1435 ct_param_t *param = &kparam->param; 1447 kparam->ctpm_kbuf = kmem_alloc(size, KM_SLEEP); 1449 if (copyin(ubuf, kparam->ctpm_kbuf, size)) { 1450 kmem_free(kparam->ctpm_kbuf, size); 1457 kparam->ret_size = 0; 1469 ctparam_copyout(ct_kparam_t *kparam, void *uaddr, int flag) argument 1472 ct_param_t *param = &kparam->param; 1478 STRUCT_FSET(uarg, ctpm_size, kparam 1536 ctmpl_set(ct_template_t *template, ct_kparam_t *kparam, const cred_t *cr) argument 1606 ctmpl_get(ct_template_t *template, ct_kparam_t *kparam) argument [all...] |
Completed in 74 milliseconds