/titanic_44/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_44/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_44/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_44/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_44/usr/src/lib/libnisdb/ |
H A D | ldap_op.c | 184 int numLocDN, stat = 0, count = 0; in createLdapRequest() local 217 mit_ldap, mit_nisplus, rv, !fromLDAP, &stat); in createLdapRequest() 220 if (stat == NP_LDAP_RULES_NO_VALUE) in createLdapRequest() 222 stat = 0; in createLdapRequest() 443 int stat; in exclusiveLC() local 448 stat = mutex_trylock(&lc->mutex); in exclusiveLC() 449 if (stat == EBUSY && lc->owner != me) in exclusiveLC() 459 int stat; in assertExclusive() local 464 stat = mutex_trylock(&lc->mutex); in assertExclusive() 466 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 | 100 int stat; in entriesFromLDAP() local 130 stat = pthread_kill(table->mapping.enumTid, 0); in entriesFromLDAP() 131 if (stat == ESRCH) { in entriesFromLDAP() 151 } else if (stat == 0) { in entriesFromLDAP() 156 stat = LDAP_SUCCESS; in entriesFromLDAP() 161 myself, stat, table->mapping.enumTid, in entriesFromLDAP() 164 stat = LDAP_OPERATIONS_ERROR; in entriesFromLDAP() 172 return (stat); in entriesFromLDAP() 211 stat = pthread_create(&tid, &attr, entriesFromLDAPthread, arg); in entriesFromLDAP() 212 if (stat != 0) { in entriesFromLDAP() [all …]
|
/titanic_44/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 …]
|
H A D | nlm_service.c | 343 resp->stat.stat = nlm4_denied_nolocks; in nlm_do_test() 349 resp->stat.stat = nlm4_denied_nolocks; in nlm_do_test() 356 resp->stat.stat = nlm4_stale_fh; in nlm_do_test() 361 resp->stat.stat = nlm4_denied_grace_period; in nlm_do_test() 369 resp->stat.stat = nlm4_failed; in nlm_do_test() 378 resp->stat.stat = nlm4_failed; in nlm_do_test() 383 resp->stat.stat = nlm4_granted; in nlm_do_test() 386 resp->stat.stat = nlm4_denied; in nlm_do_test() 418 lh = &resp->stat.nlm4_testrply_u.holder; in nlm_do_test() 619 resp->stat.stat = status; in nlm_do_lock() [all …]
|
/titanic_44/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_44/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_44/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_44/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_44/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_44/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_44/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_44/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_44/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 …]
|
/titanic_44/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_fget.c | 159 R_ADDR(dbmfp, *pgnoaddr * mfp->stat.st_pagesize); 160 ++mp->stat.st_map; 161 ++mfp->stat.st_map; 236 ++mp->stat.st_cache_hit; 237 ++mfp->stat.st_cache_hit; 244 sizeof(u_int8_t) + mfp->stat.st_pagesize, NULL, &bhp)) != 0) 284 memset(bhp->buf, 0, mfp->stat.st_pagesize); 289 mfp->stat.st_pagesize - mfp->clear_len); 293 ++mp->stat.st_page_create; 294 ++mfp->stat.st_page_create; [all …]
|
/titanic_44/usr/src/cmd/krb5/kadmin/kdcmgr/ |
H A D | klookup.c | 58 struct __res_state stat; in main() local 100 (void) memset(&stat, 0, sizeof (stat)); in main() 102 if (res_ninit(&stat) == -1) in main() 106 len = res_nsearch(&stat, name, C_IN, rr_type, answer, anslen); in main() 109 res_ndestroy(&stat); in main() 123 res_ndestroy(&stat); in main() 130 res_ndestroy(&stat); in main() 137 res_ndestroy(&stat); in main() 154 res_ndestroy(&stat); in main() 163 res_ndestroy(&stat); in main() [all …]
|
/titanic_44/usr/src/test/libc-tests/tests/ |
H A D | quick_exit.ksh | 43 typeset stat=$1 44 $qe_status32 $stat 45 if [[ $? -ne $stat ]]; then 46 fatal "Test failed: Expected $qestatus32 to exit $stat " \ 50 $qe_status64 $stat 51 if [[ $? -ne $stat ]]; then 52 fatal "Test failed: Expected $qestatus64 to exit $stat " \
|
/titanic_44/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | stat.c | 34 int stat(path, buf) in stat() function 36 struct stat *buf; 43 struct stat *buf; 49 if ((buf == (struct stat*)0) || (buf == (struct stat*)-1)) { 59 struct stat *buf; 66 struct stat *buf;
|