Home
last modified time | relevance | path

Searched refs:EROFS_BLKSIZ (Results 1 – 10 of 10) sorted by relevance

/linux/fs/erofs/
A Dinternal.h238 #define EROFS_BLKSIZ (1 << LOG_BLOCK_SIZE) macro
240 #if (EROFS_BLKSIZ % 4096 || !EROFS_BLKSIZ)
246 #define erofs_blknr(addr) ((addr) / EROFS_BLKSIZ)
247 #define erofs_blkoff(addr) ((addr) % EROFS_BLKSIZ)
248 #define blknr_to_addr(nr) ((erofs_off_t)(nr) * EROFS_BLKSIZ)
312 return DIV_ROUND_UP(inode->i_size, EROFS_BLKSIZ); in erofs_inode_datablocks()
A Dnamei.c109 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()
A Dxattr.h27 xattr_id * sizeof(__u32) / EROFS_BLKSIZ; in xattrblock_addr()
36 return (xattr_id * sizeof(__u32)) % EROFS_BLKSIZ; in xattrblock_offset()
A Dxattr.c122 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()
A Dsuper.c58 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()
636 if (!sb_set_blocksize(sb, EROFS_BLKSIZ)) { in erofs_fc_fill_super()
656 !dax_supported(sbi->dax_dev, sb->s_bdev, EROFS_BLKSIZ, 0, bdev_nr_sectors(sb->s_bdev))) { in erofs_fc_fill_super()
895 buf->f_bsize = EROFS_BLKSIZ; in erofs_statfs()
A Ddir.c72 unsigned int i = ctx->pos / EROFS_BLKSIZ; in erofs_readdir()
73 unsigned int ofs = ctx->pos % EROFS_BLKSIZ; in erofs_readdir()
A Dzmap.c358 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()
A Ddecompressor.c37 Z_EROFS_PCLUSTER_MAX_SIZE / EROFS_BLKSIZ) { in z_erofs_load_lz4_config()
A Ddata.c118 roundup(inode->i_size - map->m_la, EROFS_BLKSIZ)); in erofs_map_blocks()
A Dinode.c200 inode->i_blocks = roundup(inode->i_size, EROFS_BLKSIZ) >> 9; in erofs_read_inode()

Completed in 32 milliseconds