Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/erofs/
Dinternal.h280 #define EROFS_BLKSIZ (1 << LOG_BLOCK_SIZE) macro
282 #if (EROFS_BLKSIZ % 4096 || !EROFS_BLKSIZ)
301 #define erofs_blknr(addr) ((addr) / EROFS_BLKSIZ)
302 #define erofs_blkoff(addr) ((addr) % EROFS_BLKSIZ)
303 #define blknr_to_addr(nr) ((erofs_off_t)(nr) * EROFS_BLKSIZ)
348 return DIV_ROUND_UP(inode->i_size, EROFS_BLKSIZ); in inode_datablocks()
Dxattr.h34 xattr_id * sizeof(__u32) / EROFS_BLKSIZ; in xattrblock_addr()
43 return (xattr_id * sizeof(__u32)) % EROFS_BLKSIZ; in xattrblock_offset()
Dxattr.c73 if (unlikely(it.ofs >= EROFS_BLKSIZ)) { in init_inode_xattrs()
75 BUG_ON(it.ofs != EROFS_BLKSIZ); in init_inode_xattrs()
104 if (unlikely(it->ofs >= EROFS_BLKSIZ)) { in xattr_iter_fixup()
178 if (it->ofs >= EROFS_BLKSIZ) { in xattr_foreach()
179 BUG_ON(it->ofs > EROFS_BLKSIZ); in xattr_foreach()
211 if (it->ofs >= EROFS_BLKSIZ) { in xattr_foreach()
212 BUG_ON(it->ofs > EROFS_BLKSIZ); in xattr_foreach()
Ddir.c84 unsigned i = ctx->pos / EROFS_BLKSIZ; in erofs_readdir()
85 unsigned ofs = ctx->pos % EROFS_BLKSIZ; in erofs_readdir()
Dnamei.c133 EROFS_BLKSIZ - nameoff in find_target_block_classic()
187 find_target_dirent(name, data, EROFS_BLKSIZ) : in erofs_namei()
Dsuper.c326 if (unlikely(!sb_set_blocksize(sb, EROFS_BLKSIZ))) { in erofs_read_super()
588 buf->f_bsize = EROFS_BLKSIZ; in erofs_statfs()