Lines Matching refs:pos
101 loff_t pos; in ecryptfs_write() local
110 pos = ecryptfs_file_size; in ecryptfs_write()
112 pos = offset; in ecryptfs_write()
113 while (pos < (offset + size)) { in ecryptfs_write()
114 pgoff_t ecryptfs_page_idx = (pos >> PAGE_SHIFT); in ecryptfs_write()
115 size_t start_offset_in_page = (pos & ~PAGE_MASK); in ecryptfs_write()
117 loff_t total_remaining_bytes = ((offset + size) - pos); in ecryptfs_write()
126 if (pos < offset) { in ecryptfs_write()
128 loff_t total_remaining_zeros = (offset - pos); in ecryptfs_write()
151 if (pos < offset || !start_offset_in_page) { in ecryptfs_write()
160 if (pos >= offset) { in ecryptfs_write()
183 pos += num_bytes; in ecryptfs_write()
185 if (pos > ecryptfs_file_size) { in ecryptfs_write()
186 i_size_write(ecryptfs_inode, pos); in ecryptfs_write()