Home
last modified time | relevance | path

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

/Linux-v4.19/init/
Ddo_mounts_rd.c83 ksys_lseek(fd, start_block * BLOCK_SIZE, 0); in identify_ramdisk_image()
104 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image()
112 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
121 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image()
129 ksys_lseek(fd, start_block * BLOCK_SIZE + 0x200, 0); in identify_ramdisk_image()
136 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
143 ksys_lseek(fd, (start_block+1) * BLOCK_SIZE, 0); in identify_ramdisk_image()
171 ksys_lseek(fd, start_block * BLOCK_SIZE, 0); in identify_ramdisk_image()
238 buf = kmalloc(BLOCK_SIZE, GFP_KERNEL); in rd_load_image()
262 ksys_read(in_fd, buf, BLOCK_SIZE); in rd_load_image()
[all …]
/Linux-v4.19/arch/alpha/boot/tools/
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-v4.19/fs/sysv/
Dsuper.c85 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-v4.19/include/uapi/linux/
Dromfs_fs.h10 #define ROMBSIZE BLOCK_SIZE
Dminix_fs.h29 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
Dfs.h33 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro
/Linux-v4.19/fs/minix/
Ditree_v1.c32 } else if (block >= (minix_sb(inode->i_sb)->s_max_size/BLOCK_SIZE)) { in block_to_path()
Dinode.c177 if (!sb_set_blocksize(s, BLOCK_SIZE)) in minix_fill_super()
633 stat->blocks = (BLOCK_SIZE / 512) * V1_minix_blocks(stat->size, sb); in minix_getattr()
/Linux-v4.19/fs/quota/
Dquota_v1.c140 off = isize & (BLOCK_SIZE - 1); in v1_check_quota_file()
141 if ((blocks % sizeof(struct v1_disk_dqblk) * BLOCK_SIZE + off) % in v1_check_quota_file()
/Linux-v4.19/fs/ext2/
Dsuper.c835 int blocksize = BLOCK_SIZE; in ext2_fill_super()
866 blocksize = sb_min_blocksize(sb, BLOCK_SIZE); in ext2_fill_super()
876 if (blocksize != BLOCK_SIZE) { in ext2_fill_super()
877 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; in ext2_fill_super()
878 offset = (sb_block*BLOCK_SIZE) % blocksize; in ext2_fill_super()
965 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext2_fill_super()
985 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; in ext2_fill_super()
986 offset = (sb_block*BLOCK_SIZE) % blocksize; in ext2_fill_super()
/Linux-v4.19/fs/adfs/
Dsuper.c393 sb_set_blocksize(sb, BLOCK_SIZE); in adfs_fill_super()
394 if (!(bh = sb_bread(sb, ADFS_DISCRECORD / BLOCK_SIZE))) { in adfs_fill_super()
400 b_data = bh->b_data + (ADFS_DISCRECORD % BLOCK_SIZE); in adfs_fill_super()
/Linux-v4.19/fs/nilfs2/
Dthe_nilfs.c249 blocksize = BLOCK_SIZE << le32_to_cpu(sbp[0]->s_log_block_size); in load_nilfs()
389 if (nilfs->ns_sbsize > BLOCK_SIZE) in nilfs_store_disk_layout()
441 if (bytes < sumoff + 4 || bytes > BLOCK_SIZE) in nilfs_valid_sb()
594 blocksize = BLOCK_SIZE << le32_to_cpu(sbp->s_log_block_size); in init_nilfs()
/Linux-v4.19/arch/sparc/lib/
DM7memcpy.S165 #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
/Linux-v4.19/fs/freevxfs/
Dvxfs_super.c231 bsize = sb_min_blocksize(sbp, BLOCK_SIZE); in vxfs_fill_super()
/Linux-v4.19/arch/ia64/lib/
Dmemcpy_mck.S272 #define BLOCK_SIZE 128*32 macro
290 mov blocksize=BLOCK_SIZE
/Linux-v4.19/fs/ext4/
Dsuper.c2016 BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in parse_options()
3792 blocksize = BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); in ext4_fill_super()
3950 clustersize = BLOCK_SIZE << le32_to_cpu(es->s_log_cluster_size); in ext4_fill_super()
/Linux-v4.19/arch/sh/kernel/cpu/sh5/
Dentry.S248 #define BLOCK_SIZE 1664 /* Dynamic check, 13*128 */ macro