Lines Matching refs:pelem
191 struct tstamp_data *pelem; in off_cpu_stat() local
201 pelem = bpf_task_storage_get(&tstamp, prev, NULL, in off_cpu_stat()
203 if (!pelem) in off_cpu_stat()
206 pelem->timestamp = ts; in off_cpu_stat()
207 pelem->state = state; in off_cpu_stat()
208 pelem->stack_id = stack_id; in off_cpu_stat()
211 pelem = bpf_task_storage_get(&tstamp, next, NULL, 0); in off_cpu_stat()
213 if (pelem && pelem->timestamp) { in off_cpu_stat()
217 .stack_id = pelem->stack_id, in off_cpu_stat()
218 .state = pelem->state, in off_cpu_stat()
221 __u64 delta = ts - pelem->timestamp; in off_cpu_stat()
231 pelem->timestamp = 0; in off_cpu_stat()