/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_main.c | 101 vmxnet3_getstat(void *data, uint_t stat, uint64_t *val) argument 107 VMXNET3_DEBUG(dp, 3, "getstat(%u)\n", stat); 119 switch (stat) { 144 * Then fetch the corresponding stat 146 switch (stat) {
|
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/ |
H A D | acmsvc.h | 64 #define stat _stat macro
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 68 #include <sys/stat.h> 2669 uint32_t *stat = &state->dts_speculations_unavail, count; local 2680 stat = &state->dts_speculations_busy; 2696 count = *stat; 2697 } while (dtrace_cas32(stat, count, count + 1) != count); 16895 dtrace_status_t stat; local 16909 bzero(&stat, sizeof (stat)); 16919 stat.dtst_exiting = 1; 16927 stat [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_vnops.c | 77 #include <sys/stat.h> 1396 if (e.error || e.stat) { 1418 "CONFIRM failed with error %d stat %d", 1419 e.error, e.stat)); 1431 e.stat == NFS4ERR_BADOWNER) 1434 e.error = geterrno4(e.stat); 1651 * - if it is zero, ep->stat is set to an NFS status code, if any. 1655 * value or ep->stat will indicate an error (either something that requires 2150 if (ep->error || ep->stat) { 2194 nfs4_fail_recov(vp, failed_msg, ep->error, ep->stat); 7724 nfsstat4 stat = NFS4_OK; local [all...] |
H A D | nfs4_srv.c | 2615 nfsstat4 stat; local 2787 stat = call_checkauth4(cs, req); 2788 if (stat != NFS4_OK) { 2791 return (stat); 3146 nfsstat4 stat; local 3168 if ((stat = rfs4_check_stateid(FREAD, vp, &args->stateid, FALSE, 3170 *cs->statusp = resp->status = stat; 5559 nfsstat4 stat; local 5578 if ((stat = rfs4_check_stateid(FWRITE, vp, &args->stateid, FALSE, 5580 *cs->statusp = resp->status = stat; [all...] |
H A D | nfs_server.c | 46 #include <sys/stat.h> 569 rdma_stat stat; local 614 stat = rdma_kwait(); 621 if ((stat == RDMA_HCA_DETACH || stat == RDMA_INTR) && 631 if (stat == RDMA_INTR) 639 if ((stat == RDMA_HCA_ATTACH) && (svc_state == 0)) 2014 int i, nfsflavor, rpcflavor, stat, access; local 2053 stat = sec_svc_getcred(req, cr, &principal, &nfsflavor); 2059 if (!stat [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_objset.c | 1582 dmu_objset_fast_stat(objset_t *os, dmu_objset_stats_t *stat) argument 1584 stat->dds_type = os->os_phys->os_type; 1586 dsl_dataset_fast_stat(os->os_dsl_dataset, stat);
|
H A D | dsl_dataset.c | 1941 dsl_dataset_fast_stat(dsl_dataset_t *ds, dmu_objset_stats_t *stat) argument 1946 stat->dds_creation_txg = dsl_dataset_phys(ds)->ds_creation_txg; 1947 stat->dds_inconsistent = 1949 stat->dds_guid = dsl_dataset_phys(ds)->ds_guid; 1950 stat->dds_origin[0] = '\0'; 1952 stat->dds_is_snapshot = B_TRUE; 1953 stat->dds_num_clones = 1956 stat->dds_is_snapshot = B_FALSE; 1957 stat->dds_num_clones = 0; 1965 dsl_dataset_name(ods, stat [all...] |
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 183 iptun_m_getstat(void *arg, uint_t stat, uint64_t *val) argument 188 switch (stat) { 2055 * Frees a packet or packet chain and bumps stat for each freed packet. 2058 iptun_drop_pkt(mblk_t *mp, uint64_t *stat) argument 2065 if (stat != NULL) 2066 atomic_inc_64(stat); 2920 * Process output packets with outer IPv4 headers. Frees mp and bumps stat on
|
/illumos-gate/usr/src/uts/common/io/iwn/ |
H A D | if_iwn.c | 39 #include <sys/stat.h> 1906 (void **)&ring->stat, &iwn_dma_descattr, 16); 2630 struct iwn_rx_stat *stat = (struct iwn_rx_stat *)(desc + 1); local 2633 sizeof (*stat), DDI_DMA_SYNC_FORKERNEL); 2635 DTRACE_PROBE1(rx__phy, struct iwn_rx_stat *, stat); 2638 memcpy(&sc->last_rx_stat, stat, sizeof (*stat)); 2656 struct iwn_rx_stat *stat; local 2669 stat = &sc->last_rx_stat; 2671 stat 2894 struct iwn4965_tx_stat *stat = (struct iwn4965_tx_stat *)(desc + 1); local 2905 struct iwn5000_tx_stat *stat = (struct iwn5000_tx_stat *)(desc + 1); local 4177 iwn_m_stat(void *arg, uint_t stat, uint64_t *val) argument 4827 iwn4965_get_rssi(const struct iwn_rx_stat *stat) argument 4848 iwn5000_get_rssi(const struct iwn_rx_stat *stat) argument 7577 iwn_fix_channel(struct iwn_softc *sc, mblk_t *m, struct iwn_rx_stat *stat) argument [all...] |
H A D | if_iwnvar.h | 73 struct iwn_rx_status *stat; member in struct:iwn_rx_ring
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac.c | 281 #include <sys/stat.h> 1663 mac_hwring_getstat(mac_ring_handle_t rh, uint_t stat, uint64_t *val) argument 1668 return (info->mri_stat(info->mri_driver, stat, val));
|
H A D | mac_client.c | 111 #include <sys/stat.h> 609 mac_client_stat_get(mac_client_handle_t mch, uint_t stat) argument 625 switch (stat) { 695 val = mac_driver_stat_default(mip, stat); 706 mac_stat_get(mac_handle_t mh, uint_t stat) argument 713 * The range of stat determines where it is maintained. Stat 728 if (stat < MAC_STAT_MIN && !(mip->mi_state_flags & MIS_IS_VNIC)) { 730 switch (stat) { 747 ret = mip->mi_getstat(mip->mi_driver, stat, &val); 753 val = mac_driver_stat_default(mip, stat); 762 mac_pseudo_rx_ring_stat_get(mac_ring_handle_t handle, uint_t stat) argument 771 mac_pseudo_tx_ring_stat_get(mac_ring_handle_t handle, uint_t stat) argument [all...] |
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_libscf.c | 57 #include <sys/stat.h> 762 int fd, stat; local 796 pid = waitpid(est->sc_repo_pid, &stat, 0); 802 if (!WIFEXITED(stat)) { 804 stat); 805 } else if (WEXITSTATUS(stat) != 0) { 807 WEXITSTATUS(stat)); 16573 struct stat st; 16586 uu_warn(gettext("Unable to stat the history file\n"));
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 2769 idmap_stat stat, map_stat; local 2774 stat = idmap_get_create(&gh); 2775 if (stat != IDMAP_SUCCESS) { 2782 stat = idmap_getuidbywinname(cp, NULL, flag, &pid); 2783 if (stat < 0) 2785 stat = idmap_get_sidbyuid(gh, pid, flag, &numericsid, 2788 stat = idmap_getgidbywinname(cp, NULL, flag, &pid); 2789 if (stat < 0) 2791 stat = idmap_get_sidbygid(gh, pid, flag, &numericsid, 2794 if (stat < [all...] |
/illumos-gate/usr/src/uts/common/io/usbgem/ |
H A D | usbgem.c | 4204 usbgem_m_getstat(void *arg, uint_t stat, uint64_t *valp) argument 4228 switch (stat) { 4517 __func__, stat);
|
/illumos-gate/usr/src/uts/common/io/vnic/ |
H A D | vnic_dev.c | 40 #include <sys/stat.h> 733 vnic_m_stat(void *arg, uint_t stat, uint64_t *val) argument 752 switch (stat) { 767 *val = mac_client_stat_get(vnic->vn_mch, stat);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | exit.c | 83 int stat = (data & 0377); local 87 stat <<= 8; 90 stat |= WCOREFLG; 96 stat <<= 8; 97 stat |= WSTOPFLG; 100 stat = WCONTFLG; 106 return (stat);
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | stat.h | 34 * @(#)stat.h 8.12 (Berkeley) 6/16/95 122 struct stat { struct 142 * struct stat is backwards compatible. We use bitfields instead 257 #define S_BLKSIZE 512 /* block size used in the stat struct */ 334 int fstat(int, struct stat *); 340 int lstat(const char * __restrict, struct stat * __restrict); 348 int stat(const char * __restrict, struct stat * __restrict); 351 int fstatat(int, const char *, struct stat *, int);
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | validate_pkg.py | 36 import stat namespace 124 if m & (stat.S_ISUID | stat.S_ISGID): 125 if m & (stat.S_IRGRP | stat.S_IROTH): 129 if "o" in modechecks and o != "root" and ((m & stat.S_ISUID) == 0): 130 mu = (m & stat.S_IRWXU) >> 6 131 mg = (m & stat.S_IRWXG) >> 3 132 mo = m & stat.S_IRWXO 146 uwx = stat [all...] |
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs4.h | 1249 * If error is set, then stat is ignored and rpc_status may be 1251 * stat is set, then rpc request succeeded, error and 1252 * rpc_status are set to 0 and stat contains the result of 1257 * set stat and rpc_status to 0. nfs4_error_init() is a 1262 nfsstat4 stat; member in struct:__anon615
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | stat.c | 1 /* $NetBSD: stat.c,v 1.4 1996/01/13 22:25:43 leo Exp $ */ 31 * @(#)stat.c 8.1 (Berkeley) 6/11/93 40 stat(str, sb) function 42 struct stat *sb;
|
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/ |
H A D | fwohci.c | 93 uint32_t fun, stat; local 117 stat = OREAD(sc, FWOHCI_INTSTAT); 118 if ((stat & OHCI_INT_REG_FAIL) != 0 || 400 fwohci_intr_body(struct fwohci_softc *sc, uint32_t stat, int count) argument 405 if(stat & OREAD(sc, FWOHCI_INTMASK)) 410 stat & OHCI_INT_EN ? "DMA_EN ":"", 411 stat & OHCI_INT_PHY_REG ? "PHY_REG ":"", 412 stat & OHCI_INT_CYC_LONG ? "CYC_LONG ":"", 413 stat & OHCI_INT_ERR ? "INT_ERR ":"", 414 stat 458 uint32_t stat; local 474 uint32_t stat; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/userboot/ |
H A D | userboot.h | 113 * Return some stat(2) related information about the file 115 int (*stat)(void *arg, void *h, int *mode_return, member in struct:loader_callbacks
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 49 #include <sys/stat.h> 1104 struct stat sb; 1532 struct stat stat = {0}; local 1544 if (device->part_fd < 0 || fstat(device->part_fd, &stat) != 0) { 1550 if (S_ISCHR(stat.st_mode) == 0) {
|