Home
last modified time | relevance | path

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

/linux/init/
H A Ddo_mounts_rd.c85 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()
204 in_pos = rd_image_start * BLOCK_SIZE; in rd_load_image()
239 buf = kmalloc(BLOCK_SIZE, GFP_KERNEL); in rd_load_image()
255 kernel_read(in_file, buf, BLOCK_SIZE, &in_pos); in rd_load_image()
[all …]
/linux/arch/alpha/boot/tools/
H A Dobjstrip.c37 #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()
/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_chacha.c85 enum { TRIALS = 1000, BLOCKS = 128, BLOCK_SIZE = 64 }; in main() enumerator
87 uint8_t output1[BLOCK_SIZE * BLOCKS], output2[BLOCK_SIZE * BLOCKS]; in main()
104 __arch_chacha20_blocks_nostack(output2 + split * BLOCK_SIZE, key, counter2, BLOCKS - split); in main()
/linux/include/uapi/linux/
H A Dromfs_fs.h10 #define ROMBSIZE BLOCK_SIZE
H A Dminix_fs.h29 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
H A Dfs.h41 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro
/linux/fs/minix/
H A Ditree_v1.c34 if ((u64)block * BLOCK_SIZE >= inode->i_sb->s_maxbytes) in block_to_path()
H A Dinode.c183 sb->s_maxbytes > (7 + 512 + 512*512) * BLOCK_SIZE) in minix_check_superblock()
209 if (!sb_set_blocksize(s, BLOCK_SIZE)) in minix_fill_super()
704 stat->blocks = (BLOCK_SIZE / 512) * V1_minix_blocks(stat->size, sb); in minix_getattr()
/linux/fs/quota/
H A Dquota_v1.c141 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()
/linux/fs/ext2/
H A Dsuper.c890 int blocksize = BLOCK_SIZE; in ext2_fill_super()
921 blocksize = sb_min_blocksize(sb, BLOCK_SIZE); in ext2_fill_super()
931 if (blocksize != BLOCK_SIZE) { in ext2_fill_super()
932 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; in ext2_fill_super()
933 offset = (sb_block*BLOCK_SIZE) % blocksize; in ext2_fill_super()
992 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext2_fill_super()
1015 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; in ext2_fill_super()
1016 offset = (sb_block*BLOCK_SIZE) % blocksize; in ext2_fill_super()
/linux/fs/nilfs2/
H A Dthe_nilfs.c219 *blocksize = BLOCK_SIZE << shift_bits; in nilfs_get_blocksize()
451 if (nilfs->ns_sbsize > BLOCK_SIZE) in nilfs_store_disk_layout()
533 if (bytes < sumoff + 4 || bytes > BLOCK_SIZE) in nilfs_valid_sb()
/linux/tools/testing/selftests/powerpc/syscalls/
H A Drtas_filter.c33 #define BLOCK_SIZE 4096 macro
/linux/fs/freevxfs/
H A Dvxfs_super.c202 bsize = sb_min_blocksize(sbp, BLOCK_SIZE); in vxfs_fill_super()
/linux/tools/include/uapi/linux/
H A Dfs.h41 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dfs.h41 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro
/linux/fs/adfs/
H A Dsuper.c262 unsigned int blocksize = BLOCK_SIZE; in adfs_probe()