Searched refs:ROMBSIZE (Results 1 – 2 of 2) sorted by relevance
112 offset = pos & (ROMBSIZE - 1); in romfs_blk_read()113 segment = min_t(size_t, buflen, ROMBSIZE - offset); in romfs_blk_read()141 offset = pos & (ROMBSIZE - 1); in romfs_blk_strnlen()142 segment = min_t(size_t, limit, ROMBSIZE - offset); in romfs_blk_strnlen()173 offset = pos & (ROMBSIZE - 1); in romfs_blk_strcmp()174 segment = min_t(size_t, size, ROMBSIZE - offset); in romfs_blk_strcmp()183 if (matched && size == 0 && offset + segment < ROMBSIZE) { in romfs_blk_strcmp()197 BUG_ON((pos & (ROMBSIZE - 1)) != 0); in romfs_blk_strcmp()
10 #define ROMBSIZE BLOCK_SIZE macro12 #define ROMBMASK (ROMBSIZE-1)