Lines Matching defs:fsb
101 const entry_t skip_dirs[], struct stat64 *fsb);
103 static char *ispts(struct stat64 *fsb, int match_mask);
104 static char *ispty(struct stat64 *fsb, int match_mask);
158 struct stat64 fsb;
160 fsb.st_rdev = rdev;
167 return (_ttyname_common(&fsb, buffer, MATCH_MM));
177 struct stat64 fsb; /* what we are searching for */
182 if (fstat64(f, &fsb) < 0) {
187 ((fsb.st_mode & S_IFMT) != S_IFCHR)) {
197 return (_ttyname_common(&fsb, buffer, MATCH_ALL));
358 ispts(struct stat64 *fsb, int match_mask)
364 itoa(minor(fsb->st_rdev), buf+strlen(buf));
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)
385 ispty(struct stat64 *fsb, int match_mask)
399 if (major(fsb->st_rdev) != major(ptsldev)) {
410 if (major(fsb->st_rdev) != major(ptcdev))
417 dmin = minor(fsb->st_rdev);
431 if (stb.st_rdev == fsb->st_rdev)
433 } else if (stb.st_rdev == fsb->st_rdev &&
434 stb.st_dev == fsb->st_dev &&
435 stb.st_ino == fsb->st_ino)
468 * fsb. It puts the answer into rbuf. If a match is found on device
481 struct stat64 *fsb) /* the file being searched for */
557 skip_dirs, fsb);
567 if (tsb.st_dev == fsb->st_dev)
569 if (tsb.st_rdev == fsb->st_rdev)
571 if (tsb.st_ino == fsb->st_ino)