Searched refs:EROFS_BLKSIZ (Results 1 – 10 of 10) sorted by relevance
/fs/erofs/ |
D | internal.h | 213 #define EROFS_BLKSIZ (1 << LOG_BLOCK_SIZE) macro 215 #if (EROFS_BLKSIZ % 4096 || !EROFS_BLKSIZ) 221 #define erofs_blknr(addr) ((addr) / EROFS_BLKSIZ) 222 #define erofs_blkoff(addr) ((addr) % EROFS_BLKSIZ) 223 #define blknr_to_addr(nr) ((erofs_off_t)(nr) * EROFS_BLKSIZ) 289 return DIV_ROUND_UP(inode->i_size, EROFS_BLKSIZ); in erofs_inode_datablocks()
|
D | namei.c | 109 EROFS_BLKSIZ); in find_target_block_classic() 130 dname.end = (u8 *)de + EROFS_BLKSIZ; in find_target_block_classic() 134 EROFS_BLKSIZ); in find_target_block_classic() 192 de = find_target_dirent(&qn, data, EROFS_BLKSIZ, ndirents); in erofs_namei()
|
D | xattr.c | 122 if (it.ofs >= EROFS_BLKSIZ) { in init_inode_xattrs() 124 DBG_BUGON(it.ofs != EROFS_BLKSIZ); in init_inode_xattrs() 172 if (it->ofs < EROFS_BLKSIZ) in xattr_iter_fixup() 266 if (it->ofs >= EROFS_BLKSIZ) { in xattr_foreach() 267 DBG_BUGON(it->ofs > EROFS_BLKSIZ); in xattr_foreach() 301 if (it->ofs >= EROFS_BLKSIZ) { in xattr_foreach() 302 DBG_BUGON(it->ofs > EROFS_BLKSIZ); in xattr_foreach()
|
D | xattr.h | 27 xattr_id * sizeof(__u32) / EROFS_BLKSIZ; in xattrblock_addr() 36 return (xattr_id * sizeof(__u32)) % EROFS_BLKSIZ; in xattrblock_offset()
|
D | super.c | 58 EROFS_BLKSIZ - EROFS_SUPER_OFFSET, GFP_KERNEL); in erofs_superblock_csum_verify() 65 crc = crc32c(~0, dsb, EROFS_BLKSIZ - EROFS_SUPER_OFFSET); in erofs_superblock_csum_verify() 161 cnt = min(EROFS_BLKSIZ - (int)erofs_blkoff(*offset), len - i); in erofs_read_metadata() 377 if (sbi->sb_size > EROFS_BLKSIZ) { in erofs_read_superblock() 640 if (!sb_set_blocksize(sb, EROFS_BLKSIZ)) { in erofs_fc_fill_super() 660 !dax_supported(sbi->dax_dev, sb->s_bdev, EROFS_BLKSIZ, 0, bdev_nr_sectors(sb->s_bdev))) { in erofs_fc_fill_super() 911 buf->f_bsize = EROFS_BLKSIZ; in erofs_statfs()
|
D | dir.c | 72 unsigned int i = ctx->pos / EROFS_BLKSIZ; in erofs_readdir() 73 unsigned int ofs = ctx->pos % EROFS_BLKSIZ; in erofs_readdir()
|
D | zmap.c | 361 const unsigned int totalidx = DIV_ROUND_UP(inode->i_size, EROFS_BLKSIZ); in compacted_load_cluster_from_disk() 678 map->m_llen >= EROFS_BLKSIZ)) { in z_erofs_map_blocks_iter()
|
D | decompressor.c | 37 Z_EROFS_PCLUSTER_MAX_SIZE / EROFS_BLKSIZ) { in z_erofs_load_lz4_config()
|
D | data.c | 118 roundup(inode->i_size - map->m_la, EROFS_BLKSIZ)); in erofs_map_blocks()
|
D | inode.c | 201 inode->i_blocks = roundup(inode->i_size, EROFS_BLKSIZ) >> 9; in erofs_read_inode()
|