/linux/mm/ |
H A D | truncate.c | 305 loff_t lstart, loff_t lend) in truncate_inode_pages_range() argument 325 start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; in truncate_inode_pages_range() 350 same_folio = (lstart >> PAGE_SHIFT) == (lend >> PAGE_SHIFT); in truncate_inode_pages_range() 351 folio = __filemap_get_folio(mapping, lstart >> PAGE_SHIFT, FGP_LOCK, 0); in truncate_inode_pages_range() 354 if (!truncate_inode_partial_folio(folio, lstart, lend)) { in truncate_inode_pages_range() 368 if (!truncate_inode_partial_folio(folio, lstart, lend)) in truncate_inode_pages_range() 421 void truncate_inode_pages(struct address_space *mapping, loff_t lstart) in truncate_inode_pages() argument 423 truncate_inode_pages_range(mapping, lstart, (loff_t)-1); in truncate_inode_pages() 818 void truncate_pagecache_range(struct inode *inode, loff_t lstart, loff_t lend) in truncate_pagecache_range() argument 821 loff_t unmap_start = round_up(lstart, PAGE_SIZE); in truncate_pagecache_range() [all …]
|
H A D | filemap.c | 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() 779 int file_write_and_wait_range(struct file *file, loff_t lstart, loff_t lend) in file_write_and_wait_range() argument 784 if (lend < lstart) in file_write_and_wait_range() 788 err = __filemap_fdatawrite_range(mapping, lstart, lend, in file_write_and_wait_range() 792 __filemap_fdatawait_range(mapping, lstart, lend); in file_write_and_wait_range()
|
H A D | shmem.c | 991 static void shmem_undo_range(struct inode *inode, loff_t lstart, loff_t lend, in shmem_undo_range() argument 996 pgoff_t start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; in shmem_undo_range() 1045 same_folio = (lstart >> PAGE_SHIFT) == (lend >> PAGE_SHIFT); in shmem_undo_range() 1046 folio = shmem_get_partial_folio(inode, lstart >> PAGE_SHIFT); in shmem_undo_range() 1050 if (!truncate_inode_partial_folio(folio, lstart, lend)) { in shmem_undo_range() 1064 if (!truncate_inode_partial_folio(folio, lstart, lend)) in shmem_undo_range() 1117 } else if (truncate_inode_partial_folio(folio, lstart, lend)) { in shmem_undo_range() 1142 void shmem_truncate_range(struct inode *inode, loff_t lstart, loff_t lend) in shmem_truncate_range() argument 1144 shmem_undo_range(inode, lstart, lend, false); in shmem_truncate_range() 5188 void shmem_truncate_range(struct inode *inode, loff_t lstart, loff_t lend) in shmem_truncate_range() argument [all …]
|
/linux/fs/f2fs/ |
H A D | segment.c | 964 dc->di.lstart = lstart; in __create_discard_cmd() 1305 lstart = dc->di.lstart; in __submit_discard_cmd() 1364 __check_sit_bitmap(sbi, lstart, lstart + len); in __submit_discard_cmd() 1403 if (lstart < dc->di.lstart) { in __insert_discard_cmd() 1405 } else if (lstart >= dc->di.lstart + dc->di.len) { in __insert_discard_cmd() 1481 di.lstart = lstart; in __update_discard_tree_range() 1494 if (di.lstart < lstart) in __update_discard_tree_range() 1495 di.lstart = lstart; in __update_discard_tree_range() 1502 di.len = next_dc->di.lstart - di.lstart; in __update_discard_tree_range() 1503 di.start = start + di.lstart - lstart; in __update_discard_tree_range() [all …]
|
H A D | f2fs.h | 363 block_t lstart; /* logical start address */ member 899 return (back->lstart + back->len == front->lstart) && in __is_discard_mergeable()
|
/linux/drivers/rapidio/devices/ |
H A D | tsi721.c | 1117 bool direct = (lstart == rstart); in tsi721_rio_map_inb_mem() 1155 rstart, &lstart, size); in tsi721_rio_map_inb_mem() 1164 loc_start = lstart; in tsi721_rio_map_inb_mem() 1196 map->lstart = lstart; in tsi721_rio_map_inb_mem() 1220 ib_win->lstart = loc_start; in tsi721_rio_map_inb_mem() 1231 map->lstart = lstart; in tsi721_rio_map_inb_mem() 1264 dma_addr_t lstart) in tsi721_rio_unmap_inb_mem() argument 1279 (ib_win->xlat && lstart != ib_win->lstart)) in tsi721_rio_unmap_inb_mem() 1282 if (lstart >= ib_win->lstart && in tsi721_rio_unmap_inb_mem() 1283 lstart < (ib_win->lstart + ib_win->size)) { in tsi721_rio_unmap_inb_mem() [all …]
|
H A D | tsi721.h | 840 dma_addr_t lstart; member 846 dma_addr_t lstart; member
|
/linux/arch/powerpc/sysdev/ |
H A D | fsl_rio.c | 307 static int fsl_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, in fsl_map_inb_mem() argument 324 if (lstart & (base_size - 1)) in fsl_map_inb_mem() 350 out_be32(&priv->inb_atmu_regs[i].riwtar, lstart >> RIWTAR_TRAD_VAL_SHIFT); in fsl_map_inb_mem() 358 static void fsl_unmap_inb_mem(struct rio_mport *mport, dma_addr_t lstart) in fsl_unmap_inb_mem() argument 366 base_start_shift = lstart >> RIWTAR_TRAD_VAL_SHIFT; in fsl_unmap_inb_mem()
|
/linux/fs/udf/ |
H A D | udf_i.h | 15 loff_t lstart; member
|
H A D | inode.c | 74 if (iinfo->cached_extent.lstart != -1) { in __udf_clear_extent_cache() 76 iinfo->cached_extent.lstart = -1; in __udf_clear_extent_cache() 98 if ((iinfo->cached_extent.lstart <= bcount) && in udf_read_extent_cache() 99 (iinfo->cached_extent.lstart != -1)) { in udf_read_extent_cache() 101 *lbcount = iinfo->cached_extent.lstart; in udf_read_extent_cache() 124 iinfo->cached_extent.lstart = estart; in udf_update_extent_cache()
|
H A D | super.c | 166 ei->cached_extent.lstart = -1; in udf_alloc_inode()
|
/linux/block/ |
H A D | bdev.c | 112 loff_t lstart, loff_t lend) in truncate_bdev_range() argument 125 truncate_inode_pages_range(bdev->bd_mapping, lstart, lend); in truncate_bdev_range() 136 lstart >> PAGE_SHIFT, in truncate_bdev_range() 223 int sync_blockdev_range(struct block_device *bdev, loff_t lstart, loff_t lend) in sync_blockdev_range() argument 226 lstart, lend); in sync_blockdev_range()
|
H A D | blk.h | 610 loff_t lstart, loff_t lend);
|
/linux/fs/jfs/ |
H A D | jfs_xtree.h | 100 extern int xtLookup(struct inode *ip, s64 lstart, s64 llen,
|
H A D | jfs_xtree.c | 122 int xtLookup(struct inode *ip, s64 lstart, in xtLookup() argument 144 if (lstart >= size) in xtLookup() 152 if ((rc = xtSearch(ip, lstart, &next, &cmp, &btstack, 0))) { in xtLookup() 172 *plen = min(next - lstart, llen); in xtLookup() 187 *paddr = xaddr + (lstart - xoff); in xtLookup() 189 *plen = min(xend - lstart, llen); in xtLookup()
|
/linux/include/linux/ |
H A D | rio.h | 420 int (*map_inb)(struct rio_mport *mport, dma_addr_t lstart, 422 void (*unmap_inb)(struct rio_mport *mport, dma_addr_t lstart);
|
H A D | pagemap.h | 42 int filemap_fdatawait_range(struct address_space *, loff_t lstart, loff_t lend); 53 bool filemap_range_has_page(struct address_space *, loff_t lstart, loff_t lend); 55 loff_t lstart, loff_t lend);
|
H A D | rio_drv.h | 367 extern void rio_unmap_inb_region(struct rio_mport *mport, dma_addr_t lstart);
|
H A D | blkdev.h | 1612 int sync_blockdev_range(struct block_device *bdev, loff_t lstart, loff_t lend);
|
/linux/lib/zstd/compress/ |
H A D | zstd_compress_superblock.c | 438 const BYTE* const lstart = seqStorePtr->litStart; in ZSTD_compressSubBlock_multi() local 440 const BYTE* lp = lstart; in ZSTD_compressSubBlock_multi()
|
/linux/fs/hugetlbfs/ |
H A D | inode.c | 645 static void remove_inode_hugepages(struct inode *inode, loff_t lstart, in remove_inode_hugepages() argument 657 next = lstart >> PAGE_SHIFT; in remove_inode_hugepages() 682 lstart >> huge_page_shift(h), in remove_inode_hugepages()
|
/linux/drivers/rapidio/ |
H A D | rio.c | 709 void rio_unmap_inb_region(struct rio_mport *mport, dma_addr_t lstart) in rio_unmap_inb_region() argument 715 mport->ops->unmap_inb(mport, lstart); in rio_unmap_inb_region()
|
/linux/fs/ext4/ |
H A D | inode.c | 3794 loff_t lstart, loff_t length) in ext4_zero_partial_blocks() argument 3800 loff_t byte_end = (lstart + length - 1); in ext4_zero_partial_blocks() 3803 partial_start = lstart & (sb->s_blocksize - 1); in ext4_zero_partial_blocks() 3806 start = lstart >> sb->s_blocksize_bits; in ext4_zero_partial_blocks() 3813 lstart, length); in ext4_zero_partial_blocks() 3819 lstart, sb->s_blocksize); in ext4_zero_partial_blocks()
|
/linux/fs/nfs/ |
H A D | internal.h | 617 loff_t lstart, loff_t lend);
|
H A D | write.c | 2004 loff_t lstart, loff_t lend) in nfs_filemap_write_and_wait_range() argument 2008 ret = filemap_write_and_wait_range(mapping, lstart, lend); in nfs_filemap_write_and_wait_range()
|