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

/linux-master/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, \
49 first_index, last_index); \
H A Dpages.c134 unsigned long first_index, unsigned long last_index)
142 first_index, last_index);
131 interval_tree_double_span_iter_first( struct interval_tree_double_span_iter *iter, struct rb_root_cached *itree1, struct rb_root_cached *itree2, unsigned long first_index, unsigned long last_index) argument
/linux-master/include/linux/
H A Dinterval_tree.h52 unsigned long first_index; member in struct:interval_tree_span_iter
69 unsigned long first_index,
82 #define interval_tree_for_each_span(span, itree, first_index, last_index) \
84 first_index, last_index); \
H A Dpagewalk.h129 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index,
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 Dmm.h4118 pgoff_t first_index, pgoff_t nr,
4125 pgoff_t first_index, pgoff_t nr);
/linux-master/lib/
H A Dinterval_tree.c36 cur = interval_tree_iter_next(cur, state->first_index,
45 unsigned long first_index,
48 iter->first_index = first_index;
52 interval_tree_iter_first(itree, first_index, last_index);
55 iter->start_hole = first_index;
60 if (iter->nodes[1]->start > first_index) {
62 iter->start_hole = first_index;
70 iter->start_used = first_index;
131 iter->first_index
43 interval_tree_span_iter_first(struct interval_tree_span_iter *iter, struct rb_root_cached *itree, unsigned long first_index, unsigned long last_index) argument
[all...]
H A Dradix-tree.c1245 * @first_index: start the lookup from this key
1263 unsigned long first_index, unsigned int max_items)
1272 radix_tree_for_each_slot(slot, root, &iter, first_index) {
1293 * @first_index: start the lookup from this key
1303 unsigned long first_index, unsigned int max_items,
1313 radix_tree_for_each_tagged(slot, root, &iter, first_index, tag) {
1334 * @first_index: start the lookup from this key
1344 void __rcu ***results, unsigned long first_index,
1354 radix_tree_for_each_tagged(slot, root, &iter, first_index, tag) {
1262 radix_tree_gang_lookup(const struct radix_tree_root *root, void **results, unsigned long first_index, unsigned int max_items) argument
1302 radix_tree_gang_lookup_tag(const struct radix_tree_root *root, void **results, unsigned long first_index, unsigned int max_items, unsigned int tag) argument
1343 radix_tree_gang_lookup_tag_slot(const struct radix_tree_root *root, void __rcu ***results, unsigned long first_index, unsigned int max_items, unsigned int tag) argument
/linux-master/mm/
H A Dmapping_dirty_helpers.c252 * @first_index: The first page offset in the range
264 pgoff_t first_index, pgoff_t nr)
269 WARN_ON(walk_page_mapping(mapping, first_index, nr, &wp_walk_ops,
281 * @first_index: The first page offset in the range
285 * cover the whole range @first_index..@first_index + @nr.
314 pgoff_t first_index, pgoff_t nr,
330 WARN_ON(walk_page_mapping(mapping, first_index, nr, &clean_walk_ops,
263 wp_shared_mapping_range(struct address_space *mapping, pgoff_t first_index, pgoff_t nr) argument
313 clean_record_shared_mapping_range(struct address_space *mapping, pgoff_t first_index, pgoff_t nr, pgoff_t bitmap_pgoff, unsigned long *bitmap, pgoff_t *start, pgoff_t *end) argument
H A Dpagewalk.c633 * @first_index: First page offset in the address_space
660 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index, argument
674 vma_interval_tree_foreach(vma, &mapping->i_mmap, first_index,
675 first_index + nr - 1) {
679 cba = first_index;
681 cea = first_index + nr;
H A Dfilemap.c4141 * @first_index: The starting page cache index.
4146 * page range of [first_index, last_index] (inclusive). The statistics
4151 pgoff_t first_index, pgoff_t last_index, struct cachestat *cs)
4153 XA_STATE(xas, &mapping->i_pages, first_index);
4182 if (folio_first_index < first_index)
4183 nr_pages -= first_index - folio_first_index;
4285 pgoff_t first_index, last_index; local
4307 first_index = csr.off >> PAGE_SHIFT;
4312 filemap_cachestat(mapping, first_index, last_index, &cs);
4150 filemap_cachestat(struct address_space *mapping, pgoff_t first_index, pgoff_t last_index, struct cachestat *cs) argument
H A Dmemory.c3671 pgoff_t first_index,
3678 vma_interval_tree_foreach(vma, root, first_index, last_index) {
3681 zba = max(first_index, vba);
3706 pgoff_t first_index; local
3711 first_index = folio->index;
3720 unmap_mapping_range_tree(&mapping->i_mmap, first_index,
3741 pgoff_t first_index = start; local
3745 if (last_index < first_index)
3750 unmap_mapping_range_tree(&mapping->i_mmap, first_index,
3670 unmap_mapping_range_tree(struct rb_root_cached *root, pgoff_t first_index, pgoff_t last_index, struct zap_details *details) argument
/linux-master/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.h441 int first_index, int count);
443 int first_index, int count);
445 int first_index, int count);
447 int first_index, int count);
H A Dena_netdev.c207 int first_index, int count)
215 for (i = first_index; i < first_index + count; i++) {
339 int first_index, int count)
343 for (i = first_index; i < first_index + count; i++) {
357 while (first_index < i--)
363 int first_index, int count)
367 for (i = first_index; i < first_index
206 ena_init_io_rings(struct ena_adapter *adapter, int first_index, int count) argument
338 ena_setup_tx_resources_in_range(struct ena_adapter *adapter, int first_index, int count) argument
362 ena_free_all_io_tx_resources_in_range(struct ena_adapter *adapter, int first_index, int count) argument
1765 ena_del_napi_in_range(struct ena_adapter *adapter, int first_index, int count) argument
1779 ena_init_napi_in_range(struct ena_adapter *adapter, int first_index, int count) argument
1808 ena_napi_disable_in_range(struct ena_adapter *adapter, int first_index, int count) argument
1818 ena_napi_enable_in_range(struct ena_adapter *adapter, int first_index, int count) argument
1930 ena_create_io_tx_queues_in_range(struct ena_adapter *adapter, int first_index, int count) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_icache.c1648 uint32_t first_index; local
1658 first_index = READ_ONCE(pag->pag_ici_reclaim_cursor);
1660 first_index = 0;
1670 (void **) batch, first_index,
1702 first_index = XFS_INO_TO_AGINO(mp, ip->i_ino + 1);
1703 if (first_index < XFS_INO_TO_AGINO(mp, ip->i_ino))
1738 first_index = 0;
1739 WRITE_ONCE(pag->pag_ici_reclaim_cursor, first_index);
/linux-master/fs/btrfs/
H A Ddefrag.c1174 unsigned long first_index = folios[0]->index; local
1178 ASSERT(last_index - first_index + 1 <= nr_pages);
1190 for (i = start_index - first_index; i <= last_index - first_index; i++) {
/linux-master/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c2148 u16 first_index, index; local
2150 first_index = first_tpd - (struct atl1c_tpd_desc *)tpd_ring->desc;
2151 index = first_index;
2160 tpd_ring->next_to_use = first_index;
/linux-master/fs/f2fs/
H A Dcompress.c1157 bool first_index = (index == cc.rpages[0]->index); local
1165 return first_index;

Completed in 226 milliseconds