Lines Matching refs:ptr
130 static inline __u64 ptr_to_u64(const void *ptr)
132 return (__u64) (unsigned long) ptr;
1610 void *ptr;
1618 ptr = malloc(last_size);
1619 if (!ptr)
1623 btf_info.btf = ptr_to_u64(ptr);
1631 temp_ptr = realloc(ptr, last_size);
1636 ptr = temp_ptr;
1640 btf_info.btf = ptr_to_u64(ptr);
1651 btf = btf_new(ptr, btf_info.btf_size, base_btf);
1654 free(ptr);