Lines Matching refs:stat_buff
118 struct stat stat_buff; in test_if_shannon_card_exists() local
122 if (stat(path, &stat_buff) < 0) in test_if_shannon_card_exists()
128 shannon_devices[shannon_found_devices].st_dev= stat_buff.st_rdev; in test_if_shannon_card_exists()
136 (ulong) stat_buff.st_dev, in test_if_shannon_card_exists()
137 (ulong) stat_buff.st_rdev, in test_if_shannon_card_exists()
154 if (stat(path, &stat_buff) < 0) in test_if_shannon_card_exists()
157 shannon_devices[shannon_found_devices].st_dev= stat_buff.st_rdev; in test_if_shannon_card_exists()
165 (ulong) stat_buff.st_dev, in test_if_shannon_card_exists()
236 struct stat stat_buff; in shannon_has_atomic_write() local
238 if (fstat(file, &stat_buff) < 0) in shannon_has_atomic_write()
248 (ulong) stat_buff.st_dev, (ulong) stat_buff.st_rdev); in shannon_has_atomic_write()
256 if (SAME_DEV(stat_buff.st_dev, dev->st_dev)) in shannon_has_atomic_write()
294 struct stat stat_buff; in test_if_sfx_card_exists() local
298 if (stat(sfx_devices[sfx_found_devices].dev_name, &stat_buff) < 0) in test_if_sfx_card_exists()
301 sfx_devices[sfx_found_devices].st_dev= stat_buff.st_rdev; in test_if_sfx_card_exists()
353 struct stat stat_buff; in sfx_has_atomic_write() local
355 if (fstat(file, &stat_buff) == 0) in sfx_has_atomic_write()
357 if (SAME_DEV(stat_buff.st_dev, dev->st_dev)) in sfx_has_atomic_write()