Searched refs:BLOCK_SIZE (Results 1 - 22 of 22) sorted by relevance

/linux-4.1.27/init/
H A Ddo_mounts_rd.c92 sys_lseek(fd, start_block * BLOCK_SIZE, 0); identify_ramdisk_image()
113 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; identify_ramdisk_image()
121 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; identify_ramdisk_image()
130 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) identify_ramdisk_image()
138 sys_lseek(fd, start_block * BLOCK_SIZE + 0x200, 0); identify_ramdisk_image()
145 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; identify_ramdisk_image()
152 sys_lseek(fd, (start_block+1) * BLOCK_SIZE, 0); identify_ramdisk_image()
180 sys_lseek(fd, start_block * BLOCK_SIZE, 0); identify_ramdisk_image()
254 buf = kmalloc(BLOCK_SIZE, GFP_KERNEL); rd_load_image()
278 sys_read(in_fd, buf, BLOCK_SIZE); rd_load_image()
279 sys_write(out_fd, buf, BLOCK_SIZE); rd_load_image()
/linux-4.1.27/arch/alpha/boot/tools/
H A Dobjstrip.c35 /* bootfile size must be multiple of BLOCK_SIZE: */
36 #define BLOCK_SIZE 512 macro
75 pad = BLOCK_SIZE; main()
122 size = (st.st_size + BLOCK_SIZE - 1) & ~(BLOCK_SIZE - 1); main()
125 bb[60] = size / BLOCK_SIZE; /* count */ main()
/linux-4.1.27/fs/minix/
H A Ditree_v1.c32 } else if (block >= (minix_sb(inode->i_sb)->s_max_size/BLOCK_SIZE)) { block_to_path()
H A Dinode.c177 if (!sb_set_blocksize(s, BLOCK_SIZE)) minix_fill_super()
631 stat->blocks = (BLOCK_SIZE / 512) * V1_minix_blocks(stat->size, sb); minix_getattr()
/linux-4.1.27/include/uapi/linux/
H A Dromfs_fs.h9 #define ROMBSIZE BLOCK_SIZE
H A Dminix_fs.h28 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
H A Dfs.h29 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro
/linux-4.1.27/fs/sysv/
H A Dsuper.c85 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); detected_sysv4()
113 sbd = (struct sysv2_super_block *) (bh1->b_data + BLOCK_SIZE/2); detected_sysv2()
206 sbd = (struct sysv4_super_block *) (bh->b_data + BLOCK_SIZE/2); detect_sysv()
256 sbd = (struct coh_super_block *) (bh->b_data + BLOCK_SIZE/2); detect_coherent()
374 sb_set_blocksize(sb, BLOCK_SIZE); sysv_fill_super()
417 sb_set_blocksize(sb, BLOCK_SIZE); sysv_fill_super()
/linux-4.1.27/drivers/mmc/host/
H A Dsdhci-iproc.c91 * The BLOCK_SIZE and BLOCK_COUNT are meaningless until a command issued so
93 * BLOCK_SIZE, BLOCK_COUNT, and TRANSFER_MODE until a COMMAND is issued.
94 * Then, write the BLOCK_SIZE+BLOCK_COUNT in a single 32-bit write followed
/linux-4.1.27/fs/quota/
H A Dquota_v1.c139 off = isize & (BLOCK_SIZE - 1); v1_check_quota_file()
140 if ((blocks % sizeof(struct v1_disk_dqblk) * BLOCK_SIZE + off) % v1_check_quota_file()
/linux-4.1.27/fs/adfs/
H A Dsuper.c392 sb_set_blocksize(sb, BLOCK_SIZE); adfs_fill_super()
393 if (!(bh = sb_bread(sb, ADFS_DISCRECORD / BLOCK_SIZE))) { adfs_fill_super()
399 b_data = bh->b_data + (ADFS_DISCRECORD % BLOCK_SIZE); adfs_fill_super()
/linux-4.1.27/fs/nilfs2/
H A Dthe_nilfs.c259 blocksize = BLOCK_SIZE << le32_to_cpu(sbp[0]->s_log_block_size); load_nilfs()
400 if (nilfs->ns_sbsize > BLOCK_SIZE) nilfs_store_disk_layout()
446 if (bytes > BLOCK_SIZE) nilfs_valid_sb()
599 blocksize = BLOCK_SIZE << le32_to_cpu(sbp->s_log_block_size); init_nilfs()
/linux-4.1.27/fs/ext2/
H A Dsuper.c789 int blocksize = BLOCK_SIZE; ext2_fill_super()
818 blocksize = sb_min_blocksize(sb, BLOCK_SIZE); ext2_fill_super()
828 if (blocksize != BLOCK_SIZE) { ext2_fill_super()
829 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; ext2_fill_super()
830 offset = (sb_block*BLOCK_SIZE) % blocksize; ext2_fill_super()
913 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); ext2_fill_super()
938 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; ext2_fill_super()
939 offset = (sb_block*BLOCK_SIZE) % blocksize; ext2_fill_super()
/linux-4.1.27/arch/arm64/kernel/
H A Dhead.S51 #define BLOCK_SIZE PAGE_SIZE define
55 #define BLOCK_SIZE SECTION_SIZE define
341 add \phys, \phys, #BLOCK_SIZE // next block
/linux-4.1.27/fs/freevxfs/
H A Dvxfs_super.c165 bsize = sb_min_blocksize(sbp, BLOCK_SIZE); vxfs_fill_super()
/linux-4.1.27/arch/ia64/lib/
H A Dmemcpy_mck.S269 #define BLOCK_SIZE 128*32 define
287 mov blocksize=BLOCK_SIZE
/linux-4.1.27/drivers/crypto/
H A Domap-sham.c749 /* size is not BLOCK_SIZE aligned */ omap_sham_update_dma_start()
756 /* not last sg must be BLOCK_SIZE aligned */ omap_sham_update_dma_start()
/linux-4.1.27/arch/sh/kernel/cpu/sh5/
H A Dentry.S248 #define BLOCK_SIZE 1664 /* Dynamic check, 13*128 */ define
1970 movi BLOCK_SIZE, r29 /* r29 = expected size */
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_vm.c965 /* reserve space for one command every (1 << BLOCK_SIZE) entries radeon_vm_bo_update()
/linux-4.1.27/fs/ext4/
H A Dsuper.c1725 BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); parse_options()
3706 blocksize = BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); ext4_fill_super()
3835 clustersize = BLOCK_SIZE << le32_to_cpu(es->s_log_cluster_size); ext4_fill_super()
/linux-4.1.27/drivers/block/
H A Dcciss.c2908 *block_size = BLOCK_SIZE; cciss_read_capacity()
2936 *block_size = BLOCK_SIZE; cciss_read_capacity_16()
/linux-4.1.27/fs/ext3/
H A Dsuper.c1824 blocksize = BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); ext3_fill_super()

Completed in 808 milliseconds