Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/fs/
H A Dfs_internal.c18 int log2blksz; in fs_devread() local
24 log2blksz = blk->log2blksz; in fs_devread()
27 if ((sector + ((byte_offset + byte_len - 1) >> log2blksz)) in fs_devread()
35 sector += byte_offset >> log2blksz; in fs_devread()
73 block_len >> log2blksz, (void *)buf) != in fs_devread()
74 block_len >> log2blksz) { in fs_devread()
/OK3568_Linux_fs/u-boot/fs/ext4/
H A Dext4fs.c55 int log2blksz = fs->dev_desc->log2blksz; in ext4fs_read_file() local
56 int log2_fs_blocksize = LOG2_BLOCK_SIZE(node->data) - log2blksz; in ext4fs_read_file()
57 int blocksize = (1 << (log2_fs_blocksize + log2blksz)); in ext4fs_read_file()
107 delayed_next += blockend >> log2blksz; in ext4fs_read_file()
121 (blockend >> log2blksz); in ext4fs_read_file()
130 (blockend >> log2blksz); in ext4fs_read_file()
H 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()
H A Dext4_write.c595 fs->sect_perblk = fs->blksz >> fs->dev_desc->log2blksz; in ext4fs_init()
762 int log2blksz = fs->dev_desc->log2blksz; in ext4fs_write_file() local
763 int log2_fs_blocksize = LOG2_BLOCK_SIZE(ext4fs_root) - log2blksz; in ext4fs_write_file()
790 delayed_next += blockend >> log2blksz; in ext4fs_write_file()
793 ((uint64_t)delayed_start << log2blksz), in ext4fs_write_file()
801 (blockend >> log2blksz); in ext4fs_write_file()
809 (blockend >> log2blksz); in ext4fs_write_file()
815 log2blksz), in ext4fs_write_file()
826 put_ext4((uint64_t) ((uint64_t)delayed_start << log2blksz), in ext4fs_write_file()
926 fs->dev_desc->log2blksz); in ext4fs_write()
H A Dext4_common.c201 int log2blksz = fs->dev_desc->log2blksz; in put_ext4() local
204 startblock = off >> log2blksz; in put_ext4()
211 if ((startblock + (size >> log2blksz)) > in put_ext4()
225 if (size >> log2blksz != 0) { in put_ext4()
226 blk_dwrite(fs->dev_desc, startblock, size >> log2blksz, in put_ext4()
1570 int log2blksz = get_fs()->dev_desc->log2blksz; in ext4fs_blockgroup() local
1583 (LOG2_BLOCK_SIZE(data) - log2blksz), in ext4fs_blockgroup()
1592 int log2blksz = get_fs()->dev_desc->log2blksz; in ext4fs_read_inode() local
1610 log2blksz), blkoff, in ext4fs_read_inode()
1631 - get_fs()->dev_desc->log2blksz; in read_allocated_block()
/OK3568_Linux_fs/u-boot/drivers/block/
H A Dsystemace.c252 bdesc->log2blksz = LOG2(bdesc->blksz); in systemace_bind()
281 systemace_dev.log2blksz = LOG2(systemace_dev.blksz); in systemace_get_dev()
H A Dide.c486 dev_desc->log2blksz = LOG2_INVALID(typeof(dev_desc->log2blksz)); in atapi_inquiry()
531 dev_desc->log2blksz = LOG2(dev_desc->blksz); in atapi_inquiry()
689 dev_desc->log2blksz = LOG2(dev_desc->blksz); in ide_ident()
818 ide_dev_desc[i].log2blksz = in ide_init()
819 LOG2_INVALID(typeof(ide_dev_desc[i].log2blksz)); in ide_init()
/OK3568_Linux_fs/u-boot/drivers/scsi/
H A Dscsi.c450 dev_desc->log2blksz = in scsi_init_dev_desc_priv()
451 LOG2_INVALID(typeof(dev_desc->log2blksz)); in scsi_init_dev_desc_priv()
553 dev_desc->log2blksz = LOG2(dev_desc->blksz); in scsi_detect_dev()
/OK3568_Linux_fs/u-boot/drivers/rkflash/
H A Drkflash_blk.c98 desc->log2blksz = 9; in rkflash_blk_probe()
/OK3568_Linux_fs/u-boot/drivers/ata/
H A Dsata.c101 sata_dev_desc[i].log2blksz = LOG2(sata_dev_desc[i].blksz); in __sata_initialize()
/OK3568_Linux_fs/u-boot/disk/
H A Dpart.c590 (*dev_desc)->log2blksz = LOG2((*dev_desc)->blksz); in blk_get_device_part_str()
667 (*dev_desc)->log2blksz = LOG2((*dev_desc)->blksz); in blk_get_device_part_str()
/OK3568_Linux_fs/u-boot/drivers/rknand/
H A Drknand.c171 desc->log2blksz = 9; in rknand_blk_probe()
/OK3568_Linux_fs/u-boot/drivers/nvme/
H A Dnvme.c720 desc->log2blksz = ns->lba_shift; in nvme_blk_probe()
742 u64 total_len = blkcnt << desc->log2blksz; in nvme_blk_rw()
804 return (total_len - temp_len) >> desc->log2blksz; in nvme_blk_rw()
/OK3568_Linux_fs/u-boot/include/
H A Dblk.h93 int log2blksz; /* for convenience: log2(blksz) */ member
/OK3568_Linux_fs/u-boot/common/
H A Dusb_storage.c1497 dev_desc->log2blksz = LOG2(dev_desc->blksz); in usb_stor_get_info()
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Dmmc.c2104 bdesc->log2blksz = LOG2(bdesc->blksz);