Searched refs:st_path (Results 1 – 1 of 1) sorted by relevance
144 struct stat st_path; in sd_is_fifo() local146 if (stat(path, &st_path) < 0) { in sd_is_fifo()154 return stat_inode_same(&st_path, &st_fd); in sd_is_fifo()172 struct stat st_path; in sd_is_special() local174 if (stat(path, &st_path) < 0) { in sd_is_special()182 if (S_ISREG(st_fd.st_mode) && S_ISREG(st_path.st_mode)) in sd_is_special()183 return stat_inode_same(&st_path, &st_fd); in sd_is_special()184 else if (S_ISCHR(st_fd.st_mode) && S_ISCHR(st_path.st_mode)) in sd_is_special()185 return st_path.st_rdev == st_fd.st_rdev; in sd_is_special()