Searched refs:ptr (Results 1 – 5 of 5) sorted by relevance
/samples/bpf/ |
D | tracex4_kern.c | 31 long ptr = PT_REGS_PARM2(ctx); in bpf_prog1() local 33 bpf_map_delete_elem(&my_map, &ptr); in bpf_prog1() 40 long ptr = PT_REGS_RC(ctx); in bpf_prog2() local 51 bpf_map_update_elem(&my_map, &ptr, &v, BPF_ANY); in bpf_prog2()
|
D | test_lru_dist.c | 28 #define container_of(ptr, type, member) ({ \ argument 29 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 83 #define list_entry(ptr, type, member) \ argument 84 container_of(ptr, type, member) 86 #define list_last_entry(ptr, type, member) \ argument 87 list_entry((ptr)->prev, type, member)
|
D | task_fd_query_user.c | 39 static __u64 ptr_to_u64(void *ptr) in ptr_to_u64() argument 41 return (__u64) (unsigned long) ptr; in ptr_to_u64()
|
D | xdpsock_user.c | 554 u32 *ptr = (u32 *)dest; in memset32_htonl() local 560 ptr[i >> 2] = val; in memset32_htonl()
|
/samples/vfio-mdev/ |
D | mtty.c | 1215 u8 *data = NULL, *ptr = NULL; in mtty_ioctl() local 1231 ptr = data = memdup_user((void __user *)(arg + minsz), in mtty_ioctl() 1240 kfree(ptr); in mtty_ioctl()
|