/titanic_44/usr/src/lib/libbc/libc/crt/sparc/ |
H A D | misalign.s | 95 stb %o0,[%fp-4] 96 stb %o1,[%fp-3] 97 stb %o2,[%fp-2] 99 stb %o3,[%fp-1] 133 stb %o0,[%fp-8] 134 stb %o1,[%fp-7] 135 stb %o2,[%fp-6] 136 stb %o3,[%fp-5] 141 stb %o0,[%fp-4] 142 stb %o1,[%fp-3] [all …]
|
/titanic_44/usr/src/common/crypto/arcfour/sun4u/ |
H A D | arcfour_crypt_asm.s | 90 stb %o3, [%i5+%o2] 93 stb %o4, [%i5 + %o1] 104 stb %g3, [%i5 + %g2] 108 stb %g4, [%i5 + %g1] 129 stb %o3, [%i5+%o2] 132 stb %o4, [%i5 + %o1] 143 stb %g3, [%i5 + %g2] 147 stb %g4, [%i5 + %g1] 169 stb %o3, [%i5+%o2] 172 stb %o4, [%i5 + %o1] [all …]
|
/titanic_44/usr/src/ucbcmd/biff/ |
H A D | biff.c | 58 struct stat stb; in main() local 75 if (stat(cp, &stb) < 0) in main() 79 stb.st_mode&0100 ? gettext("y") : gettext("n")); in main() 80 exit((stb.st_mode&0100) ? 0 : 1); in main() 85 if (chmod(cp, stb.st_mode|0100) < 0) in main() 90 if (chmod(cp, stb.st_mode&~0100) < 0) in main() 97 return ((stb.st_mode&0100) ? 0 : 1); in main()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | server.c | 318 struct stat stb; local 332 if ((opts & FOLLOW ? stat(target, &stb) : lstat(target, &stb)) < 0) { 341 if ((u = update(rname, opts, &stb)) == 0) { 342 if ((stb.st_mode & S_IFMT) == S_IFREG && stb.st_nlink > 1) 343 (void) savelink(&stb, opts); 347 if (pw == NULL || pw->pw_uid != stb.st_uid) 348 if ((pw = getpwuid(stb.st_uid)) == NULL) { 350 target, stb.st_uid); 352 sprintf(user, ":%d", stb.st_uid); 354 if (gr == NULL || gr->gr_gid != stb.st_gid) [all …]
|
H A D | docmd.c | 525 struct stat stb; local 534 if (stat(stamp, &stb) < 0) { 539 printf("%s: %d\n", stamp, stb.st_mtime); 542 lastmod = stb.st_mtime; 583 struct stat stb; local 606 if (access(name, 4) < 0 || stat(name, &stb) < 0) { 611 switch (stb.st_mode & S_IFMT) { 616 rcmptime(&stb); 624 if (stb.st_mtime > lastmod) 681 struct stat stb; local [all …]
|
/titanic_44/usr/src/ucblib/libucb/port/gen/ |
H A D | scandir.c | 79 struct stat64 stb; in scandir64() local 85 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir64() 92 arraysz = (stb.st_size / 24); in scandir64() 118 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir64() 120 arraysz = stb.st_size / 12; in scandir64() 146 struct stat64 stb; in scandir() local 152 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir() 158 if (stb.st_size > SSIZE_MAX) { in scandir() 162 arraysz = (stb.st_size / 24); in scandir() 188 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir() [all …]
|
/titanic_44/usr/src/ucbcmd/ln/ |
H A D | ln.c | 27 struct stat stb; variable 58 if (stat(argv[argc-1], &stb) < 0) in main() 60 if ((stb.st_mode&S_IFMT) != S_IFDIR) in main() 84 if (sflag == 0 && fflag == 0 && stat(from, &stb) >= 0 && in linkit() 85 (stb.st_mode&S_IFMT) == S_IFDIR) { in linkit() 89 if (stat(to, &stb) >= 0 && (stb.st_mode&S_IFMT) == S_IFDIR) { in linkit()
|
/titanic_44/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 693 struct stat stb; local 722 sff, smode, &stb); 725 sff, smode, &stb); 731 if (stb.st_mode == ST_MODE_NOFILE && bitset(SFF_CREAT, sff)) 749 if (filechanged(fn, fd, &stb)) 864 filechanged(fn, fd, stb) in filechanged() argument 867 struct stat *stb; 871 if (stb->st_mode == ST_MODE_NOFILE) 875 if (lstat(fn, stb) < 0 || stb->st_nlink != 1) 884 if (sta.st_nlink != stb->st_nlink || [all …]
|
/titanic_44/usr/src/cmd/du/ |
H A D | du.c | 284 struct stat stb, stb1; in descend() local 311 i = fstatat(curfd, curname, &stb, 0); in descend() 322 i = fstatat(curfd, curname, &stb, AT_SYMLINK_NOFOLLOW); in descend() 341 if (dflg && stb.st_dev != device) { in descend() 347 device = stb.st_dev; in descend() 362 if (Lflg || ((stb.st_mode & S_IFMT) == S_IFDIR) || in descend() 363 (stb.st_nlink > 1)) { in descend() 365 if ((rc = add_tnode(&tree, stb.st_dev, stb.st_ino)) != 1) { in descend() 384 blocks = Aflg ? stb.st_size : stb.st_blocks; in descend() 393 ((stb.st_mode & S_IFMT) != S_IFLNK)) && in descend() [all …]
|
/titanic_44/usr/src/lib/libc/sparcv9/gen/ |
H A D | strcpy.s | 75 stb %o5, [%o2] ! dst[0] = src[0] 87 stb %o4, [%o2] ! store first byte 89 stb %o5, [%o2 + 1] ! store second byte 101 stb %o4, [%o2] ! store first byte 105 stb %o4, [%o2 + 1] ! store second byte 109 stb %o4, [%o2 + 2] ! store third byte 111 stb %o5, [%o2 + 3] ! store fourth byte 147 stb %o3, [%o2 - 8] ! store first byte 152 stb %o3, [%o2 - 7] ! store second byte 157 stb %o3, [%o2 - 6] ! store third byte [all …]
|
H A D | strncpy.s | 79 stb %o1, [%o2 + %g4] ! dst[] = src[] 125 stb %g1, [%o3] ! store it 129 stb %g1, [%o3 + 1] ! store it 133 stb %g1, [%o3 + 2] ! store it 137 stb %g1, [%o3 + 3] ! store it 141 stb %g1, [%o3 + 4] ! store it 145 stb %g1, [%o3 + 5] ! store it 149 stb %g1, [%o3 + 6] ! store it 152 stb %o1, [%o3 + 7] ! store eighth byte 164 stb %g0, [%o3] ! dst[] = 0 [all …]
|
H A D | strlcpy.s | 122 stb %g1, [%i2] ! store it 127 stb %g1, [%i2] ! store it 132 stb %g1, [%i2] ! store it 137 stb %g1, [%i2] ! store it 142 stb %g1, [%i2] ! store it 147 stb %g1, [%i2] ! store it 152 stb %g1, [%i2] ! store it 153 stb %l1, [%i2 + 1] ! store eigth byte 176 stb %g1, [%i2] ! store it 183 stb %g1, [%i2] ! store it [all …]
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | scandir.c | 44 struct stat stb; in scandir() local 50 if (fstat(dirp->dd_fd, &stb) < 0) in scandir() 57 arraysz = (stb.st_size / 24); in scandir() 81 if (fstat(dirp->dd_fd, &stb) < 0) in scandir() 83 arraysz = stb.st_size / 12; in scandir()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | ttyname.c | 361 struct stat64 stb; in ispts() local 366 if (stat64(buf, &stb) != 0) in ispts() 370 if (stb.st_rdev == fsb->st_rdev) in ispts() 372 } else if (stb.st_rdev == fsb->st_rdev && stb.st_dev == fsb->st_dev && in ispts() 373 stb.st_ino == fsb->st_ino) in ispts() 388 struct stat64 stb; in ispty() local 392 if (ptsldev == NODEV && stat64("/dev/ttyp0", &stb) == 0) in ispty() 393 ptsldev = stb.st_rdev; in ispty() 403 if (ptcdev == NODEV && stat64("/dev/ptyp0", &stb) == 0) in ispty() 404 ptcdev = stb.st_rdev; in ispty() [all …]
|
H A D | scandir.c | 81 struct stat64 stb; in scandir64() local 87 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir64() 94 tmp_arraysz = stb.st_size / 24; /* 24 bytes on a 64-bit system */ in scandir64() 166 struct stat64 stb; in scandir() local 172 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir() 179 tmp_arraysz = stb.st_size / 24; /* 24 bytes on a 64-bit system */ in scandir()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 287 struct stat stb, stl; local 296 if (stat(tty, &stb) == -1) { 300 if ((stb.st_mode & 0100) == 0) { 347 if (fstat(fd, &stb) != 0 || stb.st_uid != pwd->pw_uid) { 379 if (fstat(mbox, &stb) == -1 || lstat(name, &stl) == -1) { 389 stl.st_dev != stb.st_dev || 390 stl.st_ino != stb.st_ino || 392 stb.st_nlink != 1) { 397 timep[0] = stb.st_atime; 398 timep[1] = stb.st_mtime;
|
/titanic_44/usr/src/cmd/avs/sv/ |
H A D | svboot.c | 332 struct stat stb; in resume_dev() local 337 if (stat(svn->svn_path, &stb) != 0) { in resume_dev() 343 svc.svc_major = major(stb.st_rdev); in resume_dev() 344 svc.svc_minor = minor(stb.st_rdev); in resume_dev() 378 struct stat stb; in read_libcfg() local 405 if (stat(rdev, &stb) != 0) { in read_libcfg() 411 if (!S_ISCHR(stb.st_mode)) { in read_libcfg() 445 struct stat stb; in suspend_dev() local 448 if (stat(path, &stb) < 0) { in suspend_dev() 452 svc.svc_major = major(stb.st_rdev); in suspend_dev() [all …]
|
/titanic_44/usr/src/ucbcmd/ls/ |
H A D | ls.c | 335 struct stat stb, stb1; in gstat() local 337 if ((*statf)(file, &stb) < 0) { in gstat() 338 if (statf == lstat || lstat(file, &stb) < 0) { in gstat() 349 fp->fblks = stb.st_blocks; in gstat() 350 fp->fsize = stb.st_size; in gstat() 351 switch (stb.st_mode & S_IFMT) { in gstat() 357 fp->ftype = 'b'; fp->fsize = (off_t)stb.st_rdev; break; in gstat() 359 fp->ftype = 'c'; fp->fsize = (off_t)stb.st_rdev; break; in gstat() 411 stb = stb1; in gstat() 413 fp->fsize = stb.st_size; in gstat() [all …]
|
/titanic_44/usr/src/cmd/ssh/scp/ |
H A D | scp.c | 586 struct stat stb; local 607 if (fstat(fd, &stb) < 0) { 611 switch (stb.st_mode & S_IFMT) { 616 rsource(name, &stb); 635 (ulong_t)stb.st_mtime, 636 (ulong_t)stb.st_atime); 644 (uint_t)(stb.st_mode & FILEMODEMASK), 645 (long long)stb.st_size, last); 649 (uint_t)(stb.st_mode & FILEMODEMASK), 650 (ulong_t)stb.st_size, last); [all …]
|
/titanic_44/usr/src/lib/libc/sparc/gen/ |
H A D | strcpy.s | 74 stb %o1, [%o2] ! store first byte 85 stb %o4, [%o2] ! store first byte 88 stb %o1, [%o2 + 1] ! store second byte 114 stb %o3, [%o2 - 4] ! store first byte 119 stb %o3, [%o2 - 3] ! store second byte 124 stb %o3, [%o2 - 2] ! store third byte 125 stb %o1, [%o2 - 1] ! store fourth byte 144 stb %g1, [%o2 - 4] ! store first byte; half-word aligned now 148 stb %o1, [%o2 - 1] ! store fourth byte
|
H A D | strncpy.s | 83 stb %i1, [%i2 + %i4] ! dst[] = src[] 118 stb %g1, [%l0] ! store it 123 stb %g1, [%l0 + 1] ! store it 129 stb %g1, [%l0 + 2] ! store it 134 stb %i1, [%l0 + 3] ! store fourth byte 146 stb %g0, [%l0] ! dst[] = 0 211 stb %g1, [%i2 + %i4] ! store it 227 stb %i1, [%i2 + %i4] ! store fourth byte 243 stb %g1, [%l0] ! store first byte 247 stb %i1, [%l0 + 3] ! store fourth byte [all …]
|
H A D | strlcpy.s | 103 stb %g1, [%i2] ! store byte 108 stb %g1, [%i2] ! store byte 113 stb %g1, [%i2] ! store byte 114 stb %l1, [%i2 + 1] ! store last byte 130 stb %g1, [%i2] ! store byte 137 stb %g1, [%i2] ! store 144 stb %g1, [%i2] ! store 150 stb %l1, [%i2] 153 stb %g0, [%i2] 192 stb %g1, [%l0] [all …]
|
H A D | memcpy.s | 67 stb %o3, [%o0] ! move a byte to align src 77 stb %o4, [%o0] ! have to do bytes, 78 stb %o3, [%o0 + 1] ! don't know dst alingment
|
/titanic_44/usr/src/ucbcmd/install.d/ |
H A D | install.c | 73 struct stat stb; in main() local 142 if (stat(dirname, &stb) < 0) { in main() 146 if ((stb.st_mode&S_IFMT) != S_IFDIR) { in main() 150 mode = (mode & ~S_ISGID) | (stb.st_mode & S_ISGID); in main() 176 if (stat(argv[argc-1], &stb) < 0) in main() 178 if ((stb.st_mode&S_IFMT) != S_IFDIR) in main()
|
/titanic_44/usr/src/cmd/svr4pkg/pkgserv/ |
H A D | pkgserv.c | 733 struct stat stb; in parse_contents() local 750 if (fstat(cnt, &stb) != 0) { in parse_contents() 754 if (stb.st_size == 0) { in parse_contents() 759 map = mmap(0, stb.st_size, PROT_READ, MAP_PRIVATE, cnt, 0); in parse_contents() 764 (void) madvise(map, stb.st_size, MADV_WILLNEED); in parse_contents() 766 for (off = 0; off < stb.st_size; off += q - p) { in parse_contents() 768 q = memchr(p, '\n', stb.st_size - off); in parse_contents() 826 (void) munmap(map, stb.st_size); in parse_contents() 829 if (cntserrs > 0 && stb.st_nlink == 1) { in parse_contents() 848 struct stat stb; in parse_log() local [all …]
|