Home
last modified time | relevance | path

Searched refs:itr (Results 1 – 25 of 60) sorted by relevance

123

/linux/tools/perf/arch/arm64/util/
H A Dhisi-ptt.c32 struct auxtrace_record itr; member
38 hisi_ptt_info_priv_size(struct auxtrace_record *itr __maybe_unused, in hisi_ptt_info_priv_size()
44 static int hisi_ptt_info_fill(struct auxtrace_record *itr, in hisi_ptt_info_fill() argument
50 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_info_fill()
97 static int hisi_ptt_recording_options(struct auxtrace_record *itr, in hisi_ptt_recording_options() argument
102 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_options()
148 static u64 hisi_ptt_reference(struct auxtrace_record *itr __maybe_unused) in hisi_ptt_reference()
153 static void hisi_ptt_recording_free(struct auxtrace_record *itr) in hisi_ptt_recording_free() argument
[all...]
H A Darm-spe.c37 struct auxtrace_record itr; member
80 arm_spe_info_priv_size(struct auxtrace_record *itr __maybe_unused, in arm_spe_info_priv_size()
97 static int arm_spe_save_cpu_header(struct auxtrace_record *itr, in arm_spe_save_cpu_header() argument
101 container_of(itr, struct arm_spe_recording, itr); in arm_spe_save_cpu_header()
142 static int arm_spe_info_fill(struct auxtrace_record *itr, in arm_spe_info_fill() argument
151 container_of(itr, struct arm_spe_recording, itr); in arm_spe_info_fill()
157 if (priv_size != arm_spe_info_priv_size(itr, session->evlist)) in arm_spe_info_fill()
178 ret = arm_spe_save_cpu_header(itr, cp in arm_spe_info_fill()
391 arm_spe_recording_options(struct auxtrace_record * itr,struct evlist * evlist,struct record_opts * opts) arm_spe_recording_options() argument
464 arm_spe_snapshot_start(struct auxtrace_record * itr) arm_spe_snapshot_start() argument
481 arm_spe_snapshot_finish(struct auxtrace_record * itr) arm_spe_snapshot_finish() argument
584 arm_spe_find_snapshot(struct auxtrace_record * itr,int idx,struct auxtrace_mmap * mm,unsigned char * data,u64 * head,u64 * old) arm_spe_find_snapshot() argument
647 arm_spe_recording_free(struct auxtrace_record * itr) arm_spe_recording_free() argument
[all...]
/linux/tools/perf/arch/x86/util/
H A Dintel-bts.c44 struct auxtrace_record itr;
60 intel_bts_info_priv_size(struct auxtrace_record *itr __maybe_unused, in intel_bts_info_priv_size()
66 static int intel_bts_info_fill(struct auxtrace_record *itr, in intel_bts_info_fill()
72 container_of(itr, struct intel_bts_recording, itr); in intel_bts_info_fill()
109 static int intel_bts_recording_options(struct auxtrace_record *itr, in intel_bts_recording_options()
114 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_options()
255 static int intel_bts_parse_snapshot_options(struct auxtrace_record *itr, in intel_bts_parse_snapshot_options()
260 container_of(itr, struc in intel_bts_parse_snapshot_options()
40 struct auxtrace_record itr; global() member
62 intel_bts_info_fill(struct auxtrace_record * itr,struct perf_session * session,struct perf_record_auxtrace_info * auxtrace_info,size_t priv_size) intel_bts_info_fill() argument
105 intel_bts_recording_options(struct auxtrace_record * itr,struct evlist * evlist,struct record_opts * opts) intel_bts_recording_options() argument
251 intel_bts_parse_snapshot_options(struct auxtrace_record * itr,struct record_opts * opts,const char * str) intel_bts_parse_snapshot_options() argument
313 intel_bts_recording_free(struct auxtrace_record * itr) intel_bts_recording_free() argument
322 intel_bts_snapshot_start(struct auxtrace_record * itr) intel_bts_snapshot_start() argument
335 intel_bts_snapshot_finish(struct auxtrace_record * itr) intel_bts_snapshot_finish() argument
365 intel_bts_find_snapshot(struct auxtrace_record * itr,int idx,struct auxtrace_mmap * mm,unsigned char * data,u64 * head,u64 * old) intel_bts_find_snapshot() argument
[all...]
H A Dintel-pt.c55 struct auxtrace_record itr;
243 static int intel_pt_parse_snapshot_options(struct auxtrace_record *itr, in intel_pt_parse_snapshot_options()
248 container_of(itr, struct intel_pt_recording, itr); in intel_pt_parse_snapshot_options()
300 intel_pt_info_priv_size(struct auxtrace_record *itr, struct evlist *evlist) in intel_pt_info_priv_size()
303 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_priv_size()
322 static int intel_pt_info_fill(struct auxtrace_record *itr, in intel_pt_info_fill()
328 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_fill()
52 struct auxtrace_record itr; global() member
240 intel_pt_parse_snapshot_options(struct auxtrace_record * itr,struct record_opts * opts,const char * str) intel_pt_parse_snapshot_options() argument
297 intel_pt_info_priv_size(struct auxtrace_record * itr,struct evlist * evlist) intel_pt_info_priv_size() argument
319 intel_pt_info_fill(struct auxtrace_record * itr,struct perf_session * session,struct perf_record_auxtrace_info * auxtrace_info,size_t priv_size) intel_pt_info_fill() argument
612 intel_pt_recording_options(struct auxtrace_record * itr,struct evlist * evlist,struct record_opts * opts) intel_pt_recording_options() argument
896 intel_pt_snapshot_start(struct auxtrace_record * itr) intel_pt_snapshot_start() argument
909 intel_pt_snapshot_finish(struct auxtrace_record * itr) intel_pt_snapshot_finish() argument
955 intel_pt_recording_free(struct auxtrace_record * itr) intel_pt_recording_free() argument
1112 intel_pt_find_snapshot(struct auxtrace_record * itr,int idx,struct auxtrace_mmap * mm,unsigned char * data,u64 * head,u64 * old) intel_pt_find_snapshot() argument
[all...]
/linux/tools/perf/arch/arm/util/
H A Dcs-etm.c40 struct auxtrace_record itr;
185 static struct perf_pmu *cs_etm_get_pmu(struct auxtrace_record *itr) in cs_etm_get_pmu()
187 struct cs_etm_recording *ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_get_pmu()
242 static int cs_etm_parse_snapshot_options(struct auxtrace_record *itr, in cs_etm_parse_snapshot_options()
247 container_of(itr, struct cs_etm_recording, itr); in cs_etm_parse_snapshot_options()
319 static int cs_etm_recording_options(struct auxtrace_record *itr, in cs_etm_recording_options()
325 container_of(itr, struct cs_etm_recording, itr); in cs_etm_recording_options()
38 struct auxtrace_record itr; global() member
183 cs_etm_get_pmu(struct auxtrace_record * itr) cs_etm_get_pmu() argument
240 cs_etm_parse_snapshot_options(struct auxtrace_record * itr,struct record_opts * opts,const char * str) cs_etm_parse_snapshot_options() argument
317 cs_etm_recording_options(struct auxtrace_record * itr,struct evlist * evlist,struct record_opts * opts) cs_etm_recording_options() argument
486 cs_etm_synth_etmcr(struct auxtrace_record * itr) cs_etm_synth_etmcr() argument
513 cs_etmv4_synth_trcconfigr(struct auxtrace_record * itr) cs_etmv4_synth_trcconfigr() argument
547 cs_etm_info_priv_size(struct auxtrace_record * itr,struct evlist * evlist) cs_etm_info_priv_size() argument
659 cs_etm_save_etmv4_header(__u64 data[],struct auxtrace_record * itr,struct perf_cpu cpu) cs_etm_save_etmv4_header() argument
691 cs_etm_save_ete_header(__u64 data[],struct auxtrace_record * itr,struct perf_cpu cpu) cs_etm_save_ete_header() argument
723 cs_etm_get_metadata(struct perf_cpu cpu,u32 * offset,struct auxtrace_record * itr,struct perf_record_auxtrace_info * info) cs_etm_get_metadata() argument
782 cs_etm_info_fill(struct auxtrace_record * itr,struct perf_session * session,struct perf_record_auxtrace_info * info,size_t priv_size) cs_etm_info_fill() argument
840 cs_etm_snapshot_start(struct auxtrace_record * itr) cs_etm_snapshot_start() argument
852 cs_etm_snapshot_finish(struct auxtrace_record * itr) cs_etm_snapshot_finish() argument
871 cs_etm_recording_free(struct auxtrace_record * itr) cs_etm_recording_free() argument
[all...]
/linux/net/dcb/
H A Ddcbnl.c1142 struct dcb_app_type *itr; in dcbnl_ieee_fill() local
1224 list_for_each_entry(itr, &dcb_app_list, list) { in dcbnl_ieee_fill()
1225 if (itr->ifindex == netdev->ifindex) { in dcbnl_ieee_fill()
1227 dcbnl_app_attr_type_get(itr->app.selector); in dcbnl_ieee_fill()
1228 err = nla_put(skb, type, sizeof(itr->app), &itr->app); in dcbnl_ieee_fill()
1249 list_for_each_entry(itr, &dcb_rewr_list, list) { in dcbnl_ieee_fill()
1250 if (itr->ifindex == netdev->ifindex) { in dcbnl_ieee_fill()
1252 dcbnl_app_attr_type_get(itr->app.selector); in dcbnl_ieee_fill()
1253 err = nla_put(skb, type, sizeof(itr->app), &itr->app); in dcbnl_ieee_fill()
1365 struct dcb_app_type *itr; in dcbnl_cee_fill() local
[all …]
/linux/tools/perf/util/
H A Dauxtrace.h388 int (*recording_options)(struct auxtrace_record *itr,
391 size_t (*info_priv_size)(struct auxtrace_record *itr,
393 int (*info_fill)(struct auxtrace_record *itr,
397 void (*free)(struct auxtrace_record *itr);
398 int (*snapshot_start)(struct auxtrace_record *itr);
399 int (*snapshot_finish)(struct auxtrace_record *itr);
400 int (*find_snapshot)(struct auxtrace_record *itr, int idx,
403 int (*parse_snapshot_options)(struct auxtrace_record *itr,
406 u64 (*reference)(struct auxtrace_record *itr);
407 int (*read_finish)(struct auxtrace_record *itr, int idx);
[all …]
H A Dauxtrace.c580 size_t auxtrace_record__info_priv_size(struct auxtrace_record *itr, in auxtrace_record__info_priv_size()
583 if (itr) in auxtrace_not_supported()
584 return itr->info_priv_size(itr, evlist); in auxtrace_not_supported()
594 int auxtrace_record__info_fill(struct auxtrace_record *itr, in auxtrace_record__info_fill()
599 if (itr) in auxtrace_record__free()
600 return itr->info_fill(itr, session, auxtrace_info, priv_size); in auxtrace_record__free()
604 void auxtrace_record__free(struct auxtrace_record *itr) in auxtrace_record__snapshot_start() argument
606 if (itr) in auxtrace_record__snapshot_start()
574 auxtrace_record__info_priv_size(struct auxtrace_record * itr,struct evlist * evlist) auxtrace_record__info_priv_size() argument
588 auxtrace_record__info_fill(struct auxtrace_record * itr,struct perf_session * session,struct perf_record_auxtrace_info * auxtrace_info,size_t priv_size) auxtrace_record__info_fill() argument
598 auxtrace_record__free(struct auxtrace_record * itr) auxtrace_record__free() argument
611 auxtrace_record__snapshot_finish(struct auxtrace_record * itr,bool on_exit) auxtrace_record__snapshot_finish() argument
618 auxtrace_record__find_snapshot(struct auxtrace_record * itr,int idx,struct auxtrace_mmap * mm,unsigned char * data,u64 * head,u64 * old) auxtrace_record__find_snapshot() argument
627 auxtrace_record__options(struct auxtrace_record * itr,struct evlist * evlist,struct record_opts * opts) auxtrace_record__options() argument
638 auxtrace_record__reference(struct auxtrace_record * itr) auxtrace_record__reference() argument
645 auxtrace_parse_snapshot_options(struct auxtrace_record * itr,struct record_opts * opts,const char * str) auxtrace_parse_snapshot_options() argument
684 auxtrace_record__read_finish(struct auxtrace_record * itr,int idx) auxtrace_record__read_finish() argument
760 auxtrace_parse_sample_options(struct auxtrace_record * itr,struct evlist * evlist,struct record_opts * opts,const char * str) auxtrace_parse_sample_options() argument
1316 perf_event__synthesize_auxtrace_info(struct auxtrace_record * itr,const struct perf_tool * tool,struct perf_session * session,perf_event__handler_t process) perf_event__synthesize_auxtrace_info() argument
1913 __auxtrace_mmap__read(struct mmap * map,struct auxtrace_record * itr,struct perf_env * env,const struct perf_tool * tool,process_auxtrace_t fn,bool snapshot,size_t snapshot_size) __auxtrace_mmap__read() argument
2024 auxtrace_mmap__read(struct mmap * map,struct auxtrace_record * itr,struct perf_env * env,const struct perf_tool * tool,process_auxtrace_t fn) auxtrace_mmap__read() argument
2032 auxtrace_mmap__read_snapshot(struct mmap * map,struct auxtrace_record * itr,struct perf_env * env,const struct perf_tool * tool,process_auxtrace_t fn,size_t snapshot_size) auxtrace_mmap__read_snapshot() argument
[all...]
H A Devlist.c483 void evlist_cpu_iterator__init(struct evlist_cpu_iterator *itr, struct evlist *evlist) in evlist_cpu_iterator__next()
485 *itr = (struct evlist_cpu_iterator){ in evlist_cpu_iterator__next()
497 itr->evlist_cpu_map_idx = itr->evlist_cpu_map_nr; in evsel__strcmp()
502 if (affinity__setup(&itr->saved_affinity) == 0) in evsel__strcmp()
503 itr->affinity = &itr->saved_affinity; in evsel__strcmp()
505 itr->evsel = evlist__first(evlist);
506 itr->cpu = perf_cpu_map__cpu(evlist__core(evlist)->all_cpus, 0); in evlist__is_enabled()
507 if (itr in evlist__is_enabled()
421 evlist_cpu_iterator__init(struct evlist_cpu_iterator * itr,struct evlist * evlist) evlist_cpu_iterator__init() argument
456 evlist_cpu_iterator__exit(struct evlist_cpu_iterator * itr) evlist_cpu_iterator__exit() argument
[all...]
/linux/tools/perf/arch/s390/util/
H A Dauxtrace.c20 static void cpumsf_free(struct auxtrace_record *itr) in cpumsf_free() argument
22 free(itr); in cpumsf_free()
25 static size_t cpumsf_info_priv_size(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_priv_size()
32 cpumsf_info_fill(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_fill()
42 cpumsf_reference(struct auxtrace_record *itr __maybe_unused) in cpumsf_reference()
77 cpumsf_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in cpumsf_parse_snapshot_options()
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_qos.c130 u32 itr, next; in sparx5_lg_get_last() local
132 itr = sparx5_lg_get_first(sparx5, layer, group); in sparx5_lg_get_last()
135 next = sparx5_lg_get_next(sparx5, layer, group, itr); in sparx5_lg_get_last()
136 if (itr == next) in sparx5_lg_get_last()
137 return itr; in sparx5_lg_get_last()
139 itr = next; in sparx5_lg_get_last()
183 u32 itr, next; in sparx5_lg_get_group_by_index() local
190 itr = sparx5_lg_get_first(sparx5, layer, i); in sparx5_lg_get_group_by_index()
193 next = sparx5_lg_get_next(sparx5, layer, i, itr); in sparx5_lg_get_group_by_index()
195 if (itr == idx) { in sparx5_lg_get_group_by_index()
[all …]
/linux/drivers/platform/x86/intel/int1092/
H A Dintel_sar.c45 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
101 for (itr = 0; itr < data->total_dev_mode; itr++) { in parse_package()
104 num = &item->package.elements[itr + 1]; in parse_package()
115 data->device_mode_info[itr] = temp; in parse_package()
/linux/tools/perf/arch/powerpc/util/
H A Dauxtrace.c40 static size_t powerpc_vpadtl_info_priv_size(struct auxtrace_record *itr __maybe_unused, in powerpc_vpadtl_info_priv_size()
47 powerpc_vpadtl_info_fill(struct auxtrace_record *itr __maybe_unused, in powerpc_vpadtl_info_fill()
57 static void powerpc_vpadtl_free(struct auxtrace_record *itr) in powerpc_vpadtl_free()
59 free(itr); in powerpc_vpadtl_free()
62 static u64 powerpc_vpadtl_reference(struct auxtrace_record *itr __maybe_unused) in powerpc_vpadtl_reference()
56 powerpc_vpadtl_free(struct auxtrace_record * itr) powerpc_vpadtl_free() argument
/linux/drivers/net/ethernet/intel/e1000e/
H A Dparam.c335 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 …]
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_private.h61 void vcap_iter_init(struct vcap_stream_iter *itr, int sw_width,
63 void vcap_iter_next(struct vcap_stream_iter *itr);
64 void vcap_iter_set(struct vcap_stream_iter *itr, int sw_width,
66 void vcap_iter_update(struct vcap_stream_iter *itr);
H A Dvcap_api.c49 void vcap_iter_set(struct vcap_stream_iter *itr, int sw_width, in vcap_iter_set() argument
52 memset(itr, 0, sizeof(*itr)); in vcap_iter_set()
53 itr->offset = offset; in vcap_iter_set()
54 itr->sw_width = sw_width; in vcap_iter_set()
55 itr->regs_per_sw = DIV_ROUND_UP(sw_width, 32); in vcap_iter_set()
56 itr->tg = tg; in vcap_iter_set()
59 static void vcap_iter_skip_tg(struct vcap_stream_iter *itr) in vcap_iter_skip_tg() argument
64 while (itr->tg->width && itr->offset >= itr->tg->offset) { in vcap_iter_skip_tg()
65 itr->offset += itr->tg->width; in vcap_iter_skip_tg()
66 itr->tg++; /* next typegroup */ in vcap_iter_skip_tg()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-qcom-geni.c199 const struct geni_i2c_clk_fld *itr; in geni_i2c_clk_map_idx() local
202 itr = geni_i2c_clk_map_32mhz; in geni_i2c_clk_map_idx()
204 itr = geni_i2c_clk_map_19p2mhz; in geni_i2c_clk_map_idx()
206 while (itr->clk_freq_out != 0) { in geni_i2c_clk_map_idx()
207 if (itr->clk_freq_out == gi2c->clk_freq_out) { in geni_i2c_clk_map_idx()
208 gi2c->clk_fld = itr; in geni_i2c_clk_map_idx()
211 itr++; in geni_i2c_clk_map_idx()
219 const struct geni_i2c_clk_fld *itr = gi2c->clk_fld; in qcom_geni_i2c_conf() local
224 val = (itr->clk_div << CLK_DIV_SHFT) | SER_CLK_EN; in qcom_geni_i2c_conf()
227 val = itr->t_high_cnt << HIGH_COUNTER_SHFT; in qcom_geni_i2c_conf()
[all …]
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_param.c436 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()
/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-sgmii-qdf2432.c107 const struct emac_reg_write *itr, size_t size) in emac_reg_write_all() argument
111 for (i = 0; i < size; ++itr, ++i) in emac_reg_write_all()
112 writel(itr->val, base + itr->offset); in emac_reg_write_all()
H A Demac-sgmii-qdf2400.c117 const struct emac_reg_write *itr, size_t size) in emac_reg_write_all() argument
121 for (i = 0; i < size; ++itr, ++i) in emac_reg_write_all()
122 writel(itr->val, base + itr->offset); in emac_reg_write_all()
H A Demac-sgmii-fsm9900.c140 const struct emac_reg_write *itr, size_t size) in emac_reg_write_all() argument
144 for (i = 0; i < size; ++itr, ++i) in emac_reg_write_all()
145 writel(itr->val, base + itr->offset); in emac_reg_write_all()
/linux/drivers/bus/mhi/host/
H A Dpm.c800 struct state_transition *itr, *tmp; in mhi_pm_st_worker() local
810 list_for_each_entry_safe(itr, tmp, &head, node) { in mhi_pm_st_worker()
811 list_del(&itr->node); in mhi_pm_st_worker()
813 trace_mhi_pm_st_transition(mhi_cntrl, itr->state); in mhi_pm_st_worker()
815 switch (itr->state) { in mhi_pm_st_worker()
863 kfree(itr); in mhi_pm_st_worker()
869 struct mhi_chan *itr, *tmp; in mhi_pm_suspend() local
944 list_for_each_entry_safe(itr, tmp, &mhi_cntrl->lpm_chans, node) { in mhi_pm_suspend()
945 mutex_lock(&itr->mutex); in mhi_pm_suspend()
946 if (itr->mhi_dev) in mhi_pm_suspend()
[all …]
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c473 unsigned int avg_wire_size, packets, bytes, itr; in iavf_update_itr() local
485 itr = iavf_container_is_rx(q_vector, rc) ? in iavf_update_itr()
504 itr = rc->target_itr; in iavf_update_itr()
519 itr = IAVF_ITR_ADAPTIVE_LATENCY; in iavf_update_itr()
548 itr = rc->target_itr + IAVF_ITR_ADAPTIVE_MIN_INC; in iavf_update_itr()
549 if ((itr & IAVF_ITR_MASK) > IAVF_ITR_ADAPTIVE_MAX_USECS) { in iavf_update_itr()
550 itr &= IAVF_ITR_ADAPTIVE_LATENCY; in iavf_update_itr()
551 itr += IAVF_ITR_ADAPTIVE_MAX_USECS; in iavf_update_itr()
557 itr = min(q_vector->tx.current_itr, q_vector->rx.current_itr); in iavf_update_itr()
558 itr &= IAVF_ITR_MASK; in iavf_update_itr()
[all …]
/linux/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c214 struct gvt_dma *itr; in __gvt_cache_find_dma_addr() local
217 itr = rb_entry(node, struct gvt_dma, dma_addr_node); in __gvt_cache_find_dma_addr()
219 if (dma_addr < itr->dma_addr) in __gvt_cache_find_dma_addr()
221 else if (dma_addr > itr->dma_addr) in __gvt_cache_find_dma_addr()
224 return itr; in __gvt_cache_find_dma_addr()
232 struct gvt_dma *itr; in __gvt_cache_find_gfn() local
235 itr = rb_entry(node, struct gvt_dma, gfn_node); in __gvt_cache_find_gfn()
237 if (gfn < itr->gfn) in __gvt_cache_find_gfn()
239 else if (gfn > itr->gfn) in __gvt_cache_find_gfn()
242 return itr; in __gvt_cache_find_gfn()
[all …]
/linux/drivers/bus/mhi/ep/
H A Dmain.c806 struct mhi_ep_ring_item *itr, *tmp; in mhi_ep_ch_ring_worker() local
818 list_for_each_entry_safe(itr, tmp, &head, node) { in mhi_ep_ch_ring_worker()
819 list_del(&itr->node); in mhi_ep_ch_ring_worker()
820 ring = itr->ring; in mhi_ep_ch_ring_worker()
831 kfree(itr); in mhi_ep_ch_ring_worker()
840 kmem_cache_free(mhi_cntrl->ring_item_cache, itr); in mhi_ep_ch_ring_worker()
847 kmem_cache_free(mhi_cntrl->ring_item_cache, itr); in mhi_ep_ch_ring_worker()
857 kmem_cache_free(mhi_cntrl->ring_item_cache, itr); in mhi_ep_ch_ring_worker()
862 kmem_cache_free(mhi_cntrl->ring_item_cache, itr); in mhi_ep_ch_ring_worker()
870 struct mhi_ep_state_transition *itr, *tmp; in mhi_ep_state_worker() local
[all …]

123