Searched refs:end_pos (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.15/include/linux/ |
D | regset.h | 256 const int start_pos, const int end_pos) in user_regset_copyin() argument 261 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin() 262 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin() 263 : min(*count, end_pos - *pos)); in user_regset_copyin() 283 const int end_pos) in user_regset_copyin_ignore() argument 288 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin_ignore() 289 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin_ignore() 290 : min(*count, end_pos - *pos)); in user_regset_copyin_ignore()
|
/Linux-v5.15/kernel/ |
D | relay.c | 1019 size_t read_subbuf, padding, end_pos; in relay_file_read_end_pos() local 1026 end_pos = (read_subbuf + 1) * subbuf_size; in relay_file_read_end_pos() 1028 end_pos = read_pos + count; in relay_file_read_end_pos() 1029 if (end_pos >= subbuf_size * n_subbufs) in relay_file_read_end_pos() 1030 end_pos = 0; in relay_file_read_end_pos() 1032 return end_pos; in relay_file_read_end_pos()
|
D | kcov.c | 215 u64 count, start_index, end_pos, max_pos; in write_comp_data() local 234 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data() 235 if (likely(end_pos <= max_pos)) { in write_comp_data()
|
/Linux-v5.15/fs/nfs/ |
D | pnfs.c | 3113 loff_t end_pos) in pnfs_set_layoutcommit() argument 3120 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit() 3124 } else if (end_pos > nfsi->layout->plh_lwb) in pnfs_set_layoutcommit() 3125 nfsi->layout->plh_lwb = end_pos; in pnfs_set_layoutcommit() 3164 loff_t end_pos; in pnfs_layoutcommit_inode() local 3198 end_pos = nfsi->layout->plh_lwb; in pnfs_layoutcommit_inode() 3208 if (end_pos != 0) in pnfs_layoutcommit_inode() 3209 data->args.lastbytewritten = end_pos - 1; in pnfs_layoutcommit_inode() 3220 if (end_pos > nfsi->layout->plh_lwb) in pnfs_layoutcommit_inode() 3221 nfsi->layout->plh_lwb = end_pos; in pnfs_layoutcommit_inode()
|
/Linux-v5.15/fs/fuse/ |
D | dax.c | 875 loff_t end_pos = (start_pos + FUSE_DAX_SZ - 1); in dmap_writeback_invalidate() local 877 ret = filemap_fdatawrite_range(inode->i_mapping, start_pos, end_pos); in dmap_writeback_invalidate() 880 ret, start_pos, end_pos); in dmap_writeback_invalidate() 886 end_pos >> PAGE_SHIFT); in dmap_writeback_invalidate()
|
/Linux-v5.15/fs/ubifs/ |
D | file.c | 543 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.15/fs/btrfs/ |
D | file.c | 473 u64 end_pos = pos + write_bytes; in btrfs_dirty_pages() local 516 if (end_pos > isize) in btrfs_dirty_pages() 517 i_size_write(&inode->vfs_inode, end_pos); in btrfs_dirty_pages() 1635 loff_t end_pos = round_up(pos + count, fs_info->sectorsize); in btrfs_write_check() local 1637 ret = btrfs_cont_expand(BTRFS_I(inode), oldsize, end_pos); in btrfs_write_check()
|
/Linux-v5.15/include/trace/events/ |
D | f2fs.h | 859 TP_PROTO(struct inode *dir, loff_t start_pos, loff_t end_pos, int err), 861 TP_ARGS(dir, start_pos, end_pos, err), 875 __entry->end = end_pos;
|
/Linux-v5.15/scripts/ |
D | checkpatch.pl | 3371 my $end_pos = $+[2]; 3384 $end_char = substr($rawline, $end_pos, 1) if ($end_pos < length($rawline));
|