Searched refs:EROFS_BLKSIZ (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/fs/erofs/ |
H A D | internal.h | 202 #define EROFS_BLKSIZ (1 << LOG_BLOCK_SIZE) macro 204 #if (EROFS_BLKSIZ % 4096 || !EROFS_BLKSIZ) 210 #define erofs_blknr(addr) ((addr) / EROFS_BLKSIZ) 211 #define erofs_blkoff(addr) ((addr) % EROFS_BLKSIZ) 212 #define blknr_to_addr(nr) ((erofs_off_t)(nr) * EROFS_BLKSIZ) 261 return DIV_ROUND_UP(inode->i_size, EROFS_BLKSIZ); in erofs_inode_datablocks()
|
H A D | namei.c | 110 EROFS_BLKSIZ); in find_target_block_classic() 131 dname.end = (u8 *)de + EROFS_BLKSIZ; in find_target_block_classic() 135 EROFS_BLKSIZ); in find_target_block_classic() 193 de = find_target_dirent(&qn, data, EROFS_BLKSIZ, ndirents); in erofs_namei()
|
H A D | xattr.h | 28 xattr_id * sizeof(__u32) / EROFS_BLKSIZ; in xattrblock_addr() 37 return (xattr_id * sizeof(__u32)) % EROFS_BLKSIZ; in xattrblock_offset()
|
H A D | xattr.c | 123 if (it.ofs >= EROFS_BLKSIZ) { in init_inode_xattrs() 125 DBG_BUGON(it.ofs != EROFS_BLKSIZ); in init_inode_xattrs() 173 if (it->ofs < EROFS_BLKSIZ) in xattr_iter_fixup() 267 if (it->ofs >= EROFS_BLKSIZ) { in xattr_foreach() 268 DBG_BUGON(it->ofs > EROFS_BLKSIZ); in xattr_foreach() 302 if (it->ofs >= EROFS_BLKSIZ) { in xattr_foreach() 303 DBG_BUGON(it->ofs > EROFS_BLKSIZ); in xattr_foreach()
|
H A D | dir.c | 73 unsigned int i = ctx->pos / EROFS_BLKSIZ; in erofs_readdir() 74 unsigned int ofs = ctx->pos % EROFS_BLKSIZ; in erofs_readdir()
|
H A 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() 348 if (!sb_set_blocksize(sb, EROFS_BLKSIZ)) { in erofs_fc_fill_super() 556 buf->f_bsize = EROFS_BLKSIZ; in erofs_statfs()
|
H A D | zmap.c | 279 const unsigned int totalidx = DIV_ROUND_UP(inode->i_size, EROFS_BLKSIZ); in compacted_load_cluster_from_disk()
|
H A D | inode.c | 180 inode->i_blocks = roundup(inode->i_size, EROFS_BLKSIZ) >> 9; in erofs_read_inode()
|
Completed in 6 milliseconds