Home
last modified time | relevance | path

Searched refs:sampler (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dsample.c42 struct mlx5e_sampler *sampler; member
174 struct mlx5e_sampler *sampler; in sampler_get() local
181 if (!sampler_cmp(sampler->sample_ratio, sampler->default_table_id, in sampler_get()
185 sampler = kzalloc(sizeof(*sampler), GFP_KERNEL); in sampler_get()
186 if (!sampler) { in sampler_get()
202 sampler->count++; in sampler_get()
204 return sampler; in sampler_get()
207 kfree(sampler); in sampler_get()
217 if (--sampler->count == 0) { in sampler_put()
218 hash_del(&sampler->hlist); in sampler_put()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_acl_flex_actions.c2050 sampler->span_id, sampler->ingress); in mlxsw_afa_sampler_destroy()
2051 kfree(sampler); in mlxsw_afa_sampler_destroy()
2057 struct mlxsw_afa_sampler *sampler; in mlxsw_afa_sampler_destructor() local
2072 sampler = kzalloc(sizeof(*sampler), GFP_KERNEL); in mlxsw_afa_sampler_create()
2073 if (!sampler) in mlxsw_afa_sampler_create()
2083 sampler->ingress = ingress; in mlxsw_afa_sampler_create()
2084 sampler->local_port = local_port; in mlxsw_afa_sampler_create()
2087 return sampler; in mlxsw_afa_sampler_create()
2090 kfree(sampler); in mlxsw_afa_sampler_create()
2124 if (IS_ERR(sampler)) in mlxsw_afa_block_append_sampler()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_action.c666 attr.final_icm_addr = rx_rule ? action->sampler->rx_icm_addr : in mlx5dr_actions_build_ste_arr()
667 action->sampler->tx_icm_addr; in mlx5dr_actions_build_ste_arr()
1013 action->sampler->dmn = dmn; in mlx5dr_action_create_flow_sampler()
1014 action->sampler->sampler_id = sampler_id; in mlx5dr_action_create_flow_sampler()
1015 action->sampler->rx_icm_addr = icm_rx; in mlx5dr_action_create_flow_sampler()
1016 action->sampler->tx_icm_addr = icm_tx; in mlx5dr_action_create_flow_sampler()
1842 refcount_dec(&action->sampler->dmn->refcount); in mlx5dr_action_destroy()
A Ddr_types.h969 struct mlx5dr_action_sampler *sampler; member
/linux/drivers/mmc/host/
A Dmmci_stm32_sdmmc.c372 int unit, int phase, bool sampler) in sdmmc_dlyb_set_cfgr() argument
382 if (!sampler) in sdmmc_dlyb_set_cfgr()
/linux/drivers/gpu/drm/i915/gt/
A Dintel_engine_types.h70 u32 sampler[GEN_MAX_GSLICES][I915_MAX_SUBSLICES]; member
A Dintel_engine_cs.c1249 instdone->sampler[slice][subslice] = in intel_engine_get_instdone()
1258 instdone->sampler[slice][subslice] = in intel_engine_get_instdone()
1282 instdone->sampler[0][0] = in intel_engine_get_instdone()
/linux/kernel/events/
A Dcore.c6685 struct perf_event *sampler = event->aux_event; in perf_prepare_sample_aux() local
6690 if (!sampler) in perf_prepare_sample_aux()
6693 if (WARN_ON_ONCE(READ_ONCE(sampler->state) != PERF_EVENT_STATE_ACTIVE)) in perf_prepare_sample_aux()
6696 if (WARN_ON_ONCE(READ_ONCE(sampler->oncpu) != smp_processor_id())) in perf_prepare_sample_aux()
6699 rb = ring_buffer_get(sampler->parent ? sampler->parent : sampler); in perf_prepare_sample_aux()
6757 struct perf_event *sampler = event->aux_event; in perf_aux_sample_output() local
6762 if (WARN_ON_ONCE(!sampler || !data->aux_size)) in perf_aux_sample_output()
6765 rb = ring_buffer_get(sampler->parent ? sampler->parent : sampler); in perf_aux_sample_output()
6769 size = perf_pmu_snapshot_aux(rb, sampler, handle, data->aux_size); in perf_aux_sample_output()
/linux/drivers/gpu/drm/i915/
A Di915_gpu_error.c452 ee->instdone.sampler[slice][subslice]); in error_print_instdone()
462 ee->instdone.sampler[slice][subslice]); in error_print_instdone()

Completed in 718 milliseconds