Lines Matching refs:param
71 ct_param_t param; in ct_tmpl_set_internal() local
74 param.ctpm_id = id; in ct_tmpl_set_internal()
75 param.ctpm_size = sizeof (uint64_t); in ct_tmpl_set_internal()
76 param.ctpm_value = ¶m_value; in ct_tmpl_set_internal()
77 if (ioctl(fd, CT_TSET, ¶m) == -1) in ct_tmpl_set_internal()
86 ct_param_t param; in ct_tmpl_set_internal_string() local
90 param.ctpm_id = id; in ct_tmpl_set_internal_string()
91 param.ctpm_size = strlen(value) + 1; in ct_tmpl_set_internal_string()
92 param.ctpm_value = (void *)value; in ct_tmpl_set_internal_string()
93 if (ioctl(fd, CT_TSET, ¶m) == -1) in ct_tmpl_set_internal_string()
114 ct_param_t param; in ct_tmpl_set_cookie() local
117 param.ctpm_id = CTP_COOKIE; in ct_tmpl_set_cookie()
118 param.ctpm_size = sizeof (uint64_t); in ct_tmpl_set_cookie()
119 param.ctpm_value = ¶m_value; in ct_tmpl_set_cookie()
120 if (ioctl(fd, CT_TSET, ¶m) == -1) in ct_tmpl_set_cookie()
128 ct_param_t param; in ct_tmpl_get_internal() local
131 param.ctpm_id = id; in ct_tmpl_get_internal()
132 param.ctpm_size = sizeof (uint64_t); in ct_tmpl_get_internal()
133 param.ctpm_value = ¶m_value; in ct_tmpl_get_internal()
134 if (ioctl(fd, CT_TGET, ¶m) == -1) in ct_tmpl_get_internal()
143 ct_param_t param; in ct_tmpl_get_internal_string() local
145 param.ctpm_id = id; in ct_tmpl_get_internal_string()
146 param.ctpm_size = size; in ct_tmpl_get_internal_string()
147 param.ctpm_value = buf; in ct_tmpl_get_internal_string()
148 if (ioctl(fd, CT_TGET, ¶m) == -1) in ct_tmpl_get_internal_string()
150 return (param.ctpm_size); in ct_tmpl_get_internal_string()
168 ct_param_t param; in ct_tmpl_get_cookie() local
170 param.ctpm_id = CTP_COOKIE; in ct_tmpl_get_cookie()
171 param.ctpm_size = sizeof (uint64_t); in ct_tmpl_get_cookie()
172 param.ctpm_value = cookie; in ct_tmpl_get_cookie()
173 if (ioctl(fd, CT_TGET, ¶m) == -1) in ct_tmpl_get_cookie()