Lines Matching refs:fsb
913 struct stat fsb, rsb; in get_random_seed() local
930 if (fstat(rsfd, &fsb) != 0) in get_random_seed()
933 if (!S_ISREG(fsb.st_mode) && !S_ISCHR(fsb.st_mode)) in get_random_seed()
941 if (S_ISREG(fsb.st_mode)) { in get_random_seed()
942 if (fsb.st_size > (off_t)sizeof(randseed)) in get_random_seed()
944 " %zu)!", (intmax_t)fsb.st_size, in get_random_seed()
946 else if (fsb.st_size < 1) in get_random_seed()
952 rd = read(rsfd, randseed, fsb.st_size); in get_random_seed()
956 if (rd < (ssize_t)fsb.st_size) in get_random_seed()
958 } else if (S_ISCHR(fsb.st_mode)) { in get_random_seed()
962 if (fsb.st_dev != rsb.st_dev || in get_random_seed()
963 fsb.st_ino != rsb.st_ino) in get_random_seed()