Lines Matching refs:size_t
28 void *buf, size_t buflen) in romfs_mtd_read()
30 size_t rlen; in romfs_mtd_read()
41 unsigned long pos, size_t maxlen) in romfs_mtd_strnlen()
44 size_t segment; in romfs_mtd_strnlen()
46 size_t len; in romfs_mtd_strnlen()
51 segment = min_t(size_t, maxlen, 16); in romfs_mtd_strnlen()
71 const char *str, size_t size) in romfs_mtd_strcmp()
74 size_t len, segment; in romfs_mtd_strcmp()
82 segment = min_t(size_t, size + 1, 17); in romfs_mtd_strcmp()
108 void *buf, size_t buflen) in romfs_blk_read()
112 size_t segment; in romfs_blk_read()
117 segment = min_t(size_t, buflen, ROMBSIZE - offset); in romfs_blk_read()
135 unsigned long pos, size_t limit) in romfs_blk_strnlen()
140 size_t segment; in romfs_blk_strnlen()
146 segment = min_t(size_t, limit, ROMBSIZE - offset); in romfs_blk_strnlen()
168 const char *str, size_t size) in romfs_blk_strcmp()
172 size_t segment; in romfs_blk_strcmp()
178 segment = min_t(size_t, size, ROMBSIZE - offset); in romfs_blk_strcmp()
219 void *buf, size_t buflen) in romfs_dev_read()
221 size_t limit; in romfs_dev_read()
244 unsigned long pos, size_t maxlen) in romfs_dev_strnlen()
246 size_t limit; in romfs_dev_strnlen()
272 const char *str, size_t size) in romfs_dev_strcmp()
274 size_t limit; in romfs_dev_strcmp()