Home
last modified time | relevance | path

Searched refs:log2blksz (Results 1 – 14 of 14) sorted by relevance

/external/u-boot/fs/
Dfs_internal.c17 int log2blksz; in fs_devread() local
23 log2blksz = blk->log2blksz; in fs_devread()
26 if ((sector + ((byte_offset + byte_len - 1) >> log2blksz)) in fs_devread()
34 sector += byte_offset >> log2blksz; in fs_devread()
72 block_len >> log2blksz, (void *)buf) != in fs_devread()
73 block_len >> log2blksz) { in fs_devread()
/external/u-boot/fs/ext4/
Dext4fs.c54 int log2blksz = fs->dev_desc->log2blksz; in ext4fs_read_file() local
55 int log2_fs_blocksize = LOG2_BLOCK_SIZE(node->data) - log2blksz; in ext4fs_read_file()
56 int blocksize = (1 << (log2_fs_blocksize + log2blksz)); in ext4fs_read_file()
106 delayed_next += blockend >> log2blksz; in ext4fs_read_file()
120 (blockend >> log2blksz); in ext4fs_read_file()
129 (blockend >> log2blksz); in ext4fs_read_file()
Ddev.c40 assert(rbdd->blksz == (1 << rbdd->log2blksz)); in ext4fs_set_blk_dev()
46 get_fs()->dev_desc->log2blksz; in ext4fs_set_blk_dev()
59 int sect = SUPERBLOCK_START >> fs->dev_desc->log2blksz; in ext4_read_superblock()
Dext4_write.c594 fs->sect_perblk = fs->blksz >> fs->dev_desc->log2blksz; in ext4fs_init()
761 int log2blksz = fs->dev_desc->log2blksz; in ext4fs_write_file() local
762 int log2_fs_blocksize = LOG2_BLOCK_SIZE(ext4fs_root) - log2blksz; in ext4fs_write_file()
789 delayed_next += blockend >> log2blksz; in ext4fs_write_file()
792 ((uint64_t)delayed_start << log2blksz), in ext4fs_write_file()
800 (blockend >> log2blksz); in ext4fs_write_file()
808 (blockend >> log2blksz); in ext4fs_write_file()
814 log2blksz), in ext4fs_write_file()
825 put_ext4((uint64_t) ((uint64_t)delayed_start << log2blksz), in ext4fs_write_file()
925 fs->dev_desc->log2blksz); in ext4fs_write()
Dext4_common.c200 int log2blksz = fs->dev_desc->log2blksz; in put_ext4() local
203 startblock = off >> log2blksz; in put_ext4()
210 if ((startblock + (size >> log2blksz)) > in put_ext4()
224 if (size >> log2blksz != 0) { in put_ext4()
225 blk_dwrite(fs->dev_desc, startblock, size >> log2blksz, in put_ext4()
1569 int log2blksz = get_fs()->dev_desc->log2blksz; in ext4fs_blockgroup() local
1582 (LOG2_BLOCK_SIZE(data) - log2blksz), in ext4fs_blockgroup()
1591 int log2blksz = get_fs()->dev_desc->log2blksz; in ext4fs_read_inode() local
1609 log2blksz), blkoff, in ext4fs_read_inode()
1630 - get_fs()->dev_desc->log2blksz; in read_allocated_block()
/external/u-boot/fs/btrfs/
Ddev.c20 sector = address >> btrfs_blk_desc->log2blksz; in btrfs_devread()
/external/u-boot/drivers/block/
Dide.c485 dev_desc->log2blksz = LOG2_INVALID(typeof(dev_desc->log2blksz)); in atapi_inquiry()
530 dev_desc->log2blksz = LOG2(dev_desc->blksz); in atapi_inquiry()
688 dev_desc->log2blksz = LOG2(dev_desc->blksz); in ide_ident()
817 ide_dev_desc[i].log2blksz = in ide_init()
818 LOG2_INVALID(typeof(ide_dev_desc[i].log2blksz)); in ide_init()
/external/u-boot/drivers/scsi/
Dscsi.c446 dev_desc->log2blksz = in scsi_init_dev_desc_priv()
447 LOG2_INVALID(typeof(dev_desc->log2blksz)); in scsi_init_dev_desc_priv()
548 dev_desc->log2blksz = LOG2(dev_desc->blksz); in scsi_detect_dev()
/external/u-boot/drivers/ata/
Dsata.c100 sata_dev_desc[i].log2blksz = LOG2(sata_dev_desc[i].blksz); in __sata_initialize()
/external/u-boot/disk/
Dpart.c554 (*dev_desc)->log2blksz = LOG2((*dev_desc)->blksz); in blk_get_device_part_str()
631 (*dev_desc)->log2blksz = LOG2((*dev_desc)->blksz); in blk_get_device_part_str()
/external/u-boot/drivers/nvme/
Dnvme.c660 desc->log2blksz = ns->lba_shift; in nvme_blk_probe()
681 u64 total_len = blkcnt << desc->log2blksz; in nvme_blk_rw()
730 return (total_len - temp_len) >> desc->log2blksz; in nvme_blk_rw()
/external/u-boot/include/
Dblk.h78 int log2blksz; /* for convenience: log2(blksz) */ member
/external/u-boot/common/
Dusb_storage.c1495 dev_desc->log2blksz = LOG2(dev_desc->blksz); in usb_stor_get_info()
/external/u-boot/drivers/mmc/
Dmmc.c2345 bdesc->log2blksz = LOG2(bdesc->blksz); in mmc_startup()