Searched refs:read_len (Results 1 – 1 of 1) sorted by relevance
720 unsigned long read_len; in jffs_do_readpage_nolock() local740 read_len = 0; in jffs_do_readpage_nolock()745 read_len = min_t(long, inode->i_size - offset, PAGE_SIZE); in jffs_do_readpage_nolock()746 r = jffs_read_data(f, buf, offset, read_len); in jffs_do_readpage_nolock()747 if (r != read_len) { in jffs_do_readpage_nolock()752 "read %d bytes.\n", read_len, r); in jffs_do_readpage_nolock()759 if(read_len < PAGE_SIZE) in jffs_do_readpage_nolock()760 memset(buf + read_len, 0, PAGE_SIZE - read_len); in jffs_do_readpage_nolock()