/linux-6.12.1/mm/ |
D | fadvise.c | 38 pgoff_t end_index; in generic_fadvise() local 99 end_index = endbyte >> PAGE_SHIFT; in generic_fadvise() 102 nrpages = end_index - start_index + 1; in generic_fadvise() 123 end_index = (endbyte >> PAGE_SHIFT); in generic_fadvise() 138 if (end_index == 0) in generic_fadvise() 141 end_index--; in generic_fadvise() 144 if (end_index >= start_index) { in generic_fadvise() 158 mapping_try_invalidate(mapping, start_index, end_index, in generic_fadvise() 169 end_index); in generic_fadvise()
|
D | readahead.c | 308 pgoff_t end_index; /* The last page we want to read */ in do_page_cache_ra() local 313 end_index = (isize - 1) >> PAGE_SHIFT; in do_page_cache_ra() 314 if (index > end_index) in do_page_cache_ra() 317 if (nr_to_read > end_index - index) in do_page_cache_ra() 318 nr_to_read = end_index - index + 1; in do_page_cache_ra()
|
/linux-6.12.1/fs/squashfs/ |
D | file_direct.c | 32 loff_t end_index = start_index | mask; in squashfs_readpage_block() local 39 if (end_index > file_end) in squashfs_readpage_block() 40 end_index = file_end; in squashfs_readpage_block() 42 pages = end_index - start_index + 1; in squashfs_readpage_block() 49 for (i = 0, index = start_index; index <= end_index; index++) { in squashfs_readpage_block() 91 if (end_index == file_end && last_page && bytes) { in squashfs_readpage_block()
|
D | file.c | 387 int start_index = page->index & ~mask, end_index = start_index | mask; in squashfs_copy_cache() local 395 for (i = start_index; i <= end_index && bytes > 0; i++, in squashfs_copy_cache()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum1_kvdl.c | 34 unsigned int end_index; member 48 .end_index = MLXSW_SP1_KVDL_##id##_END, \ 97 kvdl_index <= part->info.end_index) in mlxsw_sp1_kvdl_index_part() 124 nr_entries = (info->end_index - info->start_index + 1) / in mlxsw_sp1_kvdl_part_alloc() 200 part->info.end_index = size - 1; in mlxsw_sp1_kvdl_part_update() 202 part->info.start_index = part_prev->info.end_index + 1; in mlxsw_sp1_kvdl_part_update() 203 part->info.end_index = part->info.start_index + size - 1; in mlxsw_sp1_kvdl_part_update() 223 resource_size = info->end_index - info->start_index + 1; in mlxsw_sp1_kvdl_part_init() 284 nr_entries = (info->end_index - in mlxsw_sp1_kvdl_part_occ()
|
D | spectrum_policer.c | 17 u16 end_index; /* Exclusive */ member 93 family->end_index = MLXSW_CORE_RES_GET(core, MAX_GLOBAL_POLICERS); in mlxsw_sp_policer_single_rate_family_init() 123 family->end_index, GFP_KERNEL); in mlxsw_sp_policer_single_rate_index_alloc() 326 if (WARN_ON(family->start_index >= family->end_index)) { in mlxsw_sp_policer_family_register()
|
D | spectrum_pgt.c | 12 u16 end_index; /* Exclusive. */ member 34 mlxsw_sp->pgt->end_index, GFP_KERNEL); in mlxsw_sp_pgt_mid_alloc() 323 pgt->end_index = MLXSW_CORE_RES_GET(mlxsw_sp->core, PGT_SIZE); in mlxsw_sp_pgt_init()
|
D | spectrum_fid.c | 133 u16 end_index; member 372 return fid_family->end_index - fid_family->start_index + 1; in mlxsw_sp_fid_family_num_fids() 941 nr_fids = fid_family->end_index - fid_family->start_index + 1; in mlxsw_sp_fid_8021d_index_alloc() 1864 .end_index = MLXSW_SP_FID_8021Q_END, 1877 .end_index = MLXSW_SP_FID_8021D_END, 1889 .end_index = MLXSW_SP_FID_DUMMY, 1898 .end_index = MLXSW_SP_RFID_END, 1916 .end_index = MLXSW_SP_FID_8021Q_END, 1929 .end_index = MLXSW_SP_FID_8021D_END, 1941 .end_index = MLXSW_SP_FID_DUMMY, [all …]
|
/linux-6.12.1/include/trace/events/ |
D | fs_dax.h | 228 TP_PROTO(struct inode *inode, pgoff_t start_index, pgoff_t end_index), 229 TP_ARGS(inode, start_index, end_index), 233 __field(pgoff_t, end_index) 240 __entry->end_index = end_index; 247 __entry->end_index 253 TP_PROTO(struct inode *inode, pgoff_t start_index, pgoff_t end_index),\ 254 TP_ARGS(inode, start_index, end_index))
|
/linux-6.12.1/arch/sparc/kernel/ |
D | cpumap.c | 44 int end_index; /* Index of last node of a level in a cpuinfo tree */ member 133 lv->start_index = lv->end_index = lv->num_nodes = 0; in enumerate_cpuinfo_nodes() 166 tree_level[CPUINFO_LVL_NODE].end_index = n; in enumerate_cpuinfo_nodes() 171 tree_level[CPUINFO_LVL_CORE].end_index = n - 1; in enumerate_cpuinfo_nodes() 175 tree_level[CPUINFO_LVL_PROC].end_index = n - 1; in enumerate_cpuinfo_nodes() 276 if (n <= new_tree->level[level].end_index) { in build_cpuinfo_tree()
|
/linux-6.12.1/fs/isofs/ |
D | compress.c | 314 pgoff_t index = page->index, end_index; in zisofs_read_folio() local 316 end_index = (inode->i_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in zisofs_read_folio() 321 if (index >= end_index) { in zisofs_read_folio() 332 end_index - (index & ~(zisofs_pages_per_cblock - 1))); in zisofs_read_folio()
|
/linux-6.12.1/drivers/iommu/iommufd/ |
D | pages.c | 1313 unsigned long end_index) in iopt_area_unfill_partial_domain() argument 1315 if (end_index != iopt_area_index(area)) in iopt_area_unfill_partial_domain() 1316 __iopt_area_unfill_domain(area, pages, domain, end_index - 1); in iopt_area_unfill_partial_domain() 1456 unsigned long end_index; in iopt_area_fill_domains() local 1459 end_index = done_first_end_index; in iopt_area_fill_domains() 1461 end_index = done_all_end_index; in iopt_area_fill_domains() 1469 if (end_index != iopt_area_index(area)) in iopt_area_fill_domains() 1472 end_index - 1); in iopt_area_fill_domains() 1475 end_index); in iopt_area_fill_domains() 1523 unsigned long end_index) in iopt_pages_unpin_xarray() argument [all …]
|
/linux-6.12.1/fs/bcachefs/ |
D | fs-io-pagecache.c | 254 pgoff_t end_index = (end - 1) >> PAGE_SECTORS_SHIFT; in bch2_mark_pagecache_unallocated() local 264 &index, end_index, &fbatch)) { in bch2_mark_pagecache_unallocated() 298 pgoff_t end_index = (end - 1) >> PAGE_SECTORS_SHIFT; in bch2_mark_pagecache_reserved() local 309 &index, end_index, &fbatch)) { in bch2_mark_pagecache_reserved() 697 pgoff_t end_index = end_offset >> PAGE_SHIFT; in bch2_seek_pagecache_data() local 706 &index, end_index, &fbatch)) { in bch2_seek_pagecache_data()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.h | 106 __field(u32, end_index) 117 __entry->end_index = fg->start_index + fg->max_ftes; 139 __entry->start_index, __entry->end_index,
|
/linux-6.12.1/drivers/net/wireless/microchip/wilc1000/ |
D | wlan.c | 287 u8 end_index; in is_ac_q_limit() local 300 q->end_index = AC_BUFFER_SIZE - 1; in is_ac_q_limit() 304 end_index = q->end_index; in is_ac_q_limit() 305 q->cnt[q->buffer[end_index]] -= factors[q->buffer[end_index]]; in is_ac_q_limit() 307 q->sum += (factors[q_num] - factors[q->buffer[end_index]]); in is_ac_q_limit() 309 q->buffer[end_index] = q_num; in is_ac_q_limit() 310 if (end_index > 0) in is_ac_q_limit() 311 q->end_index--; in is_ac_q_limit() 313 q->end_index = AC_BUFFER_SIZE - 1; in is_ac_q_limit()
|
D | netdev.h | 202 u16 end_index; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn321/ |
D | dcn321_fpu.c | 265 unsigned int end_index = 0; in sort_entries_with_same_bw() local 272 end_index = ++i; in sort_entries_with_same_bw() 275 end_index = ++i; in sort_entries_with_same_bw() 278 if (start_index != end_index) { in sort_entries_with_same_bw() 279 for (int j = start_index; j < end_index; j++) { in sort_entries_with_same_bw() 280 for (int k = start_index; k < end_index; k++) { in sort_entries_with_same_bw() 288 end_index = 0; in sort_entries_with_same_bw()
|
/linux-6.12.1/fs/ubifs/ |
D | file.c | 606 pgoff_t end_index; in populate_page() local 613 end_index = (i_size - 1) >> PAGE_SHIFT; in populate_page() 614 if (!i_size || folio->index > end_index) { in populate_page() 675 if (end_index == folio->index) { in populate_page() 713 pgoff_t offset = folio1->index, end_index; in ubifs_do_bulk_read() local 774 end_index = ((isize - 1) >> PAGE_SHIFT); in ubifs_do_bulk_read() 780 if (page_offset > end_index) in ubifs_do_bulk_read()
|
/linux-6.12.1/fs/btrfs/ |
D | compression.c | 286 unsigned long end_index = (cb->start + cb->len - 1) >> PAGE_SHIFT; in end_compressed_writeback() local 296 while (index <= end_index) { in end_compressed_writeback() 297 ret = filemap_get_folios(inode->i_mapping, &index, end_index, in end_compressed_writeback() 418 unsigned long end_index; in add_ra_bio_pages() local 446 end_index = (i_size_read(inode) - 1) >> PAGE_SHIFT; in add_ra_bio_pages() 453 if (pg_index > end_index) in add_ra_bio_pages() 526 if (folio->index == end_index) { in add_ra_bio_pages()
|
D | extent_io.c | 202 pgoff_t end_index = end >> PAGE_SHIFT; in __process_folios_contig() local 208 while (index <= end_index) { in __process_folios_contig() 212 end_index, &fbatch); in __process_folios_contig() 229 unsigned long end_index = end >> PAGE_SHIFT; in __unlock_for_delalloc() local 232 if (index == locked_folio->index && end_index == index) in __unlock_for_delalloc() 246 pgoff_t end_index = end >> PAGE_SHIFT; in lock_delalloc_folios() local 251 if (index == locked_folio->index && index == end_index) in lock_delalloc_folios() 255 while (index <= end_index) { in lock_delalloc_folios() 259 end_index, &fbatch); in lock_delalloc_folios() 558 pgoff_t end_index = i_size >> folio_shift(folio); in end_bbio_data_read() local [all …]
|
/linux-6.12.1/fs/btrfs/tests/ |
D | extent-io-tests.c | 27 unsigned long end_index = end >> PAGE_SHIFT; in process_page_range() local 34 while (index <= end_index) { in process_page_range() 36 end_index, &fbatch); in process_page_range()
|
/linux-6.12.1/fs/ocfs2/ |
D | aops.c | 1028 unsigned long start, target_index, end_index, index; in ocfs2_grab_pages_for_write() local 1051 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; in ocfs2_grab_pages_for_write() 1052 if ((start + wc->w_num_pages) > end_index) in ocfs2_grab_pages_for_write() 1053 wc->w_num_pages = end_index - start; in ocfs2_grab_pages_for_write() 1058 end_index = (user_pos + user_len - 1) >> PAGE_SHIFT; in ocfs2_grab_pages_for_write() 1063 if (index >= target_index && index <= end_index && in ocfs2_grab_pages_for_write() 1083 } else if (index >= target_index && index <= end_index && in ocfs2_grab_pages_for_write()
|
/linux-6.12.1/drivers/md/dm-vdo/ |
D | slab-depot.c | 1898 cursor->end_index = min_t(u32, COUNTS_PER_BLOCK, slab->block_count); in reset_search_cursor() 1924 cursor->index = cursor->end_index; in advance_search_cursor() 1928 cursor->end_index = slab->block_count; in advance_search_cursor() 1930 cursor->end_index += COUNTS_PER_BLOCK; in advance_search_cursor() 2051 slab_block_number end_index = slab->search_cursor.end_index; in find_free_block() local 2053 u8 *end_counter = &slab->counters[end_index]; in find_free_block() 2059 zero_index = find_zero_byte_in_word(next_counter, next_index, end_index); in find_free_block() 2060 if (zero_index < end_index) { in find_free_block() 2082 zero_index = find_zero_byte_in_word(next_counter, next_index, end_index); in find_free_block() 2083 if (zero_index < end_index) { in find_free_block() [all …]
|
/linux-6.12.1/fs/nfs/ |
D | internal.h | 857 pgoff_t end_index = (i_size - 1) >> folio_shift(folio); in nfs_folio_length() local 858 if (index < end_index) in nfs_folio_length() 860 if (index == end_index) in nfs_folio_length()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 369 uint32_t begin_index, end_index; in precompute_de_pq() local 377 end_index = begin_index + 12 * NUM_PTS_IN_REGION; in precompute_de_pq() 382 for (; i <= end_index; i++) { in precompute_de_pq() 1186 uint32_t begin_index, end_index; in build_degamma() local 1198 end_index = begin_index + 12 * NUM_PTS_IN_REGION; in build_degamma() 1207 while (i != end_index) { in build_degamma()
|