Home
last modified time | relevance | path

Searched refs:lstart (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/mm/
Dtruncate.c331 loff_t lstart, loff_t lend) in truncate_inode_pages_range() argument
351 start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; in truncate_inode_pages_range()
377 same_folio = (lstart >> PAGE_SHIFT) == (lend >> PAGE_SHIFT); in truncate_inode_pages_range()
378 folio = __filemap_get_folio(mapping, lstart >> PAGE_SHIFT, FGP_LOCK, 0); in truncate_inode_pages_range()
381 if (!truncate_inode_partial_folio(folio, lstart, lend)) { in truncate_inode_pages_range()
395 if (!truncate_inode_partial_folio(folio, lstart, lend)) in truncate_inode_pages_range()
450 void truncate_inode_pages(struct address_space *mapping, loff_t lstart) in truncate_inode_pages() argument
452 truncate_inode_pages_range(mapping, lstart, (loff_t)-1); in truncate_inode_pages()
846 void truncate_pagecache_range(struct inode *inode, loff_t lstart, loff_t lend) in truncate_pagecache_range() argument
849 loff_t unmap_start = round_up(lstart, PAGE_SIZE); in truncate_pagecache_range()
[all …]
Dshmem.c900 static void shmem_undo_range(struct inode *inode, loff_t lstart, loff_t lend, in shmem_undo_range() argument
905 pgoff_t start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; in shmem_undo_range()
958 same_folio = (lstart >> PAGE_SHIFT) == (lend >> PAGE_SHIFT); in shmem_undo_range()
959 folio = shmem_get_partial_folio(inode, lstart >> PAGE_SHIFT); in shmem_undo_range()
963 if (!truncate_inode_partial_folio(folio, lstart, lend)) { in shmem_undo_range()
977 if (!truncate_inode_partial_folio(folio, lstart, lend)) in shmem_undo_range()
1041 void shmem_truncate_range(struct inode *inode, loff_t lstart, loff_t lend) in shmem_truncate_range() argument
1043 shmem_undo_range(inode, lstart, lend, false); in shmem_truncate_range()
4175 void shmem_truncate_range(struct inode *inode, loff_t lstart, loff_t lend) in shmem_truncate_range() argument
4177 truncate_inode_pages_range(inode->i_mapping, lstart, lend); in shmem_truncate_range()
Dfilemap.c669 loff_t lstart, loff_t lend) in filemap_write_and_wait_range() argument
674 err = __filemap_fdatawrite_range(mapping, lstart, lend, in filemap_write_and_wait_range()
683 __filemap_fdatawait_range(mapping, lstart, lend); in filemap_write_and_wait_range()
768 int file_write_and_wait_range(struct file *file, loff_t lstart, loff_t lend) in file_write_and_wait_range() argument
774 err = __filemap_fdatawrite_range(mapping, lstart, lend, in file_write_and_wait_range()
778 __filemap_fdatawait_range(mapping, lstart, lend); in file_write_and_wait_range()
/linux-6.1.9/fs/f2fs/
Dsegment.c897 struct block_device *bdev, block_t lstart, in __create_discard_cmd() argument
911 dc->lstart = lstart; in __create_discard_cmd()
929 struct block_device *bdev, block_t lstart, in __attach_discard_cmd() argument
937 dc = __create_discard_cmd(sbi, bdev, lstart, start, len); in __attach_discard_cmd()
984 dc->lstart, dc->start, dc->len, dc->error); in __remove_discard_cmd()
1077 struct block_device *bdev, block_t lstart,
1092 block_t lstart, start, len, total_len; in __submit_discard_cmd() local
1103 lstart = dc->lstart; in __submit_discard_cmd()
1164 __check_sit_bitmap(sbi, lstart, lstart + len); in __submit_discard_cmd()
1175 lstart += len; in __submit_discard_cmd()
[all …]
Df2fs.h347 block_t lstart; /* logical start address */ member
356 block_t lstart; /* logical start address */ member
857 return (back->lstart + back->len == front->lstart) && in __is_discard_mergeable()
/linux-6.1.9/drivers/rapidio/devices/
Dtsi721.c1086 static int tsi721_rio_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, in tsi721_rio_map_inb_mem() argument
1093 bool direct = (lstart == rstart); in tsi721_rio_map_inb_mem()
1108 ibw_start = lstart & ~(ibw_size - 1); in tsi721_rio_map_inb_mem()
1112 rstart, &lstart, size, ibw_start); in tsi721_rio_map_inb_mem()
1114 while ((lstart + size) > (ibw_start + ibw_size)) { in tsi721_rio_map_inb_mem()
1116 ibw_start = lstart & ~(ibw_size - 1); in tsi721_rio_map_inb_mem()
1131 rstart, &lstart, size); in tsi721_rio_map_inb_mem()
1134 ((u64)lstart & (size - 1)) || (rstart & (size - 1))) in tsi721_rio_map_inb_mem()
1140 loc_start = lstart; in tsi721_rio_map_inb_mem()
1172 map->lstart = lstart; in tsi721_rio_map_inb_mem()
[all …]
Dtsi721.h840 dma_addr_t lstart; member
846 dma_addr_t lstart; member
/linux-6.1.9/arch/powerpc/sysdev/
Dfsl_rio.c306 int fsl_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, in fsl_map_inb_mem() argument
323 if (lstart & (base_size - 1)) in fsl_map_inb_mem()
349 out_be32(&priv->inb_atmu_regs[i].riwtar, lstart >> RIWTAR_TRAD_VAL_SHIFT); in fsl_map_inb_mem()
357 void fsl_unmap_inb_mem(struct rio_mport *mport, dma_addr_t lstart) in fsl_unmap_inb_mem() argument
365 base_start_shift = lstart >> RIWTAR_TRAD_VAL_SHIFT; in fsl_unmap_inb_mem()
/linux-6.1.9/fs/udf/
Dudf_i.h15 loff_t lstart; member
Dinode.c75 if (iinfo->cached_extent.lstart != -1) { in __udf_clear_extent_cache()
77 iinfo->cached_extent.lstart = -1; in __udf_clear_extent_cache()
99 if ((iinfo->cached_extent.lstart <= bcount) && in udf_read_extent_cache()
100 (iinfo->cached_extent.lstart != -1)) { in udf_read_extent_cache()
102 *lbcount = iinfo->cached_extent.lstart; in udf_read_extent_cache()
125 iinfo->cached_extent.lstart = estart; in udf_update_extent_cache()
/linux-6.1.9/block/
Dbdev.c97 loff_t lstart, loff_t lend) in truncate_bdev_range() argument
110 truncate_inode_pages_range(bdev->bd_inode->i_mapping, lstart, lend); in truncate_bdev_range()
121 lstart >> PAGE_SHIFT, in truncate_bdev_range()
202 int sync_blockdev_range(struct block_device *bdev, loff_t lstart, loff_t lend) in sync_blockdev_range() argument
205 lstart, lend); in sync_blockdev_range()
/linux-6.1.9/fs/jfs/
Djfs_xtree.h91 extern int xtLookup(struct inode *ip, s64 lstart, s64 llen,
Djfs_xtree.c122 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-6.1.9/include/linux/
Drio.h420 int (*map_inb)(struct rio_mport *mport, dma_addr_t lstart,
422 void (*unmap_inb)(struct rio_mport *mport, dma_addr_t lstart);
Dpagemap.h37 int filemap_fdatawait_range(struct address_space *, loff_t lstart, loff_t lend);
46 bool filemap_range_has_page(struct address_space *, loff_t lstart, loff_t lend);
48 loff_t lstart, loff_t lend);
Drio_drv.h367 extern void rio_unmap_inb_region(struct rio_mport *mport, dma_addr_t lstart);
Dblkdev.h1505 int truncate_bdev_range(struct block_device *bdev, fmode_t mode, loff_t lstart,
1511 int sync_blockdev_range(struct block_device *bdev, loff_t lstart, loff_t lend);
Dmm.h2794 loff_t lstart, loff_t lend);
/linux-6.1.9/drivers/video/fbdev/
Damba-clcd.c41 unsigned long lstart; in clcdfb_set_start() local
44 lstart = ustart + fb->fb.var.yres * fb->fb.fix.line_length / 2; in clcdfb_set_start()
47 writel(lstart, fb->regs + CLCD_LBAS); in clcdfb_set_start()
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress_superblock.c717 const BYTE* const lstart = seqStorePtr->litStart; in ZSTD_compressSubBlock_multi() local
719 const BYTE* lp = lstart; in ZSTD_compressSubBlock_multi()
/linux-6.1.9/fs/hugetlbfs/
Dinode.c616 static void remove_inode_hugepages(struct inode *inode, loff_t lstart, in remove_inode_hugepages() argument
621 const pgoff_t start = lstart >> huge_page_shift(h); in remove_inode_hugepages()
/linux-6.1.9/drivers/rapidio/
Drio.c709 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-6.1.9/fs/ext4/
Dinode.c3879 loff_t lstart, loff_t length) in ext4_zero_partial_blocks() argument
3885 loff_t byte_end = (lstart + length - 1); in ext4_zero_partial_blocks()
3888 partial_start = lstart & (sb->s_blocksize - 1); in ext4_zero_partial_blocks()
3891 start = lstart >> sb->s_blocksize_bits; in ext4_zero_partial_blocks()
3898 lstart, length); in ext4_zero_partial_blocks()
3904 lstart, sb->s_blocksize); in ext4_zero_partial_blocks()
/linux-6.1.9/fs/nfs/
Dinternal.h548 loff_t lstart, loff_t lend);
Dwrite.c2013 loff_t lstart, loff_t lend) in nfs_filemap_write_and_wait_range() argument
2017 ret = filemap_write_and_wait_range(mapping, lstart, lend); in nfs_filemap_write_and_wait_range()

12