/illumos-gate/usr/src/cmd/savecore/ |
H A D | savecore.c | 1344 Stat_t st; local 1353 Fstat(corefd, &st, corefile); 1357 (long)st.st_blksize); 1358 coreblksize = st.st_blksize; 1652 Stat_t st; local 1740 Stat(dumpfile, &st); 1742 filemode = S_ISREG(st.st_mode);
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_libscf.c | 7884 import_progress(int st) argument 7886 switch (st) { 7908 __FILE__, __LINE__, st); 16573 struct stat st; local 16585 if (fstat(fd, &st) == -1) { 16590 mfsthist_start = mmap(0, st.st_size, PROT_READ, 16595 *(mfsthist_start + st.st_size) != '\0') { 16596 (void) munmap(mfsthist_start, st.st_size); 16613 (void) munmap(mfsthist_start, st.st_size);
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 455 struct stat st; local 464 if (lstat(path, &st) == 0) { 470 if (!S_ISDIR(st.st_mode)) { 471 if (S_ISREG(st.st_mode)) { 836 struct stat64 st; local 838 if (stat64(path, &st) == -1) 841 return (S_ISREG(st.st_mode)); 1258 struct stat64 st; local 1260 if (stat64(fsptr->zone_fs_special, &st) != -1 && 1261 S_ISBLK(st 1459 struct stat st; local [all...] |
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 7499 struct stat st; local 7545 if (stat(optarg, &st) == -1 || !S_ISDIR(st.st_mode)) {
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 261 struct stat64 st; local 263 return (stat64(path, &st) == 0 && S_ISREG(st.st_mode) && 264 stp->st_dev == st.st_dev && stp->st_ino == st.st_ino); 274 struct stat64 st; local 295 if (stat64(exec_name, &st) != 0 || !S_ISREG(st.st_mode)) 309 (void) Pfindexec(P, ret > 0 ? cwd : NULL, stat_exec, &st);
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 1678 struct stat st; local 1680 err = stat(path, &st); 1690 return (strdup(st.st_fstype)); 2093 struct stat st; local 2096 if (implhandle != NULL && stat(SA_LEGACY_SHARETAB, &st) == 0) 2097 implhandle->tssharetab = TSTAMP(st.st_mtim); 2152 struct stat st; local 2165 if (handle != NULL && stat(SA_LEGACY_SHARETAB, &st) == 0) 2181 struct stat st; local 2195 if (stat(SA_LEGACY_SHARETAB, &st) [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_mount.c | 178 struct stat st; local 184 if (stat(dirname, &st) < 0 || !S_ISDIR(st.st_mode)) { 192 if (st.st_size > 2) { 237 struct statvfs64 st; local 243 if ((statvfs64(dirname, &st) != 0) || 244 (strcmp(st.f_basetype, "zfs") != 0)) {
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 2965 zonecfg_devwalk_cb(const char *path, const struct stat *st, int f, argument 2972 if (!S_ISBLK(st->st_mode) && !S_ISCHR(st->st_mode)) 2984 g_devwalk_cb(path + g_devwalk_skip_prefix, st->st_uid, st->st_gid, 2985 st->st_mode & S_IAMB, acl_txt != NULL ? acl_txt : "", 3039 struct stat st; local 3050 if (stat(path, &st) == -1) 3054 if (!S_ISCHR(st.st_mode) && !S_ISBLK(st [all...] |
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 414 struct stat64 st; local 431 if (fstat64(fd, &st) == -1) { 443 if (!(flags & FCREAT) && stat64(realpath, &st) == -1) 473 if (fstat64(fd, &st) == -1) { 483 vp->v_size = st.st_size; 562 struct stat64 st; local 564 if (fstat64(vp->v_fd, &st) == -1) { 569 vap->va_size = st.st_size; 783 struct stat64 st; local 786 if (fstat64(vp->v_fd, &st) [all...] |
/illumos-gate/usr/src/man/man7d/ |
H A D | Makefile | 123 st.7d \
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | smb_kproto.h | 639 uint16_t uid, smb_user_state_t st);
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 2256 const struct stat *st, 2288 filestat[0] = st->st_size; 2289 filestat[1] = st->st_mtime; 2404 if (flags != FTW_D && (filestat[0] != st->st_size || 2405 filestat[1] != st->st_mtime)) { 2254 cmpstat( const char *file, const struct stat *st, int flags, struct FTW *ftw) argument
|
/illumos-gate/usr/src/cmd/halt/ |
H A D | halt.c | 913 int st; local 942 if (waitpid(pid, &st, 0) == pid && 943 !WIFSIGNALED(st) && WIFEXITED(st)) 944 st = WEXITSTATUS(st); 946 st = -1; 948 return (st);
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | graph.c | 349 if (!st->st_initial) 869 MUTEX_LOCK(&st->st_load_lock); 870 st->st_load_instances++; 871 MUTEX_UNLOCK(&st->st_load_lock); 3765 st->st_log_login_reached = 1; 4932 if (state != old_state && st->st_load_complete && 5878 if (st->st_subgraph != NULL && 5879 st->st_subgraph[0] != '\0') { 5880 sz = strlcpy(fmri, st->st_subgraph, 5895 if (st [all...] |
/illumos-gate/usr/src/common/ficl/emu/ |
H A D | loader_emu.c | 1840 struct stat st; local 1855 if (stat(result, &st) == 0 && S_ISREG(st.st_mode)) 1860 int res = stat(gz, &st);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | module.c | 677 struct stat st; local 702 if (stat(result, &st) == 0 && S_ISREG(st.st_mode)) 970 struct stat st; local 977 if (stat(path, &st) != 0 || 978 st.st_size < (ssize_t)(sizeof(version) + sizeof(int)) || 979 st.st_size > LINKER_HINTS_MAX || (fd = open(path, O_RDONLY)) < 0) { 988 size = st.st_size - size;
|
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/ |
H A D | zfs_module.c | 99 struct stat st; local 130 if ((err = zfs_dnode_stat(spa, &dn, &st)) != 0) { 136 if ((status = bs->AllocatePool(EfiLoaderData, (UINTN)st.st_size, &buf)) 139 "(%lu)\n", st.st_size, spa->spa_name, filepath, EFI_ERROR_CODE(status)); 143 if ((err = dnode_read(spa, &dn, 0, buf, st.st_size)) != 0) { 150 *bufsize = st.st_size;
|
/illumos-gate/usr/src/boot/sys/boot/i386/loader/ |
H A D | chain.c | 46 struct stat st; local 68 if (fstat(fd, &st) == -1) { 73 size = st.st_size;
|
/illumos-gate/usr/src/boot/sys/boot/userboot/test/ |
H A D | test.c | 109 struct stat st; local 126 tf->tf_size = st.st_size;
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | read.c | 617 struct stat st; local 619 if (fstat(fd, &st) == -1) 629 if (curp->gzip == 0 && S_ISREG(st.st_mode)) { 630 if (st.st_size > 0x7fffffff) { 635 fb->sz = (size_t)st.st_size;
|
/illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
H A D | stmf.c | 186 * host to timeout 1st and mostly host timeout is 60 seconds. 4479 * the 1st worker. 4995 unsigned long long st; local 4999 st = s; /* gcc fix */ 5002 "task %p, lu failed to abort ret=%llx", (void *)task, st); 5006 "%p, s=%llx, iof=%x", (void *)task, st, iof); 5023 unsigned long long st; local 5028 st = s; 5032 st); 5036 "task=%p, s=%llx, iof=%x", (void *)task, st, io 5740 stmf_scsilib_send_status(scsi_task_t *task, uint8_t st, uint32_t saa) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | dumpsubr.c | 328 #define CQ_PUT(q, cp, st) \ 329 dumpsys_put_cq(&ds->q, cp, st, ds->live)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNS.c | 13363 domainname st; local 13364 AssignDomainName(&st, sr->SubTypes[i].resrec.name); 13365 st.c[1+st.c[0]] = 0; // Only want the first label, not the whole FQDN (particularly for mDNS_RenameAndReregisterService()) 13366 AppendDomainName(&st, type); 13368 if (ConstructServiceName(&sr->SubTypes[i].namestorage, mDNSNULL, &st, domain) == mDNSNULL) return(mStatus_BadParamErr);
|
H A D | uds_daemon.c | 808 AuthRecord *st = instance->subtypes; local 821 external_start_advertising_service(&st[i].resrec, instance->request->flags); 835 AuthRecord *st = instance->subtypes; local 844 external_stop_advertising_service(&st[i].resrec, instance->request->flags); 1715 AuthRecord *st = mDNSNULL; local 1752 st = mallocL("ServiceSubTypes", NumSubTypes * sizeof(AuthRecord)); 1753 if (!st) return(mDNSNULL); 1756 mDNS_SetupResourceRecord(&st[i], mDNSNULL, mDNSInterface_Any, kDNSQType_ANY, kStandardTTL, 0, AuthRecordAny, mDNSNULL, mDNSNULL); 1761 if (!MakeDomainNameFromDNSNameString(&st[i].namestorage, p)) 1763 freeL("ServiceSubTypes", st); [all...] |
/illumos-gate/usr/src/cmd/lofiadm/ |
H A D | main.c | 285 struct stat st; local 292 if (stat(devicename, &st)) { 305 if (st.st_mode & S_IFCHR || st.st_mode & S_IFBLK) { 306 return (LOFI_MINOR2ID(minor(st.st_rdev)));
|