Home
last modified time | relevance | path

Searched refs:fsInfo (Results 1 – 3 of 3) sorted by relevance

/haiku/src/system/libroot/os/
H A Dfind_directory.cpp283 struct fs_info fsInfo; in __find_directory() local
302 if (fs_stat_dev(device, &fsInfo) != B_OK) in __find_directory()
306 err = _user_entry_ref_to_path(device, fsInfo.root, /*"."*/ in __find_directory()
309 err = _kern_entry_ref_to_path(device, fsInfo.root, /*"."*/ in __find_directory()
331 if (device == bootDevice || !strcmp(fsInfo.fsh_name, "bfs")) in __find_directory()
336 if (device == bootDevice || !strcmp(fsInfo.fsh_name, "bfs")) in __find_directory()
338 else if (!strcmp(fsInfo.fsh_name, "fat")) in __find_directory()
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dsupport.cpp560 const struct fsinfo* fsInfo; in read_fsinfo() local
567 fsInfo = reinterpret_cast<const fsinfo*>(buffer); in read_fsinfo()
568 if (memcmp(fsInfo->fsisig1, "RRaA", 4) == 0 && memcmp(fsInfo->fsisig2, "rrAa", 4) == 0 in read_fsinfo()
569 && memcmp(fsInfo->fsisig3, "\0\0\125\252", 4) == 0) { in read_fsinfo()
570 volume->pm_nxtfree = getulong(fsInfo->fsinxtfree); in read_fsinfo()
612 struct fsinfo* fsInfo = reinterpret_cast<struct fsinfo*>(buffer); in write_fsinfo() local
613 if (memcmp(fsInfo->fsisig1, "RRaA", 4) != 0 || memcmp(fsInfo->fsisig2, "rrAa", 4) != 0 in write_fsinfo()
614 || memcmp(fsInfo->fsisig3, "\0\0\125\252", 4) != 0) { in write_fsinfo()
620 putulong(fsInfo->fsinfree, volume->pm_freeclustercount); in write_fsinfo()
621 putulong(fsInfo->fsinxtfree, volume->pm_nxtfree); in write_fsinfo()
/haiku/src/servers/mount/
H A DAutoMounter.cpp356 fs_info fsInfo; in Visit() local
357 if (fs_stat_dev(volume.Device(), &fsInfo) == 0) { in Visit()
358 if ((fsInfo.flags & B_FS_IS_READONLY) != 0) in Visit()