Home
last modified time | relevance | path

Searched refs:pm_fatmask (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/fat/bsd/fs/msdosfs/
H A Dfat.h78 #define FAT12(pmp) (pmp->pm_fatmask == FAT12_MASK)
79 #define FAT16(pmp) (pmp->pm_fatmask == FAT16_MASK)
80 #define FAT32(pmp) (pmp->pm_fatmask == FAT32_MASK)
82 #define MSDOSFSEOF(pmp, cn) ((((cn) | ~(pmp)->pm_fatmask) & CLUST_EOFS) == CLUST_EOFS)
H A Dmsdosfs_fat.c200 if ((cn | ~pmp->pm_fatmask) >= CLUST_RSRVD) in pcbmap()
225 cn &= pmp->pm_fatmask; in pcbmap()
233 if ((cn | ~pmp->pm_fatmask) >= CLUST_RSRVD) in pcbmap()
234 cn |= ~pmp->pm_fatmask; in pcbmap()
524 readcn &= pmp->pm_fatmask; in fatentry()
526 if ((readcn | ~pmp->pm_fatmask) >= CLUST_RSRVD) in fatentry()
527 readcn |= ~pmp->pm_fatmask; in fatentry()
531 switch (pmp->pm_fatmask) { in fatentry()
601 switch (pmp->pm_fatmask) { in fatchain()
622 readcn &= ~pmp->pm_fatmask; in fatchain()
[all …]
H A Dmsdosfsmount.h106 uint32_t pm_fatmask; /* mask to use for FAT numbers */ member
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dkernel_interface.cpp369 dummyVolume.pm_fatmask = FAT12_MASK; in dosfs_identify_partition()
372 dummyVolume.pm_fatmask = FAT16_MASK; in dosfs_identify_partition()
375 dummyVolume.pm_fatmask = FAT32_MASK; in dosfs_identify_partition()
3563 fatVolume->pm_fatmask = FAT12_MASK; in fat_volume_init()
3566 fatVolume->pm_fatmask = FAT16_MASK; in fat_volume_init()
3569 fatVolume->pm_fatmask = FAT32_MASK; in fat_volume_init()