Searched refs:sampler (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| A D | sample.c | 44 struct mlx5e_sampler *sampler; member 175 struct mlx5e_sampler *sampler; in sampler_get() local 182 if (!sampler_cmp(sampler->sample_ratio, sampler->default_table_id, in sampler_get() 186 sampler = kzalloc(sizeof(*sampler), GFP_KERNEL); in sampler_get() 187 if (!sampler) { in sampler_get() 203 sampler->count++; in sampler_get() 205 return sampler; in sampler_get() 208 kfree(sampler); in sampler_get() 218 if (--sampler->count == 0) { in sampler_put() 219 hash_del(&sampler->hlist); in sampler_put() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| A D | core_acl_flex_actions.c | 2168 sampler->span_id, sampler->ingress); in mlxsw_afa_sampler_destroy() 2169 kfree(sampler); in mlxsw_afa_sampler_destroy() 2175 struct mlxsw_afa_sampler *sampler; in mlxsw_afa_sampler_destructor() local 2190 sampler = kzalloc(sizeof(*sampler), GFP_KERNEL); in mlxsw_afa_sampler_create() 2191 if (!sampler) in mlxsw_afa_sampler_create() 2201 sampler->ingress = ingress; in mlxsw_afa_sampler_create() 2202 sampler->local_port = local_port; in mlxsw_afa_sampler_create() 2205 return sampler; in mlxsw_afa_sampler_create() 2208 kfree(sampler); in mlxsw_afa_sampler_create() 2242 if (IS_ERR(sampler)) in mlxsw_afa_block_append_sampler() [all …]
|
| /linux/drivers/mmc/host/ |
| A D | mmci_stm32_sdmmc.c | 71 int phase, bool sampler __maybe_unused); 488 int unit, int phase, bool sampler) in sdmmc_dlyb_mp15_set_cfg() argument 498 if (!sampler) in sdmmc_dlyb_mp15_set_cfg() 553 bool sampler __maybe_unused) in sdmmc_dlyb_mp25_set_cfg()
|
| /linux/drivers/gpu/drm/xe/ |
| A D | xe_hw_engine_types.h | 228 u32 *sampler; member
|
| A D | xe_hw_engine.c | 840 snapshot->reg.instdone.sampler[dss] = in xe_hw_engine_snapshot_instdone_capture() 886 snapshot->reg.instdone.sampler = kzalloc(len, GFP_ATOMIC); in xe_hw_engine_snapshot_capture() 892 !snapshot->reg.instdone.sampler || in xe_hw_engine_snapshot_capture() 1000 snapshot->reg.instdone.sampler[dss]); in xe_hw_engine_snapshot_instdone_print() 1074 kfree(snapshot->reg.instdone.sampler); in xe_hw_engine_snapshot_free()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| A D | dr_action.c | 873 attr.final_icm_addr = rx_rule ? action->sampler->rx_icm_addr : in mlx5dr_actions_build_ste_arr() 874 action->sampler->tx_icm_addr; in mlx5dr_actions_build_ste_arr() 1363 action->sampler->dmn = dmn; in mlx5dr_action_create_flow_sampler() 1364 action->sampler->sampler_id = sampler_id; in mlx5dr_action_create_flow_sampler() 1365 action->sampler->rx_icm_addr = icm_rx; in mlx5dr_action_create_flow_sampler() 1366 action->sampler->tx_icm_addr = icm_tx; in mlx5dr_action_create_flow_sampler() 2229 refcount_dec(&action->sampler->dmn->refcount); in mlx5dr_action_destroy()
|
| A D | dr_dbg.c | 441 rule_id, 0, 0, action->sampler->sampler_id, in dr_dump_rule_action_mem() 442 action->sampler->rx_icm_addr, in dr_dump_rule_action_mem() 443 action->sampler->tx_icm_addr); in dr_dump_rule_action_mem()
|
| A D | dr_types.h | 1127 struct mlx5dr_action_sampler *sampler; member
|
| /linux/drivers/gpu/drm/i915/gt/ |
| A D | intel_engine_types.h | 74 u32 sampler[GEN_MAX_GSLICES][I915_MAX_SUBSLICES]; member
|
| A D | intel_engine_cs.c | 1800 instdone->sampler[slice][subslice] = in intel_engine_get_instdone() 1826 instdone->sampler[0][0] = in intel_engine_get_instdone()
|
| /linux/kernel/events/ |
| A D | core.c | 7162 struct perf_event *sampler = event->aux_event; in perf_prepare_sample_aux() local 7167 if (!sampler) in perf_prepare_sample_aux() 7170 if (WARN_ON_ONCE(READ_ONCE(sampler->state) != PERF_EVENT_STATE_ACTIVE)) in perf_prepare_sample_aux() 7173 if (WARN_ON_ONCE(READ_ONCE(sampler->oncpu) != smp_processor_id())) in perf_prepare_sample_aux() 7176 rb = ring_buffer_get(sampler); in perf_prepare_sample_aux() 7234 struct perf_event *sampler = event->aux_event; in perf_aux_sample_output() local 7239 if (WARN_ON_ONCE(!sampler || !data->aux_size)) in perf_aux_sample_output() 7242 rb = ring_buffer_get(sampler); in perf_aux_sample_output() 7246 size = perf_pmu_snapshot_aux(rb, sampler, handle, data->aux_size); in perf_aux_sample_output()
|
| /linux/drivers/gpu/drm/i915/ |
| A D | i915_gpu_error.c | 462 ee->instdone.sampler[slice][subslice]); in error_print_instdone()
|
Completed in 70 milliseconds