Searched refs:stb (Results 1 - 25 of 90) sorted by relevance

1234

/illumos-gate/usr/src/ucbcmd/biff/
H A Dbiff.c58 struct stat stb; local
75 if (stat(cp, &stb) < 0)
79 stb.st_mode&0100 ? gettext("y") : gettext("n"));
80 exit((stb.st_mode&0100) ? 0 : 1);
85 if (chmod(cp, stb.st_mode|0100) < 0)
90 if (chmod(cp, stb.st_mode&~0100) < 0)
97 return ((stb.st_mode&0100) ? 0 : 1);
/illumos-gate/usr/src/ucbcmd/ln/
H A Dln.c27 struct stat stb; variable in typeref:struct:stat
58 if (stat(argv[argc-1], &stb) < 0)
60 if ((stb.st_mode&S_IFMT) != S_IFDIR)
84 if (sflag == 0 && fflag == 0 && stat(from, &stb) >= 0 &&
85 (stb.st_mode&S_IFMT) == S_IFDIR) {
89 if (stat(to, &stb) >= 0 && (stb.st_mode&S_IFMT) == S_IFDIR) {
/illumos-gate/usr/src/lib/libbc/libc/crt/sparc/
H A Dmisalign.s95 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
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dscandir.c44 struct stat stb; local
50 if (fstat(dirp->dd_fd, &stb) < 0)
57 arraysz = (stb.st_size / 24);
81 if (fstat(dirp->dd_fd, &stb) < 0)
83 arraysz = stb.st_size / 12;
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dscandir.c79 struct stat64 stb; local
85 if (fstat64(dirp->dd_fd, &stb) < 0)
92 arraysz = (stb.st_size / 24);
118 if (fstat64(dirp->dd_fd, &stb) < 0)
120 arraysz = stb.st_size / 12;
146 struct stat64 stb; local
152 if (fstat64(dirp->dd_fd, &stb) < 0)
158 if (stb.st_size > SSIZE_MAX) {
162 arraysz = (stb.st_size / 24);
188 if (fstat64(dirp->dd_fd, &stb) <
[all...]
/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]
143 stb %g3, [%i5 + %g2]
147 stb %g4, [%i5 + %g1]
169 stb %o3, [%i5+%o2]
172 stb
[all...]
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dsparc_locks.s44 stb %g0, [%o0]
/illumos-gate/usr/src/lib/libc/sparc/gen/
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
90 stb %o5, [%o0]
173 4: stb %o4, [%o0] ! write to address
H A Dmemset.s65 stb %o1, [%o5] ! clear a byte
83 stb %o1, [%o5 + -1] ! we've already incremented the address
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
180 stb %g0, [%l0] ! store first byte
187 stb %g0, [%l0] ! dst[n] = 0
188 stb %g0, [%l0 + 1] ! dst[n+1] = 0
204 stb
[all...]
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
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
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
94 stb %o5, [%g5]
177 4: stb %o4, [%g5] ! write to address
H A Dstrcpy.s75 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
[all...]
H A Dstrncpy.s79 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
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c318 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
736 struct stat stb; local
784 struct stat stb; local
1058 struct stat stb; local
1139 struct stat stb; local
1236 struct stat stb; local
1319 struct stat stb; local
1392 struct stat stb; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dscandir.c81 struct stat64 stb; local
87 if (fstat64(dirp->dd_fd, &stb) < 0)
94 tmp_arraysz = stb.st_size / 24; /* 24 bytes on a 64-bit system */
166 struct stat64 stb; local
172 if (fstat64(dirp->dd_fd, &stb) < 0)
179 tmp_arraysz = stb.st_size / 24; /* 24 bytes on a 64-bit system */
H A Dttyname.c361 struct stat64 stb; local
366 if (stat64(buf, &stb) != 0)
370 if (stb.st_rdev == fsb->st_rdev)
372 } else if (stb.st_rdev == fsb->st_rdev && stb.st_dev == fsb->st_dev &&
373 stb.st_ino == fsb->st_ino)
388 struct stat64 stb; local
392 if (ptsldev == NODEV && stat64("/dev/ttyp0", &stb) == 0)
393 ptsldev = stb.st_rdev;
403 if (ptcdev == NODEV && stat64("/dev/ptyp0", &stb)
[all...]
/illumos-gate/usr/src/lib/libc/capabilities/sun4u/common/
H A Dmemset.s69 stb %o1, [%o5 + -1] ! we've already incremented the address
82 1: stb %o1, [%o5] ! there is at least 1 byte to set
129 stb %o1, [%o5 - 9] ! already incremented the address
216 stb %o1, [%o5]
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemset.s70 stb %o1, [%o5 + -1] ! we've already incremented the address
83 1: stb %o1, [%o5] ! there is at least 1 byte to set
130 stb %o1, [%o5 - 9] ! already incremented the address
231 stb %o1, [%o5]
/illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/pid/
H A Dtst.branch.s41 stb %g0, [%fp - 4]
H A Dtst.embedded.s41 stb %g0, [%fp - 4]
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c693 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))
856 ** stb -- stat structure from before open.
864 filechanged(fn, fd, stb)
867 struct stat *stb;
871 if (stb->st_mode == ST_MODE_NOFILE)
875 if (lstat(fn, stb) <
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c287 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
[all...]
/illumos-gate/usr/src/cmd/avs/sv/
H A Dsvboot.c332 struct stat stb; local
337 if (stat(svn->svn_path, &stb) != 0) {
343 svc.svc_major = major(stb.st_rdev);
344 svc.svc_minor = minor(stb.st_rdev);
378 struct stat stb; local
405 if (stat(rdev, &stb) != 0) {
411 if (!S_ISCHR(stb.st_mode)) {
445 struct stat stb; local
448 if (stat(path, &stb) < 0) {
452 svc.svc_major = major(stb
[all...]
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c335 struct stat stb, stb1; local
337 if ((*statf)(file, &stb) < 0) {
338 if (statf == lstat || lstat(file, &stb) < 0) {
349 fp->fblks = stb.st_blocks;
350 fp->fsize = stb.st_size;
351 switch (stb.st_mode & S_IFMT) {
357 fp->ftype = 'b'; fp->fsize = (off_t)stb.st_rdev; break;
359 fp->ftype = 'c'; fp->fsize = (off_t)stb.st_rdev; break;
411 stb = stb1;
413 fp->fsize = stb
[all...]

Completed in 89 milliseconds

1234