Home
last modified time | relevance | path

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

/u-boot/fs/
A Dfs_internal.c21 int log2blksz; in fs_devread() local
27 log2blksz = blk->log2blksz; in fs_devread()
30 if ((sector + ((byte_offset + byte_len - 1) >> log2blksz)) in fs_devread()
38 sector += byte_offset >> log2blksz; in fs_devread()
76 block_len >> log2blksz, (void *)buf) != in fs_devread()
77 block_len >> log2blksz) { in fs_devread()
/u-boot/fs/ext4/
A Ddev.c41 assert(rbdd->blksz == (1 << rbdd->log2blksz)); in ext4fs_set_blk_dev()
47 get_fs()->dev_desc->log2blksz; in ext4fs_set_blk_dev()
60 int sect = SUPERBLOCK_START >> fs->dev_desc->log2blksz; in ext4_read_superblock()
A Dext4fs.c58 int log2blksz = fs->dev_desc->log2blksz; in ext4fs_read_file() local
59 int log2_fs_blocksize = LOG2_BLOCK_SIZE(node->data) - log2blksz; in ext4fs_read_file()
60 int blocksize = (1 << (log2_fs_blocksize + log2blksz)); in ext4fs_read_file()
118 delayed_next += blockend >> log2blksz; in ext4fs_read_file()
134 (blockend >> log2blksz); in ext4fs_read_file()
143 (blockend >> log2blksz); in ext4fs_read_file()
A Dext4_write.c607 fs->sect_perblk = fs->blksz >> fs->dev_desc->log2blksz; in ext4fs_init()
774 int log2blksz = fs->dev_desc->log2blksz; in ext4fs_write_file() local
775 int log2_fs_blocksize = LOG2_BLOCK_SIZE(ext4fs_root) - log2blksz; in ext4fs_write_file()
802 delayed_next += blockend >> log2blksz; in ext4fs_write_file()
805 ((uint64_t)delayed_start << log2blksz), in ext4fs_write_file()
813 (blockend >> log2blksz); in ext4fs_write_file()
821 (blockend >> log2blksz); in ext4fs_write_file()
827 log2blksz), in ext4fs_write_file()
837 put_ext4((uint64_t) ((uint64_t)delayed_start << log2blksz), in ext4fs_write_file()
A Dext4_common.c202 int log2blksz = fs->dev_desc->log2blksz; in put_ext4() local
205 startblock = off >> log2blksz; in put_ext4()
212 if ((startblock + (size >> log2blksz)) > in put_ext4()
226 if (size >> log2blksz != 0) { in put_ext4()
227 blk_dwrite(fs->dev_desc, startblock, size >> log2blksz, in put_ext4()
1574 int log2blksz = get_fs()->dev_desc->log2blksz; in ext4fs_blockgroup() local
1591 (LOG2_BLOCK_SIZE(data) - log2blksz), in ext4fs_blockgroup()
1600 int log2blksz = get_fs()->dev_desc->log2blksz; in ext4fs_read_inode() local
1637 log2blksz), blkoff, in ext4fs_read_inode()
1659 - get_fs()->dev_desc->log2blksz; in read_allocated_block()
/u-boot/fs/btrfs/
A Ddev.c21 sector = address >> btrfs_blk_desc->log2blksz; in btrfs_devread()
A Dcompat.h62 sector = offset >> desc->log2blksz; in __btrfs_devread()
A Ddisk-io.c880 desc->blksz) > (part->size << desc->log2blksz)) { in btrfs_scan_fs_devices()
883 part->size << desc->log2blksz); in btrfs_scan_fs_devices()
/u-boot/drivers/block/
A Dide.c489 dev_desc->log2blksz = LOG2_INVALID(typeof(dev_desc->log2blksz)); in atapi_inquiry()
534 dev_desc->log2blksz = LOG2(dev_desc->blksz); in atapi_inquiry()
692 dev_desc->log2blksz = LOG2(dev_desc->blksz); in ide_ident()
821 ide_dev_desc[i].log2blksz = in ide_init()
822 LOG2_INVALID(typeof(ide_dev_desc[i].log2blksz)); in ide_init()
A Dblk-uclass.c589 desc->log2blksz = LOG2(desc->blksz); in blk_create_device()
/u-boot/drivers/ata/
A Dsata.c102 sata_dev_desc[i].log2blksz = LOG2(sata_dev_desc[i].blksz); in __sata_initialize()
/u-boot/drivers/virtio/
A Dvirtio_blk.c118 desc->log2blksz = 9; in virtio_blk_probe()
/u-boot/drivers/scsi/
A Dscsi.c444 dev_desc->log2blksz = in scsi_init_dev_desc_priv()
445 LOG2_INVALID(typeof(dev_desc->log2blksz)); in scsi_init_dev_desc_priv()
549 dev_desc->log2blksz = LOG2(dev_desc->blksz); in scsi_detect_dev()
/u-boot/disk/
A Dpart.c575 (*dev_desc)->log2blksz = LOG2((*dev_desc)->blksz); in blk_get_device_part_str()
651 (*dev_desc)->log2blksz = LOG2((*dev_desc)->blksz); in blk_get_device_part_str()
/u-boot/include/
A Dblk.h80 int log2blksz; /* for convenience: log2(blksz) */ member
/u-boot/drivers/nvme/
A Dnvme.c727 desc->log2blksz = ns->lba_shift; in nvme_blk_probe()
748 u64 total_len = blkcnt << desc->log2blksz; in nvme_blk_rw()
796 return (total_len - temp_len) >> desc->log2blksz; in nvme_blk_rw()
/u-boot/drivers/xen/
A Dpvblock.c702 desc->log2blksz = LOG2(blk_dev->info.sector_size); in pvblock_blk_probe()
/u-boot/common/
A Dusb_storage.c1500 dev_desc->log2blksz = LOG2(dev_desc->blksz); in usb_stor_get_info()
/u-boot/drivers/mmc/
A Dmmc.c2614 bdesc->log2blksz = LOG2(bdesc->blksz); in mmc_startup()

Completed in 36 milliseconds