Searched refs:bpb (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/fs/fat/ |
D | inode.c | 1456 int silent, struct fat_bios_param_block *bpb) in fat_read_bpb() argument 1461 memset(bpb, 0, sizeof(*bpb)); in fat_read_bpb() 1462 bpb->fat_sector_size = get_unaligned_le16(&b->sector_size); in fat_read_bpb() 1463 bpb->fat_sec_per_clus = b->sec_per_clus; in fat_read_bpb() 1464 bpb->fat_reserved = le16_to_cpu(b->reserved); in fat_read_bpb() 1465 bpb->fat_fats = b->fats; in fat_read_bpb() 1466 bpb->fat_dir_entries = get_unaligned_le16(&b->dir_entries); in fat_read_bpb() 1467 bpb->fat_sectors = get_unaligned_le16(&b->sectors); in fat_read_bpb() 1468 bpb->fat_fat_length = le16_to_cpu(b->fat_length); in fat_read_bpb() 1469 bpb->fat_total_sect = le32_to_cpu(b->total_sect); in fat_read_bpb() [all …]
|
/kernel/linux/linux-4.19/fs/fat/ |
D | inode.c | 1457 int silent, struct fat_bios_param_block *bpb) in fat_read_bpb() argument 1462 memset(bpb, 0, sizeof(*bpb)); in fat_read_bpb() 1463 bpb->fat_sector_size = get_unaligned_le16(&b->sector_size); in fat_read_bpb() 1464 bpb->fat_sec_per_clus = b->sec_per_clus; in fat_read_bpb() 1465 bpb->fat_reserved = le16_to_cpu(b->reserved); in fat_read_bpb() 1466 bpb->fat_fats = b->fats; in fat_read_bpb() 1467 bpb->fat_dir_entries = get_unaligned_le16(&b->dir_entries); in fat_read_bpb() 1468 bpb->fat_sectors = get_unaligned_le16(&b->sectors); in fat_read_bpb() 1469 bpb->fat_fat_length = le16_to_cpu(b->fat_length); in fat_read_bpb() 1470 bpb->fat_total_sect = le32_to_cpu(b->total_sect); in fat_read_bpb() [all …]
|
/kernel/linux/linux-4.19/fs/ntfs/ |
D | super.c | 606 if (le16_to_cpu(b->bpb.bytes_per_sector) < 0x100 || in is_boot_sector_ntfs() 607 le16_to_cpu(b->bpb.bytes_per_sector) > 0x1000) in is_boot_sector_ntfs() 610 switch (b->bpb.sectors_per_cluster) { in is_boot_sector_ntfs() 617 if ((u32)le16_to_cpu(b->bpb.bytes_per_sector) * in is_boot_sector_ntfs() 618 b->bpb.sectors_per_cluster > NTFS_MAX_CLUSTER_SIZE) in is_boot_sector_ntfs() 621 if (le16_to_cpu(b->bpb.reserved_sectors) || in is_boot_sector_ntfs() 622 le16_to_cpu(b->bpb.root_entries) || in is_boot_sector_ntfs() 623 le16_to_cpu(b->bpb.sectors) || in is_boot_sector_ntfs() 624 le16_to_cpu(b->bpb.sectors_per_fat) || in is_boot_sector_ntfs() 625 le32_to_cpu(b->bpb.large_sectors) || b->bpb.fats) in is_boot_sector_ntfs() [all …]
|
D | layout.h | 72 BIOS_PARAMETER_BLOCK bpb; /* See BIOS_PARAMETER_BLOCK. */ member
|
/kernel/linux/linux-5.10/fs/ntfs/ |
D | super.c | 592 if (le16_to_cpu(b->bpb.bytes_per_sector) < 0x100 || in is_boot_sector_ntfs() 593 le16_to_cpu(b->bpb.bytes_per_sector) > 0x1000) in is_boot_sector_ntfs() 596 switch (b->bpb.sectors_per_cluster) { in is_boot_sector_ntfs() 603 if ((u32)le16_to_cpu(b->bpb.bytes_per_sector) * in is_boot_sector_ntfs() 604 b->bpb.sectors_per_cluster > NTFS_MAX_CLUSTER_SIZE) in is_boot_sector_ntfs() 607 if (le16_to_cpu(b->bpb.reserved_sectors) || in is_boot_sector_ntfs() 608 le16_to_cpu(b->bpb.root_entries) || in is_boot_sector_ntfs() 609 le16_to_cpu(b->bpb.sectors) || in is_boot_sector_ntfs() 610 le16_to_cpu(b->bpb.sectors_per_fat) || in is_boot_sector_ntfs() 611 le32_to_cpu(b->bpb.large_sectors) || b->bpb.fats) in is_boot_sector_ntfs() [all …]
|
D | layout.h | 58 BIOS_PARAMETER_BLOCK bpb; /* See BIOS_PARAMETER_BLOCK. */ member
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | xattr.c | 6842 int bpb = args->old_bucket->bu_blocks; in ocfs2_reflink_xattr_bucket() local 6847 for (i = 0; i < num_buckets; i++, blkno += bpb, new_blkno += bpb) { in ocfs2_reflink_xattr_bucket() 6868 for (j = 0; j < bpb; j++) in ocfs2_reflink_xattr_bucket()
|
/kernel/linux/linux-4.19/fs/ocfs2/ |
D | xattr.c | 6850 int bpb = args->old_bucket->bu_blocks; in ocfs2_reflink_xattr_bucket() local 6855 for (i = 0; i < num_buckets; i++, blkno += bpb, new_blkno += bpb) { in ocfs2_reflink_xattr_bucket() 6876 for (j = 0; j < bpb; j++) in ocfs2_reflink_xattr_bucket()
|