/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_prd_i86pc.c | 211 *res = acpi_io_res[bus]; in acpi_find_bus_res() 214 *res = acpi_mem_res[bus]; in acpi_find_bus_res() 220 *res = acpi_bus_res[bus]; in acpi_find_bus_res() 223 *res = NULL; in acpi_find_bus_res() 528 *res = NULL; in mps_find_bus_res() 561 memlist_free_all(res); in mps_find_bus_res() 613 memlist_insert(res, in hrt_find_bus_res() 621 memlist_insert(res, in hrt_find_bus_res() 681 return (res); in pci_prd_find_resource() 684 return (res); in pci_prd_find_resource() [all …]
|
/illumos-gate/usr/src/lib/libvmm/ |
H A D | libvmm.c | 314 if (res < 0) in vmm_pread() 315 res = 0; in vmm_pread() 320 len = res; in vmm_pread() 324 if (res) in vmm_pread() 346 if (res < 0) in vmm_pwrite() 347 res = 0; in vmm_pwrite() 352 len = res; in vmm_pwrite() 356 if (res) in vmm_pwrite() 879 res += plen; in vmm_vread() 882 return (res); in vmm_vread() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | hda_codec.c | 506 uint32_t res = 0; in hda_codec_command() local 547 res = sc->conn_list[nid][0]; in hda_codec_command() 556 res = sc->conf_default[nid]; in hda_codec_command() 559 res = sc->subsystem_id; in hda_codec_command() 669 int res; in hda_codec_audio_output_nid() local 673 return (res); in hda_codec_audio_output_nid() 730 int res; in hda_codec_audio_input_nid() local 734 return (res); in hda_codec_audio_input_nid() 788 uint32_t res = 0; in hda_codec_audio_inout_nid() local 796 res = st->fmt; in hda_codec_audio_inout_nid() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | comvario.sh | 371 compound out=( typeset stdout stderr ; integer res ) 421 … out.stderr="${ { out.stdout="${ ${SHELL} -c "${test.cmd}" ; (( out.res=$? )) ; }" ; } 2>&1 ; }" 423 (( out.res == 0 )) || err_exit "${testname}: Test shell returned with exit code ${out.res}" 440 compound out=( typeset stdout stderr ; integer res ) 451 …out.stderr="${ { out.stdout="${ ${SHELL} -o nounset -c "${tests[i]}" ; (( out.res=$? )) ; }" ; } 2… 463 compound out=( typeset stdout stderr ; integer res ) 482 compound out=( typeset stdout stderr ; integer res ) 527 …out.stderr="${ { out.stdout="${ ${SHELL} -o nounset -c "${test}" ; (( out.res=$? )) ; }" ; } 2>&1 … 543 compound out=( typeset stdout stderr ; integer res ) 658 compound out=( typeset stdout stderr ; integer res ) [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | main.c | 514 res = mandoc_reallocarray(res, in main() 554 res = mandoc_reallocarray(res, ressz + 1, in main() 555 sizeof(*res)); in main() 576 res = mandoc_calloc(ressz, sizeof(*res)); in main() 588 puts(res[i].file); in main() 594 res[i].output); in main() 716 *res = mandoc_reallocarray(*res, *ressz + filesz, sizeof(**res)); in fs_append() 717 page = *res + *ressz; in fs_append() 827 if (res == NULL) in fs_lookup() 849 if (res != NULL) in fs_search() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarfstring.c | 230 int res = 0; in _dwarfstring_append_spaces() local 238 if (res != TRUE) { in _dwarfstring_append_spaces() 239 return res; in _dwarfstring_append_spaces() 244 return res; in _dwarfstring_append_spaces() 249 int res = 0; in _dwarfstring_append_zeros() local 257 return res; in _dwarfstring_append_zeros() 262 return res; in _dwarfstring_append_zeros() 279 int res = 0; in dwarfstring_append_printf_s() local 346 return res; in dwarfstring_append_printf_s() 367 int res = TRUE; in dwarfstring_append_printf_i() local [all …]
|
H A D | dwarf_util.c | 359 int res = 0; in _dwarf_get_size_of_val() local 366 return res; in _dwarf_get_size_of_val() 407 int res = 0; in _dwarf_get_size_of_val() local 775 int res = 0; in _dwarf_get_abbrev_for_code() local 822 return res; in _dwarf_get_abbrev_for_code() 1084 return res; in _dwarf_load_debug_info() 1088 return res; in _dwarf_load_debug_info() 1095 return res; in _dwarf_load_debug_info() 1099 return res; in _dwarf_load_debug_info() 1112 return res; in _dwarf_load_debug_types() [all …]
|
H A D | pro_line.c | 201 int res = 0; in dwarf_lne_set_address() local 204 if (res != DW_DLV_OK) { in dwarf_lne_set_address() 345 int res = 0; in dwarf_add_directory_decl() local 349 if (res != DW_DLV_OK) { in dwarf_add_directory_decl() 404 int res = 0; in dwarf_add_file_decl() local 406 res = dwarf_add_file_decl_a(dbg,name,dir_idx, in dwarf_add_file_decl() 408 if (res != DW_DLV_OK) { in dwarf_add_file_decl() 428 int res = 0; in dwarf_add_file_decl_a() local 459 if (res != DW_DLV_OK) { in dwarf_add_file_decl_a() 465 if (res != DW_DLV_OK) { in dwarf_add_file_decl_a() [all …]
|
H A D | pro_reloc_stream.c | 69 int res = 0; in _dwarf_pro_reloc_name_stream64() local 72 res = _dwarf_pro_reloc_get_a_slot(dbg, base_sec_index, in _dwarf_pro_reloc_name_stream64() 74 if (res != DW_DLV_OK) in _dwarf_pro_reloc_name_stream64() 75 return res; in _dwarf_pro_reloc_name_stream64() 114 int res = 0; in _dwarf_pro_reloc_name_stream32() local 117 res = _dwarf_pro_reloc_get_a_slot(dbg, base_sec_index, in _dwarf_pro_reloc_name_stream32() 119 if (res != DW_DLV_OK) in _dwarf_pro_reloc_name_stream32() 120 return res; in _dwarf_pro_reloc_name_stream32()
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_join.c | 290 smbd_join(smb_joininfo_t *info, smb_joinres_t *res) in smbd_join() argument 294 smbd_join_workgroup(info, res); in smbd_join() 296 smbd_join_domain(info, res); in smbd_join() 300 smbd_join_workgroup(smb_joininfo_t *info, smb_joinres_t *res) in smbd_join_workgroup() argument 317 res->status = NT_STATUS_SUCCESS; in smbd_join_workgroup() 321 smbd_join_domain(smb_joininfo_t *info, smb_joinres_t *res) in smbd_join_domain() argument 327 mlsvc_join(info, res); in smbd_join_domain() 328 if (res->status == 0) { in smbd_join_domain() 332 info->domain_name, xlate_nt_status(res->status)); in smbd_join_domain()
|
/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | addr_match.c | 43 find_match(const struct addrinfo *res, in find_match() argument 55 for (ai = res; ai != NULL; ai = ai->ai_next) { in find_match() 99 struct addrinfo *res, hints; in check_address() local 105 if (getaddrinfo(hostname, NULL, &hints, &res) == 0) { in check_address() 106 match_found = find_match(res, fromp, sin, sin6); in check_address() 107 freeaddrinfo(res); in check_address()
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_script.sh | 178 res="test not triggered" 180 res="success (error undetected)" 183 res="failure (no service impact reported)" 185 res="success (error reported)" 188 res= 190 echo "Subtest $edefid: Result: \"$res\""
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent.c | 162 net_data->res->retry = __res_retry(net_data->res->retry); in gethostbyname2_p() 166 net_data->res->retry = __res_retry_reset(); in gethostbyname2_p() 322 options = net_data->res->options; in getipnodebyname() 323 net_data->res->options &= ~RES_USE_INET6; in getipnodebyname() 334 tmp_err = net_data->res->res_h_errno; in getipnodebyname() 344 *error_num = net_data->res->res_h_errno; in getipnodebyname() 350 net_data->res->options = options; in getipnodebyname() 431 *error_num = net_data->res->res_h_errno; 970 if (!net_data->ho || !net_data->res) { 977 if (net_data && net_data->res) [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lstrlib.c | 297 int res; in match_class() local 312 return (islower(cl) ? res : !res); in match_class() 384 if (res) return res; in max_expand() 395 if (res != NULL) in min_expand() 396 return res; in min_expand() 406 const char *res; in start_capture() local 414 return res; in start_capture() 421 const char *res; in end_capture() local 425 return res; in end_capture() 515 s = res; in match() [all …]
|
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecl_gf.c | 219 mp_err res; in ec_GFp_add() local 222 return res; in ec_GFp_add() 227 return res; in ec_GFp_add() 263 return res; in ec_GFp_sub() 352 return res; in ec_GFp_add_3() 452 return res; in ec_GFp_add_4() 537 return res; in ec_GFp_add_5() 633 return res; in ec_GFp_add_6() 726 return res; in ec_GFp_sub_3() 825 return res; in ec_GFp_sub_4() [all …]
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_printer.c | 122 nss_status_t res; in getprinterentry() local 126 res = nss_getent(&db_root, _nss_initf_printers, &context, &arg); in getprinterentry() 130 return (arg.status = res); in getprinterentry() 138 nss_status_t res; in getprinterbyname() local 143 res = nss_search(&db_root, _nss_initf_printers, in getprinterbyname() 148 return (arg.status = res); in getprinterbyname()
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 767 res); in _get_hostserv_inetnetdir_byname() 1179 res); in _get_hostserv_inetnetdir_byaddr() 1309 nss_status_t res; in _switch_gethostbyname_r() local 1316 arg.status = res; in _switch_gethostbyname_r() 1329 nss_status_t res; in _switch_getipnodebyname_r() local 1338 arg.status = res; in _switch_getipnodebyname_r() 1351 nss_status_t res; in _switch_gethostbyaddr_r() local 1360 arg.status = res; in _switch_gethostbyaddr_r() 1371 nss_status_t res; in _switch_getipnodebyaddr_r() local 1380 arg.status = res; in _switch_getipnodebyaddr_r() [all …]
|
H A D | getauthattr.c | 117 nss_status_t res; in _getauthattr() local 120 res = nss_getent(&db_root, _nss_initf_authattr, &context, &arg); in _getauthattr() 121 arg.status = res; in _getauthattr() 132 nss_status_t res; in _getauthnam() local 137 res = nss_search(&db_root, _nss_initf_authattr, in _getauthnam() 139 arg.status = res; in _getauthnam()
|
H A D | getauuser.c | 120 nss_status_t res; in _getauuserent() local 123 res = nss_getent(&db_root, _nss_initf_auuser, &context, &arg); in _getauuserent() 124 arg.status = res; in _getauuserent() 135 nss_status_t res; in _getauusernam() local 145 res = nss_search(&db_root, _nss_initf_auuser, in _getauusernam() 147 arg.status = res; in _getauusernam()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_vfsops.c | 1018 struct FSINFO3res res; in nfs3rootvp() local 1183 error = geterrno3(res.status); in nfs3rootvp() 1224 if (res.resok.rtmax != 0) { in nfs3rootvp() 1226 if (res.resok.rtpref != 0) { in nfs3rootvp() 1249 if (res.resok.wtmax != 0) { in nfs3rootvp() 1251 if (res.resok.wtpref != 0) { in nfs3rootvp() 1288 if (res.resok.maxfilesize) { in nfs3rootvp() 1291 res.resok.maxfilesize); in nfs3rootvp() 1506 struct FSSTAT3res res; in nfs3_statvfs() local 1543 error = geterrno3(res.status); in nfs3_statvfs() [all …]
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipmon.c | 524 char *hostname(res, v, ip) in hostname() argument 525 int res, v; in hostname() 538 if (!res) 557 char *portname(res, proto, port) in portname() argument 558 int res; in portname() 568 if (!res || (opts & OPT_PORTNUM)) 731 int res, i, len; local 814 int res, i, len; local 1136 hostname(res, v, d), 1199 portname(res, proto, [all …]
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/ |
H A D | Configuration.java | 369 Resource res = new Resource(this, aResource); in createResource() local 370 elements.put(res.getKey(), res); in createResource() local 371 return (res); in createResource() 382 elements.remove(res.getKey()); in destroyResource() 384 res.getResource()); in destroyResource() 398 long res; in getResource() local 400 if ((res = PoolInternal.pool_get_resource(getConf(), type, in getResource() 407 Resource r = new Resource(this, res); in getResource() 424 long res; in checkResource() local 426 if ((res = PoolInternal.pool_get_resource(getConf(), type, in checkResource() [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | commands.c | 228 int res; in command_commandlist() local 231 res = 0; in command_commandlist() 233 res = pager_output("Available commands:\n"); in command_commandlist() 235 if (res) in command_commandlist() 242 res = pager_output("\n"); in command_commandlist() 451 int res; in command_more() local 454 res = 0; in command_more() 461 res = page_file(argv[i]); in command_more() 462 if (!res) { in command_more() 465 res = pager_output(line); in command_more() [all …]
|
/illumos-gate/usr/src/cmd/rsrvrctl/ |
H A D | rsrvrctl.c | 48 size_t res; in parse_size() local 51 res = strtoul(arg, NULL, 0); in parse_size() 56 *resp = (res * 1024 * 1024); in parse_size() 65 int res = ioctl(fd, VMM_RESV_QUERY, &data); in query_size() local 66 if (res != 0) { in query_size() 154 int res; in do_query() local 156 res = ioctl(fd, VMM_RESV_QUERY, &data); in do_query() 157 if (res != 0) { in do_query()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | bitset.c | 98 int res; in pow10() local 100 for (res = 1; exp; exp--) in pow10() 101 res *= 10; in pow10() 102 return (res); in pow10() 108 int res = 0; in log10() local 111 res++; in log10() 114 return (res); in log10()
|