Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dregset.h257 const int start_pos, const int end_pos) in user_regset_copyout() argument
262 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout()
263 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyout()
264 : min(*count, end_pos - *pos)); in user_regset_copyout()
282 const int start_pos, const int end_pos) in user_regset_copyin() argument
287 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin()
288 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin()
289 : min(*count, end_pos - *pos)); in user_regset_copyin()
312 const int end_pos) in user_regset_copyout_zero() argument
317 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout_zero()
[all …]
/Linux-v5.4/kernel/
Dkcov.c120 u64 count, start_index, end_pos, max_pos; in write_comp_data() local
139 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data()
140 if (likely(end_pos <= max_pos)) { in write_comp_data()
Drelay.c1101 size_t read_subbuf, padding, end_pos; in relay_file_read_end_pos() local
1108 end_pos = (read_subbuf + 1) * subbuf_size; in relay_file_read_end_pos()
1110 end_pos = read_pos + count; in relay_file_read_end_pos()
1111 if (end_pos >= subbuf_size * n_subbufs) in relay_file_read_end_pos()
1112 end_pos = 0; in relay_file_read_end_pos()
1114 return end_pos; in relay_file_read_end_pos()
/Linux-v5.4/fs/nfs/
Dpnfs.c2919 loff_t end_pos) in pnfs_set_layoutcommit() argument
2926 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
2930 } else if (end_pos > nfsi->layout->plh_lwb) in pnfs_set_layoutcommit()
2931 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit()
2970 loff_t end_pos; in pnfs_layoutcommit_inode() local
3004 end_pos = nfsi->layout->plh_lwb; in pnfs_layoutcommit_inode()
3014 if (end_pos != 0) in pnfs_layoutcommit_inode()
3015 data->args.lastbytewritten = end_pos - 1; in pnfs_layoutcommit_inode()
3026 if (end_pos > nfsi->layout->plh_lwb) in pnfs_layoutcommit_inode()
3027 nfsi->layout->plh_lwb = end_pos; in pnfs_layoutcommit_inode()
/Linux-v5.4/fs/ubifs/
Dfile.c543 loff_t end_pos = pos + len; in ubifs_write_end() local
544 int appending = !!(end_pos > inode->i_size); in ubifs_write_end()
579 i_size_write(inode, end_pos); in ubifs_write_end()
580 ui->ui_size = end_pos; in ubifs_write_end()
/Linux-v5.4/fs/btrfs/
Dfile.c525 u64 end_pos = pos + write_bytes; in btrfs_dirty_pages() local
578 if (end_pos > isize) in btrfs_dirty_pages()
579 i_size_write(inode, end_pos); in btrfs_dirty_pages()
1893 u64 end_pos; in btrfs_file_write_iter() local
1964 end_pos = round_up(pos + count, in btrfs_file_write_iter()
1966 err = btrfs_cont_expand(inode, oldsize, end_pos); in btrfs_file_write_iter()
/Linux-v5.4/include/trace/events/
Df2fs.h845 TP_PROTO(struct inode *dir, loff_t start_pos, loff_t end_pos, int err),
847 TP_ARGS(dir, start_pos, end_pos, err),
861 __entry->end = end_pos;