| /OK3568_Linux_fs/kernel/init/ |
| H A D | do_mounts_rd.c | 85 pos = start_block * BLOCK_SIZE; in identify_ramdisk_image() 106 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image() 114 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image() 123 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image() 131 pos = start_block * BLOCK_SIZE + 0x200; in identify_ramdisk_image() 138 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image() 145 pos = (start_block + 1) * BLOCK_SIZE; in identify_ramdisk_image() 206 in_pos = rd_image_start * BLOCK_SIZE; in rd_load_image() 241 buf = kmalloc(BLOCK_SIZE, GFP_KERNEL); in rd_load_image() 256 kernel_read(in_file, buf, BLOCK_SIZE, &in_pos); in rd_load_image() [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/ |
| H A D | test_crypto_mem.c | 11 #define BLOCK_SIZE 512 * 1024 macro 25 mem[count] = rk_crypto_mem_alloc(BLOCK_SIZE); in test_crypto_mem() 29 (BLOCK_SIZE / 1024), count); in test_crypto_mem() 36 (BLOCK_SIZE / 1024), count); in test_crypto_mem()
|
| /OK3568_Linux_fs/kernel/arch/alpha/boot/tools/ |
| H A D | objstrip.c | 37 #define BLOCK_SIZE 512 macro 76 pad = BLOCK_SIZE; in main() 123 size = (st.st_size + BLOCK_SIZE - 1) & ~(BLOCK_SIZE - 1); in main() 126 bb[60] = size / BLOCK_SIZE; /* count */ in main()
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | resource_tool.c | 585 #define BLOCK_SIZE 512 macro 657 return (size + BLOCK_SIZE - 1) / BLOCK_SIZE; in fix_blocks() 718 int offset = offset_block * BLOCK_SIZE; in StorageWriteLba() 724 if (!fwrite(data, blocks * BLOCK_SIZE, 1, file)) { in StorageWriteLba() 741 int offset = offset_block * BLOCK_SIZE; in StorageReadLba() 746 if (!fread(data, blocks * BLOCK_SIZE, 1, file)) { in StorageReadLba() 761 int blocks = len / BLOCK_SIZE; in write_data() 765 int left = len % BLOCK_SIZE; in write_data() 767 char buf[BLOCK_SIZE] = "\0"; in write_data() 768 memcpy(buf, data + blocks * BLOCK_SIZE, left); in write_data() [all …]
|
| /OK3568_Linux_fs/u-boot/tools/rockchip/ |
| H A D | resource_tool.c | 585 #define BLOCK_SIZE 512 macro 657 return (size + BLOCK_SIZE - 1) / BLOCK_SIZE; in fix_blocks() 718 int offset = offset_block * BLOCK_SIZE; in StorageWriteLba() 724 if (!fwrite(data, blocks * BLOCK_SIZE, 1, file)) { in StorageWriteLba() 741 int offset = offset_block * BLOCK_SIZE; in StorageReadLba() 746 if (!fread(data, blocks * BLOCK_SIZE, 1, file)) { in StorageReadLba() 761 int blocks = len / BLOCK_SIZE; in write_data() 765 int left = len % BLOCK_SIZE; in write_data() 767 char buf[BLOCK_SIZE] = "\0"; in write_data() 768 memcpy(buf, data + blocks * BLOCK_SIZE, left); in write_data() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/syscalls/ |
| H A D | rtas_filter.c | 32 #define BLOCK_SIZE 4096 macro 61 buf_size += BLOCK_SIZE; in read_entire_file() 70 rc = read(fd, *buf + off, BLOCK_SIZE); in read_entire_file() 75 } while (rc == BLOCK_SIZE); in read_entire_file()
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | mksunxiboot.c | 59 #define BLOCK_SIZE 0x2000 macro 64 char pad[BLOCK_SIZE]; 147 ALIGN(file_size + sizeof(struct boot_file_head), BLOCK_SIZE); in main()
|
| /OK3568_Linux_fs/yocto/poky/scripts/contrib/ |
| H A D | ddimage | 31 BLOCK_SIZE=512 61 echo " size: $(($(cat /sys/class/block/$DEV/size) * $BLOCK_SIZE)) bytes"
|
| /OK3568_Linux_fs/kernel/fs/sysv/ |
| H A D | super.c | 86 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4() 114 sbd = (struct sysv2_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv2() 207 sbd = (struct sysv4_super_block *) (bh->b_data + BLOCK_SIZE/2); in detect_sysv() 257 sbd = (struct coh_super_block *) (bh->b_data + BLOCK_SIZE/2); in detect_coherent() 373 sb_set_blocksize(sb, BLOCK_SIZE); in sysv_fill_super() 416 sb_set_blocksize(sb, BLOCK_SIZE); in sysv_fill_super()
|
| /OK3568_Linux_fs/kernel/fs/ext2/ |
| H A D | super.c | 823 int blocksize = BLOCK_SIZE; in ext2_fill_super() 854 blocksize = sb_min_blocksize(sb, BLOCK_SIZE); in ext2_fill_super() 864 if (blocksize != BLOCK_SIZE) { in ext2_fill_super() 865 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; in ext2_fill_super() 866 offset = (sb_block*BLOCK_SIZE) % blocksize; in ext2_fill_super() 953 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext2_fill_super() 973 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; in ext2_fill_super() 974 offset = (sb_block*BLOCK_SIZE) % blocksize; in ext2_fill_super()
|
| /OK3568_Linux_fs/kernel/fs/nilfs2/ |
| H A D | the_nilfs.c | 248 blocksize = BLOCK_SIZE << le32_to_cpu(sbp[0]->s_log_block_size); in load_nilfs() 387 if (nilfs->ns_sbsize > BLOCK_SIZE) in nilfs_store_disk_layout() 436 if (bytes < sumoff + 4 || bytes > BLOCK_SIZE) in nilfs_valid_sb() 589 blocksize = BLOCK_SIZE << le32_to_cpu(sbp->s_log_block_size); in init_nilfs()
|
| /OK3568_Linux_fs/kernel/fs/quota/ |
| H A D | quota_v1.c | 141 off = isize & (BLOCK_SIZE - 1); in v1_check_quota_file() 142 if ((blocks % sizeof(struct v1_disk_dqblk) * BLOCK_SIZE + off) % in v1_check_quota_file()
|
| /OK3568_Linux_fs/buildroot/package/ibrcommon/ |
| H A D | 0003-ibrcommon-ssl-gcm-fix-static-build-with-openssl.patch | 40 memcpy(tbuf, ctx->ghash_h, BLOCK_SIZE); 65 i = BLOCK_SIZE; ln = (uint_32t)(ctx->txt_acnt << 3);
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | romfs_fs.h | 10 #define ROMBSIZE BLOCK_SIZE
|
| H A D | minix_fs.h | 29 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | romfs_fs.h | 10 #define ROMBSIZE BLOCK_SIZE
|
| H A D | minix_fs.h | 29 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | romfs_fs.h | 10 #define ROMBSIZE BLOCK_SIZE
|
| H A D | minix_fs.h | 29 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
|
| /OK3568_Linux_fs/kernel/fs/minix/ |
| H A D | itree_v1.c | 34 if ((u64)block * BLOCK_SIZE >= inode->i_sb->s_maxbytes) in block_to_path()
|
| H A D | inode.c | 166 sb->s_maxbytes > (7 + 512 + 512*512) * BLOCK_SIZE) in minix_check_superblock() 191 if (!sb_set_blocksize(s, BLOCK_SIZE)) in minix_fill_super() 664 stat->blocks = (BLOCK_SIZE / 512) * V1_minix_blocks(stat->size, sb); in minix_getattr()
|
| /OK3568_Linux_fs/kernel/arch/sparc/lib/ |
| H A D | M7memcpy.S | 165 #define BLOCK_SIZE 64 macro 462 prefetch [%o1 + (ALIGN_PRE * BLOCK_SIZE)], 21 555 prefetch [%o1 + (4 * BLOCK_SIZE)], 20 571 subcc %o5, BLOCK_SIZE, %o5 587 add %o4, BLOCK_SIZE, %o4 594 add %o0, BLOCK_SIZE, %o0 596 prefetch [%o4 + (5 * BLOCK_SIZE)], 20 711 prefetch [%o4 + (8 * BLOCK_SIZE)], 20
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sys/ |
| H A D | mount.h | 27 #define BLOCK_SIZE 1024 macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sys/ |
| H A D | mount.h | 27 #define BLOCK_SIZE 1024 macro
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/ |
| H A D | README.lsch3 | 166 BLOCK_SIZE=0x00014000 176 BLOCK_SIZE is the size to be copied by PBI. 196 BLOCK_SIZE=0x00014000
|