Home
last modified time | relevance | path

Searched refs:netwib_uintptr (Results 1 – 14 of 14) sorted by relevance

/dports/net/netwib/netwib-5.38.0-src/src/netwib/dat/
H A Dpriv.h4 #define netwib_priv_caststring(s) ((netwib_string)((netwib_uintptr)s))
6 #define netwib_priv_castdata(s) ((netwib_data)((netwib_uintptr)s))
8 #define netwib_priv_castptr(s) ((netwib_ptr)((netwib_uintptr)s))
10 #define netwib_priv_castpptr(s) ((netwib_ptr*)((netwib_uintptr)s))
H A Dtypes.h43 typedef netwib_uint32 netwib_uintptr; typedef
47 typedef netwib_uint64 netwib_uintptr; typedef
H A Darray.c71 if ((netwib_uintptr)pitem % (NETWIBDEF_ARCH_BITS/8)) { in netwib_priv_array_add()
72 pitem = (netwib_ptr)(((netwib_uintptr)pitem|(NETWIBDEF_ARCH_BITS/8-1)) +1); in netwib_priv_array_add()
H A Duint64.h102 #define netwib__uintptr_init_uint64(a,x) x = ((netwib_uintptr)(a))
105 …fine netwib__uintptr_init_uint64(a,x) x = (((netwib_uintptr)((netwib_uint32)((a).high))<<32)|(netw…
107 #define netwib__uintptr_init_uint64(a,x) x = ((netwib_uintptr)(a).low)
135 …it_int64(a,x) x = (((netwib_intptr)((netwib_uint32)((a).high))<<32)|(netwib_uintptr)((netwib_uint3…
H A Dfmt.c1256 netwib_er(netwib_priv_fmt_append_uintmax((netwib_uintptr)p, &su, in netwib_priv_fmt_append()
1278 ui = va_arg(*pap, netwib_uintptr); in netwib_priv_fmt_append()
2178 netwib_uintptr uiptr=0; in netwib_priv_fmt_decode()
2328 netwib__uintptr_init_uint64(ui64, *(netwib_uintptr*)pscanitem->ptr); in netwib_priv_fmt_decode()
/dports/net/netwib/netwib-5.38.0-src/src/netwib/sys/debug/
H A Dleak.c85 item[1] = (netwib_ptr)((netwib_uintptr)threadid); in netwib_debug_leak_add2()
86 item[2] = (netwib_ptr)((netwib_uintptr)type); in netwib_debug_leak_add2()
88 item[4] = (netwib_ptr)((netwib_uintptr)infoint); in netwib_debug_leak_add2()
89 item[5] = (netwib_ptr)((netwib_uintptr)btsize); in netwib_debug_leak_add2()
133 if (!useint || item[4] == (netwib_ptr)((netwib_uintptr)infoint)) { in netwib_debug_leak_del2()
185 if (!useint || item[4] == (netwib_ptr)((netwib_uintptr)infoint)) { in netwib_debug_leak_valid2()
449 btsize = (netwib_uint32)((netwib_uintptr)item[5]); in netwib_debug_leak_disp()
455 threadid = (netwib_uint32)((netwib_uintptr)item[1]); in netwib_debug_leak_disp()
467 type = (netwib_debug_leaktype)((netwib_uintptr)item[2]); in netwib_debug_leak_disp()
469 infoint = (netwib_uint32)((netwib_uintptr)item[4]); in netwib_debug_leak_disp()
H A Dbacktrace.c90 #define netwib_debug_backtrace_array_badptr(p) (p==NULL||((netwib_uintptr)p&0x3)) in netwib_debug_backtrace_array_arch_i386()
135 if (((netwib_uintptr) nextframe - (netwib_uintptr) storedframemin) > in netwib_debug_backtrace_array_arch_i386()
174 if (!allowunaligned && ((netwib_uintptr) ptr & 0x3)) { in netwib_debug_backtrace_array_badptr()
184 ptr2 = (netwib_ptr) ((netwib_uintptr) ptr & pagemask); in netwib_debug_backtrace_array_badptr()
H A Dglovars.h17 netwib_uintptr corrupt_alloclist_maxitems;
/dports/net/netwib/netwib-5.38.0-src/src/netwib/dat/debug/
H A Dmemcorrupt.c41 #define NETWIB_DEBUG_MEMCORRUPT_ALIGN(s) ((s + sizeof(void*) - 1) & ~((netwib_uintptr)(sizeof(void*…
201 netwib_uintptr alloclistsize; in netwib_debug_memcorrupt_al_add2()
205 alloclistsize = (netwib_uintptr) pglo->corrupt_alloclist[0]; in netwib_debug_memcorrupt_al_add2()
234 netwib_uintptr alloclistsize, i; in netwib_debug_memcorrupt_al_del2()
237 alloclistsize = (netwib_uintptr) pglo->corrupt_alloclist[0]; in netwib_debug_memcorrupt_al_del2()
356 netwib_uintptr alloclistsize, i; in netwib_debug_memcorrupt_check_all()
365 alloclistsize = (netwib_uintptr) pglo->corrupt_alloclist[0]; in netwib_debug_memcorrupt_check_all()
674 *ptrueptr = (netwib_data) ((netwib_uintptr)ptr - ptroffset); in netwib_debug_memcorrupt_alloc_check()
738 netwib_uintptr tmpvarptr; in netwib_debug_memcorrupt_alloc()
781 pc = (netwib_data) (((netwib_uintptr)trueptr + tmpvarptr) & (~tmpvarptr)); in netwib_debug_memcorrupt_alloc()
[all …]
H A Dmemprotect.c49 netwib_uintptr tmpvar; in netwib_debug_memprotect_protect()
55 protectedptr = (netwib_ptr)(((netwib_uintptr)ptr + tmpvar) & (~tmpvar)); in netwib_debug_memprotect_protect()
/dports/net/netwib/netwib-5.38.0-src/src/netwib/net/priv/conf/
H A Dclean.c11 (netwib_priv_confwork_devices *)(netwib_uintptr)piteminf; in netwib_priv_confclean_devices_dup()
13 (netwib_priv_confwork_devices *)(netwib_uintptr)pitemsup; in netwib_priv_confclean_devices_dup()
84 (netwib_priv_confwork_ip *)(netwib_uintptr)piteminf; in netwib_priv_confclean_ip_dup()
86 (netwib_priv_confwork_ip *)(netwib_uintptr)pitemsup; in netwib_priv_confclean_ip_dup()
463 netwib_priv_confwork_arpcache *pca1 = (netwib_priv_confwork_arpcache *)(netwib_uintptr)piteminf; in netwib_priv_confclean_arpcache_dup()
464 netwib_priv_confwork_arpcache *pca2 = (netwib_priv_confwork_arpcache *)(netwib_uintptr)pitemsup; in netwib_priv_confclean_arpcache_dup()
494 netwib_priv_confwork_routes *pcr1 = (netwib_priv_confwork_routes *)(netwib_uintptr)piteminf; in netwib_priv_confclean_routes_dup()
495 netwib_priv_confwork_routes *pcr2 = (netwib_priv_confwork_routes *)(netwib_uintptr)pitemsup; in netwib_priv_confclean_routes_dup()
/dports/net/netwib/netwib-5.38.0-src/src/netwib/sys/
H A Dwaitlist.h82 #define netwib_waitlist_waitident_init_ptr(p) ((netwib_uint32)(netwib_uintptr)(p))
H A Dwaitlist.c140 (netwib_ptr)(netwib_uintptr) in netwib_priv_waitlist_wait()
/dports/net/netwib/netwib-5.38.0-src/src/netwib/net/priv/
H A Dsa.h30 netwib_uintptr donotuse[8];