bpb               319 drivers/staging/exfat/exfat.h 	u8       bpb[109];
bpb               110 drivers/staging/exfat/exfat_core.c 		p_bpb = (struct bpbex_t *)p_pbr->bpb;
bpb              3013 drivers/staging/exfat/exfat_core.c 	struct bpb16_t *p_bpb = (struct bpb16_t *)p_pbr->bpb;
bpb              3075 drivers/staging/exfat/exfat_core.c 	struct bpb32_t *p_bpb = (struct bpb32_t *)p_pbr->bpb;
bpb              3154 drivers/staging/exfat/exfat_core.c 	struct bpbex_t *p_bpb = (struct bpbex_t *)p_pbr->bpb;
bpb               393 drivers/staging/exfat/exfat_super.c 		if (p_pbr->bpb[i])
bpb               402 drivers/staging/exfat/exfat_super.c 		if (GET16(p_pbr->bpb + 11)) /* num_fat_sectors */
bpb              1457 fs/fat/inode.c 	int silent, struct fat_bios_param_block *bpb)
bpb              1462 fs/fat/inode.c 	memset(bpb, 0, sizeof(*bpb));
bpb              1463 fs/fat/inode.c 	bpb->fat_sector_size = get_unaligned_le16(&b->sector_size);
bpb              1464 fs/fat/inode.c 	bpb->fat_sec_per_clus = b->sec_per_clus;
bpb              1465 fs/fat/inode.c 	bpb->fat_reserved = le16_to_cpu(b->reserved);
bpb              1466 fs/fat/inode.c 	bpb->fat_fats = b->fats;
bpb              1467 fs/fat/inode.c 	bpb->fat_dir_entries = get_unaligned_le16(&b->dir_entries);
bpb              1468 fs/fat/inode.c 	bpb->fat_sectors = get_unaligned_le16(&b->sectors);
bpb              1469 fs/fat/inode.c 	bpb->fat_fat_length = le16_to_cpu(b->fat_length);
bpb              1470 fs/fat/inode.c 	bpb->fat_total_sect = le32_to_cpu(b->total_sect);
bpb              1472 fs/fat/inode.c 	bpb->fat16_state = b->fat16.state;
bpb              1473 fs/fat/inode.c 	bpb->fat16_vol_id = get_unaligned_le32(b->fat16.vol_id);
bpb              1475 fs/fat/inode.c 	bpb->fat32_length = le32_to_cpu(b->fat32.length);
bpb              1476 fs/fat/inode.c 	bpb->fat32_root_cluster = le32_to_cpu(b->fat32.root_cluster);
bpb              1477 fs/fat/inode.c 	bpb->fat32_info_sector = le16_to_cpu(b->fat32.info_sector);
bpb              1478 fs/fat/inode.c 	bpb->fat32_state = b->fat32.state;
bpb              1479 fs/fat/inode.c 	bpb->fat32_vol_id = get_unaligned_le32(b->fat32.vol_id);
bpb              1482 fs/fat/inode.c 	if (!bpb->fat_reserved) {
bpb              1488 fs/fat/inode.c 	if (!bpb->fat_fats) {
bpb              1506 fs/fat/inode.c 	if (!is_power_of_2(bpb->fat_sector_size)
bpb              1507 fs/fat/inode.c 	    || (bpb->fat_sector_size < 512)
bpb              1508 fs/fat/inode.c 	    || (bpb->fat_sector_size > 4096)) {
bpb              1511 fs/fat/inode.c 			       (unsigned)bpb->fat_sector_size);
bpb              1515 fs/fat/inode.c 	if (!is_power_of_2(bpb->fat_sec_per_clus)) {
bpb              1518 fs/fat/inode.c 				(unsigned)bpb->fat_sec_per_clus);
bpb              1522 fs/fat/inode.c 	if (bpb->fat_fat_length == 0 && bpb->fat32_length == 0) {
bpb              1536 fs/fat/inode.c 	struct fat_bios_param_block *bpb)
bpb              1585 fs/fat/inode.c 	memset(bpb, 0, sizeof(*bpb));
bpb              1586 fs/fat/inode.c 	bpb->fat_sector_size = SECTOR_SIZE;
bpb              1587 fs/fat/inode.c 	bpb->fat_sec_per_clus = fdefaults->sec_per_clus;
bpb              1588 fs/fat/inode.c 	bpb->fat_reserved = 1;
bpb              1589 fs/fat/inode.c 	bpb->fat_fats = 2;
bpb              1590 fs/fat/inode.c 	bpb->fat_dir_entries = fdefaults->dir_entries;
bpb              1591 fs/fat/inode.c 	bpb->fat_sectors = fdefaults->nr_sectors;
bpb              1592 fs/fat/inode.c 	bpb->fat_fat_length = fdefaults->fat_length;
bpb              1609 fs/fat/inode.c 	struct fat_bios_param_block bpb;
bpb              1657 fs/fat/inode.c 		&bpb);
bpb              1660 fs/fat/inode.c 			(struct fat_boot_sector *)bh->b_data, silent, &bpb);
bpb              1668 fs/fat/inode.c 	logical_sector_size = bpb.fat_sector_size;
bpb              1669 fs/fat/inode.c 	sbi->sec_per_clus = bpb.fat_sec_per_clus;
bpb              1701 fs/fat/inode.c 	sbi->fats = bpb.fat_fats;
bpb              1703 fs/fat/inode.c 	sbi->fat_start = bpb.fat_reserved;
bpb              1704 fs/fat/inode.c 	sbi->fat_length = bpb.fat_fat_length;
bpb              1717 fs/fat/inode.c 	if (!sbi->fat_length && bpb.fat32_length) {
bpb              1723 fs/fat/inode.c 		sbi->fat_length = bpb.fat32_length;
bpb              1724 fs/fat/inode.c 		sbi->root_cluster = bpb.fat32_root_cluster;
bpb              1727 fs/fat/inode.c 		sbi->fsinfo_sector = bpb.fat32_info_sector;
bpb              1757 fs/fat/inode.c 		sbi->vol_id = bpb.fat32_vol_id;
bpb              1759 fs/fat/inode.c 		sbi->vol_id = bpb.fat16_vol_id;
bpb              1765 fs/fat/inode.c 	sbi->dir_entries = bpb.fat_dir_entries;
bpb              1776 fs/fat/inode.c 	total_sectors = bpb.fat_sectors;
bpb              1778 fs/fat/inode.c 		total_sectors = bpb.fat_total_sect;
bpb              1787 fs/fat/inode.c 		sbi->dirty = bpb.fat32_state & FAT_STATE_DIRTY;
bpb              1789 fs/fat/inode.c 		sbi->dirty = bpb.fat16_state & FAT_STATE_DIRTY;
bpb                58 fs/ntfs/layout.h 	BIOS_PARAMETER_BLOCK bpb;	/* See BIOS_PARAMETER_BLOCK. */
bpb               592 fs/ntfs/super.c 	if (le16_to_cpu(b->bpb.bytes_per_sector) < 0x100 ||
bpb               593 fs/ntfs/super.c 			le16_to_cpu(b->bpb.bytes_per_sector) > 0x1000)
bpb               596 fs/ntfs/super.c 	switch (b->bpb.sectors_per_cluster) {
bpb               603 fs/ntfs/super.c 	if ((u32)le16_to_cpu(b->bpb.bytes_per_sector) *
bpb               604 fs/ntfs/super.c 			b->bpb.sectors_per_cluster > NTFS_MAX_CLUSTER_SIZE)
bpb               607 fs/ntfs/super.c 	if (le16_to_cpu(b->bpb.reserved_sectors) ||
bpb               608 fs/ntfs/super.c 			le16_to_cpu(b->bpb.root_entries) ||
bpb               609 fs/ntfs/super.c 			le16_to_cpu(b->bpb.sectors) ||
bpb               610 fs/ntfs/super.c 			le16_to_cpu(b->bpb.sectors_per_fat) ||
bpb               611 fs/ntfs/super.c 			le32_to_cpu(b->bpb.large_sectors) || b->bpb.fats)
bpb               758 fs/ntfs/super.c 	vol->sector_size = le16_to_cpu(b->bpb.bytes_per_sector);
bpb               771 fs/ntfs/super.c 	ntfs_debug("sectors_per_cluster = 0x%x", b->bpb.sectors_per_cluster);
bpb               772 fs/ntfs/super.c 	sectors_per_cluster_bits = ffs(b->bpb.sectors_per_cluster) - 1;
bpb               775 fs/ntfs/super.c 	nr_hidden_sects = le32_to_cpu(b->bpb.hidden_sectors);
bpb              6842 fs/ocfs2/xattr.c 	int bpb = args->old_bucket->bu_blocks;
bpb              6847 fs/ocfs2/xattr.c 	for (i = 0; i < num_buckets; i++, blkno += bpb, new_blkno += bpb) {
bpb              6868 fs/ocfs2/xattr.c 		for (j = 0; j < bpb; j++)