Home
last modified time | relevance | path

Searched refs:uintptr_t (Results 1 – 20 of 20) sorted by relevance

/include/linux/
Dutil_macros.h50 ((uintptr_t)(ptr) >= (uintptr_t)(var) && \
51 (uintptr_t)(ptr) < (uintptr_t)(var) + sizeof(var))
Domap-mailbox.h9 typedef uintptr_t mbox_msg_t;
Dlist_bl.h101 ((uintptr_t)n | ((uintptr_t)*pprev & LIST_BL_LOCKMASK))); in hlist_bl_add_before()
Dbpfptr.h28 return KERNEL_BPFPTR((void*) (uintptr_t) addr); in make_bpfptr()
Dstring.h174 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()
Drcupdate.h464 uintptr_t _r_a_p__v = (uintptr_t)(v); \
467 if (__builtin_constant_p(v) && (_r_a_p__v) == (uintptr_t)NULL) \
Dllist.h98 ((uintptr_t)(ptr) + offsetof(typeof(*(ptr)), member) != 0)
Dtypes.h37 typedef unsigned long uintptr_t; typedef
Dwait.h237 #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))
Dkernel.h51 (void __user *)(uintptr_t)(x); \
Dkvm_host.h1936 typedef int (*kvm_vm_thread_fn_t)(struct kvm *kvm, uintptr_t data);
1939 uintptr_t data, const char *name,
Dskbuff.h1556 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()
Dmm.h1743 return (uintptr_t)page->lru.next & BIT(1); in page_is_pfmemalloc()
/include/linux/iio/
Diio.h47 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/
Dchipidea.h36 uintptr_t capoffset;
/include/uapi/linux/
Dvirtio_ring.h199 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init()
/include/linux/mlx5/
Dfs.h217 uintptr_t esp_id;
/include/net/
Dsock.h587 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/
Dcommon_hsi.h16 #define PTR_LO(x) ((u32)(((uintptr_t)(x)) & 0xffffffff))
17 #define PTR_HI(x) ((u32)((((uintptr_t)(x)) >> 16) >> 16))
/include/rdma/
Dib_verbs.h4014 return (uintptr_t)cpu_addr; in ib_dma_map_single()
4048 return (uintptr_t)(page_address(page) + offset); in ib_dma_map_page()