Searched refs:BLOCK_SIZE (Results 1 – 18 of 18) sorted by relevance
/linux-6.1.9/init/ |
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 …]
|
/linux-6.1.9/arch/alpha/boot/tools/ |
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()
|
/linux-6.1.9/tools/testing/selftests/powerpc/syscalls/ |
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()
|
/linux-6.1.9/fs/sysv/ |
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() 375 sb_set_blocksize(sb, BLOCK_SIZE); in sysv_fill_super() 418 sb_set_blocksize(sb, BLOCK_SIZE); in sysv_fill_super()
|
/linux-6.1.9/include/uapi/linux/ |
D | romfs_fs.h | 10 #define ROMBSIZE BLOCK_SIZE
|
D | minix_fs.h | 29 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode)))
|
D | fs.h | 41 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro
|
/linux-6.1.9/fs/minix/ |
D | itree_v1.c | 34 if ((u64)block * BLOCK_SIZE >= inode->i_sb->s_maxbytes) in block_to_path()
|
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() 665 stat->blocks = (BLOCK_SIZE / 512) * V1_minix_blocks(stat->size, sb); in minix_getattr()
|
/linux-6.1.9/fs/quota/ |
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()
|
/linux-6.1.9/fs/ext2/ |
D | super.c | 817 int blocksize = BLOCK_SIZE; in ext2_fill_super() 849 blocksize = sb_min_blocksize(sb, BLOCK_SIZE); in ext2_fill_super() 859 if (blocksize != BLOCK_SIZE) { in ext2_fill_super() 860 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; in ext2_fill_super() 861 offset = (sb_block*BLOCK_SIZE) % blocksize; in ext2_fill_super() 948 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext2_fill_super() 971 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize; in ext2_fill_super() 972 offset = (sb_block*BLOCK_SIZE) % blocksize; in ext2_fill_super()
|
/linux-6.1.9/arch/sparc/lib/ |
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
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | fs.h | 41 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro
|
/linux-6.1.9/fs/nilfs2/ |
D | the_nilfs.c | 220 *blocksize = BLOCK_SIZE << shift_bits; in nilfs_get_blocksize() 420 if (nilfs->ns_sbsize > BLOCK_SIZE) in nilfs_store_disk_layout() 469 if (bytes < sumoff + 4 || bytes > BLOCK_SIZE) in nilfs_valid_sb()
|
/linux-6.1.9/fs/freevxfs/ |
D | vxfs_super.c | 200 bsize = sb_min_blocksize(sbp, BLOCK_SIZE); in vxfs_fill_super()
|
/linux-6.1.9/fs/adfs/ |
D | super.c | 288 unsigned int blocksize = BLOCK_SIZE; in adfs_probe()
|
/linux-6.1.9/arch/ia64/lib/ |
D | memcpy_mck.S | 272 #define BLOCK_SIZE 128*32 macro 290 mov blocksize=BLOCK_SIZE
|
/linux-6.1.9/fs/ext4/ |
D | super.c | 2725 BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in ext4_check_opt_consistency() 4346 clustersize = BLOCK_SIZE << le32_to_cpu(es->s_log_cluster_size); in ext4_handle_clustersize()
|