Home
last modified time | relevance | path

Searched refs:first_index (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/iommu/iommufd/
H A Ddouble_span.h36 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 Dpages.c138 unsigned long first_index, unsigned long last_index) in interval_tree_double_span_iter_first() argument
146 first_index, last_index); in interval_tree_double_span_iter_first()
/linux/mm/
H A Dmapping_dirty_helpers.c264 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 Dpagewalk.c751 * @first_index: First page offset in the address_space
778 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index, in walk_page_mapping()
795 vma_interval_tree_foreach(vma, &mapping->i_mmap, first_index, in walk_page_mapping()
796 first_index + nr - 1) { in walk_page_mapping()
800 cba = first_index; in walk_page_mapping()
802 cea = first_index + nr; in walk_page_mapping()
777 walk_page_mapping(struct address_space * mapping,pgoff_t first_index,pgoff_t nr,const struct mm_walk_ops * ops,void * private) walk_page_mapping() argument
H A Dfilemap.c4559 pgoff_t first_index, pgoff_t last_index, struct cachestat *cs) in filemap_cachestat() argument
4561 XA_STATE(xas, &mapping->i_pages, first_index); in filemap_cachestat()
4593 if (folio_first_index < first_index) in filemap_cachestat()
4594 nr_pages -= first_index - folio_first_index; in filemap_cachestat()
4710 pgoff_t first_index, last_index; in SYSCALL_DEFINE4() local
4729 first_index = csr.off >> PAGE_SHIFT; in SYSCALL_DEFINE4()
4734 filemap_cachestat(mapping, first_index, last_index, &cs); in SYSCALL_DEFINE4()
H A Dmemory.c4252 pgoff_t first_index, in unmap_mapping_range_tree() argument
4259 vma_interval_tree_foreach(vma, root, first_index, last_index) { in unmap_mapping_range_tree()
4262 zba = max(first_index, vba); in unmap_mapping_range_tree()
4287 pgoff_t first_index; in unmap_mapping_folio() local
4292 first_index = folio->index; in unmap_mapping_folio()
4301 unmap_mapping_range_tree(&mapping->i_mmap, first_index, in unmap_mapping_folio()
4322 pgoff_t first_index = start; in unmap_mapping_pages() local
4326 if (last_index < first_index) in unmap_mapping_pages()
4331 unmap_mapping_range_tree(&mapping->i_mmap, first_index, in unmap_mapping_pages()
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.h456 int first_index, int count);
458 int first_index, int count);
460 int first_index, int count);
462 int first_index, int count);
H A Dena_netdev.c184 int first_index, int count) in ena_init_io_rings() argument
192 for (i = first_index; i < first_index + count; i++) { in ena_init_io_rings()
316 int first_index, int count) in ena_setup_tx_resources_in_range() argument
320 for (i = first_index; i < first_index + count; i++) { in ena_setup_tx_resources_in_range()
334 while (first_index < i--) in ena_setup_tx_resources_in_range()
340 int first_index, int count) in ena_free_all_io_tx_resources_in_range() argument
344 for (i = first_index; i < first_index + count; i++) in ena_free_all_io_tx_resources_in_range()
1752 int first_index, in ena_del_napi_in_range() argument
1757 for (i = first_index; i < first_index + count; i++) { in ena_del_napi_in_range()
1766 int first_index, int count) in ena_init_napi_in_range() argument
[all …]
/linux/include/linux/
H A Dradix-tree.h237 void **results, unsigned long first_index,
251 void **results, unsigned long first_index,
254 void __rcu ***results, unsigned long first_index,
H A Dpagewalk.h145 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index,
H A Dmm.h4738 pgoff_t first_index, pgoff_t nr,
4745 pgoff_t first_index, pgoff_t nr);
/linux/lib/
H A Dinterval_tree_test.c214 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 Dradix-tree.c1263 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/drivers/media/common/videobuf2/
H A Dvideobuf2-core.c468 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()
874 unsigned int i, first_index; in vb2_core_reqbufs() local
958 __vb2_queue_alloc(q, memory, num_buffers, num_planes, plane_sizes, &first_index); in vb2_core_reqbufs()
961 WARN_ON(first_index); in vb2_core_reqbufs()
1007 __vb2_queue_free(q, first_index, allocated_buffers); in vb2_core_reqbufs()
1036 unsigned int *first_index) in vb2_core_create_bufs() argument
1095 num_planes, plane_sizes, first_index); in vb2_core_create_bufs()
1132 __vb2_queue_free(q, *first_index, allocated_buffers); in vb2_core_create_bufs()
/linux/fs/xfs/scrub/
H A Dagheader_repair.c1177 uint32_t first_index = 0; in xrep_iunlink_mark_incore() local
1191 (void **)&ragi->lookup_batch, first_index, in xrep_iunlink_mark_incore()
1218 first_index = XFS_INO_TO_AGINO(mp, ip->i_ino + 1); in xrep_iunlink_mark_incore()
1219 if (first_index < XFS_INO_TO_AGINO(mp, ip->i_ino)) in xrep_iunlink_mark_incore()
/linux/include/media/
H A Dvideobuf2-core.h820 * @first_index: index of the first created buffer, all allocated buffers have
821 * indices in the range [first_index..first_index+count-1]
839 unsigned int *first_index);
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c2148 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/fs/f2fs/
H A Dcompress.c1201 bool first_index = (index == folio->index); in f2fs_compress_write_end() local
1209 return first_index; in f2fs_compress_write_end()