Home
last modified time | relevance | path

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

12345678910>>...42

/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dtrace.h97 trace_zfs_##name((uintptr_t)(arg1), (uintptr_t)(arg2))
100 trace_zfs_##name((uintptr_t)(arg1), (uintptr_t)(arg2), \
104 trace_zfs_##name((uintptr_t)(arg1), (uintptr_t)(arg2), \
105 (uintptr_t)(arg3), (uintptr_t)(arg4))
112 noinline void trace_zfs_##name(uintptr_t, uintptr_t)
114 noinline void trace_zfs_##name(uintptr_t, uintptr_t, \
115 uintptr_t)
117 noinline void trace_zfs_##name(uintptr_t, uintptr_t, \
118 uintptr_t, uintptr_t)
141 uintptr_t arg2, uintptr_t arg3) { } \
[all …]
/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Drtree.h186 uintptr_t high_bit_mask = ((uintptr_t)1 << LG_VADDR) - 1; in rtree_leaf_elm_bits_extent_get()
188 uintptr_t low_bit_mask = ~(uintptr_t)1; in rtree_leaf_elm_bits_extent_get()
252 uintptr_t bits = ((uintptr_t)rtree_leaf_elm_bits_szind_get(old_bits) << in rtree_leaf_elm_extent_write()
253 LG_VADDR) | ((uintptr_t)extent & (((uintptr_t)0x1 << LG_VADDR) - 1)) in rtree_leaf_elm_extent_write()
269 uintptr_t bits = ((uintptr_t)szind << LG_VADDR) | in rtree_leaf_elm_szind_write()
285 uintptr_t bits = ((uintptr_t)rtree_leaf_elm_bits_szind_get(old_bits) << in rtree_leaf_elm_slab_write()
287 (((uintptr_t)0x1 << LG_VADDR) - 1)) | ((uintptr_t)slab); in rtree_leaf_elm_slab_write()
298 uintptr_t bits = ((uintptr_t)szind << LG_VADDR) | in rtree_leaf_elm_write()
299 ((uintptr_t)extent & (((uintptr_t)0x1 << LG_VADDR) - 1)) | in rtree_leaf_elm_write()
300 ((uintptr_t)slab); in rtree_leaf_elm_write()
[all …]
H A Dprof_inlines_b.h72 if (unlikely((uintptr_t)tdata <= (uintptr_t)PROF_TDATA_STATE_MAX)) { in prof_sample_accum_update()
111 ret = (prof_tctx_t *)(uintptr_t)1U; in prof_alloc_prep()
128 if (unlikely((uintptr_t)tctx > (uintptr_t)1U)) { in prof_malloc()
132 (prof_tctx_t *)(uintptr_t)1U); in prof_malloc()
143 assert(ptr != NULL || (uintptr_t)tctx <= (uintptr_t)1U); in prof_realloc()
156 tctx = (prof_tctx_t *)(uintptr_t)1U; in prof_realloc()
160 sampled = ((uintptr_t)tctx > (uintptr_t)1U); in prof_realloc()
161 old_sampled = ((uintptr_t)old_tctx > (uintptr_t)1U); in prof_realloc()
168 (prof_tctx_t *)(uintptr_t)1U); in prof_realloc()
179 (uintptr_t)1U); in prof_realloc()
[all …]
H A Dmutex_pool.h20 mutex_pool_mutex(mutex_pool_t *pool, uintptr_t key) { in mutex_pool_mutex()
41 mutex_pool_lock(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key) { in mutex_pool_lock()
49 mutex_pool_unlock(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key) { in mutex_pool_unlock()
57 mutex_pool_lock2(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key1, in mutex_pool_lock2()
58 uintptr_t key2) { in mutex_pool_lock2()
63 if ((uintptr_t)mutex1 < (uintptr_t)mutex2) { in mutex_pool_lock2()
66 } else if ((uintptr_t)mutex1 == (uintptr_t)mutex2) { in mutex_pool_lock2()
75 mutex_pool_unlock2(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key1, in mutex_pool_unlock2()
76 uintptr_t key2) { in mutex_pool_unlock2()
90 mutex_pool_assert_owner(tsdn_t *tsdn, mutex_pool_t *pool, uintptr_t key) { in mutex_pool_assert_owner()
/f-stack/freebsd/contrib/ck/include/
H A Dck_ht.h72 uintptr_t key;
73 uintptr_t value CK_CC_PACKED;
76 uintptr_t key;
77 uintptr_t value;
154 entry->key = (uintptr_t)key | ((uintptr_t)key_length << CK_MD_VMA_BITS); in ck_ht_entry_key_set()
156 entry->key = (uintptr_t)key; in ck_ht_entry_key_set()
205 entry->key = (uintptr_t)key | ((uintptr_t)key_length << CK_MD_VMA_BITS); in ck_ht_entry_set()
206 entry->value = (uintptr_t)value | ((uintptr_t)(h.value >> 32) << CK_MD_VMA_BITS); in ck_ht_entry_set()
208 entry->key = (uintptr_t)key; in ck_ht_entry_set()
220 uintptr_t key, in ck_ht_entry_set_direct()
[all …]
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dextent_dss.c150 (uintptr_t)max_cur)); in extent_alloc_dss()
153 size_t gap_size_page = (uintptr_t)ret - in extent_alloc_dss()
154 (uintptr_t)gap_addr_page; in extent_alloc_dss()
166 if ((uintptr_t)ret < (uintptr_t)max_cur || in extent_alloc_dss()
167 (uintptr_t)dss_next < (uintptr_t)max_cur) { in extent_alloc_dss()
173 (uintptr_t)gap_addr_subpage; in extent_alloc_dss()
176 assert((uintptr_t)max_cur + incr == (uintptr_t)ret + in extent_alloc_dss()
232 return ((uintptr_t)addr >= (uintptr_t)dss_base && (uintptr_t)addr < in extent_in_dss_helper()
233 (uintptr_t)max); in extent_in_dss_helper()
250 if ((uintptr_t)addr_a < (uintptr_t)dss_base && (uintptr_t)addr_b < in extent_dss_mergeable()
[all …]
/f-stack/freebsd/contrib/openzfs/module/nvpair/
H A Dnvpair_alloc_fixed.c43 uintptr_t nvb_buf; /* address of pre-allocated buffer */
44 uintptr_t nvb_lim; /* limit address in the buffer */
45 uintptr_t nvb_cur; /* current address in the buffer */
59 uintptr_t base = va_arg(valist, uintptr_t); in nv_fixed_init()
60 uintptr_t lim = base + va_arg(valist, size_t); in nv_fixed_init()
63 if (base == 0 || (uintptr_t)&nvb[1] > lim) in nv_fixed_init()
66 nvb->nvb_buf = (uintptr_t)&nvb[0]; in nv_fixed_init()
67 nvb->nvb_cur = (uintptr_t)&nvb[1]; in nv_fixed_init()
78 uintptr_t new = nvb->nvb_cur; in nv_fixed_alloc()
83 nvb->nvb_cur = P2ROUNDUP(new + size, sizeof (uintptr_t)); in nv_fixed_alloc()
[all …]
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_secretbox/
H A Dcrypto_secretbox_easy.c30 if (((uintptr_t) c > (uintptr_t) m && in crypto_secretbox_detached()
31 (uintptr_t) c - (uintptr_t) m < mlen) || in crypto_secretbox_detached()
32 ((uintptr_t) m > (uintptr_t) c && in crypto_secretbox_detached()
33 (uintptr_t) m - (uintptr_t) c < mlen)) { /* LCOV_EXCL_LINE */ in crypto_secretbox_detached()
104 if (((uintptr_t) c >= (uintptr_t) m && in crypto_secretbox_open_detached()
105 (uintptr_t) c - (uintptr_t) m < clen) || in crypto_secretbox_open_detached()
106 ((uintptr_t) m >= (uintptr_t) c && in crypto_secretbox_open_detached()
107 (uintptr_t) m - (uintptr_t) c < clen)) { /* LCOV_EXCL_LINE */ in crypto_secretbox_open_detached()
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_secretbox/xchacha20poly1305/
H A Dsecretbox_xchacha20poly1305.c34 if (((uintptr_t) c > (uintptr_t) m && in crypto_secretbox_xchacha20poly1305_detached()
35 (uintptr_t) c - (uintptr_t) m < mlen) || in crypto_secretbox_xchacha20poly1305_detached()
36 ((uintptr_t) m > (uintptr_t) c && in crypto_secretbox_xchacha20poly1305_detached()
37 (uintptr_t) m - (uintptr_t) c < mlen)) { /* LCOV_EXCL_LINE */ in crypto_secretbox_xchacha20poly1305_detached()
111 if (((uintptr_t) c >= (uintptr_t) m && in crypto_secretbox_xchacha20poly1305_open_detached()
112 (uintptr_t) c - (uintptr_t) m < clen) || in crypto_secretbox_xchacha20poly1305_open_detached()
113 ((uintptr_t) m >= (uintptr_t) c && in crypto_secretbox_xchacha20poly1305_open_detached()
114 (uintptr_t) m - (uintptr_t) c < clen)) { /* LCOV_EXCL_LINE */ in crypto_secretbox_xchacha20poly1305_open_detached()
/f-stack/dpdk/drivers/mempool/octeontx/
H A Drte_mempool_octeontx.c15 uintptr_t pool; in octeontx_fpavf_alloc()
48 uintptr_t pool; in octeontx_fpavf_free()
49 pool = (uintptr_t)mp->pool_id; in octeontx_fpavf_free()
67 fpavf_write64((uintptr_t)buf, (void *)(uintptr_t)(handle + free_addr)); in octeontx_fpa_bufpool_free()
74 uintptr_t pool; in octeontx_fpavf_enqueue()
77 pool = (uintptr_t)mp->pool_id; in octeontx_fpavf_enqueue()
91 uintptr_t pool; in octeontx_fpavf_dequeue()
94 pool = (uintptr_t)mp->pool_id; in octeontx_fpavf_dequeue()
122 uintptr_t pool; in octeontx_fpavf_get_count()
124 pool = (uintptr_t)mp->pool_id; in octeontx_fpavf_get_count()
[all …]
H A Docteontx_fpavf.c406 fpavf_write64((uintptr_t)memva, in octeontx_fpavf_pool_set_range()
407 (void *)((uintptr_t)handle + in octeontx_fpavf_pool_set_range()
497 uintptr_t pool_bar; in octeontx_fpa_bufpool_free_count()
521 uintptr_t
527 uintptr_t gpool_handle; in octeontx_fpa_bufpool_create()
528 uintptr_t pool_bar; in octeontx_fpa_bufpool_create()
602 return (uintptr_t)NULL; in octeontx_fpa_bufpool_create()
616 uintptr_t pool_bar; in octeontx_fpa_bufpool_destroy()
662 node = (void *)(uintptr_t) in octeontx_fpa_bufpool_destroy()
674 if ((uintptr_t)node <= (uintptr_t)curr[0]) in octeontx_fpa_bufpool_destroy()
[all …]
/f-stack/freebsd/kern/
H A Dsubr_csan.c60 uintptr_t addr;
64 uintptr_t pc;
145 kcsan_access(uintptr_t addr, size_t size, bool write, bool atomic, uintptr_t pc) in kcsan_access()
202 void __tsan_read##size(uintptr_t); \
220 void __tsan_write##size(uintptr_t); \
658 CSAN_ATOMIC_FUNC_ADD(ptr, uintptr_t) in CSAN_ATOMIC_FUNC_ADD()
659 CSAN_ATOMIC_FUNC_CLEAR(ptr, uintptr_t) in CSAN_ATOMIC_FUNC_ADD()
665 CSAN_ATOMIC_FUNC_LOAD(ptr, uintptr_t) in CSAN_ATOMIC_FUNC_ADD()
667 CSAN_ATOMIC_FUNC_SET(ptr, uintptr_t) in CSAN_ATOMIC_FUNC_ADD()
669 CSAN_ATOMIC_FUNC_STORE(ptr, uintptr_t) in CSAN_ATOMIC_FUNC_ADD()
[all …]
H A Dkern_sdt.c50 sdt_probe_stub(uint32_t id, uintptr_t arg0, uintptr_t arg1, in sdt_probe_stub()
51 uintptr_t arg2, uintptr_t arg3, uintptr_t arg4) in sdt_probe_stub()
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_slab.c54 + (uintptr_t) (pool)->start)
148 page->prev = (uintptr_t) &pool->free; in ngx_slab_init()
350 m = ((uintptr_t) 1 << ((n + 1) % (8 * sizeof(uintptr_t)))) - 1; in ngx_slab_alloc_locked()
464 uintptr_t slab, m, *bitmap; in ngx_slab_free_locked()
492 m = (uintptr_t) 1 << (n % (8 * sizeof(uintptr_t))); in ngx_slab_free_locked()
493 n /= 8 * sizeof(uintptr_t); in ngx_slab_free_locked()
494 bitmap = (uintptr_t *) in ngx_slab_free_locked()
495 ((uintptr_t) p & ~((uintptr_t) ngx_pagesize - 1)); in ngx_slab_free_locked()
519 m = ((uintptr_t) 1 << (n % (8 * sizeof(uintptr_t)))) - 1; in ngx_slab_free_locked()
544 m = (uintptr_t) 1 << in ngx_slab_free_locked()
[all …]
/f-stack/freebsd/i386/i386/
H A Dcopyout.c77 (uintptr_t)copyin_fast + setidt_disp); in copyout_init_tramp()
81 (uintptr_t)fubyte_fast + setidt_disp); in copyout_init_tramp()
87 (uintptr_t)subyte_fast + setidt_disp); in copyout_init_tramp()
212 if ((uintptr_t)udaddr + len < (uintptr_t)udaddr || in copyin()
247 if ((uintptr_t)udaddr + len < (uintptr_t)udaddr || in copyout()
283 if ((uintptr_t)base + sizeof(uint8_t) < (uintptr_t)base || in fubyte()
309 if ((uintptr_t)base + sizeof(uint16_t) < (uintptr_t)base || in fuword16()
335 if ((uintptr_t)base + sizeof(*val) < (uintptr_t)base || in fueword()
371 if ((uintptr_t)base + sizeof(uint8_t) < (uintptr_t)base || in subyte()
391 if ((uintptr_t)base + sizeof(uint16_t) < (uintptr_t)base || in suword16()
[all …]
/f-stack/freebsd/sys/
H A Dmutex.h101 void __mtx_lock_sleep(volatile uintptr_t *c, uintptr_t v, int opts,
103 void __mtx_unlock_sleep(volatile uintptr_t *c, uintptr_t v, int opts,
106 void __mtx_lock_sleep(volatile uintptr_t *c, uintptr_t v);
107 void __mtx_unlock_sleep(volatile uintptr_t *c, uintptr_t v);
116 void _mtx_lock_spin_cookie(volatile uintptr_t *c, uintptr_t v);
240 uintptr_t _tid = (uintptr_t)(tid); \
256 uintptr_t _tid = (uintptr_t)(tid); \
265 uintptr_t _tid = (uintptr_t)(tid); \
281 uintptr_t _tid = (uintptr_t)(tid); \
292 uintptr_t _tid = (uintptr_t)(tid); \
[all …]
H A Drwlock.h107 uintptr_t _tid = (uintptr_t)(tid); \
108 uintptr_t _v = RW_UNLOCKED; \
117 uintptr_t _v = (uintptr_t)(tid); \
129 void _rw_init_flags(volatile uintptr_t *c, const char *name, int opts);
130 void _rw_destroy(volatile uintptr_t *c);
132 int _rw_wowned(const volatile uintptr_t *c);
135 int __rw_try_wlock(volatile uintptr_t *c, const char *file, int line);
138 void __rw_rlock(volatile uintptr_t *c, const char *file, int line);
140 int __rw_try_rlock(volatile uintptr_t *c, const char *file, int line);
143 void __rw_wlock_hard(volatile uintptr_t *c, uintptr_t v
[all …]
H A Dsmr_types.h65 (__typeof((p)->__ptr))atomic_load_acq_ptr((uintptr_t *)&(p)->__ptr); \
89 atomic_store_rel_ptr((uintptr_t *)&(p)->__ptr, (uintptr_t)_v); \
105 (uintptr_t *)&(p)->__ptr, (uintptr_t)_v); \
126 atomic_store_ptr((uintptr_t *)&(p)->__ptr, (uintptr_t)_v); \
H A Dsdt.h174 (uintptr_t) arg0, (uintptr_t) arg1, (uintptr_t) arg2, \
314 (*(void (*)(uint32_t, uintptr_t, uintptr_t, uintptr_t, \
315 uintptr_t, uintptr_t, uintptr_t))sdt_probe_func)( \
317 (uintptr_t)arg0, (uintptr_t)arg1, (uintptr_t)arg2, \
318 (uintptr_t)arg3, (uintptr_t)arg4, (uintptr_t)arg5);\
324 (*(void (*)(uint32_t, uintptr_t, uintptr_t, uintptr_t, \
325 uintptr_t, uintptr_t, uintptr_t, uintptr_t)) \
328 (uintptr_t)arg0, (uintptr_t)arg1, (uintptr_t)arg2, \
329 (uintptr_t)arg3, (uintptr_t)arg4, (uintptr_t)arg5, \
385 uintptr_t arg2, uintptr_t arg3, uintptr_t arg4);
[all …]
/f-stack/dpdk/drivers/event/octeontx/
H A Dtimvf_worker.h203 (uintptr_t) chunk; in timvf_refill_chunk_generic()
205 bkt->first_chunk = (uintptr_t) chunk; in timvf_refill_chunk_generic()
209 bkt->first_chunk = (uintptr_t)chunk; in timvf_refill_chunk_generic()
230 (uintptr_t) chunk; in timvf_refill_chunk_fpa()
232 bkt->first_chunk = (uintptr_t) chunk; in timvf_refill_chunk_fpa()
280 bkt->current_chunk = (uintptr_t) chunk; in timvf_add_entry_sp()
290 tim->impl_opaque[0] = (uintptr_t)chunk; in timvf_add_entry_sp()
291 tim->impl_opaque[1] = (uintptr_t)bkt; in timvf_add_entry_sp()
333 bkt->current_chunk = (uintptr_t) chunk; in timvf_add_entry_mp()
344 tim->impl_opaque[0] = (uintptr_t)chunk; in timvf_add_entry_mp()
[all …]
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_script.h91 uintptr_t len;
97 uintptr_t index;
104 uintptr_t data;
110 uintptr_t n;
120 uintptr_t size;
121 uintptr_t status;
122 uintptr_t next;
162 uintptr_t status;
181 uintptr_t op;
187 uintptr_t next;
[all …]
H A Dngx_http_variables.c18 ngx_http_variable_value_t *v, uintptr_t data);
21 ngx_http_variable_value_t *v, uintptr_t data);
24 ngx_http_variable_value_t *v, uintptr_t data);
26 ngx_http_variable_value_t *v, uintptr_t data);
731 uintptr_t data) in ngx_http_variable_request()
819 uintptr_t data) in ngx_http_variable_header()
1055 uintptr_t data) in ngx_http_variable_cookie()
1083 uintptr_t data) in ngx_http_variable_argument()
1113 uintptr_t data) in ngx_http_variable_tcpinfo()
1203 uintptr_t data) in ngx_http_variable_host()
[all …]
/f-stack/dpdk/drivers/event/octeontx2/
H A Dotx2_evdev_irq.c11 uintptr_t base = (uintptr_t)param; in sso_lf_irq()
29 uintptr_t base) in sso_lf_register_irq()
50 uintptr_t base = (uintptr_t)param; in ssow_lf_irq()
66 uintptr_t base) in ssow_lf_register_irq()
86 uint16_t ggrp_msixoff, uintptr_t base) in sso_lf_unregister_irq()
101 uint16_t gws_msixoff, uintptr_t base) in ssow_lf_unregister_irq()
181 uintptr_t base = (uintptr_t)param; in tim_lf_irq()
199 uintptr_t base) in tim_lf_register_irq()
227 uintptr_t base) in tim_lf_unregister_irq()
250 uintptr_t base; in tim_register_irq()
[all …]
/f-stack/freebsd/netpfil/ipfw/test/
H A Dtest_dn_heap.c53 uint32_t hf(uintptr_t key, int flags, void *arg) in hf()
59 int matchf(void *obj, uintptr_t key, int flags, void *arg) in matchf()
66 void *newfn(uintptr_t key, int flags, void *arg) in newfn()
94 uintptr_t x = 0; in test_hash()
95 uintptr_t x1 = 0; in test_hash()
101 dn_ht_find(h, (uintptr_t)*p, DNHT_INSERT, NULL); in test_hash()
107 void **y = newfn((uintptr_t)*p, 0, NULL); in test_hash()
109 x = (uintptr_t)y; in test_hash()
112 x1 = (uintptr_t)*p; in test_hash()
114 dn_ht_find(h, (uintptr_t)y, DNHT_INSERT | DNHT_KEY_IS_OBJ, NULL); in test_hash()
/f-stack/freebsd/contrib/openzfs/include/
H A Dlibuutil_impl.h63 #define UU_PTR_ENCODE(ptr) BSWAP_64((uintptr_t)(void *)(ptr))
65 #define UU_PTR_ENCODE(ptr) BSWAP_32((uintptr_t)(void *)(ptr))
89 uintptr_t ul_next_enc;
90 uintptr_t ul_prev_enc;
93 uintptr_t ul_parent_enc; /* encoded parent pointer */
138 uintptr_t ua_next_enc;
139 uintptr_t ua_prev_enc;
142 uintptr_t ua_parent_enc;

12345678910>>...42