Lines Matching defs:ptr
5710 update_eval_map(union trace_eval_map_item *ptr)
5712 if (!ptr->map.eval_string) {
5713 if (ptr->tail.next) {
5714 ptr = ptr->tail.next;
5715 /* Set ptr to the next real item (skip head) */
5716 ptr++;
5720 return ptr;
5725 union trace_eval_map_item *ptr = v;
5728 * Paranoid! If ptr points to end, we don't want to increment past it.
5732 ptr = update_eval_map(ptr);
5733 if (WARN_ON_ONCE(!ptr))
5736 ptr++;
5737 ptr = update_eval_map(ptr);
5739 return ptr;
5767 union trace_eval_map_item *ptr = v;
5770 ptr->map.eval_string, ptr->map.eval_value,
5771 ptr->map.system);
5802 trace_eval_jmp_to_tail(union trace_eval_map_item *ptr)
5805 return ptr + ptr->head.length + 1;
5815 union trace_eval_map_item *ptr;
5835 ptr = trace_eval_maps;
5837 ptr = trace_eval_jmp_to_tail(ptr);
5838 if (!ptr->tail.next)
5840 ptr = ptr->tail.next;
5843 ptr->tail.next = map_array;
6248 tracing_nsecs_read(unsigned long *ptr, char __user *ubuf,
6255 *ptr == (unsigned long)-1 ? -1 : nsecs_to_usecs(*ptr));
6262 tracing_nsecs_write(unsigned long *ptr, const char __user *ubuf,
6272 *ptr = val * 1000;
7584 const char **errs; /* ptr to loc-specific array of err strings */
8764 * idx = *ptr;
8770 * from the ptr, we get to the start of the index itself.
8772 * ptr - idx == &index[0]
8777 static void get_tr_index(void *data, struct trace_array **ptr,
8782 *ptr = container_of(data - *pindex, struct trace_array,