/openbmc/linux/lib/ |
H A D | interval_tree.c | 36 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() argument 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 = new_index; in interval_tree_span_iter_advance()
|
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()
|
/openbmc/linux/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 | 129 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index,
|
H A D | mm.h | 3991 pgoff_t first_index, pgoff_t nr, 3998 pgoff_t first_index, pgoff_t nr);
|
/openbmc/linux/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 | 134 unsigned long first_index, unsigned long last_index) in interval_tree_double_span_iter_first() argument 142 first_index, last_index); in interval_tree_double_span_iter_first()
|
/openbmc/linux/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 | 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 D | filemap.c | 4181 pgoff_t first_index, pgoff_t last_index, struct cachestat *cs) in filemap_cachestat() argument 4183 XA_STATE(xas, &mapping->i_pages, first_index); in filemap_cachestat() 4212 if (folio_first_index < first_index) in filemap_cachestat() 4213 nr_pages -= first_index - folio_first_index; in filemap_cachestat() 4329 pgoff_t first_index, last_index; in SYSCALL_DEFINE4() local 4356 first_index = csr.off >> PAGE_SHIFT; in SYSCALL_DEFINE4() 4361 filemap_cachestat(mapping, first_index, last_index, &cs); in SYSCALL_DEFINE4()
|
H A D | memory.c | 3482 pgoff_t first_index, in unmap_mapping_range_tree() 3489 vma_interval_tree_foreach(vma, root, first_index, last_index) { in unmap_mapping_range_tree() 3492 zba = max(first_index, vba); in unmap_mapping_range_tree() 3517 pgoff_t first_index; in unmap_mapping_folio() 3522 first_index = folio->index; in unmap_mapping_folio() 3531 unmap_mapping_range_tree(&mapping->i_mmap, first_index, in unmap_mapping_folio() 3552 pgoff_t first_index = start; in unmap_mapping_pages() 3556 if (last_index < first_index) in unmap_mapping_pages() 3561 unmap_mapping_range_tree(&mapping->i_mmap, first_index, in unmap_mapping_pages() 3480 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 3515 pgoff_t first_index; unmap_mapping_folio() local 3550 pgoff_t first_index = start; unmap_mapping_pages() local
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_netdev.h | 437 int first_index, int count); 439 int first_index, int count); 441 int first_index, int count); 443 int first_index, int count);
|
H A D | ena_netdev.c | 181 int first_index, int count) in ena_init_io_rings() argument 189 for (i = first_index; i < first_index + count; i++) { in ena_init_io_rings() 313 int first_index, int count) in ena_setup_tx_resources_in_range() argument 317 for (i = first_index; i < first_index + count; i++) { in ena_setup_tx_resources_in_range() 331 while (first_index < i--) in ena_setup_tx_resources_in_range() 337 int first_index, int count) in ena_free_all_io_tx_resources_in_range() argument 341 for (i = first_index; i < first_index + count; i++) in ena_free_all_io_tx_resources_in_range() 1742 int first_index, in ena_del_napi_in_range() argument 1747 for (i = first_index; i < first_index + count; i++) { in ena_del_napi_in_range() 1756 int first_index, int count) in ena_init_napi_in_range() argument [all …]
|
/openbmc/qemu/contrib/elf2dmp/ |
H A D | pdb.h | 52 uint16_t first_index; member 62 uint32_t first_index; member
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_icache.c | 1649 uint32_t first_index; in xfs_icwalk_ag() local 1659 first_index = READ_ONCE(pag->pag_ici_reclaim_cursor); in xfs_icwalk_ag() 1661 first_index = 0; in xfs_icwalk_ag() 1671 (void **) batch, first_index, in xfs_icwalk_ag() 1703 first_index = XFS_INO_TO_AGINO(mp, ip->i_ino + 1); in xfs_icwalk_ag() 1704 if (first_index < XFS_INO_TO_AGINO(mp, ip->i_ino)) in xfs_icwalk_ag() 1739 first_index = 0; in xfs_icwalk_ag() 1740 WRITE_ONCE(pag->pag_ici_reclaim_cursor, first_index); in xfs_icwalk_ag()
|
/openbmc/linux/fs/btrfs/ |
H A D | defrag.c | 1031 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()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 2147 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()
|
/openbmc/qemu/target/riscv/ |
H A D | csr.c | 3997 static RISCVException read_hvipriox(CPURISCVState *env, int first_index, in read_hvipriox() argument 4003 if (first_index % num_irqs) { in read_hvipriox() 4011 if (riscv_cpu_hviprio_index2irq(first_index + i, &irq, &rdzero)) { in read_hvipriox() 4023 static RISCVException write_hvipriox(CPURISCVState *env, int first_index, in write_hvipriox() argument 4029 if (first_index % num_irqs) { in write_hvipriox() 4036 if (riscv_cpu_hviprio_index2irq(first_index + i, &irq, &rdzero)) { in write_hvipriox()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_ekanalyzer.c | 1959 int first_index = 0; in ipmi_ek_compare_asym() local 1962 if ((asym[first_index] == 0) && (asym[second_index] == 0)) { in ipmi_ek_compare_asym() 1964 } else if ((asym[first_index] & asym[second_index]) == 0) { in ipmi_ek_compare_asym()
|
/openbmc/linux/fs/f2fs/ |
H A D | compress.c | 1171 bool first_index = (index == cc.rpages[0]->index); in f2fs_compress_write_end() local 1179 return first_index; in f2fs_compress_write_end()
|