Lines Matching defs:cond_data
46 void *cond_data)
77 update_max_tr(tr, current, smp_processor_id(), cond_data);
89 * @cond_data: The data to be tested conditionally, and possibly saved
93 * cond_snapshot.update() implementation receiving the cond_data
95 * update() operation used the cond_data to determine whether the
99 void tracing_snapshot_cond(struct trace_array *tr, void *cond_data)
101 tracing_snapshot_instance_cond(tr, cond_data);
110 * tracing_snapshot_cond_enable(), the user-defined cond_data is saved
117 * Returns the cond_data associated with the trace array's snapshot.
121 void *cond_data = NULL;
127 cond_data = tr->cond_snapshot->cond_data;
132 return cond_data;
266 * @cond_data: User data to associate with the snapshot
272 * save the cond_data and update function inside.
276 int tracing_snapshot_cond_enable(struct trace_array *tr, void *cond_data,
286 cond_snapshot->cond_data = cond_data;
460 * @cond_data: User data associated with a conditional snapshot
467 void *cond_data)
488 if (tr->cond_snapshot && !tr->cond_snapshot->update(tr, cond_data)) {