Searched refs:statinfo (Results 1 – 9 of 9) sorted by relevance
/titanic_44/usr/src/cmd/fs.d/cachefs/fsck/ |
H A D | fsck.c | 436 struct stat64 statinfo; in cfs_check() local 537 xx = lstat64(buf, &statinfo); in cfs_check() 550 if (S_ISDIR(statinfo.st_mode)) { in cfs_check() 572 xx = lstat64(buf, &statinfo); in cfs_check() 585 if (S_ISDIR(statinfo.st_mode)) in cfs_check() 589 if (!S_ISLNK(statinfo.st_mode)) { in cfs_check() 595 res_addfile(resp, (long)statinfo.st_size); in cfs_check() 618 xx = lstat64(buf, &statinfo); in cfs_check() 633 if (!S_ISDIR(statinfo.st_mode)) in cfs_check() 637 if ((statinfo.st_mode & S_IAMB) != 0700) in cfs_check() [all …]
|
H A D | dlog_ck.c | 51 struct stat64 statinfo; in dlog_ck() local 79 err = lstat64(dlog_path, &statinfo); in dlog_ck() 111 while (offset < (off_t)statinfo.st_size) { in dlog_ck() 143 (off_t)statinfo.st_size) { in dlog_ck() 209 ((offset + (off_t)buf.dl_len) != (off_t)statinfo.st_size)) { in dlog_ck()
|
H A D | res.c | 105 struct stat64 statinfo; in res_create() local 117 xx = lstat64(namep, &statinfo); in res_create() 119 if ((xx == -1) || (statinfo.st_size != (offset_t)size) || in res_create() 120 !(S_ISREG(statinfo.st_mode))) { in res_create()
|
/titanic_44/usr/src/cmd/fs.d/cachefs/common/ |
H A D | subr.c | 208 struct stat64 statinfo; in cachefs_label_file_get() local 211 xx = lstat64(filep, &statinfo); in cachefs_label_file_get() 224 if (!S_ISREG(statinfo.st_mode)) { in cachefs_label_file_get() 230 if (statinfo.st_size != (offset_t)sizeof (struct cache_label)) { in cachefs_label_file_get() 684 struct stat64 statinfo; in cachefs_delete_all_cache() local 724 xx = lstat64(path, &statinfo); in cachefs_delete_all_cache() 756 xx = lstat64(path, &statinfo); in cachefs_delete_all_cache() 770 if (!S_ISLNK(statinfo.st_mode)) in cachefs_delete_all_cache() 869 struct stat64 statinfo; in cachefs_delete_cache() local 882 xx = lstat64(path, &statinfo); in cachefs_delete_cache() [all …]
|
/titanic_44/usr/src/cmd/w/ |
H A D | w.c | 165 struct pstatus statinfo; in main() local 381 if (read(procfd, &statinfo, sizeof (statinfo)) in main() 382 != sizeof (statinfo)) { in main() 395 up->p_time = statinfo.pr_utime.tv_sec + in main() 396 statinfo.pr_stime.tv_sec; /* seconds */ in main() 397 up->p_ctime = statinfo.pr_cutime.tv_sec + in main() 398 statinfo.pr_cstime.tv_sec; in main()
|
/titanic_44/usr/src/cmd/whodo/ |
H A D | whodo.c | 170 struct pstatus statinfo; in main() local 362 if (read(procfd, &statinfo, sizeof (statinfo)) in main() 363 != sizeof (statinfo)) { in main() 376 up->p_time = statinfo.pr_utime.tv_sec + in main() 377 statinfo.pr_stime.tv_sec; in main() 378 up->p_ctime = statinfo.pr_cutime.tv_sec + in main() 379 statinfo.pr_cstime.tv_sec; in main()
|
/titanic_44/usr/src/lib/libdscfg/common/ |
H A D | cfg_vols.c | 994 device_t *statinfo = 0; in sv_action() local 1016 statinfo = nsc_lookup(devhash, path); in sv_action() 1018 if (statinfo) { in sv_action() 1019 if (!S_ISCHR(statinfo->mode)) in sv_action() 1021 svc.svc_major = major(statinfo->rdev); in sv_action() 1022 svc.svc_minor = minor(statinfo->rdev); in sv_action()
|
/titanic_44/usr/src/cmd/fs.d/cachefs/cfsadmin/ |
H A D | cfsadmin.c | 786 struct stat64 statinfo; in cache_stats() local 846 xx = lstat64(path, &statinfo); in cache_stats() 855 if (!S_ISLNK(statinfo.st_mode)) in cache_stats()
|
/titanic_44/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 582 struct stat statinfo; in q_findSbusfile() local 588 if (fstat(fd, &statinfo)) { in q_findSbusfile() 592 file_size = statinfo.st_size; in q_findSbusfile()
|