Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/kernel/
Drelay.c1080 size_t read_subbuf, padding, end_pos; in relay_file_read_end_pos() local
1087 end_pos = (read_subbuf + 1) * subbuf_size; in relay_file_read_end_pos()
1089 end_pos = read_pos + count; in relay_file_read_end_pos()
1090 if (end_pos >= subbuf_size * n_subbufs) in relay_file_read_end_pos()
1091 end_pos = 0; in relay_file_read_end_pos()
1093 return end_pos; in relay_file_read_end_pos()
/linux-4.1.27/fs/nfs/
Dpnfs.c2108 loff_t end_pos) in pnfs_set_layoutcommit() argument
2115 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
2119 } else if (end_pos > nfsi->layout->plh_lwb) in pnfs_set_layoutcommit()
2120 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
2159 loff_t end_pos; in pnfs_layoutcommit_inode() local
2193 end_pos = nfsi->layout->plh_lwb; in pnfs_layoutcommit_inode()
2203 data->args.lastbytewritten = end_pos - 1; in pnfs_layoutcommit_inode()
2211 if (end_pos > nfsi->layout->plh_lwb) in pnfs_layoutcommit_inode()
2212 nfsi->layout->plh_lwb = end_pos; in pnfs_layoutcommit_inode()
/linux-4.1.27/fs/ubifs/
Dfile.c547 loff_t end_pos = pos + len; in ubifs_write_end() local
548 int appending = !!(end_pos > inode->i_size); in ubifs_write_end()
583 i_size_write(inode, end_pos); in ubifs_write_end()
584 ui->ui_size = end_pos; in ubifs_write_end()
/linux-4.1.27/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()
1744 u64 end_pos; in btrfs_file_write_iter() local
1790 end_pos = round_up(pos + count, root->sectorsize); in btrfs_file_write_iter()
1791 err = btrfs_cont_expand(inode, i_size_read(inode), end_pos); in btrfs_file_write_iter()