HomeSort by relevance Sort by last modified time
    Searched refs:blk_size (Results 1 - 15 of 15) sorted by null

  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
virtio_blk.h 60 __u32 blk_size; member in struct:virtio_blk_config
  /system/extras/tests/directiotest/
directiotest.c 177 int blk_size; local
201 if (ioctl(fd, BLKSSZGET, &blk_size) == -1) {
209 num_blks /= blk_size;
211 test_size = (size_t)blk_size * NUM_TEST_BLKS;
241 if (do_write(fd, write_buf, cur_blk * blk_size, test_size) !=
246 if (do_read(fd, read_buf, cur_blk * blk_size, test_size) !=
  /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...]
  /hardware/qcom/msm8998/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/libvpx/libvpx/vp9/encoder/mips/msa/
vp9_error_msa.c 88 const tran_low_t *dq_coeff_ptr, intptr_t blk_size,
94 switch (blk_size) {
100 err = vp9_block_error_c(coeff_ptr, dq_coeff_ptr, blk_size, ssz);
  /bionic/libc/kernel/uapi/linux/
virtio_blk.h 49 __u32 blk_size; member in struct:virtio_blk_config
  /external/kernel-headers/original/uapi/linux/
virtio_blk.h 71 __u32 blk_size; member in struct:virtio_blk_config
  /external/syslinux/core/fs/ntfs/
ntfs.c 115 const uint64_t blk_size = UINT64_C(1) << BLOCK_SHIFT(fs); local
131 offset = (*lcn << clust_byte_shift) % blk_size;
137 lbytes = blk_size - offset; /* bytes left to copy */
154 if (offset >= blk_size) {
167 if (loffset >= blk_size)
175 *lcn += blk_size / count; /* update LCN */
416 const uint64_t blk_size = UINT64_C(1) << BLOCK_SHIFT(fs); local
417 uint8_t buf[blk_size];
471 err = ntfs_read(fs, buf, blk_size, blk_size, &blk
732 const uint64_t blk_size = UINT64_C(1) << BLOCK_SHIFT(fs); local
1025 const uint64_t blk_size = UINT64_C(1) << BLOCK_SHIFT(fs); local
    [all...]
  /system/update_engine/payload_generator/
squashfs_filesystem.cc 132 uint64_t blk_size; local
133 TEST_AND_RETURN_FALSE(base::StringToUint64(splits[i], &blk_size));
135 auto new_blk_size = blk_size & ~kSquashfsCompressedBit;
137 if (new_blk_size > 0 && !(blk_size & kSquashfsCompressedBit)) {
  /hardware/intel/img/psb_video/src/mrst/
psb_MPEG2MC.c 134 uint32_t blk_size;/* buffer elements size */ member in struct:context_MPEG2MC_s
152 uint32_t blk_size; local
159 blk_size = 1; /* 16 x 8 */
161 blk_size = 0; /* 16 x 16 */
165 blk_size = 1; /* 16 x 8 */
167 blk_size = 0; /* 16 x 16 */
180 REGIO_WRITE_FIELD(cmd, MSVDX_CMDS, INTER_BLOCK_PREDICTION, INTER_PRED_BLOCK_SIZE, blk_size);
545 if (ctx->residual_pendingDMA != (ctx->blk_size * ctx->blk_in_buffer)) {
548 ctx->residual_pendingDMA, ctx->residual_pendingDMA / ctx->blk_size,
549 ctx->blk_size * ctx->blk_in_buffer
    [all...]
  /external/fio/tools/plot/
fio2gnuplot 158 blk_size=0
197 if (blk_size == 0):
199 blk_size=int(block_size)
225 return blk_size
505 blk_size=compute_temp_file(fio_data_file,disk_perf,gnuplot_output_dir,min_time,max_time)
506 title="%s @ Blocksize = %dK" % (title,blk_size/1024)
  /external/f2fs-tools/mkfs/
f2fs_format.c 458 u_int32_t blk_size, seg_size; local
463 blk_size = 1 << get_sb(log_blocksize);
464 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size;
473 sit_seg_addr *= blk_size;
492 u_int32_t blk_size, seg_size; local
497 blk_size = 1 << get_sb(log_blocksize);
498 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size;
507 nat_seg_addr *= blk_size;
    [all...]
  /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/f2fs-tools/fsck/
mount.c 727 unsigned long blk_size = sbi->blocksize; local
739 if (crc_offset > (blk_size - sizeof(__le32)))
757 if (crc_offset > (blk_size - sizeof(__le32)))
783 unsigned long blk_size = sbi->blocksize; local
794 sbi->ckpt = malloc(cp_blks * blk_size);
831 memcpy(sbi->ckpt, cur_page, blk_size);
846 memcpy(ckpt + i * blk_size, cur_page, blk_size);
    [all...]
  /system/extras/f2fs_utils/
f2fs_sparseblock.c 268 unsigned long blk_size; local
274 blk_size = 1U << le32_to_cpu(sb->log_blocksize);

Completed in 330 milliseconds