Home
last modified time | relevance | path

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

12345678910>>...39

/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dutil.c355 if ((res->sr_pg = scf_pg_create(res->sr_handle)) == NULL) { in create_scf_resources()
361 if ((res->sr_val = scf_value_create(res->sr_handle)) == NULL) { in create_scf_resources()
367 if ((res->sr_ent = scf_entry_create(res->sr_handle)) == NULL) { in create_scf_resources()
406 running ? res->sr_snap : NULL, pg, res->sr_pg) != 0) { in get_property_value()
412 if (scf_property_get_value(res->sr_prop, res->sr_val) != 0) { in get_property_value()
559 if (scf_transaction_start(res->sr_tx, res->sr_pg) == -1) { in set_property_value()
563 if (scf_transaction_property_new(res->sr_tx, res->sr_ent, in set_property_value()
568 if (scf_transaction_property_change(res->sr_tx, res->sr_ent, in set_property_value()
574 if (scf_entry_add_value(res->sr_ent, res->sr_val) != 0) { in set_property_value()
685 if (scf_pg_get_property(res.sr_pg, prop, res.sr_prop) != 0) in nwamd_delete_scf_property()
[all …]
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_proc.c360 memset(res, 0, sizeof (*res));
614 memset(res, 0, sizeof (*res));
775 memset(res, 0, sizeof (*res));
848 memset(res, 0, sizeof (*res));
1121 memset(res, 0, sizeof (*res));
1401 memset(res, 0, sizeof (*res));
1461 memset(res, 0, sizeof (*res));
1577 memset(res, 0, sizeof (*res));
1686 memset(res, 0, sizeof (*res));
1749 memset(res, 0, sizeof (*res));
[all …]
H A Dgssd_clnt_stubs.c154 memset(&res, 0, sizeof (res));
501 memset(&res, 0, sizeof (res));
696 memset(&res, 0, sizeof (res));
940 memset(&res, 0, sizeof (res));
1117 memset(&res, 0, sizeof (res));
1172 memset(&res, 0, sizeof (res));
1299 memset(&res, 0, sizeof (res));
1392 memset(&res, 0, sizeof (res));
1485 memset(&res, 0, sizeof (res));
1591 memset(&res, 0, sizeof (res));
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sparc.c650 info->res.val.i = (int) info->res.val.l; in __fex_st_result()
654 info->res.val.i = (int) info->res.val.f; in __fex_st_result()
658 info->res.val.i = (int) info->res.val.d; in __fex_st_result()
662 info->res.val.i = (int) info->res.val.q; in __fex_st_result()
700 info->res.val.f = (float) info->res.val.i; in __fex_st_result()
704 info->res.val.f = (float) info->res.val.l; in __fex_st_result()
708 info->res.val.f = (float) info->res.val.d; in __fex_st_result()
829 info->res.val.f = (float) info->res.val.i; in __fex_st_result()
833 info->res.val.f = (float) info->res.val.l; in __fex_st_result()
837 info->res.val.f = (float) info->res.val.d; in __fex_st_result()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/signalfd/
H A Dbasic_args.c25 int res, err, fd; in main() local
49 if (res < 0) { in main()
51 res, err); in main()
53 fd = res; in main()
55 assert(res >= 0); in main()
60 assert(res >= 0); in main()
69 if (res < 0) { in main()
71 res, err); in main()
73 fd = res; in main()
75 assert(res >= 0); in main()
[all …]
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vrsqrt.S94 ! res = DONE / res;
108 ! res = DONE / res;
119 ! res = *(long long*)&res;
124 ! res = vis_fand(res,DC4);
125 ! res = *(long long*)&res;
132 ! res = sqrt(res);
151 ! res = vis_fand(res,DC0);
152 ! res = vis_for(res,DC1);
173 ! res = dexp_hi * res;
1144 fdivd DONE,%f0,%f0 ! res = DONE / res;
[all …]
H A D__vsqrt.S613 ! res = sqrt(res);
621 ! res = sqrt(res);
664 ! res = dexp_hi * res;
732 for %f50,A1,%f40 ! (5_1) res = vis_for(res,A1);
764 for %f50,A1,%f42 ! (0_0) res = vis_for(res,A1);
804 for %f50,A1,%f14 ! (1_0) res = vis_for(res,A1);
847 for %f50,A1,%f18 ! (2_0) res = vis_for(res,A1);
893 for %f50,A1,%f44 ! (3_0) res = vis_for(res,A1);
945 for %f50,A1,%f24 ! (4_0) res = vis_for(res,A1);
1015 for %f50,A1,%f40 ! (5_1) res = vis_for(res,A1);
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Dvmcb.c96 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()
134 res = &state->rip; in vmcb_regptr()
138 res = &state->rsp; in vmcb_regptr()
150 return (res); 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()
146 res.azResult = malloc( sizeof(char*)*res.nAlloc ); in sqlite_get_table()
153 res.azResult[0] = (char*)res.nData; in sqlite_get_table()
173 if( res.nAlloc>res.nData ){ in sqlite_get_table()
175 azNew = realloc( res.azResult, sizeof(char*)*(res.nData+1) ); in sqlite_get_table()
[all …]
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vhypot.c161 res = sqrt (res); in __vhypot()
163 res = D2ONP1022 * res; in __vhypot()
203 res = sqrt (res); in __vhypot()
229 res = sqrt(res); in __vhypot()
231 res = D2ONM1022 * res; in __vhypot()
289 res = sqrt (res); in __vhypot()
291 res = D2ONP1022 * res; in __vhypot()
315 res = sqrt(res); in __vhypot()
317 res = D2ONM1022 * res; in __vhypot()
335 res = sqrt(res); in __vhypot()
[all …]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext.c75 char *res; in bindtextdomain() local
81 return (res); in bindtextdomain()
87 char *res; in bind_textdomain_codeset() local
103 char *res; in textdomain() local
124 char *res; in gettext() local
142 char *res; in dgettext() local
156 char *res; in dgettext_l() local
170 char *res; in dcgettext() local
184 char *res; in ngettext() local
199 char *res; in dngettext() local
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Dzalloc_malloc.c73 Guard *res; in Malloc_align() local
127 if (*((signed char *)res + res->ga_Bytes - 1) == -1) { in Free()
132 if (*((signed char *)res + res->ga_Bytes - 1) != -2) in Free()
135 *((signed char *)res + res->ga_Bytes - 1) = -1; in Free()
150 void *res; in Calloc() local
153 bzero(res, bytes); in Calloc()
159 return (res); in Calloc()
171 void *res; in Realloc() local
197 return (res); in Realloc()
203 void *res; in Reallocf() local
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_section.c374 int res = 0; in dwarf_transform_to_disk_form() local
752 int res = 0; in pretend_write_uval() local
842 int res = 0; in write_opcode_uval() local
867 int res = 0; in determine_form_size() local
1196 int res = 0; in calculate_size_of_line_header5() local
1351 int res = 0; in _dwarf_pro_generate_debugline() local
2407 int res = 0; in dwarf_get_die_markers() local
2927 int res = 0; in write_out_debug_abbrev() local
3000 int res = 0; in sort_die_attrs() local
3071 int res = 0; in _dwarf_pro_generate_debuginfo() local
[all …]
H A Ddwarf_query.c171 int res = 0; in dwarf_die_offsets() local
189 return res; in dwarf_die_offsets()
235 int res = 0; in dwarf_offset_list() local
258 if (DW_DLV_ERROR == res || DW_DLV_NO_ENTRY == res) { in dwarf_offset_list()
770 return res; in dwarf_die_text()
970 return res; in dwarf_debug_addr_index_to_addr()
1106 return res; in dwarf_dietype_offset()
1696 return res; in dwarf_bytesize()
1708 return res; in dwarf_bitsize()
1720 return res; in dwarf_bitoffset()
[all …]
H A Ddwarf_original_elf_init.c82 int res = DW_DLV_OK; in dwarf_elf_init_b()
101 return res; in dwarf_elf_init_b()
111 return res; in dwarf_elf_init_b()
117 return res; in dwarf_elf_init_b()
120 return res; in dwarf_elf_init_b()
144 int res = 0; in dwarf_elf_init()
148 return res; in dwarf_elf_init()
186 int res = DW_DLV_OK; in _dwarf_elf_setup()
204 return res; in _dwarf_elf_setup()
214 return res; in _dwarf_elf_setup()
[all …]
/illumos-gate/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c57 int res; in read_authtok() local
69 return (res); in read_authtok()
74 return (res); in read_authtok()
143 return (res); in read_authtok()
149 int res; in verify_authtok() local
170 return (res); in verify_authtok()
200 int res; in pam_sm_chauthtok() local
211 return (res); in pam_sm_chauthtok()
227 int res; in pam_sm_authenticate() local
247 return (res); in pam_sm_authenticate()
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dulimit.c69 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()
114 res = RLIMIT_CPU; in sysulimit()
117 res = RLIMIT_VMEM; in sysulimit()
123 resources[res]++; in sysulimit()
[all …]
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c239 priv_set_t *res; in get_privset() local
246 return (res); in get_privset()
279 priv_set_t *res; in get_granted_privs() local
287 if (res == NULL) in get_granted_privs()
294 return (res); in get_granted_privs()
339 uint32_t res; in callback_user_privs() local
347 (void) door_return((char *)&res, sizeof (res), NULL, 0); in callback_user_privs()
368 res->pfr_len = 0; in callback_pfexec()
376 res->pfr_ioff = 0; in callback_pfexec()
377 res->pfr_loff = 0; in callback_pfexec()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/
H A Dgssd_clnt_stubs.c180 bzero((caddr_t)&res, sizeof (res));
402 bzero((caddr_t)&res, sizeof (res));
547 bzero((caddr_t)&res, sizeof (res));
731 bzero((caddr_t)&res, sizeof (res)); in kgss_init_sec_context_wrapped()
1024 bzero((caddr_t)&res, sizeof (res)); in kgss_accept_sec_context_wrapped()
1225 bzero(&res, sizeof (res));
1289 bzero((caddr_t)&res, sizeof (res)); in kgss_delete_sec_context_wrapped()
2484 bzero(&res, sizeof (res));
2577 bzero(&res, sizeof (res));
2639 bzero(&res, sizeof (res));
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgen_ho.c48 struct __res_state * res; member
282 if (pvt->res) in ho_minimize()
283 res_nclose(pvt->res); in ho_minimize()
295 if (!pvt->res) { in ho_res_get()
296 struct __res_state *res; in ho_res_get() local
297 res = (struct __res_state *)malloc(sizeof *res); in ho_res_get()
298 if (!res) { in ho_res_get()
302 memset(res, 0, sizeof *res); in ho_res_get()
306 return (pvt->res); in ho_res_get()
316 res_nclose(pvt->res); in ho_res_set()
[all …]
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddrbac.c119 int res, retval; in genent_user_attr() local
126 return (res); in genent_user_attr()
149 return (res); in genent_user_attr()
175 int res, retval; in genent_prof_attr() local
182 return (res); in genent_prof_attr()
212 return (res); in genent_prof_attr()
242 int res, retval; in genent_exec_attr() local
249 return (res); in genent_exec_attr()
283 return (res); in genent_exec_attr()
332 return (res); in genent_auth_attr()
[all …]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c175 char *res = NULL; in tolower_u8() local
192 outs = res; in tolower_u8()
197 if ((res = realloc(res, outlen + inbytesleft)) == NULL) in tolower_u8()
208 free(res); in tolower_u8()
209 res = NULL; in tolower_u8()
215 return (res); in tolower_u8()
2658 TRACE(req, res, in sid2pid_first_pass()
3203 &res->id); in name_based_mapping_sid2pid()
3750 res->id.idmap_id_u.sid.prefix, res->id.idmap_id_u.sid.rid, in update_cache_pid2sid()
3783 res->id.idmap_id_u.sid.prefix, res->id.idmap_id_u.sid.rid, in update_cache_pid2sid()
[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()
127 struct acpi_resource_list_entry *const res = calloc(1, sizeof(*res)); in acpi_device_add_res_fixed_memory32() local
128 if (res == NULL) { in acpi_device_add_res_fixed_memory32()
167 SLIST_FOREACH(res, &dev->crs, chain) { in acpi_device_write_dsdt_crs()
[all …]
/illumos-gate/usr/src/lib/pam_modules/authtok_store/
H A Dauthtok_store.c103 int res;
209 switch (res) {
218 res = PAM_SUCCESS;
237 res = PAM_SYSTEM_ERR;
254 res = PAM_BUF_ERR;
257 res = PAM_SYSTEM_ERR;
260 res = PAM_SYSTEM_ERR;
271 res = PAM_SUCCESS;
278 res = PAM_SYSTEM_ERR;
317 res = PAM_SYSTEM_ERR;
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dkey_call.c291 cryptkeyres res; in key_encryptsession_pk() local
339 (void) memset(&res, 0, sizeof (res)); in key_encryptsession_pk_g()
361 cryptkeyres res; in key_decryptsession_pk() local
410 (void) memset(&res, 0, sizeof (res)); in key_decryptsession_pk_g()
431 cryptkeyres res; in key_encryptsession() local
466 (void) memset(&res, 0, sizeof (res)); in key_encryptsession_g()
487 cryptkeyres res; in key_decryptsession() local
522 (void) memset(&res, 0, sizeof (res)); in key_decryptsession_g()
553 deskeyarray res; in key_gendes_g() local
748 (void) memset(&res, 0, sizeof (res)); in key_get_conv_g()
[all …]

12345678910>>...39