/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | setup.c | 619 const int *indexes; in pseries_get_iov_fw_value() local 623 indexes = of_get_property(dn, "ibm,open-sriov-vf-bar-info", NULL); in pseries_get_iov_fw_value() 624 if (!indexes) in pseries_get_iov_fw_value() 632 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in pseries_get_iov_fw_value() 639 ret = of_read_number(&indexes[i], 2); in pseries_get_iov_fw_value() 642 ret = of_read_number(&indexes[i + APERTURE_PROPERTY], 2); in pseries_get_iov_fw_value() 645 ret = of_read_number(&indexes[i + WDW_SIZE_PROPERTY], 2); in pseries_get_iov_fw_value() 652 void of_pci_set_vf_bar_size(struct pci_dev *dev, const int *indexes) in of_pci_set_vf_bar_size() argument 658 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in of_pci_set_vf_bar_size() 663 base = of_read_number(&indexes[ in of_pci_set_vf_bar_size() 674 of_pci_parse_iov_addrs(struct pci_dev *dev, const int *indexes) of_pci_parse_iov_addrs() argument 720 const int *indexes; pseries_pci_fixup_resources() local 733 const int *indexes; pseries_pci_fixup_iov_resources() local [all...] |
H A D | pseries_energy.c | 79 * The first element of ibm,drc-indexes array is the in cpu_to_drc_index() 84 rc = of_property_read_u32_index(dn, "ibm,drc-indexes", in cpu_to_drc_index() 90 rc = of_property_read_u32_index(dn, "ibm,drc-indexes", in cpu_to_drc_index() 113 const int *indexes; in drc_index_to_cpu() local 153 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); in drc_index_to_cpu() 154 if (indexes == NULL) in drc_index_to_cpu() 161 for (i = 0; i < indexes[0]; i++) { in drc_index_to_cpu() 162 if (indexes[i + 1] == drc_index) in drc_index_to_cpu()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | setup.c | 666 const int *indexes; in pseries_get_iov_fw_value() local 670 indexes = of_get_property(dn, "ibm,open-sriov-vf-bar-info", NULL); in pseries_get_iov_fw_value() 671 if (!indexes) in pseries_get_iov_fw_value() 679 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in pseries_get_iov_fw_value() 686 ret = of_read_number(&indexes[i], 2); in pseries_get_iov_fw_value() 689 ret = of_read_number(&indexes[i + APERTURE_PROPERTY], 2); in pseries_get_iov_fw_value() 692 ret = of_read_number(&indexes[i + WDW_SIZE_PROPERTY], 2); in pseries_get_iov_fw_value() 699 static void of_pci_set_vf_bar_size(struct pci_dev *dev, const int *indexes) in of_pci_set_vf_bar_size() argument 705 num_res = of_read_number(&indexes[NUM_RES_PROPERTY], 1); in of_pci_set_vf_bar_size() 710 base = of_read_number(&indexes[ in of_pci_set_vf_bar_size() 721 of_pci_parse_iov_addrs(struct pci_dev *dev, const int *indexes) of_pci_parse_iov_addrs() argument 767 const int *indexes; pseries_pci_fixup_resources() local 780 const int *indexes; pseries_pci_fixup_iov_resources() local [all...] |
H A D | pseries_energy.c | 79 * The first element of ibm,drc-indexes array is the in cpu_to_drc_index() 84 rc = of_property_read_u32_index(dn, "ibm,drc-indexes", in cpu_to_drc_index() 90 rc = of_property_read_u32_index(dn, "ibm,drc-indexes", in cpu_to_drc_index() 113 const int *indexes; in drc_index_to_cpu() local 153 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); in drc_index_to_cpu() 154 if (indexes == NULL) in drc_index_to_cpu() 161 for (i = 0; i < indexes[0]; i++) { in drc_index_to_cpu() 162 if (indexes[i + 1] == drc_index) in drc_index_to_cpu()
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | rpaphp_core.c | 161 const __be32 *indexes, *names, *types, *domains; in get_children_props() local 163 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); in get_children_props() 168 if (!indexes || !names || !types || !domains) { in get_children_props() 173 *drc_indexes = indexes; in get_children_props() 197 const __be32 *indexes, *names; in rpaphp_check_drc_props_v1() local 201 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_check_drc_props_v1() 210 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { in rpaphp_check_drc_props_v1() 211 if (be32_to_cpu(indexes[i + 1]) == my_index) in rpaphp_check_drc_props_v1() 304 * @indexes 314 is_php_dn(struct device_node *dn, const __be32 **indexes, const __be32 **names, const __be32 **types, const __be32 **power_domains) is_php_dn() argument 378 const __be32 *indexes, *names, *types, *power_domains; rpaphp_drc_add_slot() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | rpaphp_core.c | 163 const __be32 *indexes, *names, *types, *domains; in get_children_props() local 165 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); in get_children_props() 170 if (!indexes || !names || !types || !domains) { in get_children_props() 175 *drc_indexes = indexes; in get_children_props() 199 const __be32 *indexes, *names; in rpaphp_check_drc_props_v1() local 203 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_check_drc_props_v1() 212 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { in rpaphp_check_drc_props_v1() 213 if (be32_to_cpu(indexes[i + 1]) == my_index) in rpaphp_check_drc_props_v1() 306 * @indexes 316 is_php_dn(struct device_node *dn, const __be32 **indexes, const __be32 **names, const __be32 **types, const __be32 **power_domains) is_php_dn() argument 380 const __be32 *indexes, *names, *types, *power_domains; rpaphp_drc_add_slot() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/ |
H A D | typhoon.c | 243 struct typhoon_indexes indexes __3xp_aligned; 268 struct typhoon_indexes *indexes; member 483 struct typhoon_indexes *indexes = tp->indexes; in typhoon_process_response() local 490 cleared = le32_to_cpu(indexes->respCleared); in typhoon_process_response() 491 ready = le32_to_cpu(indexes->respReady); in typhoon_process_response() 533 indexes->respCleared = cpu_to_le32(cleared); in typhoon_process_response() 553 int cmdCleared = le32_to_cpu(tp->indexes->cmdCleared); in typhoon_num_free_cmd() 561 int respReady = le32_to_cpu(tp->indexes->respReady); in typhoon_num_free_resp() 562 int respCleared = le32_to_cpu(tp->indexes in typhoon_num_free_resp() 578 struct typhoon_indexes *indexes = tp->indexes; typhoon_issue_command() local 1560 struct typhoon_indexes *indexes = tp->indexes; typhoon_recycle_rx_skb() local 1587 struct typhoon_indexes *indexes = tp->indexes; typhoon_alloc_rx_skb() local 1724 struct typhoon_indexes *indexes = tp->indexes; typhoon_poll() local 1962 struct typhoon_indexes *indexes = tp->indexes; typhoon_stop_runtime() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/3com/ |
H A D | typhoon.c | 238 struct typhoon_indexes indexes __3xp_aligned; 263 struct typhoon_indexes *indexes; member 478 struct typhoon_indexes *indexes = tp->indexes; in typhoon_process_response() local 485 cleared = le32_to_cpu(indexes->respCleared); in typhoon_process_response() 486 ready = le32_to_cpu(indexes->respReady); in typhoon_process_response() 528 indexes->respCleared = cpu_to_le32(cleared); in typhoon_process_response() 548 int cmdCleared = le32_to_cpu(tp->indexes->cmdCleared); in typhoon_num_free_cmd() 556 int respReady = le32_to_cpu(tp->indexes->respReady); in typhoon_num_free_resp() 557 int respCleared = le32_to_cpu(tp->indexes in typhoon_num_free_resp() 573 struct typhoon_indexes *indexes = tp->indexes; typhoon_issue_command() local 1557 struct typhoon_indexes *indexes = tp->indexes; typhoon_recycle_rx_skb() local 1584 struct typhoon_indexes *indexes = tp->indexes; typhoon_alloc_rx_skb() local 1721 struct typhoon_indexes *indexes = tp->indexes; typhoon_poll() local 1959 struct typhoon_indexes *indexes = tp->indexes; typhoon_stop_runtime() local [all...] |
/kernel/linux/linux-5.10/fs/squashfs/ |
H A D | xattr_id.c | 56 * Read uncompressed xattr id lookup table indexes from disk into memory 62 unsigned int len, indexes; in squashfs_read_xattr_id_table() local 83 indexes = SQUASHFS_XATTR_BLOCKS(*xattr_ids); in squashfs_read_xattr_id_table() 99 /* table[0], table[1], ... table[indexes - 1] store the locations in squashfs_read_xattr_id_table() 102 * should be SQUASHFS_METADATA_SIZE or less. table[indexes - 1] in squashfs_read_xattr_id_table() 108 for (n = 0; n < (indexes - 1); n++) { in squashfs_read_xattr_id_table() 119 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_xattr_id_table()
|
H A D | id.c | 14 * For space efficiency regular files store uid and gid indexes, which are 58 * Read uncompressed id lookup table indexes from disk into memory 64 unsigned int indexes = SQUASHFS_ID_BLOCKS(no_ids); in squashfs_read_id_index_table() local 89 * table[0], table[1], ... table[indexes - 1] store the locations in squashfs_read_id_index_table() 92 * should be SQUASHFS_METADATA_SIZE or less. table[indexes - 1] in squashfs_read_id_index_table() 96 for (n = 0; n < (indexes - 1); n++) { in squashfs_read_id_index_table() 107 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_id_index_table()
|
H A D | export.c | 113 * Read uncompressed inode lookup table indexes off disk into memory 119 unsigned int indexes = SQUASHFS_LOOKUP_BLOCKS(inodes); in squashfs_read_inode_lookup_table() local 144 * table0], table[1], ... table[indexes - 1] store the locations in squashfs_read_inode_lookup_table() 148 * table[indexes - 1] should be less than lookup_table_start, and in squashfs_read_inode_lookup_table() 151 for (n = 0; n < (indexes - 1); n++) { in squashfs_read_inode_lookup_table() 163 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_inode_lookup_table()
|
/kernel/linux/linux-6.6/fs/squashfs/ |
H A D | xattr_id.c | 56 * Read uncompressed xattr id lookup table indexes from disk into memory 62 unsigned int len, indexes; in squashfs_read_xattr_id_table() local 83 indexes = SQUASHFS_XATTR_BLOCKS(*xattr_ids); in squashfs_read_xattr_id_table() 99 /* table[0], table[1], ... table[indexes - 1] store the locations in squashfs_read_xattr_id_table() 102 * should be SQUASHFS_METADATA_SIZE or less. table[indexes - 1] in squashfs_read_xattr_id_table() 108 for (n = 0; n < (indexes - 1); n++) { in squashfs_read_xattr_id_table() 119 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_xattr_id_table()
|
H A D | id.c | 14 * For space efficiency regular files store uid and gid indexes, which are 58 * Read uncompressed id lookup table indexes from disk into memory 64 unsigned int indexes = SQUASHFS_ID_BLOCKS(no_ids); in squashfs_read_id_index_table() local 89 * table[0], table[1], ... table[indexes - 1] store the locations in squashfs_read_id_index_table() 92 * should be SQUASHFS_METADATA_SIZE or less. table[indexes - 1] in squashfs_read_id_index_table() 96 for (n = 0; n < (indexes - 1); n++) { in squashfs_read_id_index_table() 107 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_id_index_table()
|
H A D | export.c | 113 * Read uncompressed inode lookup table indexes off disk into memory 119 unsigned int indexes = SQUASHFS_LOOKUP_BLOCKS(inodes); in squashfs_read_inode_lookup_table() local 144 * table0], table[1], ... table[indexes - 1] store the locations in squashfs_read_inode_lookup_table() 148 * table[indexes - 1] should be less than lookup_table_start, and in squashfs_read_inode_lookup_table() 151 for (n = 0; n < (indexes - 1); n++) { in squashfs_read_inode_lookup_table() 163 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_inode_lookup_table()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-table.c | 202 /* free the indexes */ in dm_table_destroy() 1080 sector_t *indexes; in setup_indexes() local 1082 /* allocate the space for *all* the indexes */ in setup_indexes() 1088 indexes = (sector_t *) dm_vcalloc(total, (unsigned long) NODE_SIZE); in setup_indexes() 1089 if (!indexes) in setup_indexes() 1094 t->index[i] = indexes; in setup_indexes() 1095 indexes += (KEYS_PER_NODE * t->counts[i]); in setup_indexes() 1110 /* how many indexes will the btree have ? */ in dm_table_build_index()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-table.c | 188 /* free the indexes */ in dm_table_destroy() 1077 sector_t *indexes; in setup_indexes() local 1079 /* allocate the space for *all* the indexes */ in setup_indexes() 1085 indexes = kvcalloc(total, NODE_SIZE, GFP_KERNEL); in setup_indexes() 1086 if (!indexes) in setup_indexes() 1091 t->index[i] = indexes; in setup_indexes() 1092 indexes += (KEYS_PER_NODE * t->counts[i]); in setup_indexes() 1107 /* how many indexes will the btree have ? */ in dm_table_build_index()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_hv_rm_mmu.c | 563 long int i, j, k, n, found, indexes[4]; in kvmppc_h_bulk_remove() local 646 indexes[n] = j; in kvmppc_h_bulk_remove() 660 j = indexes[k]; in kvmppc_h_bulk_remove()
|
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_hv_rm_mmu.c | 561 long int i, j, k, n, found, indexes[4]; in kvmppc_h_bulk_remove() local 644 indexes[n] = j; in kvmppc_h_bulk_remove() 658 j = indexes[k]; in kvmppc_h_bulk_remove()
|
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 3840 # Key to sort table model indexes by row / column, assuming fewer than 1000 columns 3850 indexes = sorted(view.selectedIndexes(), key=RowColumnKey) 3851 idx_cnt = len(indexes) 3856 min_row = indexes[0].row() 3857 max_row = indexes[0].row() 3858 min_col = indexes[0].column() 3859 max_col = indexes[0].column() 3860 for i in indexes: 3868 for i in indexes: 3875 model = indexes[ [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 3841 # Key to sort table model indexes by row / column, assuming fewer than 1000 columns 3851 indexes = sorted(view.selectedIndexes(), key=RowColumnKey) 3852 idx_cnt = len(indexes) 3857 min_row = indexes[0].row() 3858 max_row = indexes[0].row() 3859 min_col = indexes[0].column() 3860 max_col = indexes[0].column() 3861 for i in indexes: 3869 for i in indexes: 3876 model = indexes[ [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | devmap.c | 42 * indexes these using a hashmap. This allows maps that use ifindex as key to be 576 /* Get ifindex of each upper device. 'indexes' must be able to hold at 580 static int get_upper_ifindexes(struct net_device *dev, int *indexes) in get_upper_ifindexes() argument 587 indexes[n++] = upper->ifindex; in get_upper_ifindexes()
|