Lines Matching refs:ptr
141 # define zfree(ptr) ({ free(*ptr); *ptr = NULL; })
153 static inline __u64 ptr_to_u64(const void *ptr)
155 return (__u64) (unsigned long) ptr;
881 pr_warn("struct_ops init_kern %s: kernel member %s is not a func ptr\n",
891 pr_debug("struct_ops init_kern %s: func ptr %s is set to prog %s from data(+%u) to kern_data(+%u)\n",
1906 case BTF_KIND_PTR: return "ptr";
8629 pr_warn("struct_ops reloc %s: cannot relocate non func ptr %s\n",
8636 pr_warn("struct_ops reloc %s: cannot find prog at shdr_idx %u to relocate func ptr %s\n",
8666 pr_warn("struct_ops reloc %s: cannot use prog %s in sec %s with type %u attach_btf_id %u expected_attach_type %u for func ptr %s\n",
9050 long libbpf_get_error(const void *ptr)
9052 return PTR_ERR_OR_ZERO(ptr);
10240 pb->events[j].data.ptr = cpu_buf;
10334 struct perf_cpu_buf *cpu_buf = pb->events[i].data.ptr;
10516 void *ptr;
10562 ptr = info_linear->data;
10580 ptr_to_u64(ptr));
10581 ptr += count * size;