| /linux-6.15/lib/ |
| H A D | interval_tree.c | 42 cur = interval_tree_iter_next(cur, state->first_index, in interval_tree_span_iter_next_gap() 51 unsigned long first_index, in interval_tree_span_iter_first() argument 54 iter->first_index = first_index; in interval_tree_span_iter_first() 58 interval_tree_iter_first(itree, first_index, last_index); in interval_tree_span_iter_first() 61 iter->start_hole = first_index; in interval_tree_span_iter_first() 66 if (iter->nodes[1]->start > first_index) { in interval_tree_span_iter_first() 68 iter->start_hole = first_index; in interval_tree_span_iter_first() 76 iter->start_used = first_index; in interval_tree_span_iter_first() 137 iter->first_index = new_index; in interval_tree_span_iter_advance()
|
| H A D | interval_tree_test.c | 214 cur_start = mas->index < state->first_index ? in mas_cur_span() 215 state->first_index : mas->index; in mas_cur_span() 277 mas_span.first_index = start; in span_iteration_check()
|
| H A D | radix-tree.c | 1263 unsigned long first_index, unsigned int max_items) in radix_tree_gang_lookup() argument 1272 radix_tree_for_each_slot(slot, root, &iter, first_index) { in radix_tree_gang_lookup() 1303 unsigned long first_index, unsigned int max_items, in radix_tree_gang_lookup_tag() argument 1313 radix_tree_for_each_tagged(slot, root, &iter, first_index, tag) { in radix_tree_gang_lookup_tag() 1344 void __rcu ***results, unsigned long first_index, in radix_tree_gang_lookup_tag_slot() argument 1354 radix_tree_for_each_tagged(slot, root, &iter, first_index, tag) { in radix_tree_gang_lookup_tag_slot()
|
| /linux-6.15/include/linux/ |
| H A D | interval_tree.h | 52 unsigned long first_index; member 69 unsigned long first_index, 82 #define interval_tree_for_each_span(span, itree, first_index, last_index) \ argument 84 first_index, last_index); \
|
| H A D | radix-tree.h | 237 void **results, unsigned long first_index, 251 void **results, unsigned long first_index, 254 void __rcu ***results, unsigned long first_index,
|
| H A D | pagewalk.h | 141 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index,
|
| H A D | mm.h | 4175 pgoff_t first_index, pgoff_t nr, 4182 pgoff_t first_index, pgoff_t nr);
|
| /linux-6.15/drivers/iommu/iommufd/ |
| H A D | double_span.h | 36 unsigned long first_index, unsigned long last_index); 46 #define interval_tree_for_each_double_span(span, itree1, itree2, first_index, \ argument 49 first_index, last_index); \
|
| H A D | pages.c | 135 unsigned long first_index, unsigned long last_index) in interval_tree_double_span_iter_first() argument 143 first_index, last_index); in interval_tree_double_span_iter_first()
|
| /linux-6.15/mm/ |
| H A D | mapping_dirty_helpers.c | 264 pgoff_t first_index, pgoff_t nr) in wp_shared_mapping_range() argument 269 WARN_ON(walk_page_mapping(mapping, first_index, nr, &wp_walk_ops, in wp_shared_mapping_range() 314 pgoff_t first_index, pgoff_t nr, in clean_record_shared_mapping_range() argument 330 WARN_ON(walk_page_mapping(mapping, first_index, nr, &clean_walk_ops, in clean_record_shared_mapping_range()
|
| H A D | pagewalk.c | 724 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index, in walk_page_mapping() argument 741 vma_interval_tree_foreach(vma, &mapping->i_mmap, first_index, in walk_page_mapping() 742 first_index + nr - 1) { in walk_page_mapping() 746 cba = first_index; in walk_page_mapping() 748 cea = first_index + nr; in walk_page_mapping()
|
| H A D | filemap.c | 4356 pgoff_t first_index, pgoff_t last_index, struct cachestat *cs) in filemap_cachestat() argument 4358 XA_STATE(xas, &mapping->i_pages, first_index); in filemap_cachestat() 4390 if (folio_first_index < first_index) in filemap_cachestat() 4391 nr_pages -= first_index - folio_first_index; in filemap_cachestat() 4507 pgoff_t first_index, last_index; in SYSCALL_DEFINE4() local 4526 first_index = csr.off >> PAGE_SHIFT; in SYSCALL_DEFINE4() 4531 filemap_cachestat(mapping, first_index, last_index, &cs); in SYSCALL_DEFINE4()
|
| H A D | memory.c | 3950 pgoff_t first_index, in unmap_mapping_range_tree() argument 3957 vma_interval_tree_foreach(vma, root, first_index, last_index) { in unmap_mapping_range_tree() 3960 zba = max(first_index, vba); in unmap_mapping_range_tree() 3985 pgoff_t first_index; in unmap_mapping_folio() local 3990 first_index = folio->index; in unmap_mapping_folio() 3999 unmap_mapping_range_tree(&mapping->i_mmap, first_index, in unmap_mapping_folio() 4020 pgoff_t first_index = start; in unmap_mapping_pages() local 4024 if (last_index < first_index) in unmap_mapping_pages() 4029 unmap_mapping_range_tree(&mapping->i_mmap, first_index, in unmap_mapping_pages()
|
| /linux-6.15/drivers/net/ethernet/amazon/ena/ |
| H A D | ena_netdev.h | 442 int first_index, int count); 444 int first_index, int count); 446 int first_index, int count); 448 int first_index, int count);
|
| H A D | ena_netdev.c | 188 for (i = first_index; i < first_index + count; i++) { in ena_init_io_rings() 316 for (i = first_index; i < first_index + count; i++) { in ena_setup_tx_resources_in_range() 330 while (first_index < i--) in ena_setup_tx_resources_in_range() 340 for (i = first_index; i < first_index + count; i++) in ena_free_all_io_tx_resources_in_range() 1748 int first_index, in ena_del_napi_in_range() argument 1753 for (i = first_index; i < first_index + count; i++) { in ena_del_napi_in_range() 1767 for (i = first_index; i < first_index + count; i++) { in ena_init_napi_in_range() 1797 for (i = first_index; i < first_index + count; i++) { in ena_napi_disable_in_range() 1811 int first_index, in ena_napi_enable_in_range() argument 1817 for (i = first_index; i < first_index + count; i++) { in ena_napi_enable_in_range() [all …]
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_icache.c | 1746 uint32_t first_index; in xfs_icwalk_ag() local 1756 first_index = READ_ONCE(pag->pag_ici_reclaim_cursor); in xfs_icwalk_ag() 1758 first_index = 0; in xfs_icwalk_ag() 1768 (void **) batch, first_index, in xfs_icwalk_ag() 1800 first_index = XFS_INO_TO_AGINO(mp, ip->i_ino + 1); in xfs_icwalk_ag() 1801 if (first_index < XFS_INO_TO_AGINO(mp, ip->i_ino)) in xfs_icwalk_ag() 1836 first_index = 0; in xfs_icwalk_ag() 1837 WRITE_ONCE(pag->pag_ici_reclaim_cursor, first_index); in xfs_icwalk_ag()
|
| /linux-6.15/drivers/media/common/videobuf2/ |
| H A D | videobuf2-core.c | 468 unsigned int *first_index) in __vb2_queue_alloc() argument 494 *first_index = 0; in __vb2_queue_alloc() 498 *first_index = index; in __vb2_queue_alloc() 880 unsigned int i, first_index; in vb2_core_reqbufs() local 964 __vb2_queue_alloc(q, memory, num_buffers, num_planes, plane_sizes, &first_index); in vb2_core_reqbufs() 967 WARN_ON(first_index); in vb2_core_reqbufs() 1013 __vb2_queue_free(q, first_index, allocated_buffers); in vb2_core_reqbufs() 1042 unsigned int *first_index) in vb2_core_create_bufs() argument 1101 num_planes, plane_sizes, first_index); in vb2_core_create_bufs() 1138 __vb2_queue_free(q, *first_index, allocated_buffers); in vb2_core_create_bufs()
|
| /linux-6.15/fs/btrfs/ |
| H A D | defrag.c | 1167 unsigned long first_index = folios[0]->index; in defrag_one_locked_target() local 1171 ASSERT(last_index - first_index + 1 <= nr_pages); in defrag_one_locked_target() 1183 for (i = start_index - first_index; i <= last_index - first_index; i++) { in defrag_one_locked_target()
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | agheader_repair.c | 1173 uint32_t first_index = 0; in xrep_iunlink_mark_incore() local 1187 (void **)&ragi->lookup_batch, first_index, in xrep_iunlink_mark_incore() 1214 first_index = XFS_INO_TO_AGINO(mp, ip->i_ino + 1); in xrep_iunlink_mark_incore() 1215 if (first_index < XFS_INO_TO_AGINO(mp, ip->i_ino)) in xrep_iunlink_mark_incore()
|
| /linux-6.15/include/media/ |
| H A D | videobuf2-core.h | 852 unsigned int *first_index);
|
| /linux-6.15/drivers/net/ethernet/atheros/atl1c/ |
| H A D | atl1c_main.c | 2148 u16 first_index, index; in atl1c_tx_rollback() local 2150 first_index = first_tpd - (struct atl1c_tpd_desc *)tpd_ring->desc; in atl1c_tx_rollback() 2151 index = first_index; in atl1c_tx_rollback() 2160 tpd_ring->next_to_use = first_index; in atl1c_tx_rollback()
|
| /linux-6.15/fs/f2fs/ |
| H A D | compress.c | 1202 bool first_index = (index == folio->index); in f2fs_compress_write_end() local 1210 return first_index; in f2fs_compress_write_end()
|