/illumos-gate/usr/src/uts/common/klm/ |
H A D | nlm_impl.c | 551 enum clnt_stat stat; in nlm_clnt_call() local 589 return (stat); in nlm_clnt_call() 808 enum clnt_stat stat; in nlm_nsm_init() local 892 enum clnt_stat stat; in nlm_nsm_simu_crash() local 899 return (stat); in nlm_nsm_simu_crash() 907 enum clnt_stat stat; in nlm_nsm_stat() local 920 return (stat); in nlm_nsm_stat() 928 enum clnt_stat stat; in nlm_nsm_mon() local 945 return (stat); in nlm_nsm_mon() 969 return (stat); in nlm_nsm_unmon() [all …]
|
H A D | nlm_rpc_handle.c | 101 enum clnt_stat stat; in update_host_rpcbinding() local 114 stat = rpcbind_getaddr(&hostp->nh_knc, NLM_PROG, vers, &hostp->nh_addr); in update_host_rpcbinding() 117 hostp->nh_rpcb_state = ((stat == RPC_SUCCESS) ? in update_host_rpcbinding() 120 hostp->nh_rpcb_ustat = stat; in update_host_rpcbinding() 161 enum clnt_stat stat; in refresh_nlm_rpc() local 175 stat = nlm_null_rpc(rpcp->nr_handle, rpcp->nr_vers); in refresh_nlm_rpc() 176 if (NLM_STALE_CLNT(stat)) { in refresh_nlm_rpc()
|
/illumos-gate/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpupm_throttle.c | 120 read_status(cpu_acpi_handle_t handle, uint32_t *stat) in read_status() argument 131 *stat = reg & 0x1E; in read_status() 136 ret = cpu_acpi_read_port(ptc_stat->cr_address, stat, in read_status() 147 DTRACE_PROBE1(throttle_status_read, uint32_t, *stat); in read_status() 166 uint32_t stat; in cpupm_tstate_transition() local 193 if (read_status(handle, &stat) == 0 && in cpupm_tstate_transition() 194 CPU_ACPI_TSTATE_STAT(req_tstate) == stat) in cpupm_tstate_transition() 199 if (CPU_ACPI_TSTATE_STAT(req_tstate) != stat) { in cpupm_tstate_transition()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmlog.c | 92 struct stat buf; in roll_log() 103 if (!stat(ologf, &buf) && rename(ologf, tlogf)) { in roll_log() 105 } else if (!stat(logf, &buf) && rename(logf, ologf)) { in roll_log() 108 if (!stat(tlogf, &buf) && rename(tlogf, ologf)) in roll_log() 119 if (!stat(ologf, &buf) && rename(ologf, logf)) in roll_log() 122 else if (!stat(tlogf, &buf) && rename(tlogf, ologf)) in roll_log() 141 struct stat buf; in vlog()
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | doname.cc | 875 target->stat.time = in doname() 1050 target->stat.time = in check_dependencies() 1051 dependency->name->stat.time; in check_dependencies() 1075 stat.time)); in check_dependencies() 1089 true_target->stat.time = dependency->name->stat.time; in check_dependencies() 1151 force->stat.time = in check_dependencies() 1196 target->stat.time = in check_dependencies() 1198 target->stat.time); in check_dependencies() 2640 target->stat.time = member->body.member.library->stat.time; in update_target() 2641 target->stat.time.tv_sec++; in update_target() [all …]
|
/illumos-gate/usr/src/uts/sun4u/opl/sys/ |
H A D | opl_hwdesc.h | 73 #define HWD_STATUS_FAILED(stat) ((stat) & HWD_STAT_FAILED) argument 74 #define HWD_STATUS_OK(stat) ((stat) == HWD_STAT_PASS) argument 75 #define HWD_STATUS_PRESENT(stat) \ argument 76 ((stat) & (HWD_STAT_PRESENT | HWD_STAT_PASS)) 77 #define HWD_STATUS_NONE(stat) \ argument 78 (((stat) == HWD_STAT_UNKNOWN) || ((stat) == HWD_STAT_MISS))
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | nftw.c | 31 static int (*nftw_userf)(const char*, const struct stat*, int, struct FTW*); 38 struct stat st; in nftw_user() 42 else if ((n & FTW_SL) && (!(nftw_flags & FTW_PHYSICAL) || stat(ftw->path, &st))) in nftw_user() 53 nftw(const char* path, int(*userf)(const char*, const struct stat*, int, struct FTW*), int depth, i… in nftw() argument
|
H A D | gross.c | 35 extern int fstat(int fd, struct stat* st) in fstat() 44 extern int lstat(const char* path, struct stat* st) in lstat() 53 extern int stat(const char* path, struct stat* st) in stat() function
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_mac.h | 335 #define SET_MAC_ATTR1(handle, p, portn, attr, val, stat) {\ argument 338 stat = npi_mac_port_attr(handle, OP_SET, portn, (npi_attr_t *)&p);\ 341 #define SET_MAC_ATTR2(handle, p, portn, attr, val0, val1, stat) {\ argument 365 #define GET_MAC_ATTR1(handle, p, portn, attr, val, stat) {\ argument 367 if ((stat = npi_mac_port_attr(handle, OP_GET, portn, \ 373 #define GET_MAC_ATTR2(handle, p, portn, attr, val0, val1, stat) {\ argument 375 if ((stat = npi_mac_port_attr(handle, OP_GET, portn, \ 383 val2, stat) {\ argument 385 if ((stat = npi_mac_port_attr(handle, OP_GET, portn, \ 394 val2, val3, stat) {\ argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | standards | 10 #include <sys/stat.h> 40 #include <sys/stat.h> 67 #include <sys/stat.h> 92 #include <sys/stat.h> 110 #include <sys/stat.h> 124 #include <sys/stat.h> 135 #include <sys/stat.h> 145 #include <sys/stat.h>
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr_array.c | 64 bool_t stat = TRUE; in xdr_array() local 101 for (i = 0; (i < c) && stat; i++) { in xdr_array() 102 stat = (*elproc)(xdrs, target, LASTUNSIGNED); in xdr_array() 113 return (stat); in xdr_array()
|
/illumos-gate/usr/src/tools/ctf/ctfstrip/ |
H A D | ctfstrip.c | 71 struct stat sb; in check_file() 120 int stat = 0; in fix_file() local 136 (void) waitpid(pid, &stat, 0); in fix_file() 137 if (!WIFEXITED(stat) || WEXITSTATUS(stat) != 0) { in fix_file()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | leaks.sh | 69 read -C stat <<< "$data" 73 done | while read -u$n -C stat 79 read -C stat <<< "$data" 82 do read -C stat <<< "$data"
|
/illumos-gate/usr/src/uts/common/io/elxl/ |
H A D | elxl.c | 932 uint16_t stat; in elxl_linkcheck() local 945 stat = GET16(W4_MEDIASTAT); in elxl_linkcheck() 958 stat = GET16(W4_MEDIASTAT); in elxl_linkcheck() 1271 if (stat & EX_UPD_RUNT) { in elxl_recv() 1274 if (stat & EX_UPD_OVERRUN) { in elxl_recv() 1277 if (stat & EX_UPD_CRCERR) { in elxl_recv() 1614 switch (stat) { in elxl_m_stat() 1734 uint16_t stat; in elxl_intr() local 1746 stat = GET16(REG_CMD_STAT); in elxl_intr() 1758 if (stat & INT_HOST_ERROR) { in elxl_intr() [all …]
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_hw.c | 229 peu_intr_stat_t stat; in hxge_peu_handle_sys_errors() local 243 if (stat.bits.spc_acc_err) { in hxge_peu_handle_sys_errors() 249 if (stat.bits.tdc_pioacc_err) { in hxge_peu_handle_sys_errors() 255 if (stat.bits.rdc_pioacc_err) { in hxge_peu_handle_sys_errors() 261 if (stat.bits.pfc_pioacc_err) { in hxge_peu_handle_sys_errors() 267 if (stat.bits.vmac_pioacc_err) { in hxge_peu_handle_sys_errors() 273 if (stat.bits.cpl_hdrq_parerr) { in hxge_peu_handle_sys_errors() 297 if (stat.bits.p_hdrq_parerr) { in hxge_peu_handle_sys_errors() 303 if (stat.bits.p_dataq_parerr) { in hxge_peu_handle_sys_errors() 309 if (stat.bits.np_hdrq_parerr) { in hxge_peu_handle_sys_errors() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | Syscalls.c | 178 struct stat * st in _Fstat() 183 struct stat * st; 216 struct stat * st in _Lstat() 221 struct stat * st; 338 struct stat * st in _Stat() 343 struct stat * st; 348 while ((n = stat(s, st)) == -1 && errno == EINTR)
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | mca_amd.h | 306 #define AMD_EXT_ERRCODE(stat) \ argument 307 (((stat) & _AMD_ERREXT_MASK) >> _AMD_ERREXT_SHIFT) 319 #define AMD_BANK_SYND(stat) \ argument 320 (((stat) & AMD_BANK_STAT_SYND_MASK) >> AMD_BANK_STAT_SYND_SHIFT) 334 #define AMD_NB_STAT_CKSYND(stat) \ argument 335 ((((stat) & AMD_NB_STAT_CKSYND_MASK) >> AMD_NB_STAT_CKSYND_SHIFT) | \ 336 AMD_BANK_SYND((stat)))
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | jobs.c | 196 int stat; in collect_fg_job() local 229 if (WIFCONTINUED(stat)) { in statjob() 238 } else if (WIFSTOPPED(stat)) { in statjob() 239 jp->j_xval = WSTOPSIG(stat); in statjob() 262 if (WIFSIGNALED(stat)) { in statjob() 263 jp->j_xval = WTERMSIG(stat); in statjob() 265 if (WCOREDUMP(stat)) in statjob() 313 int stat, n; in collectjobs() local 363 int stat; in waitjob() local 379 stat = 0; in waitjob() [all …]
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 1097 stat->empty = 0; in drmach_board_status() 1099 (void) strncpy(stat->type, "System Brd", sizeof (stat->type)); in drmach_board_status() 1100 stat->info[0] = '\0'; in drmach_board_status() 1744 if (stat.configured || stat.busy) in drmach_board_poweroff() 1804 if (stat.configured || stat.busy) { in drmach_board_unassign() 1935 (void) strncpy(stat->type, dp->type, sizeof (stat->type)); in drmach_cpu_status() 1936 stat->info[0] = '\0'; in drmach_cpu_status() 2207 (void) strncpy(stat->type, dp->type, sizeof (stat->type)); in drmach_io_status() 2208 stat->info[0] = '\0'; in drmach_io_status() 2490 (void) strncpy(stat->type, dp->dev.type, sizeof (stat->type)); in drmach_mem_status() [all …]
|
/illumos-gate/usr/src/cmd/acctadm/ |
H A D | utils.c | 154 struct stat cur; in open_exacct_file() 155 struct stat new; in open_exacct_file() 163 stat(file, &new) != -1 && stat(name, &cur) != -1 && in open_exacct_file() 193 struct stat st; in verify_exacct_file() 196 if (stat(file, &st) != -1 && st.st_size != 0) { in verify_exacct_file()
|
/illumos-gate/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_fset.c | 69 ++mp->stat.st_page_clean; 70 --mp->stat.st_page_dirty; 74 --mp->stat.st_page_clean; 75 ++mp->stat.st_page_dirty;
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | fmtfs.c | 40 fmtfs(struct stat* st) in fmtfs() 57 fmtfs(struct stat* st) in fmtfs() 63 struct stat rt; in fmtfs() 80 while ((mnt = mntread(mp)) && (stat(mnt->dir, &rt) || rt.st_dev != st->st_dev)); in fmtfs()
|
/illumos-gate/usr/src/ucbcmd/vipw/ |
H A D | vipw.c | 70 struct stat osbuf, sbuf, oshdbuf, shdbuf; in main() 85 if (stat(passwd, &osbuf) < 0) { in main() 93 if (stat(ptemp, &sbuf) < 0) { in main() 133 if (stat(shadow, &oshdbuf) < 0) { in main() 141 if (stat(stemp, &shdbuf) < 0) { in main() 261 struct stat sbuf, statbuf; in sanity_check() 269 if (stat(temp, &sbuf) < 0) { in sanity_check() 354 if (stat(ldir, &statbuf) < 0) { in sanity_check()
|
/illumos-gate/usr/src/tools/codesign/ |
H A D | signproto.sh | 45 stat=$? 47 if [ $stat != 0 ]; then 49 exit $stat
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/ |
H A D | nfsmapid_test.c | 131 mapstat(int stat) in mapstat() argument 133 switch (stat) { in mapstat() 157 printf(" unknown error %d ", stat); in mapstat() 173 int stat; in do_test() local 204 stat = nfs_idmap_str_uid(&str, &uid); in do_test() 205 printf(gettext("%u stat=%s \n"), uid, mapstat(stat)); in do_test() 215 stat = nfs_idmap_str_gid(&str, &gid); in do_test() 227 stat = nfs_idmap_uid_str(uid, &str); in do_test() 229 mapstat(stat)); in do_test() 240 stat = nfs_idmap_gid_str(gid, &str); in do_test() [all …]
|