Searched defs:stat (Results 226 - 250 of 394) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc_com.c47 #include <sys/stat.h>
712 int stat; local
946 stat = netdir_options(nconf, ND_MERGEADDR, 0, (char *)&ma);
949 if (stat)
/illumos-gate/usr/src/cmd/auditd/
H A Ddoorway.c62 #include <sys/stat.h>
283 struct stat64 stat; local
291 if ((fstat64(fd, &stat) == -1) || (!S_ISREG(stat.st_mode)))
299 gettext("auditd plugin: stat(%s) failed: %s\n"),
308 if (stat.st_uid != (uid_t)0) {
322 if (stat.st_mode&S_IWGRP) {
332 if (stat.st_mode&S_IWOTH) {
/illumos-gate/usr/src/cmd/awk/
H A Drun.c1677 int i, stat; local
1689 stat = pclose(files[i].fp);
1691 stat = fclose(files[i].fp);
1692 if (stat == EOF) {
1709 int i, stat; local
1718 stat = pclose(files[i].fp);
1720 stat = fclose(files[i].fp);
1721 if (stat == EOF) {
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c739 struct sm_status stat; local
748 (void) memset(&stat, 0, sizeof (stat));
749 stat.mon_name = mon_name;
750 stat.state = state;
752 stat.priv[i] = monp->priv[i];
756 stat.mon_name, stat.state);
768 (char *)&stat, xdr_void, NULL, tottimeout);
/illumos-gate/usr/src/cmd/sh/
H A Djobs.c196 int stat; local
213 pid = waitpid(jp->j_pid, &stat, 0);
224 statjob(struct job *jp, int stat, int fg, int rc) argument
229 if (WIFCONTINUED(stat)) {
238 } else if (WIFSTOPPED(stat)) {
239 jp->j_xval = WSTOPSIG(stat);
262 if (WIFSIGNALED(stat)) {
263 jp->j_xval = WTERMSIG(stat);
265 if (WCOREDUMP(stat))
272 jp->j_xval = WEXITSTATUS(stat);
313 int stat, n; local
363 int stat; local
884 int stat; local
[all...]
/illumos-gate/usr/src/cmd/latencytop/common/
H A Dstat.c31 #include <sys/stat.h>
38 lt_stat_collection_t *stat, void *user);
42 /* cause_id -> stat entry */
180 check_process(gpointer key, lt_stat_collection_t *stat, void *user) argument
184 (void) snprintf(name, PATH_MAX, "/proc/%u", stat->lt_sc_id);
193 check_thread(gpointer key, lt_stat_collection_t *stat, void *user) argument
197 g_assert(stat->lt_sc_parent != NULL);
198 g_assert(stat->lt_sc_parent->lt_sc_level == LT_LEVEL_PROCESS);
201 stat->lt_sc_parent->lt_sc_id, stat
209 free_stat(lt_stat_collection_t *stat) argument
240 clear_stat(gpointer key, lt_stat_collection_t *stat, void *user) argument
271 update_stat_entry(lt_stat_collection_t *stat, int cause_id, lt_stat_type_t type, uint64_t value, const char *string, int group_to_use) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c82 #include <sys/stat.h>
429 int stat; local
475 if (wait(&stat) > 0) {
476 if (WIFEXITED(stat))
477 _exit(WEXITSTATUS(stat));
478 else if (WIFSIGNALED(stat))
733 struct stat stb;
848 struct stat stb;
864 progerr(gettext("cannot stat "PKGLOG": %s"), strerror(errno));
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_dir.c56 #include <sys/stat.h>
1032 int stat; local
1054 stat = DNOENT;
1056 stat = dnlc_dir_lookup(dcap, namep, &handle);
1058 switch (stat) {
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_state.c1320 nfsstat4 stat; local
1363 stat = NFS4ERR_DELAY;
1379 stat = NFS4ERR_IO;
1403 stat = NFS4ERR_DELAY;
1425 stat = NFS4ERR_IO;
1437 return (stat);
2173 "nfs4_resend_open_otw: error %d stat %d", ep->error, res.status));
2254 ep->stat);
2286 ep->error, ep->stat);
2317 if (ep->error || ep->stat) {
[all...]
H A Dnfs4_srv_deleg.c760 enum clnt_stat stat = RPC_FAILED; local
768 return (stat);
778 stat = clnt_call(ch, CB_COMPOUND, xdr_CB_COMPOUND4args_srv,
792 (stat == RPC_SUCCESS ? CB_NOCHANGE : CB_FAILED)) == TRUE)
795 return (stat);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.c618 invopen(INVCONTROL *invcntl, char *invname, char *invpost, int stat) argument
623 ((stat == 0) ? FREAD : FREADP))) == NULL) {
643 if (stat == 0 && invcntl->param.filestat == INVALONE) {
648 ((stat == 0) ? FREAD : FREADP))) == NULL) {
719 invcntl->param.filestat = stat;
720 if (stat > invcntl->param.filestat)
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/
H A Dlm_l5.c2562 struct fcoe_kwqe_stat *stat)
2576 memcpy(&ramrod_params->fcoe_stat.stat_kwqe, stat, sizeof(struct fcoe_kwqe_stat));
2560 lm_fc_post_stat_ramrod( struct _lm_device_t *pdev, struct fcoe_kwqe_stat *stat) argument
/illumos-gate/usr/src/uts/common/io/afe/
H A Dafe.c436 * we don't use a persistent stat. We do it this way to avoid having
2243 afe_m_stat(void *arg, uint_t stat, uint64_t *val) argument
2252 if (mii_m_getstat(afep->afe_mii, stat, val) == 0) {
2255 switch (stat) {
/illumos-gate/usr/src/uts/common/io/atge/
H A Datge_main.c57 #include <sys/stat.h>
1854 atge_m_stat(void *arg, uint_t stat, uint64_t *val) argument
1858 if (mii_m_getstat(atgep->atge_mii, stat, val) == 0) {
1862 switch (stat) {
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.c1595 atu_m_stat(void *arg, uint_t stat, uint64_t *val) argument
1602 switch (stat) {
1647 return (ieee80211_stat(ic, stat, val));
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_gld.c111 uint_t stat,
136 switch (stat)
462 /* XXX implement LP_ASYM_PAUSE stat */
466 /* XXX implement LP_PAUSE stat */
475 /* XXX implement LP_REMFAULT stat */
481 /* XXX implement ASMPAUSE stat */
485 /* XXX implement PAUSE stat */
1574 uint_t stat,
1580 switch (stat)
110 BnxeMacStats(void * pArg, uint_t stat, uint64_t * pVal) argument
1573 BnxeRingStat(mac_ring_driver_t ringHandle, uint_t stat, uint64_t * val) argument
/illumos-gate/usr/src/uts/common/os/
H A Dcallout.c1831 callout_stat_type_t stat; local
1847 for (stat = 0; stat < CALLOUT_NUM_STATS; stat++)
1848 kstat_named_init(&ct->ct_kstat_data[stat],
1849 callout_kstat_names[stat], KSTAT_DATA_INT64);
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr_rdma.c902 bool_t stat; local
919 stat = xdr_clist(xdrs, (struct clist *)loc);
925 return (stat);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_init.c3706 uint32_t timer, stat; local
3724 stat = RD32_IO_REG(ha, risc2host);
3725 if (stat & BIT_15) {
3726 if ((stat & 0xff) < 0x12) {
3768 stat = RD32_IO_REG(ha, risc2host);
3769 if (stat & BIT_15) {
3770 if ((stat & 0xff) < 0x12) {
/illumos-gate/usr/src/uts/common/io/
H A Di8042.c409 unsigned char stat; local
411 stat = ddi_get8(global->io_handle,
413 if (! (stat & I8042_STAT_OUTBF))
1007 unsigned char stat; local
1014 stat = ddi_get8(global->io_handle, global->io_addr + I8042_STAT);
1016 if (! (stat & I8042_STAT_OUTBF)) {
1024 which_port = (stat & I8042_STAT_AUXBF) ? AUX_PORT : MAIN_PORT;
1084 uint8_t stat; local
1092 stat = ddi_get8(global->io_handle,
1095 if ((stat
1144 uint8_t stat; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ioctl.c1670 uint32_t stat; local
1707 stat = hermon_flash_read(state, addr & ~3, &status);
1722 } while (data != ((stat >> ((3 - (addr & 3)) << 3)) & 0xFF));
1742 stat = hermon_flash_read(state, addr & ~3, &status);
1757 } while ((stat & HERMON_HW_FLASH_ICS_READY) == 0);
1759 if (stat & HERMON_HW_FLASH_ICS_ERROR) {
1818 uint32_t stat; local
1865 stat = hermon_flash_read(state, addr, &status);
1879 } while (stat != 0xFFFFFFFF);
1900 stat
1981 uint32_t stat; local
[all...]
/illumos-gate/usr/src/uts/common/io/iprb/
H A Diprb.c1333 iprb_m_stat(void *arg, uint_t stat, uint64_t *val) argument
1337 if (ip->miih && (mii_m_getstat(ip->miih, stat, val) == 0)) {
1347 switch (stat) {
/illumos-gate/usr/src/uts/common/io/pcn/
H A Dpcn.c1152 pcn_m_stat(void *arg, uint_t stat, uint64_t *val) argument
1156 if (mii_m_getstat(pcnp->pcn_mii, stat, val) == 0)
1159 switch (stat) {
/illumos-gate/usr/src/uts/common/io/rtls/
H A Drtls.c50 #include <sys/stat.h>
824 rtls_m_stat(void *arg, uint_t stat, uint64_t *val) argument
828 if (mii_m_getstat(rtlsp->mii, stat, val) == 0) {
832 switch (stat) {
/illumos-gate/usr/src/uts/common/io/rwd/
H A Drt2661_var.h60 int stat; member in struct:rt2661_tx_ring

Completed in 176 milliseconds

1234567891011>>