Searched refs:ALIGNED_POINTER (Results 1 – 5 of 5) sorted by relevance
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | param.h | 51 #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 D | bus.h | 12 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_input.c | 366 if (!ALIGNED_POINTER(mtod(m, caddr_t) + sizeof(*eh), uint32_t)) { in ieee80211_decap()
|
H A D | ieee80211_mesh.c | 1321 if (!ALIGNED_POINTER(mtod(m, caddr_t) + sizeof(*eh), uint32_t)) { in mesh_decap()
|
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_input.c | 1166 if (!ALIGNED_POINTER(mtod(m, caddr_t) + ETHER_HDR_LEN, u_int32_t)) { in ieee80211_decap()
|