Home
last modified time | relevance | path

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

12

/Linux-v5.15/mm/
Dtruncate.c283 loff_t lstart, loff_t lend) in truncate_inode_pages_range() argument
298 partial_start = lstart & (PAGE_SIZE - 1); in truncate_inode_pages_range()
307 start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; in truncate_inode_pages_range()
423 void truncate_inode_pages(struct address_space *mapping, loff_t lstart) in truncate_inode_pages() argument
425 truncate_inode_pages_range(mapping, lstart, (loff_t)-1); in truncate_inode_pages()
828 void truncate_pagecache_range(struct inode *inode, loff_t lstart, loff_t lend) in truncate_pagecache_range() argument
831 loff_t unmap_start = round_up(lstart, PAGE_SIZE); in truncate_pagecache_range()
849 truncate_inode_pages_range(mapping, lstart, lend); in truncate_pagecache_range()
Dfilemap.c699 loff_t lstart, loff_t lend) in filemap_write_and_wait_range() argument
704 err = __filemap_fdatawrite_range(mapping, lstart, lend, in filemap_write_and_wait_range()
714 lstart, lend); in filemap_write_and_wait_range()
804 int file_write_and_wait_range(struct file *file, loff_t lstart, loff_t lend) in file_write_and_wait_range() argument
810 err = __filemap_fdatawrite_range(mapping, lstart, lend, in file_write_and_wait_range()
814 __filemap_fdatawait_range(mapping, lstart, lend); in file_write_and_wait_range()
Dshmem.c915 static void shmem_undo_range(struct inode *inode, loff_t lstart, loff_t lend, in shmem_undo_range() argument
920 pgoff_t start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; in shmem_undo_range()
922 unsigned int partial_start = lstart & (PAGE_SIZE - 1); in shmem_undo_range()
1056 void shmem_truncate_range(struct inode *inode, loff_t lstart, loff_t lend) in shmem_truncate_range() argument
1058 shmem_undo_range(inode, lstart, lend, false); in shmem_truncate_range()
4043 void shmem_truncate_range(struct inode *inode, loff_t lstart, loff_t lend) in shmem_truncate_range() argument
4045 truncate_inode_pages_range(inode->i_mapping, lstart, lend); in shmem_truncate_range()
/Linux-v5.15/fs/f2fs/
Dsegment.c995 struct block_device *bdev, block_t lstart, in __create_discard_cmd() argument
1009 dc->lstart = lstart; in __create_discard_cmd()
1027 struct block_device *bdev, block_t lstart, in __attach_discard_cmd() argument
1035 dc = __create_discard_cmd(sbi, bdev, lstart, start, len); in __attach_discard_cmd()
1082 dc->lstart, dc->start, dc->len, dc->error); in __remove_discard_cmd()
1175 struct block_device *bdev, block_t lstart,
1191 block_t lstart, start, len, total_len; in __submit_discard_cmd() local
1202 lstart = dc->lstart; in __submit_discard_cmd()
1263 __check_sit_bitmap(sbi, lstart, lstart + len); in __submit_discard_cmd()
1274 lstart += len; in __submit_discard_cmd()
[all …]
Df2fs.h325 block_t lstart; /* logical start address */ member
334 block_t lstart; /* logical start address */ member
814 return (back->lstart + back->len == front->lstart) && in __is_discard_mergeable()
/Linux-v5.15/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-v5.15/arch/powerpc/sysdev/
Dfsl_rio.c298 int fsl_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, in fsl_map_inb_mem() argument
315 if (lstart & (base_size - 1)) in fsl_map_inb_mem()
341 out_be32(&priv->inb_atmu_regs[i].riwtar, lstart >> RIWTAR_TRAD_VAL_SHIFT); in fsl_map_inb_mem()
349 void fsl_unmap_inb_mem(struct rio_mport *mport, dma_addr_t lstart) in fsl_unmap_inb_mem() argument
357 base_start_shift = lstart >> RIWTAR_TRAD_VAL_SHIFT; in fsl_unmap_inb_mem()
/Linux-v5.15/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()
Dsuper.c150 ei->cached_extent.lstart = -1; in udf_alloc_inode()
/Linux-v5.15/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);
Drio_drv.h367 extern void rio_unmap_inb_region(struct rio_mport *mport, dma_addr_t lstart);
Dfs.h2838 extern int filemap_fdatawait_range(struct address_space *, loff_t lstart,
2848 extern bool filemap_range_has_page(struct address_space *, loff_t lstart,
2851 loff_t lstart, loff_t lend);
2853 loff_t lstart, loff_t lend);
2868 extern int __must_check file_fdatawait_range(struct file *file, loff_t lstart,
Dblkdev.h1988 int truncate_bdev_range(struct block_device *bdev, fmode_t mode, loff_t lstart,
Dmm.h2653 loff_t lstart, loff_t lend);
/Linux-v5.15/fs/jfs/
Djfs_xtree.h91 extern int xtLookup(struct inode *ip, s64 lstart, s64 llen,
Djfs_xtree.c133 int xtLookup(struct inode *ip, s64 lstart, in xtLookup() argument
155 if (lstart >= size) in xtLookup()
163 if ((rc = xtSearch(ip, lstart, &next, &cmp, &btstack, 0))) { in xtLookup()
183 *plen = min(next - lstart, llen); in xtLookup()
198 *paddr = xaddr + (lstart - xoff); in xtLookup()
200 *plen = min(xend - lstart, llen); in xtLookup()
/Linux-v5.15/block/
Dbdev.c102 loff_t lstart, loff_t lend) in truncate_bdev_range() argument
115 truncate_inode_pages_range(bdev->bd_inode->i_mapping, lstart, lend); in truncate_bdev_range()
126 lstart >> PAGE_SHIFT, in truncate_bdev_range()
/Linux-v5.15/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-v5.15/fs/hugetlbfs/
Dinode.c464 static void remove_inode_hugepages(struct inode *inode, loff_t lstart, in remove_inode_hugepages() argument
469 const pgoff_t start = lstart >> huge_page_shift(h); in remove_inode_hugepages()
/Linux-v5.15/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-v5.15/fs/ext4/
Dinode.c3817 loff_t lstart, loff_t length) in ext4_zero_partial_blocks() argument
3823 loff_t byte_end = (lstart + length - 1); in ext4_zero_partial_blocks()
3826 partial_start = lstart & (sb->s_blocksize - 1); in ext4_zero_partial_blocks()
3829 start = lstart >> sb->s_blocksize_bits; in ext4_zero_partial_blocks()
3836 lstart, length); in ext4_zero_partial_blocks()
3842 lstart, sb->s_blocksize); in ext4_zero_partial_blocks()
/Linux-v5.15/fs/nfs/
Dinternal.h533 loff_t lstart, loff_t lend);
Dwrite.c2015 loff_t lstart, loff_t lend) in nfs_filemap_write_and_wait_range() argument
2019 ret = filemap_write_and_wait_range(mapping, lstart, lend); in nfs_filemap_write_and_wait_range()

12