Searched refs:log2blksz (Results 1 – 14 of 14) sorted by relevance
/external/u-boot/fs/ |
D | fs_internal.c | 17 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/ |
D | ext4fs.c | 54 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()
|
D | dev.c | 40 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()
|
D | ext4_write.c | 594 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()
|
D | ext4_common.c | 200 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/ |
D | dev.c | 20 sector = address >> btrfs_blk_desc->log2blksz; in btrfs_devread()
|
/external/u-boot/drivers/block/ |
D | ide.c | 485 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/ |
D | scsi.c | 446 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/ |
D | sata.c | 100 sata_dev_desc[i].log2blksz = LOG2(sata_dev_desc[i].blksz); in __sata_initialize()
|
/external/u-boot/disk/ |
D | part.c | 554 (*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/ |
D | nvme.c | 660 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/ |
D | blk.h | 78 int log2blksz; /* for convenience: log2(blksz) */ member
|
/external/u-boot/common/ |
D | usb_storage.c | 1495 dev_desc->log2blksz = LOG2(dev_desc->blksz); in usb_stor_get_info()
|
/external/u-boot/drivers/mmc/ |
D | mmc.c | 2345 bdesc->log2blksz = LOG2(bdesc->blksz); in mmc_startup()
|