Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 974) sorted by relevance

12345678910>>...39

/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_proc.c338 gss_acquire_cred_1_svc(argp, res, rqstp) in gss_acquire_cred_1_svc() argument
340 gss_acquire_cred_res *res;
360 memset(res, 0, sizeof (*res));
369 res->output_cred_handle.GSS_CRED_ID_T_val = NULL;
370 res->actual_mechs.GSS_OID_SET_val = NULL;
404 res->status = (OM_uint32) GSS_S_FAILURE;
405 res->minor_status = minor_status;
460 res->status = (OM_uint32)gss_acquire_cred(&res->minor_status,
467 &res->time_rec);
474 res->output_cred_handle.GSS_CRED_ID_T_len = sizeof (gss_cred_id_t);
[all …]
H A Dgssd_clnt_stubs.c94 gss_acquire_cred_res res; local
154 memset(&res, 0, sizeof (res));
155 if (gss_acquire_cred_1(&arg, &res, clnt) != RPC_SUCCESS) {
186 *minor_status = res.minor_status;
191 *((gssd_cred_id_t *)res.output_cred_handle.GSS_CRED_ID_T_val);
192 *gssd_cred_verifier = res.gssd_cred_verifier;
195 if (res.status == GSS_S_COMPLETE &&
196 res.actual_mechs.GSS_OID_SET_len != 0 &&
200 (int)res.actual_mechs.GSS_OID_SET_len;
206 res.actual_mechs.GSS_OID_SET_val[i].GSS_OID_len;
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dutil.c292 release_scf_resources(scf_resources_t *res) in release_scf_resources() argument
294 scf_entry_destroy(res->sr_ent); in release_scf_resources()
295 scf_transaction_destroy(res->sr_tx); in release_scf_resources()
296 scf_value_destroy(res->sr_val); in release_scf_resources()
297 scf_property_destroy(res->sr_prop); in release_scf_resources()
298 scf_pg_destroy(res->sr_pg); in release_scf_resources()
299 scf_snapshot_destroy(res->sr_snap); in release_scf_resources()
300 scf_instance_destroy(res->sr_inst); in release_scf_resources()
301 (void) scf_handle_unbind(res->sr_handle); in release_scf_resources()
302 scf_handle_destroy(res->sr_handle); in release_scf_resources()
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sparc.c236 info->res.type = fex_nodata; in __fex_get_op()
271 info->res.type = fex_float; in __fex_get_op()
272 info->res.val.f = info->op1.val.f + info->op2.val.f; in __fex_get_op()
277 info->res.type = fex_double; in __fex_get_op()
278 info->res.val.d = info->op1.val.d + info->op2.val.d; in __fex_get_op()
283 info->res.type = fex_ldouble; in __fex_get_op()
284 info->res.val.q = info->op1.val.q + info->op2.val.q; in __fex_get_op()
289 info->res.type = fex_float; in __fex_get_op()
290 info->res.val.f = info->op1.val.f - info->op2.val.f; in __fex_get_op()
295 info->res.type = fex_double; in __fex_get_op()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/signalfd/
H A Dbasic_args.c25 int res, err, fd; in main() local
28 res = signalfd(-1, NULL, 0); in main()
30 if (res != -1 || err != EFAULT) { in main()
32 ", found res=%d errno=%d", res, err); in main()
39 res = signalfd(-1, &mask, ~0); in main()
41 if (res != -1 || err != EINVAL) { in main()
43 ", found res=%d errno=%d", res, err); in main()
47 res = signalfd(-1, &mask, 0); in main()
49 if (res < 0) { in main()
51 res, err); in main()
[all …]
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vrsqrt.S89 ! ((float*)&res)[0] = ((float*)px)[0];
90 ! ((float*)&res)[1] = ((float*)px)[1];
94 ! res = DONE / res;
95 ! ((float*)py)[0] = ((float*)&res)[0];
96 ! ((float*)py)[1] = ((float*)&res)[1];
108 ! res = DONE / res;
109 ! ((float*)py)[0] = ((float*)&res)[0];
110 ! ((float*)py)[1] = ((float*)&res)[1];
119 ! res = *(long long*)&res;
120 ! hx = *(int*)&res - (537 << 21);
[all …]
H A D__vsqrt.S606 ! ((float*)&res)[0] = ((float*)px)[0];
607 ! ((float*)&res)[1] = ((float*)px)[1];
613 ! res = sqrt(res);
614 ! ((float*)py)[0] = ((float*)&res)[0];
615 ! ((float*)py)[1] = ((float*)&res)[1];
621 ! res = sqrt(res);
622 ! ((float*)py)[0] = ((float*)&res)[0];
623 ! ((float*)py)[1] = ((float*)&res)[1];
641 ! res = vis_fand(res,DC0); /* DC0 = vis_to_double(0x000fffff, 0xffffffff); */
642 ! res = vis_for(res,A1); /* A1 = vis_to_double(0x3fe00000, 0x00000000); */
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Dvmcb.c89 uint64_t *res = NULL; in vmcb_regptr() local
96 res = &state->cr2; in vmcb_regptr()
101 res = &state->cr3; in vmcb_regptr()
106 res = &state->cr4; in vmcb_regptr()
111 res = &state->dr6; in vmcb_regptr()
116 res = &state->dr7; in vmcb_regptr()
121 res = &state->efer; in vmcb_regptr()
126 res = &state->rax; in vmcb_regptr()
130 res = &state->rflags; in vmcb_regptr()
134 res = &state->rip; in vmcb_regptr()
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtable.c134 TabResult res; in sqlite_get_table() local
139 res.zErrMsg = 0; in sqlite_get_table()
140 res.nResult = 0; in sqlite_get_table()
141 res.nRow = 0; in sqlite_get_table()
142 res.nColumn = 0; in sqlite_get_table()
143 res.nData = 1; in sqlite_get_table()
144 res.nAlloc = 20; in sqlite_get_table()
145 res.rc = SQLITE_OK; in sqlite_get_table()
146 res.azResult = malloc( sizeof(char*)*res.nAlloc ); in sqlite_get_table()
147 if( res.azResult==0 ){ in sqlite_get_table()
[all …]
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vhypot.c106 double x, y, res; in __vhypot() local
141 if (hx0 == 0x7ff00000 && lx == 0) res = x == y ? y : x; in __vhypot()
142 else if (hy0 == 0x7ff00000 && ly == 0) res = x == y ? x : y; in __vhypot()
143 else res = x + y; in __vhypot()
144 RETURN (res) in __vhypot()
158 res = (x_hi * x_hi + y_hi * y_hi); in __vhypot()
159 res += ((x + x_hi) * x_lo + (y + y_hi) * y_lo); in __vhypot()
161 res = sqrt (res); in __vhypot()
163 res = D2ONP1022 * res; in __vhypot()
164 RETURN (res) in __vhypot()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_section.c374 int res = 0; in dwarf_transform_to_disk_form() local
376 res = dwarf_transform_to_disk_form_a(dbg, &count,error); in dwarf_transform_to_disk_form()
377 if (res == DW_DLV_ERROR) { in dwarf_transform_to_disk_form()
554 int res = _dwarf_pro_generate_debugline(dbg,&nbufs, error); in dwarf_transform_to_disk_form_a() local
555 if (res == DW_DLV_ERROR) { in dwarf_transform_to_disk_form_a()
556 return res; in dwarf_transform_to_disk_form_a()
561 int res = _dwarf_pro_generate_debugframe(dbg,&nbufs,error); in dwarf_transform_to_disk_form_a() local
562 if (res == DW_DLV_ERROR) { in dwarf_transform_to_disk_form_a()
563 return res; in dwarf_transform_to_disk_form_a()
569 int res = _dwarf_pro_transform_macro_info_to_disk(dbg, in dwarf_transform_to_disk_form_a() local
[all …]
H A Ddwarf_query.c171 int res = 0; in dwarf_die_offsets() local
175 res = dwarf_dieoffset(die,&loff,error); in dwarf_die_offsets()
176 if (res == DW_DLV_OK) { in dwarf_die_offsets()
177 res = dwarf_die_CU_offset(die,&lcuoff,error); in dwarf_die_offsets()
179 if (res == DW_DLV_OK) { in dwarf_die_offsets()
189 return res; in dwarf_die_offsets()
235 int res = 0; in dwarf_offset_list() local
251 res = dwarf_offdie_b(dbg,offset,is_info,&die,error); in dwarf_offset_list()
252 if (DW_DLV_OK != res) { in dwarf_offset_list()
253 return res; in dwarf_offset_list()
[all …]
H A Ddwarf_original_elf_init.c82 int res = DW_DLV_OK; in dwarf_elf_init_b()
94 res = dwarf_elf_object_access_init( in dwarf_elf_init_b()
99 if (res != DW_DLV_OK) { in dwarf_elf_init_b()
100 if (res == DW_DLV_NO_ENTRY) { in dwarf_elf_init_b()
101 return res; in dwarf_elf_init_b()
106 res = dwarf_object_init_b(binary_interface, errhand, errarg, in dwarf_elf_init_b()
109 if (res != DW_DLV_OK){ in dwarf_elf_init_b()
111 return res; in dwarf_elf_init_b()
113 res = dwarf_add_debuglink_global_path(*ret_dbg, in dwarf_elf_init_b()
115 if (res != DW_DLV_OK){ in dwarf_elf_init_b()
[all …]
/illumos-gate/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c57 int res; in read_authtok() local
67 res = pam_get_item(pamh, PAM_OLDAUTHTOK, (void **)&authtok); in read_authtok()
68 if (res != PAM_SUCCESS) in read_authtok()
69 return (res); in read_authtok()
72 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&authtok); in read_authtok()
73 if (res != PAM_SUCCESS) in read_authtok()
74 return (res); in read_authtok()
76 res = pam_set_item(pamh, PAM_OLDAUTHTOK, in read_authtok()
78 if (res == PAM_SUCCESS) in read_authtok()
79 res = pam_set_item(pamh, PAM_AUTHTOK, NULL); in read_authtok()
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Dzalloc_malloc.c73 Guard *res; in Malloc_align() local
81 while ((res = znalloc(&MallocPool, bytes, alignment)) == NULL) { in Malloc_align()
95 res->ga_Magic = GAMAGIC; in Malloc_align()
97 res->ga_Bytes = bytes; in Malloc_align()
99 *((signed char *)res + bytes - 1) = -2; in Malloc_align()
102 return ((char *)res + MALLOCALIGN); in Malloc_align()
111 Guard *res = (void *)((char *)ptr - MALLOCALIGN); in Free() local
116 if (res->ga_Magic == GAFREE) { in Free()
121 if (res->ga_Magic != GAMAGIC) in Free()
124 res->ga_Magic = GAFREE; in Free()
[all …]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext.c75 char *res; in bindtextdomain() local
79 res = _real_bindtextdomain_u(domain, binding, TP_BINDING); in bindtextdomain()
81 return (res); in bindtextdomain()
87 char *res; in bind_textdomain_codeset() local
91 res = _real_bindtextdomain_u(domain, codeset, TP_CODESET); in bind_textdomain_codeset()
93 return (res); in bind_textdomain_codeset()
103 char *res; in textdomain() local
108 res = _textdomain_u(domain, tmp_domain); in textdomain()
109 if (res == NULL) { in textdomain()
124 char *res; in gettext() local
[all …]
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c239 priv_set_t *res; in get_privset() local
241 if ((res = priv_str_to_set(s, ",", NULL)) == NULL) { in get_privset()
246 return (res); in get_privset()
253 priv_set_t *res = vres; in ggp_callback() local
264 priv_union(tmp, res); in ggp_callback()
279 priv_set_t *res; in get_granted_privs() local
286 res = priv_allocset(); in get_granted_privs()
287 if (res == NULL) in get_granted_privs()
290 priv_emptyset(res); in get_granted_privs()
292 (void) _enum_profs(pwd->pw_name, ggp_callback, NULL, res); in get_granted_privs()
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dulimit.c64 int hard, soft, cnt, c, res; in sysulimit() local
69 for (res = 0; res < RLIM_NLIMITS; res++) { in sysulimit()
70 resources[res] = 0; in sysulimit()
93 for (res = 0; res < RLIM_NLIMITS; res++) { in sysulimit()
94 resources[res]++; in sysulimit()
99 res = RLIMIT_CORE; in sysulimit()
102 res = RLIMIT_DATA; in sysulimit()
105 res = RLIMIT_FSIZE; in sysulimit()
108 res = RLIMIT_NOFILE; in sysulimit()
111 res = RLIMIT_STACK; in sysulimit()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/
H A Dgssd_clnt_stubs.c118 gss_acquire_cred_res res; local
180 bzero((caddr_t)&res, sizeof (res));
181 client_stat = gss_acquire_cred_1(&arg, &res, clnt);
217 *minor_status = res.minor_status;
220 (res.status == GSS_S_COMPLETE)) {
222 *((gssd_cred_id_t *)res.output_cred_handle.GSS_CRED_ID_T_val);
223 *gssd_cred_verifier = res.gssd_cred_verifier;
226 if (res.status == GSS_S_COMPLETE &&
227 res.actual_mechs.GSS_OID_SET_len != 0 &&
231 (int)res.actual_mechs.GSS_OID_SET_len;
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgen_ho.c48 struct __res_state * res; member
65 struct __res_state *res,
114 if (pvt->res && pvt->free_res) in ho_close()
115 (*pvt->free_res)(pvt->res); in ho_close()
134 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL); in ho_byname()
140 pvt->res->res_h_errno != HOST_NOT_FOUND && in ho_byname()
141 pvt->res->res_h_errno != NETDB_INTERNAL) { in ho_byname()
143 therrno = pvt->res->res_h_errno; in ho_byname()
155 if (pvt->res->res_h_errno != TRY_AGAIN || errno != ECONNREFUSED) in ho_byname()
158 if (softerror != 0 && pvt->res->res_h_errno == HOST_NOT_FOUND) in ho_byname()
[all …]
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddrbac.c119 int res, retval; in genent_user_attr() local
124 res = genent_attr(line, USERATTR_DB_NCOL, &ecol); in genent_user_attr()
125 if (res != GENENT_OK) in genent_user_attr()
126 return (res); in genent_user_attr()
144 if (continue_onerror == 0) res = GENENT_CBERR; in genent_user_attr()
149 return (res); in genent_user_attr()
153 dump_user_attr(ns_ldap_result_t *res) in dump_user_attr() argument
157 value = __ns_ldap_getAttr(res->entry, "uid"); in dump_user_attr()
164 value = __ns_ldap_getAttr(res->entry, "SolarisAttrKeyValue"); in dump_user_attr()
175 int res, retval; in genent_prof_attr() local
[all …]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c175 char *res = NULL; in tolower_u8() local
190 if ((res = malloc(outlen)) == NULL) in tolower_u8()
192 outs = res; in tolower_u8()
197 if ((res = realloc(res, outlen + inbytesleft)) == NULL) in tolower_u8()
201 outs = res + outlen - outbytesleft; in tolower_u8()
208 free(res); in tolower_u8()
209 res = NULL; in tolower_u8()
213 res[outlen - outbytesleft] = '\0'; in tolower_u8()
215 return (res); in tolower_u8()
1299 lookup_wksids_sid2pid(idmap_mapping *req, idmap_id_res *res, int *is_wksid) in lookup_wksids_sid2pid() argument
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dacpi_device.c87 struct acpi_resource_list_entry *res; in acpi_device_destroy() local
89 res = SLIST_FIRST(&dev->crs); in acpi_device_destroy()
91 free(res); in acpi_device_destroy()
105 struct acpi_resource_list_entry *const res = calloc(1, sizeof(*res)); in acpi_device_add_res_fixed_ioport() local
106 if (res == NULL) { in acpi_device_add_res_fixed_ioport()
110 res->type = ACPI_RESOURCE_TYPE_FIXED_IO; in acpi_device_add_res_fixed_ioport()
111 res->data.FixedIo.Address = port; in acpi_device_add_res_fixed_ioport()
112 res->data.FixedIo.AddressLength = length; in acpi_device_add_res_fixed_ioport()
114 SLIST_INSERT_HEAD(&dev->crs, res, chain); in acpi_device_add_res_fixed_ioport()
127 struct acpi_resource_list_entry *const res = calloc(1, sizeof(*res)); in acpi_device_add_res_fixed_memory32() local
[all …]
/illumos-gate/usr/src/lib/pam_modules/authtok_store/
H A Dauthtok_store.c103 int res;
136 res = pam_get_item(pamh, PAM_SERVICE, (void **)&service);
137 if (res != PAM_SUCCESS) {
142 res = pam_get_item(pamh, PAM_USER, (void **)&user);
143 if (res != PAM_SUCCESS) {
153 res = pam_get_item(pamh, PAM_OLDAUTHTOK, (void **)&oldpw);
154 if (res != PAM_SUCCESS) {
159 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&newpw);
160 if (res != PAM_SUCCESS || newpw == NULL) {
185 res = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep);
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dkey_call.c291 cryptkeyres res; in key_encryptsession_pk() local
297 xdr_cryptkeyres, (char *)&res)) in key_encryptsession_pk()
299 if (res.status != KEY_SUCCESS) { in key_encryptsession_pk()
303 *deskey = res.cryptkeyres_u.deskey; in key_encryptsession_pk()
318 cryptkeyres3 res; in key_encryptsession_pk_g() local
339 (void) memset(&res, 0, sizeof (res)); in key_encryptsession_pk_g()
340 res.cryptkeyres3_u.deskey.deskeyarray_val = deskey; in key_encryptsession_pk_g()
343 xdr_cryptkeyres3, (char *)&res)) in key_encryptsession_pk_g()
345 if (res.status != KEY_SUCCESS) { in key_encryptsession_pk_g()
349 if (res.cryptkeyres3_u.deskey.deskeyarray_len != keynum) { in key_encryptsession_pk_g()
[all …]

12345678910>>...39