Home
last modified time | relevance | path

Searched refs:end_pos (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/include/linux/
Dregset.h223 const int start_pos, const int end_pos) in user_regset_copyout() argument
228 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout()
229 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyout()
230 : min(*count, end_pos - *pos)); in user_regset_copyout()
248 const int start_pos, const int end_pos) in user_regset_copyin() argument
253 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin()
254 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin()
255 : min(*count, end_pos - *pos)); in user_regset_copyin()
278 const int end_pos) in user_regset_copyout_zero() argument
283 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout_zero()
[all …]
/linux-4.4.14/kernel/
Drelay.c1077 size_t read_subbuf, padding, end_pos; in relay_file_read_end_pos() local
1084 end_pos = (read_subbuf + 1) * subbuf_size; in relay_file_read_end_pos()
1086 end_pos = read_pos + count; in relay_file_read_end_pos()
1087 if (end_pos >= subbuf_size * n_subbufs) in relay_file_read_end_pos()
1088 end_pos = 0; in relay_file_read_end_pos()
1090 return end_pos; in relay_file_read_end_pos()
/linux-4.4.14/fs/nfs/
Dpnfs.c2185 loff_t end_pos) in pnfs_set_layoutcommit() argument
2192 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
2196 } else if (end_pos > nfsi->layout->plh_lwb) in pnfs_set_layoutcommit()
2197 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
2236 loff_t end_pos; in pnfs_layoutcommit_inode() local
2270 end_pos = nfsi->layout->plh_lwb; in pnfs_layoutcommit_inode()
2280 data->args.lastbytewritten = end_pos - 1; in pnfs_layoutcommit_inode()
2289 if (end_pos > nfsi->layout->plh_lwb) in pnfs_layoutcommit_inode()
2290 nfsi->layout->plh_lwb = end_pos; in pnfs_layoutcommit_inode()
/linux-4.4.14/fs/ubifs/
Dfile.c546 loff_t end_pos = pos + len; in ubifs_write_end() local
547 int appending = !!(end_pos > inode->i_size); in ubifs_write_end()
582 i_size_write(inode, end_pos); in ubifs_write_end()
583 ui->ui_size = end_pos; in ubifs_write_end()
/linux-4.4.14/fs/btrfs/
Dfile.c498 u64 end_pos = pos + write_bytes; in btrfs_dirty_pages() local
522 if (end_pos > isize) in btrfs_dirty_pages()
523 i_size_write(inode, end_pos); in btrfs_dirty_pages()
1760 u64 end_pos; in btrfs_file_write_iter() local
1806 end_pos = round_up(pos + count, root->sectorsize); in btrfs_file_write_iter()
1807 err = btrfs_cont_expand(inode, i_size_read(inode), end_pos); in btrfs_file_write_iter()