Home
last modified time | relevance | path

Searched refs:sector_size_bits (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/exfat/
Dexfat_blkdev.c19 p_bd->sector_size_bits = ilog2(p_bd->sector_size); in bdev_open()
22 p_bd->sector_size_bits; in bdev_open()
54 num_secs << p_bd->sector_size_bits); in bdev_read()
57 num_secs << p_bd->sector_size_bits); in bdev_read()
94 count = num_secs << p_bd->sector_size_bits; in bdev_write()
Dexfat_cache.c207 ((loc + (loc >> 1)) >> p_bd->sector_size_bits); in __FAT_read()
244 (loc >> (p_bd->sector_size_bits - 1)); in __FAT_read()
265 (loc >> (p_bd->sector_size_bits - 2)); in __FAT_read()
286 (loc >> (p_bd->sector_size_bits - 2)); in __FAT_read()
337 ((loc + (loc >> 1)) >> p_bd->sector_size_bits); in __FAT_write()
389 (p_bd->sector_size_bits - 1)); in __FAT_write()
403 (p_bd->sector_size_bits - 2)); in __FAT_write()
417 (p_bd->sector_size_bits - 2)); in __FAT_write()
Dexfat_core.c541 p_fs->map_sectors = ((map_size - 1) >> p_bd->sector_size_bits) + 1; in load_alloc_bitmap()
599 i = clu >> (p_bd->sector_size_bits + 3); in set_alloc_bitmap()
621 i = clu >> (p_bd->sector_size_bits + 3); in clr_alloc_bitmap()
654 map_i = clu >> (p_bd->sector_size_bits + 3); in test_alloc_bitmap()
878 num_sectors = ((tbl_size - 1) >> p_bd->sector_size_bits) + 1; in load_upcase_table()
1616 *sector = off >> p_bd->sector_size_bits; in find_location()
1630 *sector = off >> p_bd->sector_size_bits; in find_location()
1720 sec = byte_offset >> p_bd->sector_size_bits; in get_entry_set_in_dir()
1870 remaining_byte_in_sector = (1 << p_bd->sector_size_bits) - off; in __write_partial_entries_in_entry_set()
1940 p_bd->sector_size_bits; in write_partial_entries_in_entry_set()
[all …]
Dexfat.h390 u8 sector_size_bits; member
698 s32 sector_size_bits; member
Dexfat_super.c762 sec_offset = offset >> p_bd->sector_size_bits; in ffsReadFile()
947 sec_offset = offset >> p_bd->sector_size_bits; in ffsWriteFile()
2248 cpos += 1 << p_bd->sector_size_bits; in exfat_readdir()
2249 cpos &= ~((1 << p_bd->sector_size_bits) - 1); in exfat_readdir()
3091 (p_bd->sector_size_bits - DENTRY_SIZE_BITS))) { in exfat_bmap()