Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dregset.h260 const int start_pos, const int end_pos) in user_regset_copyout() argument
265 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout()
266 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyout()
267 : min(*count, end_pos - *pos)); in user_regset_copyout()
285 const int start_pos, const int end_pos) in user_regset_copyin() argument
290 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin()
291 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin()
292 : min(*count, end_pos - *pos)); in user_regset_copyin()
315 const int end_pos) in user_regset_copyout_zero() argument
320 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout_zero()
[all …]
/Linux-v4.19/kernel/
Dkcov.c119 u64 count, start_index, end_pos, max_pos; in write_comp_data() local
138 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data()
139 if (likely(end_pos <= max_pos)) { in write_comp_data()
Drelay.c1099 size_t read_subbuf, padding, end_pos; in relay_file_read_end_pos() local
1106 end_pos = (read_subbuf + 1) * subbuf_size; in relay_file_read_end_pos()
1108 end_pos = read_pos + count; in relay_file_read_end_pos()
1109 if (end_pos >= subbuf_size * n_subbufs) in relay_file_read_end_pos()
1110 end_pos = 0; in relay_file_read_end_pos()
1112 return end_pos; in relay_file_read_end_pos()
/Linux-v4.19/fs/nfs/
Dpnfs.c2830 loff_t end_pos) in pnfs_set_layoutcommit() argument
2837 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
2841 } else if (end_pos > nfsi->layout->plh_lwb) in pnfs_set_layoutcommit()
2842 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
2881 loff_t end_pos; in pnfs_layoutcommit_inode() local
2915 end_pos = nfsi->layout->plh_lwb; in pnfs_layoutcommit_inode()
2925 if (end_pos != 0) in pnfs_layoutcommit_inode()
2926 data->args.lastbytewritten = end_pos - 1; in pnfs_layoutcommit_inode()
2937 if (end_pos > nfsi->layout->plh_lwb) in pnfs_layoutcommit_inode()
2938 nfsi->layout->plh_lwb = end_pos; in pnfs_layoutcommit_inode()
/Linux-v4.19/fs/ubifs/
Dfile.c555 loff_t end_pos = pos + len; in ubifs_write_end() local
556 int appending = !!(end_pos > inode->i_size); in ubifs_write_end()
591 i_size_write(inode, end_pos); in ubifs_write_end()
592 ui->ui_size = end_pos; in ubifs_write_end()
/Linux-v4.19/fs/btrfs/
Dfile.c524 u64 end_pos = pos + write_bytes; in btrfs_dirty_pages() local
569 if (end_pos > isize) in btrfs_dirty_pages()
570 i_size_write(inode, end_pos); in btrfs_dirty_pages()
1866 u64 end_pos; in btrfs_file_write_iter() local
1936 end_pos = round_up(pos + count, in btrfs_file_write_iter()
1938 err = btrfs_cont_expand(inode, oldsize, end_pos); in btrfs_file_write_iter()
/Linux-v4.19/include/trace/events/
Df2fs.h803 TP_PROTO(struct inode *dir, loff_t start_pos, loff_t end_pos, int err),
805 TP_ARGS(dir, start_pos, end_pos, err),
819 __entry->end = end_pos;