Searched refs:uintptr_t (Results 1 – 20 of 20) sorted by relevance
/include/linux/ |
D | util_macros.h | 50 ((uintptr_t)(ptr) >= (uintptr_t)(var) && \ 51 (uintptr_t)(ptr) < (uintptr_t)(var) + sizeof(var))
|
D | omap-mailbox.h | 9 typedef uintptr_t mbox_msg_t;
|
D | list_bl.h | 101 ((uintptr_t)n | ((uintptr_t)*pprev & LIST_BL_LOCKMASK))); in hlist_bl_add_before()
|
D | bpfptr.h | 28 return KERNEL_BPFPTR((void*) (uintptr_t) addr); in make_bpfptr()
|
D | string.h | 174 return memset32((uint32_t *)p, (uintptr_t)v, n); in memset_p() 176 return memset64((uint64_t *)p, (uintptr_t)v, n); in memset_p()
|
D | rcupdate.h | 464 uintptr_t _r_a_p__v = (uintptr_t)(v); \ 467 if (__builtin_constant_p(v) && (_r_a_p__v) == (uintptr_t)NULL) \
|
D | llist.h | 98 ((uintptr_t)(ptr) + offsetof(typeof(*(ptr)), member) != 0)
|
D | types.h | 37 typedef unsigned long uintptr_t; typedef
|
D | wait.h | 237 #define poll_to_key(m) ((void *)(__force uintptr_t)(__poll_t)(m)) 238 #define key_to_poll(m) ((__force __poll_t)(uintptr_t)(void *)(m))
|
D | kernel.h | 51 (void __user *)(uintptr_t)(x); \
|
D | kvm_host.h | 1936 typedef int (*kvm_vm_thread_fn_t)(struct kvm *kvm, uintptr_t data); 1939 uintptr_t data, const char *name,
|
D | skbuff.h | 1556 skb_shinfo(skb)->destructor_arg = (void *)((uintptr_t) val | 0x1UL); in skb_zcopy_set_nouarg() 1562 return (uintptr_t) skb_shinfo(skb)->destructor_arg & 0x1UL; in skb_zcopy_is_nouarg() 1567 return (void *)((uintptr_t) skb_shinfo(skb)->destructor_arg & ~0x1UL); in skb_zcopy_get_nouarg()
|
D | mm.h | 1743 return (uintptr_t)page->lru.next & BIT(1); in page_is_pfmemalloc()
|
/include/linux/iio/ |
D | iio.h | 47 ssize_t (*read)(struct iio_dev *, uintptr_t private, 49 ssize_t (*write)(struct iio_dev *, uintptr_t private, 52 uintptr_t private; 79 uintptr_t priv, const struct iio_chan_spec *chan, char *buf); 81 uintptr_t priv, const struct iio_chan_spec *chan, char *buf); 83 uintptr_t priv, const struct iio_chan_spec *chan, const char *buf, 100 .private = (uintptr_t)(_e), \ 116 .private = (uintptr_t)(_e), \ 128 ssize_t iio_show_mount_matrix(struct iio_dev *indio_dev, uintptr_t priv, 146 .private = (uintptr_t)(_get), \
|
/include/linux/usb/ |
D | chipidea.h | 36 uintptr_t capoffset;
|
/include/uapi/linux/ |
D | virtio_ring.h | 199 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init()
|
/include/linux/mlx5/ |
D | fs.h | 217 uintptr_t esp_id;
|
/include/net/ |
D | sock.h | 587 return ((uintptr_t)sk->sk_user_data & SK_USER_DATA_NOCOPY); in sk_user_data_is_nocopy() 602 uintptr_t flags) in __rcu_dereference_sk_user_data_with_flags() 604 uintptr_t sk_user_data = (uintptr_t)rcu_dereference(__sk_user_data(sk)); in __rcu_dereference_sk_user_data_with_flags() 617 uintptr_t __tmp1 = (uintptr_t)(ptr), \ 618 __tmp2 = (uintptr_t)(flags); \
|
/include/linux/qed/ |
D | common_hsi.h | 16 #define PTR_LO(x) ((u32)(((uintptr_t)(x)) & 0xffffffff)) 17 #define PTR_HI(x) ((u32)((((uintptr_t)(x)) >> 16) >> 16))
|
/include/rdma/ |
D | ib_verbs.h | 4014 return (uintptr_t)cpu_addr; in ib_dma_map_single() 4048 return (uintptr_t)(page_address(page) + offset); in ib_dma_map_page()
|