Home
last modified time | relevance | path

Searched refs:log2blksz (Results 1 – 15 of 15) 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()
114 delayed_next += blockend >> log2blksz; in ext4fs_read_file()
130 (blockend >> log2blksz); in ext4fs_read_file()
139 (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.c603 fs->sect_perblk = fs->blksz >> fs->dev_desc->log2blksz; in ext4fs_init()
770 int log2blksz = fs->dev_desc->log2blksz; in ext4fs_write_file() local
771 int log2_fs_blocksize = LOG2_BLOCK_SIZE(ext4fs_root) - log2blksz; in ext4fs_write_file()
798 delayed_next += blockend >> log2blksz; in ext4fs_write_file()
801 ((uint64_t)delayed_start << log2blksz), in ext4fs_write_file()
809 (blockend >> log2blksz); in ext4fs_write_file()
817 (blockend >> log2blksz); in ext4fs_write_file()
823 log2blksz), in ext4fs_write_file()
833 put_ext4((uint64_t) ((uint64_t)delayed_start << log2blksz), in ext4fs_write_file()
Dext4_common.c199 int log2blksz = fs->dev_desc->log2blksz; in put_ext4() local
202 startblock = off >> log2blksz; in put_ext4()
209 if ((startblock + (size >> log2blksz)) > in put_ext4()
223 if (size >> log2blksz != 0) { in put_ext4()
224 blk_dwrite(fs->dev_desc, startblock, size >> log2blksz, in put_ext4()
1571 int log2blksz = get_fs()->dev_desc->log2blksz; in ext4fs_blockgroup() local
1588 (LOG2_BLOCK_SIZE(data) - log2blksz), in ext4fs_blockgroup()
1597 int log2blksz = get_fs()->dev_desc->log2blksz; in ext4fs_read_inode() local
1634 log2blksz), blkoff, in ext4fs_read_inode()
1656 - 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()
Dblk-uclass.c583 desc->log2blksz = LOG2(desc->blksz); in blk_create_device()
/external/u-boot/drivers/scsi/
Dscsi.c440 dev_desc->log2blksz = in scsi_init_dev_desc_priv()
441 LOG2_INVALID(typeof(dev_desc->log2blksz)); in scsi_init_dev_desc_priv()
545 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.c560 (*dev_desc)->log2blksz = LOG2((*dev_desc)->blksz); in blk_get_device_part_str()
637 (*dev_desc)->log2blksz = LOG2((*dev_desc)->blksz); in blk_get_device_part_str()
/external/u-boot/drivers/nvme/
Dnvme.c697 desc->log2blksz = ns->lba_shift; in nvme_blk_probe()
718 u64 total_len = blkcnt << desc->log2blksz; in nvme_blk_rw()
766 return (total_len - temp_len) >> desc->log2blksz; in nvme_blk_rw()
/external/u-boot/include/
Dblk.h79 int log2blksz; /* for convenience: log2(blksz) */ member
/external/u-boot/common/
Dusb_storage.c1492 dev_desc->log2blksz = LOG2(dev_desc->blksz); in usb_stor_get_info()
/external/u-boot/drivers/mmc/
Dmmc.c2586 bdesc->log2blksz = LOG2(bdesc->blksz); in mmc_startup()