Lines Matching refs:off
162 size_t len, loff_t off) in ocfs2_quota_read() argument
167 int offset = off & (sb->s_blocksize - 1); in ocfs2_quota_read()
168 sector_t blk = off >> sb->s_blocksize_bits; in ocfs2_quota_read()
174 if (off > i_size) in ocfs2_quota_read()
176 if (off + len > i_size) in ocfs2_quota_read()
177 len = i_size - off; in ocfs2_quota_read()
211 const char *data, size_t len, loff_t off) in ocfs2_quota_write() argument
216 int offset = off & (sb->s_blocksize - 1); in ocfs2_quota_write()
217 sector_t blk = off >> sb->s_blocksize_bits; in ocfs2_quota_write()
226 (unsigned long long)off, (unsigned long long)len); in ocfs2_quota_write()
234 if (gqinode->i_size < off + len) { in ocfs2_quota_write()
236 ocfs2_align_bytes_to_blocks(sb, off + len); in ocfs2_quota_write()