Home
last modified time | relevance | path

Searched refs:stb (Results 1 – 25 of 78) sorted by relevance

1234

/illumos-gate/usr/src/common/crypto/arcfour/sun4u/
H A Darcfour_crypt_asm.S90 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]
169 stb %o3, [%i5+%o2]
211 stb %o3, [%i5+%o2]
254 stb %o3, [%i5+%o2]
295 stb %o3, [%i5+%o2]
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c316 struct stat stb; in sendf() local
340 if ((stb.st_mode & S_IFMT) == S_IFREG && stb.st_nlink > 1) in sendf()
447 opts, stb.st_mode & 07777, stb.st_size, stb.st_mtime, in sendf()
505 stb.st_mode & 07777, stb.st_size, stb.st_mtime, in sendf()
728 struct stat stb; in query() local
751 (void) sprintf(buf, "Y%ld %ld\n", stb.st_size, stb.st_mtime); in query()
774 struct stat stb; in recvf() local
1047 struct stat stb; in hardlink() local
1127 struct stat stb; in chkparent() local
1221 struct stat stb; in rmchk() local
[all …]
H A Ddocmd.c506 struct stat stb; in dodcolon() local
515 if (stat(stamp, &stb) < 0) { in dodcolon()
520 printf("%s: %d\n", stamp, stb.st_mtime); in dodcolon()
523 lastmod = stb.st_mtime; in dodcolon()
563 struct stat stb; in cmptime() local
591 switch (stb.st_mode & S_IFMT) { in cmptime()
596 rcmptime(&stb); in cmptime()
604 if (stb.st_mtime > lastmod) in cmptime()
657 struct stat stb; in notify() local
674 if (fstat(fd, &stb) < 0) { in notify()
[all …]
/illumos-gate/usr/src/ucbcmd/biff/
H A Dbiff.c56 struct stat stb; in main() local
73 if (stat(cp, &stb) < 0) in main()
77 stb.st_mode&0100 ? gettext("y") : gettext("n")); in main()
78 exit((stb.st_mode&0100) ? 0 : 1); in main()
83 if (chmod(cp, stb.st_mode|0100) < 0) in main()
88 if (chmod(cp, stb.st_mode&~0100) < 0) in main()
95 return ((stb.st_mode&0100) ? 0 : 1); in main()
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dscandir.c77 struct stat64 stb; in scandir64() local
83 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir64()
90 arraysz = (stb.st_size / 24); in scandir64()
116 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir64()
118 arraysz = stb.st_size / 12; in scandir64()
144 struct stat64 stb; in scandir() local
150 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir()
156 if (stb.st_size > SSIZE_MAX) { in scandir()
160 arraysz = (stb.st_size / 24); in scandir()
186 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir()
[all …]
/illumos-gate/usr/src/ucbcmd/ln/
H A Dln.c25 struct stat stb; variable
56 if (stat(argv[argc-1], &stb) < 0) in main()
58 if ((stb.st_mode&S_IFMT) != S_IFDIR) in main()
82 if (sflag == 0 && fflag == 0 && stat(from, &stb) >= 0 && in linkit()
83 (stb.st_mode&S_IFMT) == S_IFDIR) { in linkit()
87 if (stat(to, &stb) >= 0 && (stb.st_mode&S_IFMT) == S_IFDIR) { in linkit()
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c693 struct stat stb; local
722 sff, smode, &stb);
725 sff, smode, &stb);
749 if (filechanged(fn, fd, &stb))
864 filechanged(fn, fd, stb) in filechanged() argument
867 struct stat *stb;
875 if (lstat(fn, stb) < 0 || stb->st_nlink != 1)
885 sta.st_dev != stb->st_dev ||
886 sta.st_ino != stb->st_ino ||
891 sta.st_gid != stb->st_gid)
[all …]
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrcpy.S75 stb %o5, [%o2] ! dst[0] = src[0]
87 stb %o4, [%o2] ! store first byte
101 stb %o4, [%o2] ! store first byte
105 stb %o4, [%o2 + 1] ! store second byte
109 stb %o4, [%o2 + 2] ! store third byte
147 stb %o3, [%o2 - 8] ! store first byte
157 stb %o3, [%o2 - 6] ! store third byte
167 stb %o3, [%o2 - 4] ! store fifth byte
172 stb %o3, [%o2 - 3] ! store sixth byte
178 stb %o1, [%o2 - 1] ! store eigth byte
[all …]
H A Dstrncpy.S125 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
164 stb %g0, [%o3] ! dst[] = 0
229 stb %g1, [%o2 + %g4] ! store it
241 stb %g1, [%o2 + %g4] ! store it
[all …]
H A Dstrlcpy.S122 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
176 stb %g1, [%i2] ! store it
183 stb %g1, [%i2] ! store it
190 stb %g1, [%i2] ! store it
[all …]
H A Dmemcpy.S71 stb %o3, [%g5] ! move a byte to align src
81 stb %o4, [%g5] ! have to do bytes,
82 stb %o3, [%g5 + 1] ! don't know dst alingment
/illumos-gate/usr/src/cmd/du/
H A Ddu.c284 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 …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyname.c361 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
393 ptsldev = stb.st_rdev; in ispty()
404 ptcdev = stb.st_rdev; in ispty()
427 if (stat64(buf, &stb) != 0) in ispty()
434 stb.st_dev == fsb->st_dev && in ispty()
[all …]
H A Dscandir.c79 struct stat64 stb; in scandir64() local
85 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir64()
92 tmp_arraysz = stb.st_size / 24; /* 24 bytes on a 64-bit system */ in scandir64()
164 struct stat64 stb; in scandir() local
170 if (fstat64(dirp->dd_fd, &stb) < 0) in scandir()
177 tmp_arraysz = stb.st_size / 24; /* 24 bytes on a 64-bit system */ in scandir()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c278 struct stat stb, stl; in notify() local
287 if (stat(tty, &stb) == -1) { in notify()
291 if ((stb.st_mode & 0100) == 0) { in notify()
338 if (fstat(fd, &stb) != 0 || stb.st_uid != pwd->pw_uid) { in notify()
370 if (fstat(mbox, &stb) == -1 || lstat(name, &stl) == -1) { in notify()
380 stl.st_dev != stb.st_dev || in notify()
381 stl.st_ino != stb.st_ino || in notify()
383 stb.st_nlink != 1) { in notify()
388 timep[0] = stb.st_atime; in notify()
389 timep[1] = stb.st_mtime; in notify()
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c333 struct stat stb, stb1; in gstat() local
347 fp->fblks = stb.st_blocks; in gstat()
348 fp->fsize = stb.st_size; in gstat()
409 stb = stb1; in gstat()
411 fp->fsize = stb.st_size; in gstat()
416 fp->fnum = stb.st_ino; in gstat()
418 fp->fnl = stb.st_nlink; in gstat()
419 fp->fuid = stb.st_uid; in gstat()
420 fp->fgid = stb.st_gid; in gstat()
493 fp->fmtime = stb.st_atime; in gstat()
[all …]
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dstrcpy.S74 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 Dstrncpy.S83 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
243 stb %g1, [%l0] ! store first byte
268 stb %o5, [%o2 + %o4] ! dst[] = src[]
276 stb %g0, [%o2 + %o4] ! dst[] = 0
[all …]
H A Dstrlcpy.S103 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 Dmemcpy.S67 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
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c733 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()
768 q = memchr(p, '\n', stb.st_size - off); in parse_contents()
826 (void) munmap(map, stb.st_size); in parse_contents()
848 struct stat stb; in parse_log() local
863 if (fstat(logfd, &stb) != 0) { in parse_log()
868 if (stb.st_size == 0) { in parse_log()
885 realend = stb.st_size; in parse_log()
898 (long)(stb.st_size - realend)); in parse_log()
[all …]
/illumos-gate/usr/src/ucbcmd/install.d/
H A Dinstall.c71 struct stat stb; in main() local
140 if (stat(dirname, &stb) < 0) { in main()
144 if ((stb.st_mode&S_IFMT) != S_IFDIR) { in main()
148 mode = (mode & ~S_ISGID) | (stb.st_mode & S_ISGID); in main()
174 if (stat(argv[argc-1], &stb) < 0) in main()
176 if ((stb.st_mode&S_IFMT) != S_IFDIR) in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Druserpass.c86 struct stat stb; in rnetrc() local
135 if (fstat(fileno(cfile), &stb) >= 0 && in rnetrc()
136 (stb.st_mode & 077) != 0) { in rnetrc()
153 if (fstat(fileno(cfile), &stb) >= 0 && in rnetrc()
154 (stb.st_mode & 077) != 0) { in rnetrc()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c999 struct stat stb; in verifydir() local
1144 struct stat stb; in source() local
1159 if (fstat(f, &stb) < 0) in source()
1169 rsource(name, &stb); in source()
1192 mtime = stb.st_mtime; in source()
1193 atime = stb.st_atime; in source()
1218 (uint_t)(stb.st_mode & 07777), (longlong_t)stb.st_size, in source()
1258 size = stb.st_size; in source()
1413 struct stat stb; in sink() local
1443 if (stat(targ, &stb) == 0 && (stb.st_mode & S_IFMT) == S_IFDIR) in sink()
[all …]
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-opl/common/
H A Dmemcpy.S102 stb %o3, [%o0-1] ! store last byte
122 stb %o3, [%o0] ! write byte
140 stb %o3, [%o0] ! store a byte
321 stb %o3, [%o0] ! write byte
348 stb %o3, [%o0] ! write byte
351 stb %o3, [%o0+1]
354 stb %o3, [%o0-2]
357 stb %o3, [%o0-1]
367 stb %o3, [%o0] ! store one byte
444 stb %o4, [%o0]
[all …]

1234