/illumos-gate/usr/src/uts/common/syscall/ |
H A D | stat.c | 47 #include <sys/stat.h> 131 static int cstatat(int, char *, struct stat *, int, int); 132 static int cstat(vnode_t *vp, struct stat *, int, cred_t *); 154 fstat(int fd, struct stat *sb) 160 fstatat(int fd, char *name, struct stat *sb, int flags) 177 stat(char *name, struct stat *sb) function 183 lstat(char *name, struct stat *sb) 189 * Common code for stat(), lstat(), and fstat(). 194 cstat(vnode_t *vp, struct stat *ub [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnbu.c | 296 xnbu_m_stat(void *arg, uint_t stat, uint64_t *val) argument 308 switch (stat) {
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_hw.c | 229 peu_intr_stat_t stat; local 234 HXGE_REG_RD32(handle, PEU_INTR_STAT, &stat.value); 243 if (stat.bits.spc_acc_err) { 249 if (stat.bits.tdc_pioacc_err) { 255 if (stat.bits.rdc_pioacc_err) { 261 if (stat.bits.pfc_pioacc_err) { 267 if (stat.bits.vmac_pioacc_err) { 273 if (stat.bits.cpl_hdrq_parerr) { 279 if (stat.bits.cpl_dataq_parerr) { 285 if (stat [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdrrdma_sizeof.c | 231 bool_t stat; local 237 stat = func(&x, data); 248 return (stat == TRUE ? (unsigned int)x.x_handy: 0); 256 bool_t stat; local 262 stat = AUTH_MARSHALL(auth, &x, cred); 269 return (stat == TRUE ? (unsigned int)x.x_handy: 0);
|
/illumos-gate/usr/src/cmd/lp/lib/printers/ |
H A D | putprinter.c | 36 #include "sys/stat.h" 103 struct stat statbuf1, 555 struct stat statbuf; 737 int stat = 0; local 781 while (wait(&stat) != childPID); 783 if ((stat & 0xff00) == 0)
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_debug.c | 239 uint32_t stat; /* status from e1000_read_phy_reg */ local 245 stat = e1000_read_phy_reg(hw, offset[i], &value); 246 if (stat == 0) { 253 offset[i], stat);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | flock.h | 157 } stat; member in struct:filock
|
/illumos-gate/usr/src/lib/nsswitch/ad/common/ |
H A D | ad_common.c | 38 #include <sys/stat.h> 226 int stat; local 242 stat = (*argp->str2ent)(be->buffer, be->buflen, 245 if (stat == NSS_STR_PARSE_SUCCESS) { 249 return ((nss_status_t)stat); 254 nss_status_t stat) 263 if (stat == NSS_STR_PARSE_SUCCESS) { 265 } else if (stat == NSS_STR_PARSE_PARSE) { 268 } else if (stat == NSS_STR_PARSE_ERANGE) { 427 nss_status_t stat; local 253 _nss_ad_sanitize_status(ad_backend_ptr be, nss_XbyY_args_t *argp, nss_status_t stat) argument [all...] |
H A D | getpwnam.c | 303 nss_status_t stat; local 346 stat = _nss_ad_lookup(be, argp, _PASSWD, searchfilter, 351 return (stat); 375 stat = _nss_ad_marshall_data(be, argp); 376 return (_nss_ad_sanitize_status(be, argp, stat)); 401 nss_status_t stat; local 405 stat = (nss_status_t)NSS_NOTFOUND; 437 stat = _nss_ad_lookup(be, argp, _PASSWD, searchfilter, 462 stat = _nss_ad_marshall_data(be, argp); 463 stat [all...] |
/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/ |
H A D | spoof-ras.c | 415 spoof_dtrace_wait(pid_t dtrace, int *stat) argument 422 while ((retpid = waitpid(dtrace, stat, WNOHANG)) == -1) { 534 int cas, stat; local 564 if (spoof_dtrace_wait(dtrace, &stat) != 0) { 576 if (spoof_dtrace_wait(dtrace, &stat) != 0 && WIFEXITED(stat) && 577 WEXITSTATUS(stat) == 10) {
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_stats.c | 83 * registers that make up a 48-bit stat. The hardware guarantees that the reads 698 i40e_m_stat(void *arg, uint_t stat, uint64_t *val) argument 737 switch (stat) { 1108 i40e_rx_ring_stat(mac_ring_driver_t rh, uint_t stat, uint64_t *val) argument 1117 switch (stat) { 1133 i40e_tx_ring_stat(mac_ring_driver_t rh, uint_t stat, uint64_t *val) argument 1142 switch (stat) {
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_phy.c | 406 __inout_ecount(EFX_PHY_NSTATS) uint32_t *stat) 414 return (epop->epo_stats_update(enp, esmp, stat)); 403 efx_phy_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_PHY_NSTATS) uint32_t *stat) argument
|
H A D | mcdi_mon.c | 51 #define STAT(portmask, stat) \ 52 { (MCDI_MON_PORT_##portmask), (EFX_MON_STAT_##stat) } 170 __inout_ecount_opt(EFX_MON_NSTATS) efx_mon_stat_value_t *stat) 233 if (stat != NULL && esmp != NULL && !EFSYS_MEM_IS_NULL(esmp)) { 239 /* Update EFX monitor stat from MCDI sensor reading */ 240 stat[id].emsv_value = (uint16_t)EFX_DWORD_FIELD(dword, 243 stat[id].emsv_state = (uint16_t)EFX_DWORD_FIELD(dword, 164 mcdi_mon_decode_stats( __in efx_nic_t *enp, __in_ecount(sensor_mask_size) uint32_t *sensor_mask, __in size_t sensor_mask_size, __in_opt efsys_mem_t *esmp, __out_ecount_opt(sensor_mask_size) uint32_t *stat_maskp, __inout_ecount_opt(EFX_MON_NSTATS) efx_mon_stat_value_t *stat) argument
|
H A D | siena_phy.c | 465 __inout_ecount_opt(EFX_PHY_NSTATS) uint32_t *stat) 471 SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, OUI); 472 SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PMA_PMD_LINK_UP); 473 SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PMA_PMD_RX_FAULT); 474 SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PMA_PMD_TX_FAULT); 481 if (stat != NULL && esmp != NULL && !EFSYS_MEM_IS_NULL(esmp)) { 487 stat[EFX_PHY_STAT_PMA_PMD_SIGNAL_A] = (sig >> 1) & 1; 488 stat[EFX_PHY_STAT_PMA_PMD_SIGNAL_B] = (sig >> 2) & 1; 489 stat[EFX_PHY_STAT_PMA_PMD_SIGNAL_C] = (sig >> 3) & 1; 490 stat[EFX_PHY_STAT_PMA_PMD_SIGNAL_ 460 siena_phy_decode_stats( __in efx_nic_t *enp, __in uint32_t vmask, __in_opt efsys_mem_t *esmp, __out_opt uint64_t *smaskp, __inout_ecount_opt(EFX_PHY_NSTATS) uint32_t *stat) argument 546 siena_phy_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_PHY_NSTATS) uint32_t *stat) argument [all...] |
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getexecattr.c | 490 int stat, nss_stat = NSS_SUCCESS; local 494 stat = (*be->ldapobj2str)(be, argp); 496 if (stat == NSS_STR_PARSE_SUCCESS) { 499 stat = (*argp->str2ent)(be->buffer, 504 if (stat == NSS_STR_PARSE_SUCCESS) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | crypto.c | 108 int i, j, stat; local 120 stat = cbc_crypt(keys[j].c, buf, len, m | flags, ivec); 124 if (DES_FAILED(stat)) 125 return (stat); 138 stat = cbc_crypt(keys[0].c, buf, len, mode, ivec); 144 return (stat); 154 int stat = DESERR_BADPARAM; local 173 stat = __desN_crypt(keys->dh_key_set_val, keys->dh_key_set_len, 176 if (DES_FAILED(stat)) 188 int stat local 301 OM_uint32 stat = DH_VERIFIER_FAILURE; local 361 OM_uint32 stat = DH_VERIFIER_FAILURE; local 398 OM_uint32 stat = DH_VERIFIER_FAILURE; local [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_bcast.c | 106 enum clnt_stat stat = RPC_SUCCESS; /* Return status */ local 185 stat = RPC_CANTSEND; 191 stat = RPC_CANTSEND; 198 stat = RPC_NOBROADCAST; 207 stat = RPC_SYSTEMERROR; 221 stat = RPC_SYSTEMERROR; /* XXX */ 234 stat = RPC_SYSTEMERROR; 245 if (stat == RPC_SUCCESS) 246 stat = RPC_UNKNOWNPROTO; 250 if (stat [all...] |
H A D | clnt_dg.c | 59 #include <sys/stat.h> 698 bool_t stat; local 702 stat = (*xdr_res)(xdrs, res_ptr); 704 return (stat);
|
H A D | svc_run.c | 958 enum xprt_stat stat; local 970 (stat = SVC_STAT(xprt)) != XPRT_IDLE) { 971 if (stat == XPRT_MOREREQS) {
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nftw.c | 55 * FTW_NS on any stat failure, not just 57 * FTW_HOPTION Use stat the first time the walk 65 * is a pointer to the stat buffer and the third is an integer 78 * appropriate permission. The stat buffer passed to fn 101 #include <sys/stat.h> 117 #define stat stat64 macro 152 int (*statf)(const char *, struct stat *, struct Save *, int flags); 153 int (*savedstatf)(const char *, struct stat *, struct Save *, 159 static int cdlstat(const char *, struct stat *, struct Save *, int flags); 160 static int cdstat(const char *, struct stat *, struc [all...] |
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | cp.c | 169 int (*stat)(const char*, struct stat*); /* stat */ member in struct:State_s 191 preserve(State_t* state, const char* path, struct stat* ns, struct stat* os) 235 struct stat st; 291 stat(state->path, &st); 315 if (stat(state->path, &st)) 316 error(ERROR_SYSTEM|2, "%s: cannot stat", state->path); 353 if (!(*state->stat)(stat [all...] |
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/ |
H A D | yppasswdd.c | 44 #include <sys/stat.h> 145 int i, tli4, tli6, stat; local 337 stat = parseConfig(NULL, NTOL_MAP_FILE); 338 if (stat == 1) { 341 } else if (stat != 0) {
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
H A D | fcal_leds.c | 175 led_state_t stat; local 202 stat = dtls->led_state[led][disk]; 208 if (state_lookup[r].led_state == stat) {
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | swap_rcm.c | 43 #include <sys/stat.h> 341 int stat; local 356 if ((stat = rcm_exec_cmd(cmd)) != 0) { 357 log_cmd_status(stat); 383 if ((stat = rcm_exec_cmd(cmd)) != 0) { 384 log_cmd_status(stat); 412 int stat; local 424 if ((stat = rcm_exec_cmd(cmd)) != 0) { 425 log_cmd_status(stat); 811 log_cmd_status(int stat) argument [all...] |
/illumos-gate/usr/src/cmd/rexd/ |
H A D | on.c | 51 #include <sys/stat.h> 102 void Die(int stat); 648 Die(int stat) argument 655 exit(stat); 673 struct stat astat, bstat;
|