Searched refs:BLOCK_SIZE (Results 1 – 17 of 17) sorted by relevance
/linux-4.4.14/init/ |
D | do_mounts_rd.c | 92 sys_lseek(fd, start_block * BLOCK_SIZE, 0); in identify_ramdisk_image() 113 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image() 121 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image() 130 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image() 138 sys_lseek(fd, start_block * BLOCK_SIZE + 0x200, 0); in identify_ramdisk_image() 145 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image() 152 sys_lseek(fd, (start_block+1) * BLOCK_SIZE, 0); in identify_ramdisk_image() 180 sys_lseek(fd, start_block * BLOCK_SIZE, 0); in identify_ramdisk_image() 254 buf = kmalloc(BLOCK_SIZE, GFP_KERNEL); in rd_load_image() 278 sys_read(in_fd, buf, BLOCK_SIZE); in rd_load_image() [all …]
|
/linux-4.4.14/arch/alpha/boot/tools/ |
D | objstrip.c | 36 #define BLOCK_SIZE 512 macro 75 pad = BLOCK_SIZE; in main() 122 size = (st.st_size + BLOCK_SIZE - 1) & ~(BLOCK_SIZE - 1); in main() 125 bb[60] = size / BLOCK_SIZE; /* count */ in main()
|
/linux-4.4.14/fs/sysv/ |
D | super.c | 85 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4() 113 sbd = (struct sysv2_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv2() 206 sbd = (struct sysv4_super_block *) (bh->b_data + BLOCK_SIZE/2); in detect_sysv() 256 sbd = (struct coh_super_block *) (bh->b_data + BLOCK_SIZE/2); in detect_coherent() 374 sb_set_blocksize(sb, BLOCK_SIZE); in sysv_fill_super() 417 sb_set_blocksize(sb, BLOCK_SIZE); in sysv_fill_super()
|
/linux-4.4.14/include/uapi/linux/ |
D | romfs_fs.h | 9 #define ROMBSIZE BLOCK_SIZE
|
D | minix_fs.h | 28 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
|
D | fs.h | 29 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro
|
/linux-4.4.14/fs/minix/ |
D | itree_v1.c | 32 } else if (block >= (minix_sb(inode->i_sb)->s_max_size/BLOCK_SIZE)) { in block_to_path()
|
D | inode.c | 177 if (!sb_set_blocksize(s, BLOCK_SIZE)) in minix_fill_super() 631 stat->blocks = (BLOCK_SIZE / 512) * V1_minix_blocks(stat->size, sb); in minix_getattr()
|
/linux-4.4.14/fs/quota/ |
D | quota_v1.c | 139 off = isize & (BLOCK_SIZE - 1); in v1_check_quota_file() 140 if ((blocks % sizeof(struct v1_disk_dqblk) * BLOCK_SIZE + off) % in v1_check_quota_file()
|
/linux-4.4.14/fs/nilfs2/ |
D | the_nilfs.c | 259 blocksize = BLOCK_SIZE << le32_to_cpu(sbp[0]->s_log_block_size); in load_nilfs() 400 if (nilfs->ns_sbsize > BLOCK_SIZE) in nilfs_store_disk_layout() 446 if (bytes > BLOCK_SIZE) in nilfs_valid_sb() 599 blocksize = BLOCK_SIZE << le32_to_cpu(sbp->s_log_block_size); in init_nilfs()
|
/linux-4.4.14/fs/ext2/ |
D | super.c | 794 int blocksize = BLOCK_SIZE; in ext2_fill_super() 823 blocksize = sb_min_blocksize(sb, BLOCK_SIZE); in ext2_fill_super() 833 if (blocksize != BLOCK_SIZE) { in ext2_fill_super() 834 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; in ext2_fill_super() 835 offset = (sb_block*BLOCK_SIZE) % blocksize; in ext2_fill_super() 919 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext2_fill_super() 944 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; in ext2_fill_super() 945 offset = (sb_block*BLOCK_SIZE) % blocksize; in ext2_fill_super()
|
/linux-4.4.14/fs/adfs/ |
D | super.c | 392 sb_set_blocksize(sb, BLOCK_SIZE); in adfs_fill_super() 393 if (!(bh = sb_bread(sb, ADFS_DISCRECORD / BLOCK_SIZE))) { in adfs_fill_super() 399 b_data = bh->b_data + (ADFS_DISCRECORD % BLOCK_SIZE); in adfs_fill_super()
|
/linux-4.4.14/fs/freevxfs/ |
D | vxfs_super.c | 165 bsize = sb_min_blocksize(sbp, BLOCK_SIZE); in vxfs_fill_super()
|
/linux-4.4.14/arch/ia64/lib/ |
D | memcpy_mck.S | 269 #define BLOCK_SIZE 128*32 macro 287 mov blocksize=BLOCK_SIZE
|
/linux-4.4.14/fs/ext4/ |
D | super.c | 1751 BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in parse_options() 3367 blocksize = BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); in ext4_fill_super() 3494 clustersize = BLOCK_SIZE << le32_to_cpu(es->s_log_cluster_size); in ext4_fill_super()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh5/ |
D | entry.S | 248 #define BLOCK_SIZE 1664 /* Dynamic check, 13*128 */ macro
|
/linux-4.4.14/drivers/block/ |
D | cciss.c | 2924 *block_size = BLOCK_SIZE; in cciss_read_capacity() 2952 *block_size = BLOCK_SIZE; in cciss_read_capacity_16()
|