Lines Matching refs:off
165 size_t len, loff_t off) in ocfs2_quota_read() argument
170 int offset = off & (sb->s_blocksize - 1); in ocfs2_quota_read()
171 sector_t blk = off >> sb->s_blocksize_bits; in ocfs2_quota_read()
177 if (off > i_size) in ocfs2_quota_read()
179 if (off + len > i_size) in ocfs2_quota_read()
180 len = i_size - off; in ocfs2_quota_read()
214 const char *data, size_t len, loff_t off) in ocfs2_quota_write() argument
219 int offset = off & (sb->s_blocksize - 1); in ocfs2_quota_write()
220 sector_t blk = off >> sb->s_blocksize_bits; in ocfs2_quota_write()
229 (unsigned long long)off, (unsigned long long)len); in ocfs2_quota_write()
237 if (gqinode->i_size < off + len) { in ocfs2_quota_write()
239 ocfs2_align_bytes_to_blocks(sb, off + len); in ocfs2_quota_write()