| /linux-6.15/fs/ext4/ |
| H A D | move_extent.c | 87 int unwritten, int *err) in mext_check_coverage() argument 100 if (unwritten != ext4_ext_is_unwritten(ext)) in mext_check_coverage() 262 int block_len_in_page, int unwritten, int *err) in move_extent_per_page() argument 331 if (unwritten) { in move_extent_per_page() 335 unwritten = mext_check_coverage(orig_inode, orig_blk_offset, in move_extent_per_page() 340 unwritten &= mext_check_coverage(donor_inode, donor_blk_offset, in move_extent_per_page() 345 if (!unwritten) { in move_extent_per_page() 635 int unwritten, cur_len; in ext4_move_extents() local 666 unwritten = ext4_ext_is_unwritten(ex); in ext4_move_extents() 689 unwritten, &ret); in ext4_move_extents()
|
| H A D | file.c | 218 loff_t pos, loff_t len, bool *unwritten) in ext4_overwrite_io() argument 239 *unwritten = !(map.m_flags & EXT4_MAP_MAPPED); in ext4_overwrite_io() 424 bool *unwritten, int *dio_flags) in ext4_dio_write_checks() argument 443 overwrite = ext4_overwrite_io(inode, offset, count, unwritten); in ext4_dio_write_checks() 458 (unaligned_io && *unwritten)))) { in ext4_dio_write_checks() 481 if (unaligned_io && (!overwrite || *unwritten)) in ext4_dio_write_checks() 507 bool extend = false, unwritten = false; in ext4_dio_write_iter() local 553 &unwritten, &dio_flags); in ext4_dio_write_iter() 573 if (ilock_shared && !unwritten) in ext4_dio_write_iter()
|
| H A D | page-io.c | 272 struct list_head unwritten; in ext4_do_flush_completed_IO() local 279 list_replace_init(head, &unwritten); in ext4_do_flush_completed_IO() 282 while (!list_empty(&unwritten)) { in ext4_do_flush_completed_IO() 283 io_end = list_entry(unwritten.next, ext4_io_end_t, list); in ext4_do_flush_completed_IO()
|
| H A D | extents.c | 1827 if (unwritten) in ext4_ext_try_to_merge_right() 2041 if (unwritten) in ext4_ext_insert_extent() 2069 if (unwritten) in ext4_ext_insert_extent() 2632 unwritten = 1; in ext4_ext_rm_leaf() 2634 unwritten = 0; in ext4_ext_rm_leaf() 2725 if (unwritten && num) in ext4_ext_rm_leaf() 3357 int unwritten; in ext4_split_extent() local 3369 if (unwritten) in ext4_split_extent() 3398 if (unwritten) { in ext4_split_extent() 5653 if (unwritten) in ext4_swap_extents() [all …]
|
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_rmap.c | 679 bool unwritten, in xfs_rmap_unmap() argument 695 if (unwritten) in xfs_rmap_unmap() 912 bool unwritten, in xfs_rmap_update_hook() argument 919 .unwritten = unwritten, in xfs_rmap_update_hook() 1024 bool unwritten, in xfs_rmap_map() argument 1043 if (unwritten) in xfs_rmap_map() 1252 bool unwritten, in xfs_rmap_convert() argument 1750 bool unwritten, in xfs_rmap_convert_shared() argument 2182 bool unwritten, in xfs_rmap_unmap_shared() argument 2195 if (unwritten) in xfs_rmap_unmap_shared() [all …]
|
| H A D | xfs_rmap.h | 199 bool unwritten); 259 bool unwritten; member
|
| /linux-6.15/drivers/gpu/drm/i915/ |
| H A D | i915_gem.c | 283 unsigned long unwritten; in gtt_user_read() local 287 unwritten = __copy_to_user_inatomic(user_data, in gtt_user_read() 291 if (unwritten) { in gtt_user_read() 293 unwritten = copy_to_user(user_data, in gtt_user_read() 298 return unwritten; in gtt_user_read() 518 unsigned long unwritten; in ggtt_write() local 522 unwritten = __copy_from_user_inatomic_nocache((void __force *)vaddr + offset, in ggtt_write() 525 if (unwritten) { in ggtt_write() 527 unwritten = copy_from_user((void __force *)vaddr + offset, in ggtt_write() 532 return unwritten; in ggtt_write()
|
| /linux-6.15/drivers/gpu/drm/qxl/ |
| H A D | qxl_ioctl.c | 149 int unwritten; in qxl_process_single_command() local 185 unwritten = __copy_from_user_inatomic_nocache in qxl_process_single_command() 196 if (unwritten) { in qxl_process_single_command() 197 DRM_ERROR("got unwritten %d\n", unwritten); in qxl_process_single_command()
|
| /linux-6.15/fs/bcachefs/ |
| H A D | extents_format.h | 176 unwritten:1, member 184 unwritten:1,
|
| H A D | journal_reclaim.c | 87 unsigned sectors, buckets, unwritten; in journal_dev_space_available() local 106 unwritten = j->buf[seq & JOURNAL_BUF_MASK].sectors; in journal_dev_space_available() 108 if (!unwritten) in journal_dev_space_available() 112 if (unwritten > ca->mi.bucket_size) in journal_dev_space_available() 115 if (unwritten >= sectors) { in journal_dev_space_available() 125 sectors -= unwritten; in journal_dev_space_available()
|
| H A D | io_misc.c | 38 bool unwritten = opts.nocow && in bch2_extent_fallocate() local 65 if (!unwritten) { in bch2_extent_fallocate() 108 ptr->unwritten = true; in bch2_extent_fallocate()
|
| H A D | extents.h | 550 if (ptr->unwritten) in bkey_extent_is_unwritten() 698 ptr1.unwritten == ptr2.unwritten && in bch2_extent_ptr_eq()
|
| H A D | extents.c | 156 if (p.ptr.unwritten) { in bch2_bkey_pick_read_device() 351 lp.ptr.unwritten != rp.ptr.unwritten || in bch2_extent_merge() 1175 if (ptr->unwritten) in bch2_extent_ptr_to_text() 1381 if (!entry->ptr.unwritten) in bch2_bkey_ptrs_validate()
|
| H A D | rebalance.c | 61 p.ptr.unwritten) in bch2_bkey_ptrs_need_compress() 119 p.ptr.unwritten) { in bch2_bkey_sectors_need_rebalance()
|
| H A D | io_write.c | 1228 ptr->unwritten = 0; in bch2_nocow_write_convert_one_unwritten() 1362 if (ptr->unwritten) in bch2_nocow_write()
|
| H A D | data_update.c | 542 ptr->unwritten = true; in bch2_update_unwritten_extent()
|
| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_shmem.c | 461 unsigned int len, unwritten; in shmem_pwrite() local 487 unwritten = __copy_from_user_inatomic(vaddr, user_data, len); in shmem_pwrite() 492 len - unwritten, folio, data); in shmem_pwrite() 497 if (unwritten) in shmem_pwrite()
|
| /linux-6.15/Documentation/filesystems/iomap/ |
| H A D | operations.rst | 112 and no support for unwritten extents. 344 Filesystems that need to update internal bookkeeping (e.g. unwritten 348 own work (e.g. unwritten extent conversion). 368 contiguous; the unwritten and shared status are the same; and the 511 The entire file range must map to a single written or unwritten 514 if the mapping is unwritten and the filesystem cannot handle zeroing 528 If filesystem metadata updates are required (e.g. unwritten extent 572 This function should perform post-write conversions of unwritten 576 * ``IOMAP_DIO_UNWRITTEN``: The mapping was unwritten, so the ioend 684 For unwritten mappings, the pagecache will be searched. [all …]
|
| H A D | design.rst | 269 This only needs to be set for mapped or unwritten operations. 272 This only needs to be set for mapped or unwritten operations, and
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | bmap_repair.c | 135 bool unwritten) in xrep_bmap_from_rmap() argument 140 .br_state = unwritten ? XFS_EXT_UNWRITTEN : XFS_EXT_NORM, in xrep_bmap_from_rmap() 151 if (rb->reflink_scan == RLS_UNKNOWN && !unwritten) { in xrep_bmap_from_rmap()
|
| H A D | rtrmap_repair.c | 867 p->blockcount, &p->oinfo, p->unwritten); in xrep_rtrmapbt_live_update()
|
| H A D | rmap_repair.c | 1633 p->blockcount, &p->oinfo, p->unwritten); in xrep_rmapbt_live_update()
|
| /linux-6.15/Documentation/admin-guide/device-mapper/ |
| H A D | zero.rst | 15 device. Reads to previously unwritten areas will return a zero'd buffer. When
|
| H A D | era.rst | 106 Metadata is updated on disk before a write to a previously unwritten
|
| /linux-6.15/include/linux/ |
| H A D | buffer_head.h | 135 BUFFER_FNS(Unwritten, unwritten) in BUFFER_FNS()
|