Home
last modified time | relevance | path

Searched refs:lend (Results 1 – 25 of 78) sorted by relevance

1234

/openbmc/linux/mm/
H A Dtruncate.c330 loff_t lstart, loff_t lend) in truncate_inode_pages_range() argument
351 if (lend == -1) in truncate_inode_pages_range()
359 end = (lend + 1) >> PAGE_SHIFT; in truncate_inode_pages_range()
375 same_folio = (lstart >> PAGE_SHIFT) == (lend >> PAGE_SHIFT); in truncate_inode_pages_range()
378 same_folio = lend < folio_pos(folio) + folio_size(folio); in truncate_inode_pages_range()
379 if (!truncate_inode_partial_folio(folio, lstart, lend)) { in truncate_inode_pages_range()
390 folio = __filemap_get_folio(mapping, lend >> PAGE_SHIFT, in truncate_inode_pages_range()
393 if (!truncate_inode_partial_folio(folio, lstart, lend)) in truncate_inode_pages_range()
834 void truncate_pagecache_range(struct inode *inode, loff_t lstart, loff_t lend) in truncate_pagecache_range() argument
838 loff_t unmap_end = round_down(1 + lend, PAGE_SIZE) - 1; in truncate_pagecache_range()
[all …]
H A Dshmem.c986 static void shmem_undo_range(struct inode *inode, loff_t lstart, loff_t lend, in shmem_undo_range() argument
992 pgoff_t end = (lend + 1) >> PAGE_SHIFT; in shmem_undo_range()
1001 if (lend == -1) in shmem_undo_range()
1040 same_folio = (lstart >> PAGE_SHIFT) == (lend >> PAGE_SHIFT); in shmem_undo_range()
1043 same_folio = lend < folio_pos(folio) + folio_size(folio); in shmem_undo_range()
1045 if (!truncate_inode_partial_folio(folio, lstart, lend)) { in shmem_undo_range()
1056 folio = shmem_get_partial_folio(inode, lend >> PAGE_SHIFT); in shmem_undo_range()
1059 if (!truncate_inode_partial_folio(folio, lstart, lend)) in shmem_undo_range()
1109 } else if (truncate_inode_partial_folio(folio, lstart, lend)) { in shmem_undo_range()
1134 void shmem_truncate_range(struct inode *inode, loff_t lstart, loff_t lend) in shmem_truncate_range() argument
[all …]
H A Dfilemap.c670 loff_t lstart, loff_t lend) in filemap_write_and_wait_range() argument
674 if (lend < lstart) in filemap_write_and_wait_range()
678 err = __filemap_fdatawrite_range(mapping, lstart, lend, in filemap_write_and_wait_range()
687 __filemap_fdatawait_range(mapping, lstart, lend); in filemap_write_and_wait_range()
772 int file_write_and_wait_range(struct file *file, loff_t lstart, loff_t lend) in file_write_and_wait_range() argument
777 if (lend < lstart) in file_write_and_wait_range()
781 err = __filemap_fdatawrite_range(mapping, lstart, lend, in file_write_and_wait_range()
785 __filemap_fdatawait_range(mapping, lstart, lend); in file_write_and_wait_range()
/openbmc/qemu/tests/tcg/xtensa/
H A Dtest_loop.S52 wsr a5, lend
86 wsr a5, lend
111 wsr a5, lend
122 wsr a4, lend
H A Dtest_sr.S161 test_sr lend, 1
/openbmc/linux/arch/xtensa/kernel/
H A Dptrace.c48 .lend = regs->lend, in gpr_get()
88 regs->lend = newregs.lend; in gpr_set()
314 tmp = regs->lend; in ptrace_peekusr()
H A Dsignal.c154 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 Dasm-offsets.c41 DEFINE(PT_LEND, offsetof (struct pt_regs, lend)); in main()
H A Dtraps.c544 regs->lbeg, regs->lend, regs->lcount, regs->sar); in show_regs()
/openbmc/linux/lib/zstd/compress/
H A Dzstd_compress_superblock.c439 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()
/openbmc/linux/arch/xtensa/include/uapi/asm/
H A Dptrace.h51 __u32 lend; member
/openbmc/qemu/linux-user/xtensa/
H A Dtarget_syscall.h24 xtensa_reg_t lend; /* 36 */ member
/openbmc/linux/arch/xtensa/include/asm/
H A Dptrace.h62 unsigned long lend; /* 36 */ member
/openbmc/u-boot/arch/xtensa/include/asm/
H A Dptrace.h93 unsigned long lend; /* 36 */ member
/openbmc/linux/block/
H A 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()
122 lend >> 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()
H A Dblk.h472 loff_t lstart, loff_t lend);
/openbmc/linux/include/linux/
H A Dpagemap.h40 int filemap_fdatawait_range(struct address_space *, loff_t lstart, loff_t lend);
49 bool filemap_range_has_page(struct address_space *, loff_t lstart, loff_t lend);
51 loff_t lstart, loff_t lend);
/openbmc/linux/drivers/md/
H A Ddm-cache-policy-smq.c388 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_()
/openbmc/openbmc/poky/bitbake/lib/
H A Dpyinotify.py1921 lend = len(root)
1925 if root == os.sep or (len(pref) == lend and \
1926 len(cur) > lend and \
1927 cur[lend] == os.sep):
/openbmc/linux/fs/hugetlbfs/
H A Dinode.c671 loff_t lend) in remove_inode_hugepages() argument
676 const pgoff_t end = lend >> huge_page_shift(h); in remove_inode_hugepages()
680 bool truncate_op = (lend == LLONG_MAX); in remove_inode_hugepages()
/openbmc/qemu/target/xtensa/core-dc232b/
H A Dgdb-config.c.inc90 XTREG(34, 136, 32, 4, 4, 0x0201, 0x0006, -2, 2, 0x1100, lend,
/openbmc/linux/fs/gfs2/
H A Dbmap.c1752 u64 lend; in punch_hole() local
1761 lend = end_offset >> bsize_shift; in punch_hole()
1763 if (lblock >= lend) in punch_hole()
1766 find_metapath(sdp, lend, &mp, ip->i_height); in punch_hole()
/openbmc/qemu/target/xtensa/core-dc233c/
H A Dgdb-config.c.inc59 XTREG(34, 136, 32, 4, 4, 0x0201, 0x0006, -2, 2, 0x1100, lend, 0, 0, 0, 0, 0, 0)
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/
H A Dgdb-config.c.inc57 XTREG( 34,136,32, 4, 4,0x0201,0x0006,-2, 2,0x1100,lend, 0,0,0,0,0,0)
/openbmc/qemu/target/xtensa/core-de212/
H A Dgdb-config.c.inc58 XTREG( 34,136,32, 4, 4,0x0201,0x0006,-2, 2,0x1100,lend, 0,0,0,0,0,0)

1234