/kernel/linux/linux-5.10/fs/fat/ |
H A D | inode.c | 1456 int silent, struct fat_bios_param_block *bpb) in fat_read_bpb() 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 in fat_read_bpb() 1455 fat_read_bpb(struct super_block *sb, struct fat_boot_sector *b, int silent, struct fat_bios_param_block *bpb) fat_read_bpb() argument 1533 fat_read_static_bpb(struct super_block *sb, struct fat_boot_sector *b, int silent, struct fat_bios_param_block *bpb) fat_read_static_bpb() argument 1608 struct fat_bios_param_block bpb; fat_fill_super() local [all...] |
/kernel/linux/linux-6.6/fs/fat/ |
H A D | inode.c | 1455 int silent, struct fat_bios_param_block *bpb) in fat_read_bpb() 1460 memset(bpb, 0, sizeof(*bpb)); in fat_read_bpb() 1461 bpb->fat_sector_size = get_unaligned_le16(&b->sector_size); in fat_read_bpb() 1462 bpb->fat_sec_per_clus = b->sec_per_clus; in fat_read_bpb() 1463 bpb->fat_reserved = le16_to_cpu(b->reserved); in fat_read_bpb() 1464 bpb->fat_fats = b->fats; in fat_read_bpb() 1465 bpb->fat_dir_entries = get_unaligned_le16(&b->dir_entries); in fat_read_bpb() 1466 bpb->fat_sectors = get_unaligned_le16(&b->sectors); in fat_read_bpb() 1467 bpb in fat_read_bpb() 1454 fat_read_bpb(struct super_block *sb, struct fat_boot_sector *b, int silent, struct fat_bios_param_block *bpb) fat_read_bpb() argument 1532 fat_read_static_bpb(struct super_block *sb, struct fat_boot_sector *b, int silent, struct fat_bios_param_block *bpb) fat_read_static_bpb() argument 1604 struct fat_bios_param_block bpb; fat_fill_super() local [all...] |
/kernel/linux/linux-5.10/fs/ntfs/ |
H A 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 in is_boot_sector_ntfs() [all...] |
H A D | layout.h | 35 * BIOS parameter block (bpb) structure. 58 BIOS_PARAMETER_BLOCK bpb; /* See BIOS_PARAMETER_BLOCK. */ member
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | super.c | 600 if (le16_to_cpu(b->bpb.bytes_per_sector) < 0x100 || in is_boot_sector_ntfs() 601 le16_to_cpu(b->bpb.bytes_per_sector) > 0x1000) in is_boot_sector_ntfs() 604 switch (b->bpb.sectors_per_cluster) { in is_boot_sector_ntfs() 611 if ((u32)le16_to_cpu(b->bpb.bytes_per_sector) * in is_boot_sector_ntfs() 612 b->bpb.sectors_per_cluster > NTFS_MAX_CLUSTER_SIZE) in is_boot_sector_ntfs() 615 if (le16_to_cpu(b->bpb.reserved_sectors) || in is_boot_sector_ntfs() 616 le16_to_cpu(b->bpb.root_entries) || in is_boot_sector_ntfs() 617 le16_to_cpu(b->bpb.sectors) || in is_boot_sector_ntfs() 618 le16_to_cpu(b->bpb.sectors_per_fat) || in is_boot_sector_ntfs() 619 le32_to_cpu(b->bpb in is_boot_sector_ntfs() [all...] |
H A D | layout.h | 35 * BIOS parameter block (bpb) structure. 58 BIOS_PARAMETER_BLOCK bpb; /* See BIOS_PARAMETER_BLOCK. */ member
|
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | index.c | 2045 u64 bpb, new_data; in indx_shrink() local 2095 bpb = bitmap_size(bit); in indx_shrink() 2096 if (bpb * 8 == nbits) in indx_shrink() 2100 &indx->bitmap_run, bpb, &bpb, false, NULL); in indx_shrink()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A 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-6.6/fs/ocfs2/ |
H A D | xattr.c | 6836 int bpb = args->old_bucket->bu_blocks; in ocfs2_reflink_xattr_bucket() local 6841 for (i = 0; i < num_buckets; i++, blkno += bpb, new_blkno += bpb) { in ocfs2_reflink_xattr_bucket() 6862 for (j = 0; j < bpb; j++) in ocfs2_reflink_xattr_bucket()
|