/openbmc/u-boot/fs/fat/ |
H A D | fat.c | 669 static int fat_itr_isdir(fat_itr *itr); 679 static int fat_itr_root(fat_itr *itr, fsdata *fsdata) in fat_itr_root() argument 684 itr->fsdata = fsdata; in fat_itr_root() 685 itr->start_clust = 0; in fat_itr_root() 686 itr->clust = fsdata->root_cluster; in fat_itr_root() 687 itr->next_clust = fsdata->root_cluster; in fat_itr_root() 688 itr->dent = NULL; in fat_itr_root() 689 itr->remaining = 0; in fat_itr_root() 690 itr->last_cluster = 0; in fat_itr_root() 691 itr->is_root = 1; in fat_itr_root() [all …]
|
H A D | fat_write.c | 212 static int flush_dir_table(fat_itr *itr); 219 fill_dir_slot(fat_itr *itr, const char *l_name) in fill_dir_slot() argument 227 checksum = mkcksum(itr->dent->name, itr->dent->ext); in fill_dir_slot() 242 memcpy(itr->dent, slotptr, sizeof(dir_slot)); in fill_dir_slot() 245 if (!fat_itr_next(itr)) in fill_dir_slot() 246 if (!itr->dent && !itr->is_root && flush_dir_table(itr)) in fill_dir_slot() 250 if (!itr->dent && !itr->is_root) in fill_dir_slot() 256 flush_dir_table(itr); in fill_dir_slot() 595 static int flush_dir_table(fat_itr *itr) in flush_dir_table() argument 597 fsdata *mydata = itr->fsdata; in flush_dir_table() [all …]
|
/openbmc/linux/tools/perf/arch/arm/util/ |
H A D | cs-etm.c | 38 struct auxtrace_record itr; member 69 static bool cs_etm_is_etmv4(struct auxtrace_record *itr, int cpu); 70 static bool cs_etm_is_ete(struct auxtrace_record *itr, int cpu); 72 static int cs_etm_validate_context_id(struct auxtrace_record *itr, in cs_etm_validate_context_id() argument 76 container_of(itr, struct cs_etm_recording, itr); in cs_etm_validate_context_id() 90 if (!cs_etm_is_etmv4(itr, cpu)) { in cs_etm_validate_context_id() 143 static int cs_etm_validate_timestamp(struct auxtrace_record *itr, in cs_etm_validate_timestamp() argument 147 container_of(itr, struct cs_etm_recording, itr); in cs_etm_validate_timestamp() 157 if (!cs_etm_is_etmv4(itr, cpu)) { in cs_etm_validate_timestamp() 197 static int cs_etm_validate_config(struct auxtrace_record *itr, in cs_etm_validate_config() argument [all …]
|
/openbmc/linux/tools/perf/arch/arm64/util/ |
H A D | hisi-ptt.c | 31 struct auxtrace_record itr; member 37 hisi_ptt_info_priv_size(struct auxtrace_record *itr __maybe_unused, in hisi_ptt_info_priv_size() 43 static int hisi_ptt_info_fill(struct auxtrace_record *itr, in hisi_ptt_info_fill() argument 49 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_info_fill() 96 static int hisi_ptt_recording_options(struct auxtrace_record *itr, in hisi_ptt_recording_options() argument 101 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_options() 147 static u64 hisi_ptt_reference(struct auxtrace_record *itr __maybe_unused) in hisi_ptt_reference() 152 static void hisi_ptt_recording_free(struct auxtrace_record *itr) in hisi_ptt_recording_free() argument 155 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_free() 177 pttr->itr.pmu = hisi_ptt_pmu; in hisi_ptt_recording_init() [all …]
|
H A D | arm-spe.c | 32 struct auxtrace_record itr; member 40 arm_spe_info_priv_size(struct auxtrace_record *itr __maybe_unused, in arm_spe_info_priv_size() 46 static int arm_spe_info_fill(struct auxtrace_record *itr, in arm_spe_info_fill() argument 52 container_of(itr, struct arm_spe_recording, itr); in arm_spe_info_fill() 116 static int arm_spe_recording_options(struct auxtrace_record *itr, in arm_spe_recording_options() argument 121 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_options() 261 static int arm_spe_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in arm_spe_parse_snapshot_options() 280 static int arm_spe_snapshot_start(struct auxtrace_record *itr) in arm_spe_snapshot_start() argument 283 container_of(itr, struct arm_spe_recording, itr); in arm_spe_snapshot_start() 293 static int arm_spe_snapshot_finish(struct auxtrace_record *itr) in arm_spe_snapshot_finish() argument [all …]
|
/openbmc/linux/tools/perf/arch/x86/util/ |
H A D | intel-bts.c | 40 struct auxtrace_record itr; member 56 intel_bts_info_priv_size(struct auxtrace_record *itr __maybe_unused, in intel_bts_info_priv_size() 62 static int intel_bts_info_fill(struct auxtrace_record *itr, in intel_bts_info_fill() argument 68 container_of(itr, struct intel_bts_recording, itr); in intel_bts_info_fill() 105 static int intel_bts_recording_options(struct auxtrace_record *itr, in intel_bts_recording_options() argument 110 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_options() 251 static int intel_bts_parse_snapshot_options(struct auxtrace_record *itr, in intel_bts_parse_snapshot_options() argument 256 container_of(itr, struct intel_bts_recording, itr); in intel_bts_parse_snapshot_options() 274 static u64 intel_bts_reference(struct auxtrace_record *itr __maybe_unused) in intel_bts_reference() 313 static void intel_bts_recording_free(struct auxtrace_record *itr) in intel_bts_recording_free() argument [all …]
|
H A D | intel-pt.c | 51 struct auxtrace_record itr; member 242 static int intel_pt_parse_snapshot_options(struct auxtrace_record *itr, in intel_pt_parse_snapshot_options() argument 247 container_of(itr, struct intel_pt_recording, itr); in intel_pt_parse_snapshot_options() 302 intel_pt_info_priv_size(struct auxtrace_record *itr, struct evlist *evlist) in intel_pt_info_priv_size() argument 305 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_priv_size() 324 static int intel_pt_info_fill(struct auxtrace_record *itr, in intel_pt_info_fill() argument 330 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_fill() 617 static int intel_pt_recording_options(struct auxtrace_record *itr, in intel_pt_recording_options() argument 622 container_of(itr, struct intel_pt_recording, itr); in intel_pt_recording_options() 902 static int intel_pt_snapshot_start(struct auxtrace_record *itr) in intel_pt_snapshot_start() argument [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_sdlb.c | 115 u32 itr, next; in sparx5_sdlb_group_get_last() local 117 itr = sparx5_sdlb_group_get_first(sparx5, group); in sparx5_sdlb_group_get_last() 120 next = sparx5_sdlb_group_get_next(sparx5, group, itr); in sparx5_sdlb_group_get_last() 121 if (itr == next) in sparx5_sdlb_group_get_last() 122 return itr; in sparx5_sdlb_group_get_last() 124 itr = next; in sparx5_sdlb_group_get_last() 141 u32 itr; in sparx5_sdlb_group_get_adjacent() local 146 itr = *first; in sparx5_sdlb_group_get_adjacent() 149 *next = sparx5_sdlb_group_get_next(sparx5, group, itr); in sparx5_sdlb_group_get_adjacent() 151 if (itr == idx) in sparx5_sdlb_group_get_adjacent() [all …]
|
H A D | sparx5_qos.c | 114 u32 itr, next; in sparx5_lg_get_last() local 116 itr = sparx5_lg_get_first(sparx5, layer, group); in sparx5_lg_get_last() 119 next = sparx5_lg_get_next(sparx5, layer, group, itr); in sparx5_lg_get_last() 120 if (itr == next) in sparx5_lg_get_last() 121 return itr; in sparx5_lg_get_last() 123 itr = next; in sparx5_lg_get_last() 167 u32 itr, next; in sparx5_lg_get_group_by_index() local 174 itr = sparx5_lg_get_first(sparx5, layer, i); in sparx5_lg_get_group_by_index() 177 next = sparx5_lg_get_next(sparx5, layer, i, itr); in sparx5_lg_get_group_by_index() 179 if (itr == idx) { in sparx5_lg_get_group_by_index() [all …]
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_dev_mgr.c | 36 struct list_head *itr; in adf_find_vf() local 38 list_for_each(itr, &vfs_table) { in adf_find_vf() 40 list_entry(itr, struct vf_id_map, list); in adf_find_vf() 50 struct list_head *itr; in adf_get_vf_real_id() local 52 list_for_each(itr, &vfs_table) { in adf_get_vf_real_id() 54 list_entry(itr, struct vf_id_map, list); in adf_get_vf_real_id() 100 struct list_head *itr; in adf_devmgr_update_class_index() local 103 list_for_each(itr, &accel_table) { in adf_devmgr_update_class_index() 105 list_entry(itr, struct adf_accel_dev, list); in adf_devmgr_update_class_index() 142 struct list_head *itr; in adf_devmgr_add_dev() local [all …]
|
H A D | qat_compression.c | 54 struct list_head *itr; in qat_compression_get_instance_node() local 56 list_for_each(itr, adf_devmgr_get_head()) { in qat_compression_get_instance_node() 61 tmp_dev = list_entry(itr, struct adf_accel_dev, list); in qat_compression_get_instance_node() 77 list_for_each(itr, adf_devmgr_get_head()) { in qat_compression_get_instance_node() 80 tmp_dev = list_entry(itr, struct adf_accel_dev, list); in qat_compression_get_instance_node() 93 list_for_each(itr, &accel_dev->compression_list) { in qat_compression_get_instance_node() 97 tmp_inst = list_entry(itr, struct qat_compression_instance, list); in qat_compression_get_instance_node()
|
/openbmc/linux/net/dcb/ |
H A D | dcbnl.c | 1143 struct dcb_app_type *itr; in dcbnl_ieee_fill() local 1225 list_for_each_entry(itr, &dcb_app_list, list) { in dcbnl_ieee_fill() 1226 if (itr->ifindex == netdev->ifindex) { in dcbnl_ieee_fill() 1228 dcbnl_app_attr_type_get(itr->app.selector); in dcbnl_ieee_fill() 1229 err = nla_put(skb, type, sizeof(itr->app), &itr->app); in dcbnl_ieee_fill() 1250 list_for_each_entry(itr, &dcb_rewr_list, list) { in dcbnl_ieee_fill() 1251 if (itr->ifindex == netdev->ifindex) { in dcbnl_ieee_fill() 1253 dcbnl_app_attr_type_get(itr->app.selector); in dcbnl_ieee_fill() 1254 err = nla_put(skb, type, sizeof(itr->app), &itr->app); in dcbnl_ieee_fill() 1366 struct dcb_app_type *itr; in dcbnl_cee_fill() local [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | auxtrace.h | 390 int (*recording_options)(struct auxtrace_record *itr, 393 size_t (*info_priv_size)(struct auxtrace_record *itr, 395 int (*info_fill)(struct auxtrace_record *itr, 399 void (*free)(struct auxtrace_record *itr); 400 int (*snapshot_start)(struct auxtrace_record *itr); 401 int (*snapshot_finish)(struct auxtrace_record *itr); 402 int (*find_snapshot)(struct auxtrace_record *itr, int idx, 405 int (*parse_snapshot_options)(struct auxtrace_record *itr, 408 u64 (*reference)(struct auxtrace_record *itr); 409 int (*read_finish)(struct auxtrace_record *itr, int idx); [all …]
|
H A D | auxtrace.c | 555 size_t auxtrace_record__info_priv_size(struct auxtrace_record *itr, in auxtrace_record__info_priv_size() argument 558 if (itr) in auxtrace_record__info_priv_size() 559 return itr->info_priv_size(itr, evlist); in auxtrace_record__info_priv_size() 569 int auxtrace_record__info_fill(struct auxtrace_record *itr, in auxtrace_record__info_fill() argument 574 if (itr) in auxtrace_record__info_fill() 575 return itr->info_fill(itr, session, auxtrace_info, priv_size); in auxtrace_record__info_fill() 579 void auxtrace_record__free(struct auxtrace_record *itr) in auxtrace_record__free() argument 581 if (itr) in auxtrace_record__free() 582 itr->free(itr); in auxtrace_record__free() 585 int auxtrace_record__snapshot_start(struct auxtrace_record *itr) in auxtrace_record__snapshot_start() argument [all …]
|
/openbmc/phosphor-networkd/test/ibm/hypervisor-network-mgr-test/ |
H A D | test_hyp_network_manager.cpp | 39 auto itr = biosAttrs.find("vmi_if0_ipv4_method"); in TEST_F() local 40 if (itr != biosAttrs.end()) in TEST_F() 42 std::string biosAttrValue = std::get<std::string>(itr->second); in TEST_F() 53 auto itr = biosAttrs.find("vmi_hostname"); in TEST_F() local 54 if (itr != biosAttrs.end()) in TEST_F() 56 std::string biosAttrValue = std::get<std::string>(itr->second); in TEST_F()
|
H A D | test_hyp_sys_config.cpp | 39 auto itr = biosAttrs.find("vmi_hostname"); in TEST_F() local 40 if (itr != biosAttrs.end()) in TEST_F() 42 std::string biosAttrValue = std::get<std::string>(itr->second); in TEST_F()
|
/openbmc/linux/tools/perf/arch/s390/util/ |
H A D | auxtrace.c | 19 static void cpumsf_free(struct auxtrace_record *itr) in cpumsf_free() argument 21 free(itr); in cpumsf_free() 24 static size_t cpumsf_info_priv_size(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_priv_size() 31 cpumsf_info_fill(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_fill() 41 cpumsf_reference(struct auxtrace_record *itr __maybe_unused) in cpumsf_reference() 76 cpumsf_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in cpumsf_parse_snapshot_options()
|
/openbmc/linux/drivers/platform/x86/intel/int1092/ |
H A D | intel_sar.c | 45 int itr = 0; in update_sar_data() local 47 for (itr = 0; itr < config->total_dev_mode; itr++) { in update_sar_data() 49 config->device_mode_info[itr].device_mode) { in update_sar_data() 51 &config->device_mode_info[itr]; in update_sar_data() 80 int value, itr, reg; in parse_package() local 99 for (itr = 0; itr < data->total_dev_mode; itr++) { in parse_package() 102 num = &item->package.elements[itr + 1]; in parse_package() 113 data->device_mode_info[itr] = temp; in parse_package()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | param.c | 335 adapter->itr = InterruptThrottleRate[bd]; in e1000e_check_options() 342 if ((adapter->itr > 4) && in e1000e_check_options() 343 e1000_validate_option(&adapter->itr, &opt, adapter)) in e1000e_check_options() 344 adapter->itr = opt.def; in e1000e_check_options() 349 adapter->itr = opt.def; in e1000e_check_options() 354 if (adapter->itr > 4) in e1000e_check_options() 357 adapter->itr); in e1000e_check_options() 360 adapter->itr_setting = adapter->itr; in e1000e_check_options() 361 switch (adapter->itr) { in e1000e_check_options() 369 adapter->itr = 20000; in e1000e_check_options() [all …]
|
/openbmc/openpower-hw-diags/analyzer/ |
H A D | filter-root-cause.cpp | 21 auto itr = std::find_if(i_list.begin(), i_list.end(), [&](const auto& t) { in __findRcsOscError() local 26 if (i_list.end() != itr) in __findRcsOscError() 28 o_rootCause = *itr; in __findRcsOscError() 419 auto itr = std::find_if(i_list.begin(), i_list.end(), [&](const auto& t) { in __findIueTh() local 426 if (i_list.end() != itr) in __findIueTh() 428 o_rootCause = *itr; in __findIueTh() 493 auto itr = std::find_if(list.begin(), list.end(), [&](const auto& t) { in rootCauseSpecialCases() local 496 if (list.end() != itr) in rootCauseSpecialCases() 498 o_rootCause = *itr; in rootCauseSpecialCases()
|
/openbmc/phosphor-fan-presence/control/json/ |
H A D | fan.cpp | 147 auto itr(std::find_if( in unlockTarget() local 151 if (_lockedTargets.end() != itr) in unlockTarget() 153 _lockedTargets.erase(itr); in unlockTarget() 158 itr = in unlockTarget() 164 setTarget(*itr); in unlockTarget()
|
/openbmc/openpower-hw-diags/analyzer/plugins/ |
H A D | plugin.hpp | 89 auto itr = iv_map.find(i_type); in add() local 90 if (iv_map.end() == itr || in add() 91 itr->second.end() == itr->second.find(i_name)) in add()
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_private.h | 58 void vcap_iter_init(struct vcap_stream_iter *itr, int sw_width, 60 void vcap_iter_next(struct vcap_stream_iter *itr); 61 void vcap_iter_set(struct vcap_stream_iter *itr, int sw_width, 63 void vcap_iter_update(struct vcap_stream_iter *itr);
|
/openbmc/qemu/target/openrisc/ |
H A D | mmu.c | 42 uint32_t itr = cpu->env.tlb.itlb[idx].tr; in get_phys_mmu() local 50 if (unlikely((itr ^ dtr) & TARGET_PAGE_MASK)) { in get_phys_mmu() 54 imr = itr = 0; in get_phys_mmu() 68 right = itr & (super ? SXE : UXE) ? PAGE_EXEC : 0; in get_phys_mmu() 77 *phys_addr = ((itr | dtr) & TARGET_PAGE_MASK) | (addr & ~TARGET_PAGE_MASK); in get_phys_mmu()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_param.c | 436 adapter->itr = InterruptThrottleRate[bd]; in e1000_check_options() 437 switch (adapter->itr) { in e1000_check_options() 444 adapter->itr_setting = adapter->itr; in e1000_check_options() 445 adapter->itr = 20000; in e1000_check_options() 450 adapter->itr_setting = adapter->itr; in e1000_check_options() 451 adapter->itr = 20000; in e1000_check_options() 456 adapter->itr_setting = adapter->itr; in e1000_check_options() 459 e1000_validate_option(&adapter->itr, &opt, in e1000_check_options() 466 adapter->itr_setting = adapter->itr & ~3; in e1000_check_options() 471 adapter->itr = 20000; in e1000_check_options()
|