Lines Matching refs:csd
443 static int cf_diag_diffctr(struct cf_diag_csd *csd, unsigned long auth) in cf_diag_diffctr() argument
451 ctrstart = (struct cf_ctrset_entry *)(csd->start + offset); in cf_diag_diffctr()
452 ctrstop = (struct cf_ctrset_entry *)(csd->data + offset); in cf_diag_diffctr()
473 trailer_start = (struct cf_trailer_entry *)(csd->start + offset); in cf_diag_diffctr()
474 trailer_stop = (struct cf_trailer_entry *)(csd->data + offset); in cf_diag_diffctr()
488 struct cf_diag_csd *csd) in cf_diag_push_sample() argument
503 raw.frag.size = csd->used; in cf_diag_push_sample()
504 raw.frag.data = csd->data; in cf_diag_push_sample()
505 raw.size = csd->used; in cf_diag_push_sample()
524 struct cf_diag_csd *csd = this_cpu_ptr(&cf_diag_csd); in cf_diag_start() local
538 csd->used = cf_diag_getctr(csd->start, sizeof(csd->start), in cf_diag_start()
547 struct cf_diag_csd *csd = this_cpu_ptr(&cf_diag_csd); in cf_diag_stop() local
557 csd->used = cf_diag_getctr(csd->data, sizeof(csd->data), in cf_diag_stop()
559 if (cf_diag_diffctr(csd, event->hw.config_base)) in cf_diag_stop()
560 cf_diag_push_sample(event, csd); in cf_diag_stop()