/linux-6.1.9/kernel/ |
D | user_namespace.c | 204 if (ns->gid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) { in free_user_ns() 208 if (ns->uid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) { in free_user_ns() 212 if (ns->projid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) { in free_user_ns() 315 unsigned extents = map->nr_extents; in map_id_range_down() 378 unsigned extents = map->nr_extents; in map_id_up() 666 unsigned extents = map->nr_extents; in m_start() 742 for (idx = 0; idx < new_map->nr_extents; idx++) { in mappings_overlap() 747 if (new_map->nr_extents <= UID_GID_MAP_MAX_BASE_EXTENTS) in mappings_overlap() 779 if (map->nr_extents == UID_GID_MAP_MAX_BASE_EXTENTS) { in insert_extent() 793 map->nr_extents * sizeof(map->extent[0])); in insert_extent() [all …]
|
D | user.c | 29 .nr_extents = 1, 39 .nr_extents = 1, 49 .nr_extents = 1,
|
/linux-6.1.9/fs/btrfs/ |
D | delalloc-space.c | 283 u64 nr_extents = count_max_extents(fs_info, num_bytes); in calc_inode_reservations() local 288 nr_extents + csum_leaves); in calc_inode_reservations() 295 *qgroup_reserve = nr_extents * fs_info->nodesize; in calc_inode_reservations() 305 unsigned nr_extents; in btrfs_delalloc_reserve_metadata() local 360 nr_extents = count_max_extents(fs_info, num_bytes); in btrfs_delalloc_reserve_metadata() 361 btrfs_mod_outstanding_extents(inode, nr_extents); in btrfs_delalloc_reserve_metadata()
|
D | inode.c | 10912 int nr_extents; member 10952 bsi->nr_extents += ret; in btrfs_add_swap_extent() 11215 return bsi.nr_extents; in btrfs_swap_activate()
|
/linux-6.1.9/fs/iomap/ |
D | swapfile.c | 20 int nr_extents; /* extent count */ member 75 isi->nr_extents += error; in iomap_swapfile_add_extent() 193 return isi.nr_extents; in iomap_swapfile_activate()
|
/linux-6.1.9/include/xen/interface/ |
D | memory.h | 38 xen_ulong_t nr_extents; member 140 unsigned int nr_extents; member
|
/linux-6.1.9/drivers/xen/ |
D | mem-reservation.c | 96 reservation.nr_extents = count; in xenmem_reservation_increase() 112 reservation.nr_extents = count; in xenmem_reservation_decrease()
|
/linux-6.1.9/fs/ntfs/ |
D | mft.c | 256 if (base_ni->nr_extents > 0) { in map_extent_mft_record() 258 for (i = 0; i < base_ni->nr_extents; i++) { in map_extent_mft_record() 301 ni->nr_extents = -1; in map_extent_mft_record() 320 if (!(base_ni->nr_extents & 3)) { in map_extent_mft_record() 322 int new_size = (base_ni->nr_extents + 4) * sizeof(ntfs_inode *); in map_extent_mft_record() 332 if (base_ni->nr_extents) { in map_extent_mft_record() 340 base_ni->ext.extent_ntfs_inos[base_ni->nr_extents++] = ni; in map_extent_mft_record() 393 if (likely(ni->nr_extents >= 0)) in __mark_mft_record_dirty() 1040 if (ni->nr_extents <= 0) { in ntfs_may_write_mft_record() 1053 for (eni = NULL, i = 0; i < ni->nr_extents; ++i) { in ntfs_may_write_mft_record() [all …]
|
D | inode.c | 391 ni->nr_extents = 0; in __ntfs_init_inode() 1406 ni->nr_extents = -1; in ntfs_read_locked_attr_inode() 1689 ni->nr_extents = -1; in ntfs_read_locked_index_inode() 2220 BUG_ON(ni->nr_extents != -1); in ntfs_clear_extent_inode() 2270 if (ni->nr_extents > 0) { in ntfs_evict_big_inode() 2273 for (i = 0; i < ni->nr_extents; i++) in ntfs_evict_big_inode() 2282 if (ni->nr_extents == -1) { in ntfs_evict_big_inode() 2284 ni->nr_extents = 0; in ntfs_evict_big_inode() 2372 BUG_ON(ni->nr_extents < 0); in ntfs_truncate() 3053 if (ni->nr_extents > 0) { in __ntfs_write_inode() [all …]
|
D | inode.h | 109 s32 nr_extents; /* For a base mft record, the number of attached extent member
|
D | index.c | 126 BUG_ON(idx_ni->nr_extents != -1); in ntfs_index_lookup()
|
D | aops.c | 1266 if (tni->nr_extents >= 0) in ntfs_write_mst_block()
|
/linux-6.1.9/mm/ |
D | page_io.c | 93 int nr_extents = 0; in generic_swapfile_activate() local 156 nr_extents += ret; in generic_swapfile_activate() 162 ret = nr_extents; in generic_swapfile_activate()
|
D | swapfile.c | 2904 int nr_extents; in setup_swap_map_and_extents() local 2942 nr_extents = setup_swap_extents(p, span); in setup_swap_map_and_extents() 2943 if (nr_extents < 0) in setup_swap_map_and_extents() 2944 return nr_extents; in setup_swap_map_and_extents() 2953 return nr_extents; in setup_swap_map_and_extents() 2973 return nr_extents; in setup_swap_map_and_extents() 2986 int nr_extents; in SYSCALL_DEFINE2() local 3125 nr_extents = setup_swap_map_and_extents(p, swap_header, swap_map, in SYSCALL_DEFINE2() 3127 if (unlikely(nr_extents < 0)) { in SYSCALL_DEFINE2() 3128 error = nr_extents; in SYSCALL_DEFINE2() [all …]
|
/linux-6.1.9/include/linux/ |
D | user_namespace.h | 24 u32 nr_extents; member
|
/linux-6.1.9/fs/gfs2/ |
D | bmap.c | 2211 jd->nr_extents++; in gfs2_add_jextent() 2249 jd->nr_extents = 0; in gfs2_map_journal_extents() 2268 jd->nr_extents, ktime_ms_delta(end, start)); in gfs2_map_journal_extents() 2275 jd->nr_extents); in gfs2_map_journal_extents()
|
D | incore.h | 509 unsigned int nr_extents; member
|
/linux-6.1.9/arch/x86/xen/ |
D | setup.c | 246 reservation.nr_extents = 1; in xen_free_mfn()
|
D | mmu_pv.c | 2271 .nr_extents = extents_in, in xen_exchange_memory() 2277 .nr_extents = extents_out, in xen_exchange_memory()
|
/linux-6.1.9/fs/f2fs/ |
D | data.c | 3867 int nr_extents = 0; in check_swap_activate() local 3946 nr_extents += ret; in check_swap_activate() 3949 ret = nr_extents; in check_swap_activate()
|