Searched refs:etr_perf (Results 1 – 1 of 1) sorted by relevance
1334 struct etr_perf_buffer *etr_perf; in tmc_etr_setup_perf_buf() local1338 etr_perf = kzalloc_node(sizeof(*etr_perf), GFP_KERNEL, node); in tmc_etr_setup_perf_buf()1339 if (!etr_perf) in tmc_etr_setup_perf_buf()1346 kfree(etr_perf); in tmc_etr_setup_perf_buf()1354 etr_perf->drvdata = drvdata; in tmc_etr_setup_perf_buf()1355 etr_perf->etr_buf = etr_buf; in tmc_etr_setup_perf_buf()1357 return etr_perf; in tmc_etr_setup_perf_buf()1365 struct etr_perf_buffer *etr_perf; in tmc_alloc_etr_buffer() local1368 etr_perf = tmc_etr_setup_perf_buf(drvdata, event, in tmc_alloc_etr_buffer()1370 if (IS_ERR(etr_perf)) { in tmc_alloc_etr_buffer()[all …]