/illumos-gate/usr/src/uts/common/io/simnet/ |
H A D | simnet.c | 890 simnet_m_stat(void *arg, uint_t stat, uint64_t *val) argument 897 switch (stat) {
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbecm/ |
H A D | usbecm.c | 66 static int usbecm_m_stat(void *arg, uint_t stat, uint64_t *val); 408 usbecm_m_stat(void *arg, uint_t stat, uint64_t *val) argument 416 "usbecm_m_stat: entry, stat=%d", stat); 423 switch (stat) { 554 switch (stat) { 3149 uint32_t stat; local 3151 /* first check to see if this stat is collected by device */ 3159 stat = (data->b_rptr[3] << 24) | (data->b_rptr[2] << 16) | 3161 *stat_data = stat; [all...] |
/illumos-gate/usr/src/uts/common/io/ipw/ |
H A D | ipw2100.c | 37 #include <sys/stat.h> 132 static int ipw2100_m_stat(void *arg, uint_t stat, uint64_t *val); 1742 ipw2100_m_stat(void *arg, uint_t stat, uint64_t *val) argument 1751 switch (stat) { 1782 return (ieee80211_stat(ic, stat, val)); 1852 (void) ipw2100_init(sc); /* Force stat machine */
|
/illumos-gate/usr/src/uts/common/io/iwi/ |
H A D | ipw2200.c | 37 #include <sys/stat.h> 153 static int ipw2200_m_stat(void *arg, uint_t stat, uint64_t *val); 1855 ipw2200_m_stat(void *arg, uint_t stat, uint64_t *val) argument 1866 switch (stat) { 1909 return (ieee80211_stat(ic, stat, val));
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_stat.c | 413 mac_rx_ring_stat_get(void *handle, uint_t stat) argument 426 ring->mr_stat(ring->mr_driver, stat, &val); 454 mac_tx_ring_stat_get(void *handle, uint_t stat) argument 467 ring->mr_stat(ring->mr_driver, stat, &val); 495 i_mac_tx_swlane_stat_get(void *handle, uint_t stat) argument 500 switch (stat) { 548 i_mac_rx_swlane_stat_get(void *handle, uint_t stat) argument 553 switch (stat) { 607 i_mac_rx_hwlane_stat_get(void *handle, uint_t stat) argument 612 switch (stat) { 679 i_mac_misc_stat_get(void *handle, uint_t stat) argument 818 i_mac_tx_hwlane_stat_get(void *handle, uint_t stat) argument 871 i_mac_rx_fanout_stat_get(void *handle, uint_t stat) argument 987 mac_driver_stat_default(mac_impl_t *mip, uint_t stat) argument [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | dr_cpu.c | 645 /* add the stat array size */ 669 * Fill in the stat information. 673 /* string offsets start immediately after stat array */ 958 dr_cpu_stat_t *stat; local 980 /* stat array for the response */ 981 stat = DR_CPU_RESP_STATS(rp); 992 stat[idx].cpuid = cpuids[idx]; 993 stat[idx].result = result; 994 stat[idx].status = status; 1021 if (stat[id [all...] |
H A D | dr_mem.c | 545 DR_DBG_MEM("%s: mblk 0x%lx.0x%lx stat %d result %d off '%s'\n", 668 /* add the stat array size */ 690 * Fill in the stat information. 694 /* string offsets start immediately after stat array */ 761 dr_mem_query_t *stat; local 794 /* stat array for the response */ 795 stat = DR_MEM_RESP_QUERY(rp); 802 dr_mem_query(&mb, &stat[idx]); 806 dr_mem_query(&req_mblks[idx], &stat[idx]); 947 memdelstat_t del_stat, *stat; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/sys/ |
H A D | drmach.h | 198 volatile uint_t stat; member in struct:__anon9898 218 volatile uchar_t stat[NCPU]; member in struct:__anon9899 256 drmach_cr_stat_t *stat; member in struct:drmach_copy_rename_program 352 extern sbd_error_t *drmach_status(drmachid_t id, drmach_status_t *stat);
|
/illumos-gate/usr/src/uts/intel/io/amd8111s/ |
H A D | amd8111s_main.c | 1894 amd8111s_m_stat(void *arg, uint_t stat, uint64_t *val) argument 1901 switch (stat) {
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 45 #include <sys/stat.h> 582 struct stat statinfo; 626 struct stat statbuf; 771 struct stat stat; local 782 if (fstat(fcode_fd, &stat) == -1) { 788 fcode_size = stat.st_size; 981 struct stat stat; local 993 if (fstat(fcode_fd, &stat) 1365 struct stat stat; local [all...] |
/illumos-gate/usr/src/uts/common/io/elxl/ |
H A D | elxl.c | 931 uint16_t stat; local 944 stat = GET16(W4_MEDIASTAT); 945 if (stat & MEDIASTAT_LINKDETECT) { 957 stat = GET16(W4_MEDIASTAT); 958 if (stat & MEDIASTAT_LINKDETECT) { 1080 uint8_t stat = GET8(REG_TXSTATUS); local 1081 if ((stat & TXSTATUS_COMPLETE) == 0) { 1084 if (stat & TXSTATUS_MAXCOLLISIONS) { 1088 if ((stat & TXSTATUS_ERRS) != 0) { 1090 if (stat 1264 elxl_recv(elxl_t *sc, ex_desc_t *rxd, uint32_t stat) argument 1601 elxl_m_stat(void *arg, uint_t stat, uint64_t *val) argument 1734 uint16_t stat; local [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_vc.c | 887 bool_t stat; local 891 stat = (*xdr_res)(xdrs, res_ptr); 893 return (stat);
|
H A D | svc.c | 1328 enum xprt_stat stat; local 1394 if ((stat = SVC_STAT(xprt)) == XPRT_DIED) { 1398 } while (stat == XPRT_MOREREQS);
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | parallel.cc | 43 #include <sys/stat.h> 378 struct shmid_ds stat; local 381 if (shmctl(m2_shm_id, IPC_STAT, &stat) == 0) { 382 if (stat.shm_nattch <= 1) { 389 (void) shmctl(m2_shm_id, IPC_RMID, &stat); 1174 struct stat out_buf; 1207 if (stat(rp->stdout_file, &out_buf) < 0) { 1208 fatal(gettext("stat of %s failed: %s"), 1234 if (stat(rp->stderr_file, &out_buf) < 0) { 1235 fatal(gettext("stat o [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_map.c | 29 #include <sys/stat.h> 202 int stat; local 207 ldapStat = &stat; 1423 int stat, osize, n, numMatches = 0; local 1512 stat = ldapModify(dn, rv, t->objectDN->write.attrs, 1); 1522 "%s: %s (%s)", myself, NIL(t->objName), ldap_err2string(stat)); 1524 if (stat != LDAP_SUCCESS) 1531 return (stat); 1552 int i, j, nfc, nrv, blen, stat = LDAP_SUCCESS; local 1665 rv = ldapSearch(ls, &nrv, 0, &stat); 1723 int n, stat, numMatches = 0; local [all...] |
H A D | ldap_val.c | 637 * to np_ldap-stat. 2225 __nis_rule_value_t *rv, int *stat) { 2227 rv, 0, stat); 2401 __nis_rule_value_t *rv, int *stat) { 2443 if (stat != NULL && novalue > 0 && 2446 *stat = NP_LDAP_RULES_NO_VALUE; 2224 extractMappingItem(__nis_mapping_item_t *item, __nis_mapping_format_t *f, __nis_rule_value_t *rv, int *stat) argument 2400 getMappingElement(__nis_mapping_element_t *e, __nis_mapping_item_type_t native, __nis_rule_value_t *rv, int *stat) argument
|
H A D | nis_db.cc | 615 int stat; local 645 stat = objFromLDAP(t, &o, 0, 0); 648 *statP = stat; 659 db_status stat = DB_SUCCESS; local 663 o = dbFindObject(name, &stat); 666 if (stat != DB_NOTFOUND) 669 myself, stat, NIL(name)); 683 *statP = stat; 697 db_status stat; local 717 o = dbFindObject(objName, &stat); 776 db_status stat; local 881 db_status stat; local 1279 int stat = LDAP_SUCCESS; local 1865 db_status stat; local 1877 db_status stat; local 1888 db_status stat; local 1896 db_status stat; local [all...] |
H A D | db_dictionary.cc | 2253 db_status stat; local 2298 stat = add_to_dictionary(deferred.dictionary, 2300 ret = stat; 2301 if (stat != DB_SUCCESS) { 2305 if (stat == DB_NOTUNIQUE) {
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_api.c | 41 #include <sys/stat.h> 961 * stat - status of the get request 962 * uid - POSIX UID if stat = 0 968 int flag, uid_t *uid, idmap_stat *stat) 971 NULL, stat)); 983 * stat - status of the get request 984 * uid - POSIX UID if stat = 0 985 * how - mapping type if stat = 0 992 int flag, uid_t *uid, idmap_info *info, idmap_stat *stat) 1007 *stat 967 idmap_get_uidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, uid_t *uid, idmap_stat *stat) argument 991 idmap_getext_uidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, uid_t *uid, idmap_info *info, idmap_stat *stat) argument 1061 idmap_get_gidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, gid_t *gid, idmap_stat *stat) argument 1085 idmap_getext_gidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, gid_t *gid, idmap_info *info, idmap_stat *stat) argument 1158 idmap_get_pidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, uid_t *pid, int *is_user, idmap_stat *stat) argument 1185 idmap_getext_pidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, uid_t *pid, int *is_user, idmap_info *info, idmap_stat *stat) argument 1257 idmap_get_sidbyuid(idmap_get_handle_t *gh, uid_t uid, int flag, char **sidprefix, idmap_rid_t *rid, idmap_stat *stat) argument 1281 idmap_getext_sidbyuid(idmap_get_handle_t *gh, uid_t uid, int flag, char **sidprefix, idmap_rid_t *rid, idmap_info *info, idmap_stat *stat) argument 1348 idmap_get_sidbygid(idmap_get_handle_t *gh, gid_t gid, int flag, char **sidprefix, idmap_rid_t *rid, idmap_stat *stat) argument 1372 idmap_getext_sidbygid(idmap_get_handle_t *gh, gid_t gid, int flag, char **sidprefix, idmap_rid_t *rid, idmap_info *info, idmap_stat *stat) argument 1927 idmap_stat2errno(idmap_stat stat) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | dfs.c | 521 dfs_link_stat(const char *path, uint32_t *stat) argument 523 if (smb_reparse_stat(path, stat) != 0) 526 switch (*stat) { 528 *stat = DFS_STAT_NOTFOUND; 531 *stat = DFS_STAT_NOTLINK; 534 *stat = DFS_STAT_ISREPARSE; 536 *stat = DFS_STAT_ISDFS; 539 *stat = DFS_STAT_UNKNOWN; 557 uint32_t stat; local 561 if ((status = dfs_link_stat(path, &stat)) ! 635 uint32_t status, stat; local 1058 uint32_t stat; local 1698 uint32_t stat; local [all...] |
/illumos-gate/usr/src/cmd/flowstat/ |
H A D | flowstat.c | 327 * existing stat entries. 489 void *stat; local 491 stat = dladm_flow_stat_query_all(flowname); 492 if (stat == NULL) 494 print_all_stats(stat); 495 dladm_flow_stat_query_all_free(stat);
|
/illumos-gate/usr/src/cmd/stat/kstat/ |
H A D | kstat.c | 909 cpu_stat_t *stat; local 914 stat = (cpu_stat_t *)(kp->ks_data); 915 sysinfo = &stat->cpu_sysinfo; 916 syswait = &stat->cpu_syswait; 917 vminfo = &stat->cpu_vminfo;
|
/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) {
|
/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/lib/smbsrv/libsmb/common/ |
H A D | smb_lgrp.c | 40 #include <sys/stat.h> 2416 idmap_stat stat; local 2424 stat = smb_idmap_getsid(*rid, id_type, &res_sid); 2425 if (stat != IDMAP_SUCCESS) { 2429 *rid, stat); 2562 struct stat sb;
|