Home
last modified time | relevance | path

Searched refs:ROMBSIZE (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/fs/romfs/
Dstorage.c116 offset = pos & (ROMBSIZE - 1); in romfs_blk_read()
117 segment = min_t(size_t, buflen, ROMBSIZE - offset); in romfs_blk_read()
145 offset = pos & (ROMBSIZE - 1); in romfs_blk_strnlen()
146 segment = min_t(size_t, limit, ROMBSIZE - offset); in romfs_blk_strnlen()
177 offset = pos & (ROMBSIZE - 1); in romfs_blk_strcmp()
178 segment = min_t(size_t, size, ROMBSIZE - offset); in romfs_blk_strcmp()
187 if (matched && size == 0 && offset + segment < ROMBSIZE) { in romfs_blk_strcmp()
201 BUG_ON((pos & (ROMBSIZE - 1)) != 0); in romfs_blk_strcmp()
Dsuper.c421 buf->f_bsize = ROMBSIZE; in romfs_statfs()
424 (romfs_maxsize(dentry->d_sb) + ROMBSIZE - 1) >> ROMBSBITS; in romfs_statfs()
478 sb_set_blocksize(sb, ROMBSIZE); in romfs_fill_super()
480 sb->s_blocksize = ROMBSIZE; in romfs_fill_super()
481 sb->s_blocksize_bits = blksize_bits(ROMBSIZE); in romfs_fill_super()
/Linux-v4.19/include/uapi/linux/
Dromfs_fs.h10 #define ROMBSIZE BLOCK_SIZE macro
12 #define ROMBMASK (ROMBSIZE-1)