Home
last modified time | relevance | path

Searched refs:ALIGNED_POINTER (Results 1 – 5 of 5) sorted by relevance

/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dparam.h51 #define ALIGNED_POINTER(p, t) 1 macro
53 #define ALIGNED_POINTER(p, t) ((((uintptr_t)(p)) & (sizeof (t) - 1)) == 0) macro
55 #define ALIGNED_POINTER(p, t) ((((unsigned)(p)) & (sizeof(t) - 1)) == 0) macro
59 #define ALIGNED_POINTER(p, t) ((((unsigned long)(p)) & (sizeof (t) - 1)) == 0) macro
61 #error Need definition of ALIGNED_POINTER for this arch!
/haiku/src/libs/compat/freebsd_network/compat/machine/generic/
H A Dbus.h12 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_input.c366 if (!ALIGNED_POINTER(mtod(m, caddr_t) + sizeof(*eh), uint32_t)) { in ieee80211_decap()
H A Dieee80211_mesh.c1321 if (!ALIGNED_POINTER(mtod(m, caddr_t) + sizeof(*eh), uint32_t)) { in mesh_decap()
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_input.c1166 if (!ALIGNED_POINTER(mtod(m, caddr_t) + ETHER_HDR_LEN, u_int32_t)) { in ieee80211_decap()