Home
last modified time | relevance | path

Searched refs:stb1 (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/cmd/diff/
H A Ddiff.h156 struct stat stb1; variable
165 struct stat stb1, stb2; variable
H A Ddiff.c360 if (fstat(fileno(stdin), &stb1) == 0) in main()
361 stb1.st_mode = S_IFREG; in main()
367 } else if (stat(file1, &stb1) < 0) { in main()
391 if ((stb1.st_mode & S_IFMT) == S_IFDIR && in main()
397 filename(&file1, &file2, &stb1, &input_file1); in main()
415 if (stb1.st_size != stb2.st_size) in main()
820 (void) cftime(time_buf, dcmsg, &stb1.st_mtime); in change()
1456 struct stat stb1, stb2; in compare() local
1463 if (stat(file1, &stb1) == -1) { in compare()
1474 fmt1 = stb1.st_mode & S_IFMT; in compare()
[all …]
/titanic_50/usr/src/cmd/avs/dsbitmap/
H A Ddsbitmap.c164 struct stat64 stb1, stb2; in get_partsize() local
171 if (stat64("/devices/pseudo/zfs@0:zfs", &stb1) != 0 || in get_partsize()
173 !S_ISCHR(stb1.st_mode) || in get_partsize()
175 major(stb1.st_rdev) != major(stb2.st_rdev)) { in get_partsize()
/titanic_50/usr/src/ucbcmd/ls/
H A Dls.c335 struct stat stb, stb1; in gstat() local
376 if (Fflg && !stat(file, &stb1)) in gstat()
377 switch (stb1.st_mode & S_IFMT) { in gstat()
391 if ((stb1.st_mode & ~S_IFMT) in gstat()
408 if (pnb != (off_t *)0 || stat(file, &stb1) < 0) in gstat()
410 if ((stb1.st_mode & S_IFMT) == S_IFDIR) { in gstat()
411 stb = stb1; in gstat()
/titanic_50/usr/src/cmd/du/
H A Ddu.c284 struct stat stb, stb1; in descend() local
312 j = fstatat(curfd, curname, &stb1, AT_SYMLINK_NOFOLLOW); in descend()
439 if (curname == NULL || (Lflg && S_ISLNK(stb1.st_mode))) { in descend()
509 if (curname == NULL || (Lflg && S_ISLNK(stb1.st_mode))) in descend()
/titanic_50/usr/src/cmd/avs/nsctl/
H A Dnskernd.c583 struct stat64 stb1, stb2; in zvol_bsize() local
595 if (stat64("/devices/pseudo/zfs@0:zfs", &stb1) != 0 || in zvol_bsize()
597 !S_ISCHR(stb1.st_mode) || in zvol_bsize()
599 major(stb1.st_rdev) != major(stb2.st_rdev)) { in zvol_bsize()