/linux/mm/ |
H A D | truncate.c | 300 * @lend: offset to which to truncate (inclusive) 304 * if lstart or lend + 1 is not page aligned). 317 * truncate_inode_pages_range is able to handle cases where lend + 1 is not 321 loff_t lstart, loff_t lend) in truncate_inode_pages_range() argument 339 * Note that 'end' is exclusive while 'lend' is inclusive. in truncate_inode_pages_range() 342 if (lend == -1) in truncate_inode_pages_range() 344 * lend == -1 indicates end-of-file so we have to set 'end' in truncate_inode_pages_range() 350 end = (lend + 1) >> PAGE_SHIFT; in truncate_inode_pages_range() 366 same_folio = (lstart >> PAGE_SHIFT) == (lend >> PAGE_SHIFT); in truncate_inode_pages_range() 369 same_folio = lend < folio_po in truncate_inode_pages_range() 825 truncate_pagecache_range(struct inode * inode,loff_t lstart,loff_t lend) truncate_pagecache_range() argument [all...] |
H A D | shmem.c | 964 static void shmem_undo_range(struct inode *inode, loff_t lstart, loff_t lend, in shmem_undo_range() argument 970 pgoff_t end = (lend + 1) >> PAGE_SHIFT; in shmem_undo_range() 979 if (lend == -1) in shmem_undo_range() 1013 * even when [lstart, lend] covers only a part of the folio. in shmem_undo_range() 1018 same_folio = (lstart >> PAGE_SHIFT) == (lend >> PAGE_SHIFT); in shmem_undo_range() 1021 same_folio = lend < folio_pos(folio) + folio_size(folio); in shmem_undo_range() 1023 if (!truncate_inode_partial_folio(folio, lstart, lend)) { in shmem_undo_range() 1034 folio = shmem_get_partial_folio(inode, lend >> PAGE_SHIFT); in shmem_undo_range() 1037 if (!truncate_inode_partial_folio(folio, lstart, lend)) in shmem_undo_range() 1087 } else if (truncate_inode_partial_folio(folio, lstart, lend)) { in shmem_undo_range() 1112 shmem_truncate_range(struct inode * inode,loff_t lstart,loff_t lend) shmem_truncate_range() argument 4807 shmem_truncate_range(struct inode * inode,loff_t lstart,loff_t lend) shmem_truncate_range() argument [all...] |
H A D | filemap.c | 667 * @lend: offset in bytes where the range ends (inclusive) 669 * Write out and wait upon file offsets lstart->lend, inclusive. 671 * Note that @lend is inclusive (describes the last byte to be written) so 677 loff_t lstart, loff_t lend) in filemap_write_and_wait_range() argument 681 if (lend < lstart) in filemap_write_and_wait_range() 685 err = __filemap_fdatawrite_range(mapping, lstart, lend, in filemap_write_and_wait_range() 694 __filemap_fdatawait_range(mapping, lstart, lend); in filemap_write_and_wait_range() 767 * @lend: offset in bytes where the range ends (inclusive) 769 * Write out and wait upon file offsets lstart->lend, inclusive. 771 * Note that @lend i 779 file_write_and_wait_range(struct file * file,loff_t lstart,loff_t lend) file_write_and_wait_range() argument [all...] |
/linux/arch/xtensa/kernel/ |
H A D | ptrace.c | 48 .lend = regs->lend, in gpr_get() 88 regs->lend = newregs.lend; in gpr_set() 314 tmp = regs->lend; in ptrace_peekusr()
|
H A D | signal.c | 154 COPY(lend); in setup_sigcontext() 192 COPY(lend); in restore_sigcontext() 215 && ((regs->lbeg > TASK_SIZE) || (regs->lend > TASK_SIZE)) ) in restore_sigcontext()
|
H A D | asm-offsets.c | 41 DEFINE(PT_LEND, offsetof (struct pt_regs, lend)); in main()
|
H A D | traps.c | 544 regs->lbeg, regs->lend, regs->lcount, regs->sar); in show_regs()
|
H A D | align.S | 444 rsr a4, lend # check if we reached LEND
|
/linux/lib/zstd/compress/ |
H A D | zstd_compress_superblock.c | 439 const BYTE* const lend = seqStorePtr->lit; in ZSTD_compressSubBlock_multi() local 456 (unsigned)(lend-lp), (unsigned)(send-sstart)); in ZSTD_compressSubBlock_multi() 471 assert(lp <= lend); in ZSTD_compressSubBlock_multi() 472 assert(litSize <= (size_t)(lend - lp)); in ZSTD_compressSubBlock_multi() 473 litSize = (size_t)(lend - lp); in ZSTD_compressSubBlock_multi()
|
/linux/sound/soc/sof/intel/ |
H A D | telemetry.h | 29 u32 lend; member
|
/linux/arch/xtensa/include/uapi/asm/ |
H A D | ptrace.h | 51 __u32 lend; member
|
/linux/arch/xtensa/include/asm/ |
H A D | ptrace.h | 62 unsigned long lend; /* 36 */ member
|
/linux/block/ |
H A D | bdev.c | 111 loff_t lstart, loff_t lend) in truncate_bdev_range() 124 truncate_inode_pages_range(bdev->bd_mapping, lstart, lend); in truncate_bdev_range() 136 lend >> PAGE_SHIFT); in set_init_blocksize() 222 int sync_blockdev_range(struct block_device *bdev, loff_t lstart, loff_t lend) 225 lstart, lend); 106 truncate_bdev_range(struct block_device * bdev,blk_mode_t mode,loff_t lstart,loff_t lend) truncate_bdev_range() argument 211 sync_blockdev_range(struct block_device * bdev,loff_t lstart,loff_t lend) sync_blockdev_range() argument
|
H A D | blk.h | 555 loff_t lstart, loff_t lend);
|
/linux/include/linux/ |
H A D | pagemap.h | 40 int filemap_fdatawait_range(struct address_space *, loff_t lstart, loff_t lend); 51 bool filemap_range_has_page(struct address_space *, loff_t lstart, loff_t lend); 53 loff_t lstart, loff_t lend);
|
H A D | blkdev.h | 1563 int sync_blockdev_range(struct block_device *bdev, loff_t lstart, loff_t lend); in sync_blockdev()
|
/linux/drivers/md/ |
H A D | dm-cache-policy-smq.c | 388 unsigned int lbegin, unsigned int lend) in q_set_targets_subrange_() argument 392 BUG_ON(lbegin > lend); in q_set_targets_subrange_() 393 BUG_ON(lend > q->nr_levels); in q_set_targets_subrange_() 394 nr_levels = lend - lbegin; in q_set_targets_subrange_() 398 for (level = lbegin; level < lend; level++) in q_set_targets_subrange_()
|
/linux/fs/hugetlbfs/ |
H A D | inode.c | 645 loff_t lend) 649 const pgoff_t end = lend >> PAGE_SHIFT; in remove_inode_hugepages() 653 bool truncate_op = (lend == LLONG_MAX); in remove_inode_hugepages() 648 remove_inode_hugepages(struct inode * inode,loff_t lstart,loff_t lend) remove_inode_hugepages() argument
|
/linux/fs/gfs2/ |
H A D | bmap.c | 1755 u64 lend; in punch_hole() local 1764 lend = end_offset >> bsize_shift; in punch_hole() 1766 if (lblock >= lend) in punch_hole() 1769 find_metapath(sdp, lend, &mp, ip->i_height); in punch_hole()
|
/linux/fs/nfs/ |
H A D | write.c | 2006 loff_t lstart, loff_t lend) in nfs_filemap_write_and_wait_range() argument 2010 ret = filemap_write_and_wait_range(mapping, lstart, lend); in nfs_filemap_write_and_wait_range()
|
H A D | internal.h | 569 loff_t lstart, loff_t lend); in pnfs_bucket_clear_pnfs_ds_commit_verifiers()
|
/linux/Documentation/arch/powerpc/ |
H A D | qe_firmware.rst | 172 do not lend themselves to simple inclusion into other code. Hence,
|
/linux/fs/ceph/ |
H A D | inode.c | 2366 loff_t lend = orig_pos + CEPH_FSCRYPT_BLOCK_SHIFT - 1; in fill_fscrypt_truncate() local 2369 orig_pos, lend); in fill_fscrypt_truncate()
|
/linux/LICENSES/deprecated/ |
H A D | GFDL-1.1 | 129 You may also lend copies, under the same conditions stated above, and
|
/linux/Documentation/userspace-api/media/ |
H A D | fdl-appendix.rst | 138 You may also lend copies, under the same conditions stated above, and
|