/illumos-gate/usr/src/lib/pam_modules/smbfs/ |
H A D | smbfs_login.c | 65 int res = PAM_SUCCESS; in pam_sm_setcred() local 106 res = smbfs_default_dom_usr(home, NULL, dom, sizeof (dom), NULL, 0); in pam_sm_setcred() 107 if (res != 0) in pam_sm_setcred() 116 res = smbfs_keychain_add(uid, dom, user, pw); in pam_sm_setcred() 119 res = smbfs_keychain_del(uid, dom, user); in pam_sm_setcred() 124 switch (res) { in pam_sm_setcred()
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | getprofattr.c | 114 nss_status_t res; in _getprofattr() local 117 res = nss_getent(&db_root, _nss_initf_profattr, &context, &arg); in _getprofattr() 118 arg.status = res; in _getprofattr() 129 nss_status_t res; in _getprofnam() local 134 res = nss_search(&db_root, _nss_initf_profattr, in _getprofnam() 136 arg.status = res; in _getprofnam()
|
H A D | getexecattr.c | 150 nss_status_t res; in _getexecattr() local 154 res = nss_getent(&exec_root, _nss_initf_execattr, &context, &arg); in _getexecattr() 155 arg.status = res; in _getexecattr() 173 nss_status_t res = NSS_NOTFOUND; in _getexecprof() local 208 res = nss_search(&exec_root, _nss_initf_execattr, getby_flag, in _getexecprof() 246 res = nss_search(&pexec_root, in _getexecprof() 272 (res == NSS_NOTFOUND && strcmp(policy_buf, DEFAULT_POLICY) == 0)) { in _getexecprof() 277 arg.status = res; in _getexecprof() 278 *errnop = res; in _getexecprof() 387 _exec_cleanup(nss_status_t res, nss_XbyY_args_t *argp) in _exec_cleanup() argument [all …]
|
H A D | getuserattr.c | 124 nss_status_t res; in _getuserattr() local 127 res = nss_getent(&db_root, _nss_initf_userattr, &context, &arg); in _getuserattr() 128 arg.status = res; in _getuserattr() 151 nss_status_t res; in _getusernam() local 156 res = nss_search(&db_root, _nss_initf_userattr, in _getusernam() 158 arg.status = res; in _getusernam()
|
/illumos-gate/usr/src/uts/i86pc/io/acpi_drv/ |
H A D | acpi_drv.c | 473 int res = 0; in acpi_drv_ioctl() local 495 res = EINVAL; in acpi_drv_ioctl() 500 return (res); in acpi_drv_ioctl() 508 int res = 0; in acpi_drv_cbat_ioctl() local 526 res = ENXIO; in acpi_drv_cbat_ioctl() 546 res = ENXIO; in acpi_drv_cbat_ioctl() 633 return (res); in acpi_drv_cbat_ioctl() 641 int res = 0; in acpi_drv_ac_ioctl() local 685 return (res); in acpi_drv_ac_ioctl() 693 int res = 0; in acpi_drv_lid_ioctl() local [all …]
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_switch.c | 53 if (res != NSS_TRYAGAIN && res != NSS_NISSERVDNS_TRYAGAIN) { in retry_test() 329 nss_status_t res, in trace_result() argument 339 switch (res) { in trace_result() 603 return (res); in search_dns_withttl() 657 res = NSS_TRYLOCAL; in nss_search() 686 res = NSS_TRYLOCAL; in nss_search() 754 res = NSS_UNAVAIL; in nss_search() 1001 return (res); in nss_search() 1229 nss_status_t res; in nss_getent_u() local 1240 res = NSS_UNAVAIL; in nss_getent_u() [all …]
|
H A D | getnode.c | 79 int res, l1, l2; in ipaddr_compar() local 91 res = memcmp(e1->key.hostaddr.addr, e2->key.hostaddr.addr, in ipaddr_compar() 93 return ((res) ? _NSC_INT_KEY_CMP(res, 0) : _NSC_INT_KEY_CMP(l1, l2)); in ipaddr_compar() 119 int res, l1, l2; in ipname_compar() local 131 res = strncasecmp(e1->key.ipnode.name, e2->key.ipnode.name, in ipname_compar() 133 return (_NSC_INT_KEY_CMP(res, 0)); in ipname_compar()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | def_realm.c | 227 struct __res_state res; in krb5_get_default_realm() local 230 (void) memset(&res, 0, sizeof (res)); in krb5_get_default_realm() 232 if (res_ninit(&res) == 0) { in krb5_get_default_realm() 233 for (i = 0; res.dnsrch[i]; i++) { in krb5_get_default_realm() 235 res.dnsrch[i], &context->default_realm); in krb5_get_default_realm() 240 res_ndestroy(&res); in krb5_get_default_realm()
|
/illumos-gate/usr/src/test/util-tests/tests/mdb/ |
H A D | mdbtest | 68 local expect base ext exe command odir res reason input 103 res=$? 107 res=$? 113 elif [[ "$expect" == "tst" && $res -ne 0 ]]; then 114 reason="test exited $res, not zero" 115 elif [[ "$expect" == "err" && $res -eq 0 ]]; then 116 reason="test exited $res, not non-zero"
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | netnamer.c | 200 char *res; in netname2user_files() local 215 res = fgets(buf, 512, fd); in netname2user_files() 216 if (res == NULL) in netname2user_files() 220 if ((*res == '#') || (*res == '\n')) in netname2user_files() 381 int needfree = 1, res; in netname2user() local 425 res = netname2user_nis(&err, (char *)netname, &argp); in netname2user() 427 res = netname2user_files(&err, (char *)netname, &argp); in netname2user() 429 res = netname2user_ldap(&err, (char *)netname, &argp); in netname2user() 435 res = 0; in netname2user() 444 return (res); in netname2user()
|
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/ |
H A D | fpu_getset.c | 51 int res = ioctl(fd, VM_GET_FPU, req); in get_fpu() local 52 if (res != 0) { in get_fpu() 62 int res = ioctl(fd, VM_SET_FPU, req); in set_fpu() local 63 if (res != 0) { in set_fpu() 154 int res = ioctl(fd, VM_SET_FPU, &req); in check_sse() local 155 if (res == 0) { in check_sse() 276 int res, fd; in main() local 292 res = ioctl(fd, VM_DESC_FPU_AREA, &desc); in main() 293 if (res != 0) { in main()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | pro_types.c | 61 int res = 0; in dwarf_add_typename() local 63 res = _dwarf_add_simple_name_entry(dbg, die, type_name, in dwarf_add_typename() 65 if (res != DW_DLV_OK) { in dwarf_add_typename() 77 int res = 0; in dwarf_add_typename_a() local 79 res = _dwarf_add_simple_name_entry(dbg, die, type_name, in dwarf_add_typename_a() 81 return res; in dwarf_add_typename_a() 258 int res = dbg->de_relocate_by_name_symbol(dbg, in _dwarf_transform_simplename_to_disk() local 267 if (res != DW_DLV_OK) { in _dwarf_transform_simplename_to_disk()
|
H A D | dwarf_frame2.c | 364 int res = DW_DLV_ERROR; in _dwarf_get_fde_list_internal() local 388 return res; in _dwarf_get_fde_list_internal() 644 int res = 0; in dwarf_create_cie_from_after_start() local 675 if (res != DW_DLV_OK) { in dwarf_create_cie_from_after_start() 676 return res; in dwarf_create_cie_from_after_start() 759 return res; in dwarf_create_cie_from_after_start() 774 return res; in dwarf_create_cie_from_after_start() 1025 return res; in dwarf_create_fde_from_after_start() 1040 return res; in dwarf_create_fde_from_after_start() 1389 return res; in dwarf_create_cie_from_start() [all …]
|
H A D | dwarf_pubtypes.c | 42 int res = _dwarf_load_section(dbg, &dbg->de_debug_pubtypes,error); in dwarf_get_pubtypes() local 43 if (res != DW_DLV_OK) { in dwarf_get_pubtypes() 44 return res; in dwarf_get_pubtypes() 50 res = _dwarf_internal_get_pubnames_like_data(dbg, in dwarf_get_pubtypes() 61 return res; in dwarf_get_pubtypes()
|
/illumos-gate/usr/src/lib/libbsdmalloc/common/ |
H A D | malloc.bsd43.c | 268 char *res; in realloc() local 291 if ((res = malloc(nbytes)) != NULL) in realloc() 292 (void) memmove(res, cp, nbytes); in realloc() 293 return (res); in realloc() 316 if ((res = malloc(nbytes)) == NULL) in realloc() 318 if (cp != res) /* common optimization if "compacting" */ in realloc() 319 (void) memmove(res, cp, (nbytes < onb) ? nbytes : onb); in realloc() 320 return (res); in realloc()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslog_trans.c | 705 if (*res != NFS_OK) in trans_setattr() 839 if (*res != NFS_OK) in trans_remove() 949 if (*res != NFS_OK) in trans_rmdir() 1000 if (*res != NFS_OK) in trans_rename() 1083 if (*res != NFS_OK) in trans_link() 1141 if (*res != NFS_OK) in trans_symlink() 1338 if (*res != NFS3_OK) in trans_setattr3() 1469 if (*res != NFS3_OK) in trans_remove3() 1578 if (*res != NFS3_OK) in trans_rmdir3() 1629 if (*res != NFS3_OK) in trans_rename3() [all …]
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | SystemSolver.java | 486 if (resImp.containsKey(res)) { in solve() 488 get(res); in solve() 490 resImp.put(res, in solve() 493 resImp.put(res, in solve() 816 Resource res; in getRecipients() local 817 res = (Resource)resList.get(i); in getRecipients() 822 recipientList.add(res); in getRecipients() 845 Resource res; in getDonors() local 849 res = (Resource)resList.get(i); in getDonors() 854 pinned = res.getComponents(valueList); in getDonors() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_demangle.c | 200 char *res = NULL; in mdb_dem_process() local 211 res = sysdemangle(name + prefixlen, dmp->dm_lang, &mdb_dem_demops); in mdb_dem_process() 212 if (res == NULL) { in mdb_dem_process() 231 reslen = (res != NULL) ? strlen(res) : 0; in mdb_dem_process() 252 if (res != NULL) { in mdb_dem_process() 253 (void) strlcat(dmp->dm_buf, res, dmp->dm_len); in mdb_dem_process() 254 mdb_dem_free(res, strlen(res) + 1); in mdb_dem_process()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | atomicio.c | 46 ssize_t res; in atomicio() local 52 res = (f) (fd, s + pos, n - pos); in atomicio() 53 switch (res) { in atomicio() 66 pos += (size_t)res; in atomicio()
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 791 dump_hosts(ns_ldap_result_t *res) in dump_hosts() argument 800 if (res == NULL || res->entry == NULL) in dump_hosts() 1013 dump_rpc(ns_ldap_result_t *res) in dump_rpc() argument 1019 if (res == NULL || res->entry == NULL) in dump_rpc() 1229 if (res == NULL || res->entry == NULL) in dump_protocols() 1451 if (res == NULL || res->entry == NULL) in dump_networks() 1697 if (res == NULL || res->entry == NULL) in dump_services() 1911 dump_group(ns_ldap_result_t *res) in dump_group() argument 2432 if (res == NULL) in dump_publickey() 2909 if (res == NULL) in dump_automount() [all …]
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | ether_addr.c | 85 nss_status_t res; local 96 res = _nss_files_XY_all(be, argp, 0, argp->key.name, check_host); 103 return (res); 147 nss_status_t res; local 151 res = _nss_files_XY_all(be, argp, 0, NULL, check_ether); 154 return (res);
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_vnops.c | 4075 resp = &res; in nfs4setattr() 4592 if (res.status && (res.array_len < args.array_len)) { in nfs4_readlink() 4885 resp = &res; in nfs4_inactive_otw() 7058 resp = &res; in call_nfs4_create_req() 7422 resp = &res; in nfs4_remove() 7598 resp = &res; in nfs4_link() 8256 if (res.status != NFS4_OK && res.array_len <= 4) { in nfs4rename_persistent_fh() 8521 resp = &res; in nfs4rename_volatile_fh() 8526 if ((res.status != NFS4_OK) && (res.array_len <= 6)) { in nfs4rename_volatile_fh() 8794 if (res.status != NFS4_OK && res.array_len <= 2) { in nfs4_rmdir() [all …]
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_mii.h | 229 uint16_t res:11; member 241 uint16_t res:11; 254 uint16_t res:1; member 264 uint16_t res:1; 307 uint16_t res:8; member 309 uint16_t res:8; 333 uint16_t res:2; member 337 uint16_t res:2; 359 uint16_t res:12; member 361 uint16_t res:12;
|
/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/ |
H A D | lock-order.c | 108 const lock_order_info_t *res = &lock_results[i]; in lock_verify_write_before_read() local 120 if (exp_level != res->loi_lock->nil_level) { in lock_verify_write_before_read() 124 "(%s)", test->lot_desc, i, res->loi_thread, in lock_verify_write_before_read() 125 res->loi_lock->nil_ent, res->loi_lock->nil_level, in lock_verify_write_before_read() 167 const lock_order_info_t *res = &lock_results[i]; in lock_verify_ctrl_before_ns() local 179 if (exp_ent != res->loi_lock->nil_ent) { in lock_verify_ctrl_before_ns() 183 "(%s)", test->lot_desc, i, res->loi_thread, in lock_verify_ctrl_before_ns() 184 res->loi_lock->nil_ent, res->loi_lock->nil_level, in lock_verify_ctrl_before_ns()
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | test3.c | 581 int res; in btree_move_to() local 595 if( res<0 ) res = -1; in btree_move_to() 596 if( res>0 ) res = 1; in btree_move_to() 597 sprintf(zBuf,"%d",res); in btree_move_to() 675 int res = 0; in btree_next() local 689 sprintf(zBuf,"%d",res); in btree_next() 709 int res = 0; in btree_prev() local 723 sprintf(zBuf,"%d",res); in btree_prev() 742 int res = 0; in btree_first() local 756 sprintf(zBuf,"%d",res); in btree_first() [all …]
|