/titanic_50/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_idmap.c | 53 smb_idmap_check(const char *s, idmap_stat stat) in smb_idmap_check() argument 55 if (stat != IDMAP_SUCCESS) { in smb_idmap_check() 59 syslog(LOG_ERR, "%s: %s", s, idmap_stat2string(stat)); in smb_idmap_check() 73 idmap_stat stat; in smb_idmap_getsid() local 75 stat = smb_idmap_batch_create(&sib, 1, SMB_IDMAP_ID2SID); in smb_idmap_getsid() 76 if (stat != IDMAP_SUCCESS) in smb_idmap_getsid() 77 return (stat); in smb_idmap_getsid() 79 stat = smb_idmap_batch_getsid(sib.sib_idmaph, &sib.sib_maps[0], in smb_idmap_getsid() 82 if (stat != IDMAP_SUCCESS) { in smb_idmap_getsid() 84 return (stat); in smb_idmap_getsid() [all …]
|
/titanic_50/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_idmap.c | 56 smb_idmap_check(const char *s, idmap_stat stat) in smb_idmap_check() argument 58 if (stat != IDMAP_SUCCESS) { in smb_idmap_check() 62 cmn_err(CE_NOTE, "%s: %d", s, (int)stat); in smb_idmap_check() 76 idmap_stat stat; in smb_idmap_getsid() local 78 stat = smb_idmap_batch_create(&sib, 1, SMB_IDMAP_ID2SID); in smb_idmap_getsid() 79 if (stat != IDMAP_SUCCESS) in smb_idmap_getsid() 80 return (stat); in smb_idmap_getsid() 82 stat = smb_idmap_batch_getsid(sib.sib_idmaph, &sib.sib_maps[0], in smb_idmap_getsid() 85 if (stat != IDMAP_SUCCESS) { in smb_idmap_getsid() 87 return (stat); in smb_idmap_getsid() [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | wait.h | 77 #define WLOBYTE(stat) ((int)((stat)&0377)) argument 78 #define WHIBYTE(stat) ((int)(((stat)>>8)&0377)) argument 79 #define WWORD(stat) ((int)((stat))&0177777) argument 81 #define WIFCONTINUED(stat) (WWORD(stat) == WCONTFLG) argument 82 #define WCOREDUMP(stat) ((stat)&WCOREFLG) argument 86 #define WIFEXITED(stat) ((int)((stat)&0xFF) == 0) argument 87 #define WIFSIGNALED(stat) ((int)((stat)&0xFF) > 0 && \ argument 88 (int)((stat)&0xFF00) == 0) 89 #define WIFSTOPPED(stat) ((int)((stat)&0xFF) == 0177 && \ argument 90 (int)((stat)&0xFF00) != 0) [all …]
|
/titanic_50/usr/src/ucbhead/sys/ |
H A D | wait.h | 133 #define WLOBYTE(stat) ((int)((stat)&0377)) argument 134 #define WHIBYTE(stat) ((int)(((stat)>>8)&0377)) argument 135 #define WWORD(stat) ((int)((stat))&0177777) argument 137 #define WIFEXITED(stat) (WLOBYTE(stat) == 0) argument 138 #define WIFSIGNALED(stat) (WLOBYTE(stat) > 0 && WHIBYTE(stat) == 0) argument 139 #define WIFSTOPPED(stat) (WLOBYTE(stat) == WSTOPFLG&&WHIBYTE(stat) != 0) argument 140 #define WIFCONTINUED(stat) (WWORD(stat) == WCONTFLG) argument 142 #define WEXITSTATUS(stat) WHIBYTE(stat) argument 143 #define WTERMSIG(stat) (WLOBYTE(stat)&WSIGMASK) argument 144 #define WSTOPSIG(stat) WHIBYTE(stat) argument [all …]
|
/titanic_50/usr/src/lib/libnisdb/ |
H A D | ldap_op.c | 185 int numLocDN, stat = 0, count = 0; in createLdapRequest() local 218 mit_ldap, mit_nisplus, rv, !fromLDAP, &stat); in createLdapRequest() 221 if (stat == NP_LDAP_RULES_NO_VALUE) in createLdapRequest() 223 stat = 0; in createLdapRequest() 444 int stat; in exclusiveLC() local 449 stat = mutex_trylock(&lc->mutex); in exclusiveLC() 450 if (stat == EBUSY && lc->owner != me) in exclusiveLC() 460 int stat; in assertExclusive() local 465 stat = mutex_trylock(&lc->mutex); in assertExclusive() 467 if (stat == 0) { in assertExclusive() [all …]
|
H A D | db_mindex2.cc | 164 db_status stat; in updateMappingObj() local 166 nis_object *o = dbFindObject(objName, &stat); in updateMappingObj() 170 if (stat != DB_NOTFOUND) { in updateMappingObj() 173 myself, stat, NIL(objName)); in updateMappingObj() 253 int stat = LDAP_SUCCESS; in selectMapping() local 364 stat = LDAP_PARAM_ERROR; in selectMapping() 369 stat = LDAP_PARAM_ERROR; in selectMapping() 381 stat = LDAP_OPERATIONS_ERROR; in selectMapping() 426 *statP = stat; in selectMapping() 450 int stat, freeObj = 0; in updateTableEntry() local [all …]
|
H A D | db_mindex3.cc | 103 int stat; in entriesFromLDAP() local 133 stat = pthread_kill(table->mapping.enumTid, 0); in entriesFromLDAP() 134 if (stat == ESRCH) { in entriesFromLDAP() 154 } else if (stat == 0) { in entriesFromLDAP() 159 stat = LDAP_SUCCESS; in entriesFromLDAP() 164 myself, stat, table->mapping.enumTid, in entriesFromLDAP() 167 stat = LDAP_OPERATIONS_ERROR; in entriesFromLDAP() 175 return (stat); in entriesFromLDAP() 214 stat = pthread_create(&tid, &attr, entriesFromLDAPthread, arg); in entriesFromLDAP() 215 if (stat != 0) { in entriesFromLDAP() [all …]
|
/titanic_50/usr/src/uts/common/klm/ |
H A D | nlm_rpc_clnt.c | 86 dst->stat.stat = (enum nlm4_stats) src->stat.stat; in nlm_convert_to_nlm4_res() 98 enum clnt_stat stat; in nlm_test_rpc() local 105 stat = nlm_test_1(&args1, &res1, client); in nlm_test_rpc() 107 if (stat == RPC_SUCCESS) { in nlm_test_rpc() 109 res->stat.stat = (enum nlm4_stats) res1.stat.stat; in nlm_test_rpc() 110 if (res1.stat.stat == nlm_denied) in nlm_test_rpc() 112 &res->stat.nlm4_testrply_u.holder, in nlm_test_rpc() 113 &res1.stat.nlm_testrply_u.holder); in nlm_test_rpc() 116 return (stat); in nlm_test_rpc() 129 enum clnt_stat stat; in nlm_lock_rpc() local [all …]
|
/titanic_50/usr/src/lib/iconv_modules/ja/common/ |
H A D | jis_TO_eucJP.c | 67 int stat = ST_INIT; in _icv_iconv() local 95 if (stat == ST_INIT) { in _icv_iconv() 102 if ((stat == ST_INCS1) || (stat == ST_INCS3)) { in _icv_iconv() 103 stat = ST_INIT; in _icv_iconv() 106 } else if (stat == ST_ESC) { in _icv_iconv() 109 stat = ST_MBTOG0_1; in _icv_iconv() 120 stat = ST_SBTOG0; in _icv_iconv() 131 stat = ST_208REV_1; in _icv_iconv() 147 } else if (stat == ST_MBTOG0_1) { in _icv_iconv() 149 stat = ST_INIT; in _icv_iconv() [all …]
|
H A D | ISO-2022-JP_TO_UTF-8.c | 74 int cset, stat, ret_val; in _icv_iconv() local 92 stat = ST_INIT; in _icv_iconv() 105 if (stat == ST_ESC) { in _icv_iconv() 108 stat = ST_MBTOG0_1; in _icv_iconv() 119 stat = ST_SBTOG0; in _icv_iconv() 130 stat = ST_208REV_1; in _icv_iconv() 146 } else if (stat == ST_MBTOG0_1) { in _icv_iconv() 148 stat = ST_INIT; in _icv_iconv() 153 stat = ST_MBTOG0_2; in _icv_iconv() 164 stat = ST_INIT; in _icv_iconv() [all …]
|
H A D | ISO-2022-JP_TO_eucJP.c | 67 int stat = ST_INIT; in _icv_iconv() local 98 if (stat == ST_INIT) { in _icv_iconv() 102 if (stat == ST_ESC) { in _icv_iconv() 105 stat = ST_MBTOG0_1; in _icv_iconv() 116 stat = ST_SBTOG0; in _icv_iconv() 127 stat = ST_208REV_1; in _icv_iconv() 143 } else if (stat == ST_MBTOG0_1) { in _icv_iconv() 145 stat = ST_INIT; in _icv_iconv() 150 stat = ST_MBTOG0_2; in _icv_iconv() 161 stat = ST_INIT; in _icv_iconv() [all …]
|
H A D | jis_TO_PCK.c | 68 int stat = ST_INIT; in _icv_iconv() local 96 if (stat == ST_INIT) { in _icv_iconv() 99 if (stat == ST_ESC) { in _icv_iconv() 102 stat = ST_MBTOG0_1; in _icv_iconv() 113 stat = ST_SBTOG0; in _icv_iconv() 124 stat = ST_208REV_1; in _icv_iconv() 140 } else if (stat == ST_MBTOG0_1) { in _icv_iconv() 142 stat = ST_INIT; in _icv_iconv() 147 stat = ST_MBTOG0_2; in _icv_iconv() 158 stat = ST_INIT; in _icv_iconv() [all …]
|
H A D | ISO-2022-JP_TO_PCK.c | 67 int stat = ST_INIT; in _icv_iconv() local 98 if (stat == ST_INIT) { in _icv_iconv() 104 if (stat == ST_ESC) { in _icv_iconv() 107 stat = ST_MBTOG0_1; in _icv_iconv() 118 stat = ST_SBTOG0; in _icv_iconv() 129 stat = ST_208REV_1; in _icv_iconv() 145 } else if (stat == ST_MBTOG0_1) { in _icv_iconv() 147 stat = ST_INIT; in _icv_iconv() 152 stat = ST_MBTOG0_2; in _icv_iconv() 163 stat = ST_INIT; in _icv_iconv() [all …]
|
/titanic_50/usr/src/cmd/make/bin/ |
H A D | files.cc | 63 extern void set_target_stat(register Name target, struct stat buf); 88 struct stat buf; in exists() 92 if (target->stat.time != file_no_time) { in exists() 93 return target->stat.time; in exists() 118 target->stat.is_sym_link = true; in exists() 121 target->stat.is_sym_link = false; in exists() 125 target->stat.time = file_doesnt_exist; in exists() 126 target->stat.stat_errno = errno; in exists() 140 target->stat.stat_errno = 0; in exists() 141 target->stat.is_file = true; in exists() [all …]
|
/titanic_50/usr/src/uts/common/rpc/sec/ |
H A D | key_call.c | 100 enum clnt_stat stat; in key_encryptsession() local 108 if ((stat = key_call(KEY_ENCRYPT, xdr_cryptkeyarg, (char *)&arg, in key_encryptsession() 112 RPCLOG(1, "rpc status %d ", stat); in key_encryptsession() 113 RPCLOG(1, "(%s)\n", clnt_sperrno(stat)); in key_encryptsession() 114 return (stat); in key_encryptsession() 132 enum clnt_stat stat; in key_decryptsession() local 140 if ((stat = key_call(KEY_DECRYPT, xdr_cryptkeyarg, (char *)&arg, in key_decryptsession() 143 RPCLOG(1, "rpc status %d ", stat); in key_decryptsession() 144 RPCLOG(1, "(%s)\n", clnt_sperrno(stat)); in key_decryptsession() 145 return (stat); in key_decryptsession() [all …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | token.c | 124 OM_uint32 stat; in __make_ap_token() local 127 if ((stat = __alloc_sig(get_qop(token), in __make_ap_token() 130 return (stat); in __make_ap_token() 193 if ((stat = __xdr_encode_token(&xdrs, NULL, token, keys)) in __make_ap_token() 202 return (stat); in __make_ap_token() 220 OM_uint32 stat; in __make_token() local 223 if ((stat = __alloc_sig(get_qop(token), in __make_token() 226 return (stat); in __make_token() 246 if ((stat = __xdr_encode_token(&xdrs, msg, token, keys)) in __make_token() 254 return (stat); in __make_token() [all …]
|
H A D | crypto.c | 108 int i, j, stat; in __desN_crypt() local 120 stat = cbc_crypt(keys[j].c, buf, len, m | flags, ivec); in __desN_crypt() 124 if (DES_FAILED(stat)) in __desN_crypt() 125 return (stat); in __desN_crypt() 138 stat = cbc_crypt(keys[0].c, buf, len, mode, ivec); in __desN_crypt() 144 return (stat); in __desN_crypt() 154 int stat = DESERR_BADPARAM; in __dh_desN_crypt() local 173 stat = __desN_crypt(keys->dh_key_set_val, keys->dh_key_set_len, in __dh_desN_crypt() 176 if (DES_FAILED(stat)) in __dh_desN_crypt() 188 int stat = DESERR_BADPARAM; in __dh_des_crypt() local [all …]
|
/titanic_50/usr/src/lib/libast/common/features/ |
H A D | fs | 2 …t,__fxstat,_lxstat,__lxstat,_xmknod,__xmknod,_xstat,__xstat,lstat,mknod,sync sys/types.h sys/stat.h 3 …t64,__fxstat64,_lxstat64,__lxstat64,_xstat64,__xstat64 -D_LARGEFILE64_SOURCE sys/types.h sys/stat.h 4 mac fstat,lstat,stat,mknod sys/types.h sys/stat.h 8 #include <sys/stat.h> 11 extern int stat(const char* path, struct stat* st) 13 int stat(path, st) 15 struct stat* st; 27 struct stat st; 28 return stat(".",&st) < 0; 34 #include <sys/stat.h> [all …]
|
/titanic_50/usr/src/lib/libbc/libc/sys/common/ |
H A D | wait.c | 247 int stat = (status & 0377); in wstat() local 251 stat <<= 8; in wstat() 254 stat = maptooldsig(stat); in wstat() 256 stat |= WCOREFLG; in wstat() 259 stat |= WCOREFLG; in wstat() 263 stat = maptooldsig(stat); in wstat() 264 stat <<= 8; in wstat() 265 stat |= _WSTOPPED; in wstat() 268 return (stat); in wstat() 274 int stat = old & 0xFF; in mapstatus() local [all …]
|
/titanic_50/usr/src/uts/intel/sys/ |
H A D | stat_impl.h | 45 extern int fstat(int, struct stat *); 46 extern int stat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); 50 extern int fstatat(int, const char *, struct stat *, int); 54 extern int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); 61 extern int stat(); 84 extern int _fxstat(const int, int, struct stat *); 85 extern int _xstat(const int, const char *, struct stat *); 86 extern int _lxstat(const int, const char *, struct stat *);
|
/titanic_50/usr/src/uts/common/io/atge/ |
H A D | atge_l1e.c | 697 atge_l1e_smb_t *stat; in atge_l1e_gather_stats() local 705 stat = (atge_l1e_smb_t *)atgep->atge_hw_stats; in atge_l1e_gather_stats() 731 stat->rx_frames += smb->rx_frames; in atge_l1e_gather_stats() 732 stat->rx_bcast_frames += smb->rx_bcast_frames; in atge_l1e_gather_stats() 733 stat->rx_mcast_frames += smb->rx_mcast_frames; in atge_l1e_gather_stats() 734 stat->rx_pause_frames += smb->rx_pause_frames; in atge_l1e_gather_stats() 735 stat->rx_control_frames += smb->rx_control_frames; in atge_l1e_gather_stats() 736 stat->rx_crcerrs += smb->rx_crcerrs; in atge_l1e_gather_stats() 737 stat->rx_lenerrs += smb->rx_lenerrs; in atge_l1e_gather_stats() 738 stat->rx_bytes += smb->rx_bytes; in atge_l1e_gather_stats() [all …]
|
H A D | atge_l1.c | 454 atge_l1_smb_t *stat; in atge_l1_gather_stats() local 462 stat = (atge_l1_smb_t *)atgep->atge_hw_stats; in atge_l1_gather_stats() 466 stat->rx_frames += smb->rx_frames; in atge_l1_gather_stats() 467 stat->rx_bcast_frames += smb->rx_bcast_frames; in atge_l1_gather_stats() 468 stat->rx_mcast_frames += smb->rx_mcast_frames; in atge_l1_gather_stats() 469 stat->rx_pause_frames += smb->rx_pause_frames; in atge_l1_gather_stats() 470 stat->rx_control_frames += smb->rx_control_frames; in atge_l1_gather_stats() 471 stat->rx_crcerrs += smb->rx_crcerrs; in atge_l1_gather_stats() 472 stat->rx_lenerrs += smb->rx_lenerrs; in atge_l1_gather_stats() 473 stat->rx_bytes += smb->rx_bytes; in atge_l1_gather_stats() [all …]
|
H A D | atge_l1c.c | 561 atge_l1c_smb_t *stat; in atge_l1c_gather_stats() local 569 stat = (atge_l1c_smb_t *)atgep->atge_hw_stats; in atge_l1c_gather_stats() 573 stat->rx_frames += smb->rx_frames; in atge_l1c_gather_stats() 574 stat->rx_bcast_frames += smb->rx_bcast_frames; in atge_l1c_gather_stats() 575 stat->rx_mcast_frames += smb->rx_mcast_frames; in atge_l1c_gather_stats() 576 stat->rx_pause_frames += smb->rx_pause_frames; in atge_l1c_gather_stats() 577 stat->rx_control_frames += smb->rx_control_frames; in atge_l1c_gather_stats() 578 stat->rx_crcerrs += smb->rx_crcerrs; in atge_l1c_gather_stats() 579 stat->rx_lenerrs += smb->rx_lenerrs; in atge_l1c_gather_stats() 580 stat->rx_bytes += smb->rx_bytes; in atge_l1c_gather_stats() [all …]
|
/titanic_50/usr/src/test/libc-tests/cfg/symbols/ |
H A D | sys_stat_h.cfg | 17 # Definitions found in sys/stat.h 23 type | mode_t | sys/stat.h | ALL 24 type | struct stat | sys/stat.h | ALL 29 value | S_IFMT | mode_t | sys/stat.h | ALL 30 value | S_IFBLK | mode_t | sys/stat.h | ALL 38 sys/stat.h | POSIX+ XPG3+ 43 sys/stat.h | -POSIX+ -XPG3+ POSIX-1993+ SUS+ 47 int; struct stat * |\ 48 sys/stat.h | XPG3+ POSIX+ 53 sys/stat.h | XPG3+ POSIX+ [all …]
|
/titanic_50/usr/src/grub/grub-0.97/ |
H A D | depcomp | 95 stat=$? 96 if test $stat -eq 0; then : 99 exit $stat 118 stat=$? 119 if test $stat -eq 0; then : 122 exit $stat 160 stat=$? 161 if test $stat -eq 0; then : 164 exit $stat 211 stat=$? [all …]
|