/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema.c | 269 "memory stat failed: %s", 462 ac_stat_t stat; local 490 mema_cmd_init(&cmd, &stat, outputstr, 0); 494 dump_ioctl_res(AC_MEM_STAT, &stat, ret, ret_errno); 508 *stp = stat; 512 bkp->board = stat.board; 591 ac_stat_t stat; local 600 ret = ap_stat(bank_spec, &fd, &bk, &stat, errstring); 605 if (stat.rstate != SYSC_CFGA_RSTATE_CONNECTED || 606 stat 667 ac_stat_t stat; local 768 ac_stat_t stat; local 1095 ac_stat_t stat; local 1387 ac_stat_t stat; local [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | cache.c | 37 #include <sys/stat.h> 899 * get stat 904 void **stat, 908 void (**free_stat)(void *stat), 951 *stat = statsp; 1305 struct stat buf; 1314 if (stat(ctx->file_name, &buf) == 0) { 903 _nscd_cfg_cache_get_stat( void **stat, struct nscd_cfg_stat_desc *sdesc, nscd_cfg_id_t *nswdb, nscd_cfg_flag_t *dflag, void (**free_stat)(void *stat), nscd_cfg_error_t **errorp) argument
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvd.c | 1784 uint8_t stat[2]; local 1838 if ((err = ioctl(fd, ADM1031_GET_STATUS_1, &stat[0])) != -1) 1839 err = ioctl(fd, ADM1031_GET_STATUS_2, &stat[1]); 1850 hwm_devs[hwm_id], stat[0], stat[1]); 1852 if (stat[0] & FANFAULT) { 1859 if (stat[1] & FANFAULT) { 1870 if ((stat[0] & STAT1MASK) || (stat[1] & STAT2MASK))
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 1395 uint8_t stat[2]; local 1424 if ((err = ioctl(fd, ADM1031_GET_STATUS_1, &stat[0])) != -1) 1425 err = ioctl(fd, ADM1031_GET_STATUS_2, &stat[1]); 1435 hwm_devs[hwm_id], stat[0], stat[1]); 1437 if (stat[0] & FANFAULT) 1441 if (stat[1] & FANFAULT) 1449 if ((stat[0] & STAT1MASK) || (stat[1] & STAT2MASK))
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 1401 int stat = (data & 0377); local 1405 stat <<= 8; 1408 stat |= WCOREFLG; 1414 stat <<= 8; 1415 stat |= WSTOPFLG; 1418 stat = WCONTFLG; 1423 return (stat);
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap.c | 478 idmap_stat stat; local 480 stat = idmap_udt_create(&udt); 481 if (stat != IDMAP_SUCCESS) { 484 idmap_stat2string(stat)); 513 idmap_stat stat, stat1; local 525 stat = idmap_udt_commit(udt); 526 if (stat == IDMAP_SUCCESS) 547 idmap_stat2string(stat)); 624 idmap_stat stat; local 636 stat 1542 idmap_stat stat; local 2093 idmap_stat stat; local 2120 idmap_stat stat; local 2225 idmap_stat stat; local 2571 idmap_stat stat; local 2648 idmap_stat stat; local 2855 idmap_stat stat = 0; local 3216 idmap_stat stat; local 3273 idmap_stat stat; local 3358 idmap_stat stat; local [all...] |
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smediad.c | 38 #include <sys/stat.h> 2428 struct stat stat; local 2495 if (fstat(didpp->d_data.d_desc.d_descriptor, &stat) < 0) { 2504 stat.st_mode); 2532 ddata->dd_stat = stat;
|
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | explain.c | 70 #include <sys/stat.h> 1075 struct stat st; 1093 return (stat(path, &st) == 0 ? 1 : 0); 1485 int stat = ip->start_method_waitstatus; local 1487 if (stat != 0) { 1488 if (WIFEXITED(stat)) { 1489 if (WEXITSTATUS(stat) == SMF_EXIT_ERR_CONFIG) { 1493 } else if (WEXITSTATUS(stat) == SMF_EXIT_ERR_FATAL) { 1500 WEXITSTATUS(stat)); 1502 } else if (WIFSIGNALED(stat)) { [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_recovery.c | 224 /* stat values are listed alphabetically */ 230 switch (ep->stat) { 251 ep->stat); 1776 NULL, n4e.stat, NULL, 0, TAG_NONE, TAG_NONE, 0, 0); 1950 switch (e.stat) { 1964 (e.error != 0 || e.stat != NFS4_OK)) { 1965 nfs4_recov_fh_fail(vp, e.error, e.stat); 2036 switch (e.stat) { 2050 if (!e.error && e.stat == NFS4_OK) { 2058 if (e.error || e.stat ! 2345 nfs4_valid_recov_err_for_vp(vnode_t *vp, nfsstat4 stat) argument 2364 nfs4_recov_fh_fail(vnode_t *vp, int error, nfsstat4 stat) argument 2382 recov_badstate(recov_info_t *recovp, vnode_t *vp, nfsstat4 stat) argument 3123 nfsstat4 stat = recovp->rc_orig_errors.stat; local 3277 nfs4_send_siglost(pid_t pid, mntinfo4_t *mi, vnode_t *vp, bool_t dump, int error, nfsstat4 stat) argument 3312 nfs4_fail_recov(vnode_t *vp, char *why, int error, nfsstat4 stat) argument [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/dsw/ |
H A D | dsw.h | 220 * DSW stat ioctl structure 226 int stat; member in struct:dsw_stat_s 390 int stat; member in struct:dsw_stat32_s
|
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_clnt.c | 111 enum clnt_stat stat; local 115 stat = ((*(rh)->cl_ops->cl_call)\ 119 return (stat);
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_main.c | 127 #include <sys/stat.h> 1830 ath_m_stat(void *arg, uint_t stat, uint64_t *val) argument 1838 switch (stat) { 1886 return (ieee80211_stat(ic, stat, val));
|
/illumos-gate/usr/src/uts/common/io/bfe/ |
H A D | bfe.c | 27 #include <sys/stat.h> 69 * interrupt, the stat register will point to current descriptor being 1368 bfe_mac_getstat(void *arg, uint_t stat, uint64_t *val) argument 1377 switch (stat) { 2380 * It's necessary to read intr stat again because masking interrupt
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_nexus.c | 36 #include <sys/stat.h> 2172 uint16_t stat; local 2175 t4_os_pci_read_cfg2(sc, PCI_CONF_STAT, &stat); 2176 if ((stat & PCI_STAT_CAP) == 0)
|
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_main.c | 1929 dmfe_m_stat(void *arg, uint_t stat, uint64_t *val) argument 1935 if (mii_m_getstat(dmfep->mii, stat, val) == 0) { 1946 switch (stat) {
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_cfg.c | 4000 uint16_t comm, stat; local 4002 stat = pci_config_get16(config_handle, PCI_CONF_STAT); 4015 "enable_pci_isa_bridge stat 0x%04x comm 0x%04x\n", stat, comm); 4028 uint16_t comm, stat, bctrl; local 4030 stat = pci_config_get16(config_handle, PCI_CONF_STAT); 4040 if (stat & PCI_STAT_FBBC) 4063 if (stat & PCI_STAT_FBBC) 4068 "enable_pci_pci_bridge stat 0x%04x comm 0x%04x bctrl 0x%04x\n", 4069 stat, com 4077 uint16_t comm, stat, bctrl; local 4198 uint16_t comm, stat; local [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnf.c | 2576 xnf_stat(void *arg, uint_t stat, uint64_t *val) argument 2593 switch (stat) {
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 528 drmach_device_status(drmachid_t id, drmach_status_t *stat) argument 536 return (cp->status(id, stat)); 715 drmach_board_status(drmachid_t id, drmach_status_t *stat) argument 732 stat->busy = 0; /* assume not busy */ 733 stat->configured = 0; /* assume not configured */ 734 stat->assigned = bp->assigned; 735 stat->powered = bp->powered = acpidev_dr_device_is_powered(hdl); 736 stat->empty = !acpidev_dr_device_is_present(hdl); 738 stat->cond = bp->cond = SBD_COND_OK; 740 stat 1022 drmach_io_status(drmachid_t id, drmach_status_t *stat) argument 1114 drmach_cpu_status(drmachid_t id, drmach_status_t *stat) argument 1323 drmach_mem_status(drmachid_t id, drmach_status_t *stat) argument 1675 drmach_status(drmachid_t id, drmach_status_t *stat) argument 2259 drmach_status_t stat; local 2341 drmach_status_t stat; local 2453 drmach_status_t stat; local [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_kstats.c | 735 cmn_err(CE_WARN, "kstat_create failed for port stat"); 888 hxge_rx_ring_stat(mac_ring_driver_t rdriver, uint_t stat, uint64_t *val) argument 898 switch (stat) { 920 hxge_tx_ring_stat(mac_ring_driver_t rdriver, uint_t stat, uint64_t *val) argument 930 switch (stat) { 949 hxge_m_stat(void *arg, uint_t stat, uint64_t *value) argument 960 switch (stat) { 1312 "hxge_m_stat: unrecognized parameter value = 0x%x", stat);
|
H A D | hxge_rxdma.c | 3517 rdc_fifo_err_stat_t stat; local 3524 HXGE_REG_RD64(handle, RDC_FIFO_ERR_STAT, &stat.value); 3525 HXGE_REG_WR64(handle, RDC_FIFO_ERR_STAT, stat.value); 3527 if (stat.bits.rx_ctrl_fifo_sec) { 3535 if (stat.bits.rx_ctrl_fifo_ded) { 3545 if (stat.bits.rx_data_fifo_sec) { 3553 if (stat.bits.rx_data_fifo_ded) { 3563 if (stat.bits.rx_ctrl_fifo_ded || stat.bits.rx_data_fifo_ded) {
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_main.c | 36 #include <sys/stat.h> 115 static int ntxn_m_stat(void *arg, uint_t stat, uint64_t *val); 2347 ntxn_m_stat(void *arg, uint_t stat, uint64_t *val) argument 2352 switch (stat) { 2410 "returned 1\n", stat));
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_rxdma.c | 849 * cnt: Ptr to structure to write current RDC discard stat 939 * cnt: Ptr to structure to write current RDC discard stat 1025 * Parity Error stat 1027 * Parity Error stat 1749 * stat: rx_ctl_dat_fifo_stat_t to read the errors to 1758 rx_ctl_dat_fifo_stat_t *stat) 1761 NXGE_REG_RD64(handle, offset, &stat->value); 1757 npi_rxdma_rxctl_fifo_error_intr_get(npi_handle_t handle, rx_ctl_dat_fifo_stat_t *stat) argument
|
/illumos-gate/usr/src/uts/common/io/ral/ |
H A D | rt2560.c | 31 #include <sys/stat.h> 2186 rt2560_m_stat(void *arg, uint_t stat, uint64_t *val) argument 2194 switch (stat) { 2239 return (ieee80211_stat(ic, stat, val));
|
/illumos-gate/usr/src/uts/common/io/rum/ |
H A D | rum.c | 2137 rum_m_stat(void *arg, uint_t stat, uint64_t *val) argument 2149 switch (stat) { 2194 return (ieee80211_stat(ic, stat, val));
|
/illumos-gate/usr/src/uts/common/io/rwd/ |
H A D | rt2661.c | 32 #include <sys/stat.h> 622 ring->stat = 0; 706 ring->cur = ring->next = ring->stat = 0; 906 data = &ring->data[ring->stat]; 942 "tx done q=%d idx=%u\n", qid, ring->stat); 950 if (++ring->stat >= ring->count) 951 ring->stat = 0; 2741 rt2661_m_stat(void *arg, uint_t stat, uint64_t *val) argument 2749 switch (stat) { 2794 return (ieee80211_stat(ic, stat, va [all...] |