Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/lib/
H A Dinterval_tree.c36 cur = interval_tree_iter_next(cur, state->first_index, in interval_tree_span_iter_next_gap()
45 unsigned long first_index, in interval_tree_span_iter_first()
48 iter->first_index = first_index; in interval_tree_span_iter_first()
52 interval_tree_iter_first(itree, first_index, last_index); in interval_tree_span_iter_first()
55 iter->start_hole = first_index; in interval_tree_span_iter_first()
60 if (iter->nodes[1]->start > first_index) { in interval_tree_span_iter_first()
62 iter->start_hole = first_index; in interval_tree_span_iter_first()
70 iter->start_used = first_index; in interval_tree_span_iter_first()
131 iter->first_index in interval_tree_span_iter_advance()
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) interval_tree_span_iter_first() argument
[all...]
H A Dradix-tree.c1245 * @first_index: start the lookup from this key
1263 unsigned long first_index, unsigned int max_items) in radix_tree_gang_lookup()
1272 radix_tree_for_each_slot(slot, root, &iter, first_index) { in radix_tree_gang_lookup()
1293 * @first_index: start the lookup from this key
1303 unsigned long first_index, unsigned int max_items, in radix_tree_gang_lookup_tag()
1313 radix_tree_for_each_tagged(slot, root, &iter, first_index, tag) { in radix_tree_gang_lookup_tag()
1334 * @first_index: start the lookup from this key
1344 void __rcu ***results, unsigned long first_index, in radix_tree_gang_lookup_tag_slot()
1354 radix_tree_for_each_tagged(slot, root, &iter, first_index, tag) { in radix_tree_gang_lookup_tag_slot()
1262 radix_tree_gang_lookup(const struct radix_tree_root *root, void **results, unsigned long first_index, unsigned int max_items) radix_tree_gang_lookup() 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) radix_tree_gang_lookup_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) radix_tree_gang_lookup_tag_slot() argument
/kernel/linux/linux-6.6/include/linux/
H A Dinterval_tree.h52 unsigned long first_index; member
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 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.h129 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index,
/kernel/linux/linux-6.6/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); \
/kernel/linux/linux-5.10/mm/
H A Dmapping_dirty_helpers.c263 * @first_index: The first page offset in the range
275 pgoff_t first_index, pgoff_t nr) in wp_shared_mapping_range()
280 WARN_ON(walk_page_mapping(mapping, first_index, nr, &wp_walk_ops, in wp_shared_mapping_range()
292 * @first_index: The first page offset in the range
296 * cover the whole range @first_index..@first_index + @nr.
324 pgoff_t first_index, pgoff_t nr, in clean_record_shared_mapping_range()
340 WARN_ON(walk_page_mapping(mapping, first_index, nr, &clean_walk_ops, in clean_record_shared_mapping_range()
274 wp_shared_mapping_range(struct address_space *mapping, pgoff_t first_index, pgoff_t nr) wp_shared_mapping_range() argument
323 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) clean_record_shared_mapping_range() argument
H A Dpagewalk.c491 * @first_index: First page offset in the address_space
518 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index, in walk_page_mapping() argument
532 vma_interval_tree_foreach(vma, &mapping->i_mmap, first_index, in walk_page_mapping()
533 first_index + nr - 1) { in walk_page_mapping()
537 cba = first_index; in walk_page_mapping()
539 cea = first_index + nr; in walk_page_mapping()
/kernel/linux/linux-6.6/mm/
H A Dmapping_dirty_helpers.c252 * @first_index: The first page offset in the range
264 pgoff_t first_index, pgoff_t nr) in wp_shared_mapping_range()
269 WARN_ON(walk_page_mapping(mapping, first_index, nr, &wp_walk_ops, in wp_shared_mapping_range()
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, in clean_record_shared_mapping_range()
330 WARN_ON(walk_page_mapping(mapping, first_index, nr, &clean_walk_ops, in clean_record_shared_mapping_range()
263 wp_shared_mapping_range(struct address_space *mapping, pgoff_t first_index, pgoff_t nr) wp_shared_mapping_range() 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) clean_record_shared_mapping_range() argument
H A Dpagewalk.c606 * @first_index: First page offset in the address_space
633 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index, in walk_page_mapping() argument
647 vma_interval_tree_foreach(vma, &mapping->i_mmap, first_index, in walk_page_mapping()
648 first_index + nr - 1) { in walk_page_mapping()
652 cba = first_index; in walk_page_mapping()
654 cea = first_index + nr; in walk_page_mapping()
H A Dfilemap.c4145 * @first_index: The starting page cache index.
4150 * page range of [first_index, last_index] (inclusive). The statistics
4155 pgoff_t first_index, pgoff_t last_index, struct cachestat *cs) in filemap_cachestat()
4157 XA_STATE(xas, &mapping->i_pages, first_index); in filemap_cachestat()
4186 if (folio_first_index < first_index) in filemap_cachestat()
4187 nr_pages -= first_index - folio_first_index; in filemap_cachestat()
4273 pgoff_t first_index, last_index; in SYSCALL_DEFINE4() local
4295 first_index = csr.off >> PAGE_SHIFT; in SYSCALL_DEFINE4()
4300 filemap_cachestat(mapping, first_index, last_index, &cs); in SYSCALL_DEFINE4()
4154 filemap_cachestat(struct address_space *mapping, pgoff_t first_index, pgoff_t last_index, struct cachestat *cs) filemap_cachestat() argument
H A Dmemory.c3479 pgoff_t first_index, in unmap_mapping_range_tree()
3486 vma_interval_tree_foreach(vma, root, first_index, last_index) { in unmap_mapping_range_tree()
3489 zba = max(first_index, vba); in unmap_mapping_range_tree()
3514 pgoff_t first_index; in unmap_mapping_folio() local
3519 first_index = folio->index; in unmap_mapping_folio()
3528 unmap_mapping_range_tree(&mapping->i_mmap, first_index, in unmap_mapping_folio()
3549 pgoff_t first_index = start; in unmap_mapping_pages() local
3553 if (last_index < first_index) in unmap_mapping_pages()
3558 unmap_mapping_range_tree(&mapping->i_mmap, first_index, in unmap_mapping_pages()
3478 unmap_mapping_range_tree(struct rb_root_cached *root, pgoff_t first_index, pgoff_t last_index, struct zap_details *details) unmap_mapping_range_tree() argument
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_icache.c780 uint32_t first_index; in xfs_inode_walk_ag() local
789 first_index = 0; in xfs_inode_walk_ag()
800 (void **)batch, first_index, in xfs_inode_walk_ag()
805 (void **) batch, first_index, in xfs_inode_walk_ag()
837 first_index = XFS_INO_TO_AGINO(mp, ip->i_ino + 1); in xfs_inode_walk_ag()
838 if (first_index < XFS_INO_TO_AGINO(mp, ip->i_ino)) in xfs_inode_walk_ag()
1129 unsigned long first_index = 0; in xfs_reclaim_inodes_ag() local
1135 first_index = READ_ONCE(pag->pag_ici_reclaim_cursor); in xfs_reclaim_inodes_ag()
1143 (void **)batch, first_index, in xfs_reclaim_inodes_ag()
1179 first_index in xfs_reclaim_inodes_ag()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dradix-tree.h235 void **results, unsigned long first_index,
249 void **results, unsigned long first_index,
252 void __rcu ***results, unsigned long first_index,
H A Dpagewalk.h104 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index,
H A Dmm.h1681 pgoff_t first_index; /* Lowest page->index to unmap */ member
3218 pgoff_t first_index, pgoff_t nr,
3225 pgoff_t first_index, pgoff_t nr);
/kernel/linux/linux-5.10/fs/f2fs/
H A Dtrace.c132 static unsigned int gang_lookup_pids(pid_t *results, unsigned long first_index, in gang_lookup_pids() argument
142 radix_tree_for_each_slot(slot, &pids, &iter, first_index) { in gang_lookup_pids()
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c52 int first_index, int count);
53 static void ena_init_napi_in_range(struct ena_adapter *adapter, int first_index,
55 static void ena_del_napi_in_range(struct ena_adapter *adapter, int first_index,
59 int first_index,
67 int first_index, int count);
69 int first_index, int count);
79 int first_index, int count);
81 int first_index, int count);
619 int first_index, int count) in ena_init_io_rings()
627 for (i = first_index; in ena_init_io_rings()
618 ena_init_io_rings(struct ena_adapter *adapter, int first_index, int count) ena_init_io_rings() argument
746 ena_setup_tx_resources_in_range(struct ena_adapter *adapter, int first_index, int count) ena_setup_tx_resources_in_range() argument
771 ena_free_all_io_tx_resources_in_range(struct ena_adapter *adapter, int first_index, int count) ena_free_all_io_tx_resources_in_range() argument
2158 ena_del_napi_in_range(struct ena_adapter *adapter, int first_index, int count) ena_del_napi_in_range() argument
2172 ena_init_napi_in_range(struct ena_adapter *adapter, int first_index, int count) ena_init_napi_in_range() argument
2195 ena_napi_disable_in_range(struct ena_adapter *adapter, int first_index, int count) ena_napi_disable_in_range() argument
2205 ena_napi_enable_in_range(struct ena_adapter *adapter, int first_index, int count) ena_napi_enable_in_range() argument
2318 ena_create_io_tx_queues_in_range(struct ena_adapter *adapter, int first_index, int count) ena_create_io_tx_queues_in_range() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c49 int first_index, int count);
50 static void ena_init_napi_in_range(struct ena_adapter *adapter, int first_index,
52 static void ena_del_napi_in_range(struct ena_adapter *adapter, int first_index,
56 int first_index,
64 int first_index, int count);
66 int first_index, int count);
76 int first_index, int count);
78 int first_index, int count);
692 int first_index, int count) in ena_init_io_rings()
700 for (i = first_index; in ena_init_io_rings()
691 ena_init_io_rings(struct ena_adapter *adapter, int first_index, int count) ena_init_io_rings() argument
823 ena_setup_tx_resources_in_range(struct ena_adapter *adapter, int first_index, int count) ena_setup_tx_resources_in_range() argument
848 ena_free_all_io_tx_resources_in_range(struct ena_adapter *adapter, int first_index, int count) ena_free_all_io_tx_resources_in_range() argument
2320 ena_del_napi_in_range(struct ena_adapter *adapter, int first_index, int count) ena_del_napi_in_range() argument
2334 ena_init_napi_in_range(struct ena_adapter *adapter, int first_index, int count) ena_init_napi_in_range() argument
2355 ena_napi_disable_in_range(struct ena_adapter *adapter, int first_index, int count) ena_napi_disable_in_range() argument
2365 ena_napi_enable_in_range(struct ena_adapter *adapter, int first_index, int count) ena_napi_enable_in_range() argument
2478 ena_create_io_tx_queues_in_range(struct ena_adapter *adapter, int first_index, int count) ena_create_io_tx_queues_in_range() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_icache.c1640 uint32_t first_index; in xfs_icwalk_ag() local
1650 first_index = READ_ONCE(pag->pag_ici_reclaim_cursor); in xfs_icwalk_ag()
1652 first_index = 0; in xfs_icwalk_ag()
1662 (void **) batch, first_index, in xfs_icwalk_ag()
1694 first_index = XFS_INO_TO_AGINO(mp, ip->i_ino + 1); in xfs_icwalk_ag()
1695 if (first_index < XFS_INO_TO_AGINO(mp, ip->i_ino)) in xfs_icwalk_ag()
1730 first_index = 0; in xfs_icwalk_ag()
1731 WRITE_ONCE(pag->pag_ici_reclaim_cursor, first_index); in xfs_icwalk_ag()
/kernel/linux/linux-5.10/lib/
H A Dradix-tree.c1242 * @first_index: start the lookup from this key
1260 unsigned long first_index, unsigned int max_items) in radix_tree_gang_lookup()
1269 radix_tree_for_each_slot(slot, root, &iter, first_index) { in radix_tree_gang_lookup()
1290 * @first_index: start the lookup from this key
1300 unsigned long first_index, unsigned int max_items, in radix_tree_gang_lookup_tag()
1310 radix_tree_for_each_tagged(slot, root, &iter, first_index, tag) { in radix_tree_gang_lookup_tag()
1331 * @first_index: start the lookup from this key
1341 void __rcu ***results, unsigned long first_index, in radix_tree_gang_lookup_tag_slot()
1351 radix_tree_for_each_tagged(slot, root, &iter, first_index, tag) { in radix_tree_gang_lookup_tag_slot()
1259 radix_tree_gang_lookup(const struct radix_tree_root *root, void **results, unsigned long first_index, unsigned int max_items) radix_tree_gang_lookup() argument
1299 radix_tree_gang_lookup_tag(const struct radix_tree_root *root, void **results, unsigned long first_index, unsigned int max_items, unsigned int tag) radix_tree_gang_lookup_tag() argument
1340 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) radix_tree_gang_lookup_tag_slot() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
H A Dlan743x_main.c2076 int first_index = -1; in lan743x_rx_process_packet() local
2093 first_index = rx->last_head; in lan743x_rx_process_packet()
2099 index = lan743x_rx_next_index(rx, first_index); in lan743x_rx_process_packet()
2133 first_index = -1; in lan743x_rx_process_packet()
2139 if (first_index >= 0 && last_index >= 0) { in lan743x_rx_process_packet()
2146 if (first_index == last_index) { in lan743x_rx_process_packet()
2158 lan743x_rx_reuse_ring_element(rx, first_index); in lan743x_rx_process_packet()
2162 buffer_info = &rx->buffer_info[first_index]; in lan743x_rx_process_packet()
2164 descriptor = &rx->ring_cpu_ptr[first_index]; in lan743x_rx_process_packet()
2181 lan743x_rx_init_ring_element(rx, first_index, new_sk in lan743x_rx_process_packet()
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Ddefrag.c1031 unsigned long first_index = page_index(pages[0]); in defrag_one_locked_target() local
1035 ASSERT(last_index - first_index + 1 <= nr_pages); in defrag_one_locked_target()
1047 for (i = start_index - first_index; i <= last_index - first_index; i++) { in defrag_one_locked_target()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c2075 u16 first_index, index; in atl1c_tx_rollback() local
2077 first_index = first_tpd - (struct atl1c_tpd_desc *)tpd_ring->desc; in atl1c_tx_rollback()
2078 index = first_index; in atl1c_tx_rollback()
2087 tpd_ring->next_to_use = first_index; in atl1c_tx_rollback()
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c2147 u16 first_index, index; in atl1c_tx_rollback() local
2149 first_index = first_tpd - (struct atl1c_tpd_desc *)tpd_ring->desc; in atl1c_tx_rollback()
2150 index = first_index; in atl1c_tx_rollback()
2159 tpd_ring->next_to_use = first_index; in atl1c_tx_rollback()

Completed in 49 milliseconds

12