/external/u-boot/disk/ |
part_mac.h | 27 __u16 blk_size; /* block size of device */ member in struct:mac_driver_desc
|
/external/u-boot/drivers/mtd/nand/ |
fsl_ifc_spl.c | 115 int blk_size; local 159 blk_size = pages_per_blk * page_size; 223 offs = (offs + blk_size) & ~(blk_size - 1); 224 pos &= ~(blk_size - 1); 233 } while ((offs & (blk_size - 1)) && (pos < uboot_size));
|
/bionic/libc/kernel/uapi/linux/ |
virtio_blk.h | 51 __u32 blk_size; member in struct:virtio_blk_config
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/ufs/ |
ufs.c | 685 unsigned int blk_num, blk_size; local 700 ufs_read_capacity(i, &blk_num, &blk_size); 701 if (blk_num && blk_size) { 703 i, blk_num, blk_size);
|
/external/kernel-headers/original/uapi/linux/ |
virtio_blk.h | 73 __u32 blk_size; member in struct:virtio_blk_config
|
/external/u-boot/drivers/spi/ |
mxc_spi.c | 340 u32 blk_size; local 352 blk_size = n_bytes; 354 blk_size = MAX_SPI_BYTES; 356 n_bits = blk_size * 8; 363 p_outbuf += blk_size; 365 p_inbuf += blk_size; 366 n_bytes -= blk_size;
|
/device/google/bonito/gpt-utils/ |
gpt-utils.cpp | 293 uint32_t blk_size = 0; local 296 if (ioctl(fd, BLKSSZGET, &blk_size) != 0) { 302 gpt_header = (uint8_t*)malloc(blk_size); 308 gpt2_header_offset = lseek64(fd, 0, SEEK_END) - blk_size; 317 r = blk_rw(fd, 0, blk_size, gpt_header, blk_size); 324 GET_8_BYTES(gpt_header + PENTRIES_OFFSET) * blk_size; 349 r = blk_rw(fd, 0, gpt2_header_offset, gpt_header, blk_size); 355 GET_8_BYTES(gpt_header + PENTRIES_OFFSET) * blk_size; 373 r = blk_rw(fd, 1, gpt2_header_offset, gpt_header, blk_size); 406 uint32_t blk_size = 0; local 472 uint32_t blk_size = 0; local [all...] |
/device/google/crosshatch/gpt-utils/ |
gpt-utils.cpp | 293 uint32_t blk_size = 0; local 296 if (ioctl(fd, BLKSSZGET, &blk_size) != 0) { 302 gpt_header = (uint8_t*)malloc(blk_size); 308 gpt2_header_offset = lseek64(fd, 0, SEEK_END) - blk_size; 317 r = blk_rw(fd, 0, blk_size, gpt_header, blk_size); 324 GET_8_BYTES(gpt_header + PENTRIES_OFFSET) * blk_size; 349 r = blk_rw(fd, 0, gpt2_header_offset, gpt_header, blk_size); 355 GET_8_BYTES(gpt_header + PENTRIES_OFFSET) * blk_size; 373 r = blk_rw(fd, 1, gpt2_header_offset, gpt_header, blk_size); 406 uint32_t blk_size = 0; local 472 uint32_t blk_size = 0; local [all...] |
/device/google/marlin/recovery/gpt-utils/ |
gpt-utils.cpp | 293 uint32_t blk_size = 0; local 296 if (ioctl(fd, BLKSSZGET, &blk_size) != 0) { 302 gpt_header = (uint8_t*)malloc(blk_size); 308 gpt2_header_offset = lseek64(fd, 0, SEEK_END) - blk_size; 317 r = blk_rw(fd, 0, blk_size, gpt_header, blk_size); 324 GET_8_BYTES(gpt_header + PENTRIES_OFFSET) * blk_size; 349 r = blk_rw(fd, 0, gpt2_header_offset, gpt_header, blk_size); 355 GET_8_BYTES(gpt_header + PENTRIES_OFFSET) * blk_size; 373 r = blk_rw(fd, 1, gpt2_header_offset, gpt_header, blk_size); 406 uint32_t blk_size = 0; local 472 uint32_t blk_size = 0; local [all...] |
/external/f2fs-tools/mkfs/ |
f2fs_format.c | 520 u_int32_t blk_size, seg_size; local 525 blk_size = 1 << get_sb(log_blocksize); 526 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; 535 sit_seg_addr *= blk_size; 554 u_int32_t blk_size, seg_size; local 559 blk_size = 1 << get_sb(log_blocksize); 560 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; 569 nat_seg_addr *= blk_size; [all...] |
/external/f2fs-tools/fsck/ |
mount.c | 777 unsigned long blk_size = sbi->blocksize; local 791 if (crc_offset > (blk_size - sizeof(__le32))) 814 if (crc_offset > (blk_size - sizeof(__le32))) 840 unsigned long blk_size = sbi->blocksize; local 851 sbi->ckpt = malloc(cp_blks * blk_size); 888 memcpy(sbi->ckpt, cur_page, blk_size); 903 memcpy(ckpt + i * blk_size, cur_page, blk_size); [all...] |