Home
last modified time | relevance | path

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

123

/netbsd-src/sys/kern/
H A Dkern_rwlock_obj.c61 KASSERT(ALIGNED_POINTER(ro, coherency_unit)); in rw_obj_alloc()
80 KASSERT(ALIGNED_POINTER(ro, coherency_unit)); in rw_obj_tryalloc()
H A Dkern_mutex_obj.c61 KASSERT(ALIGNED_POINTER(mo, coherency_unit)); in mutex_obj_alloc()
81 KASSERT(ALIGNED_POINTER(mo, coherency_unit)); in mutex_obj_tryalloc()
H A Dvfs_cwd.c55 KASSERT(ALIGNED_POINTER(cwdi, COHERENCY_UNIT)); in cwdinit()
H A Dsubr_kmem.c329 ALIGNED_POINTER(p, coherency_unit)); in kmem_intr_alloc()
340 KASSERT(size < coherency_unit || ALIGNED_POINTER(p, coherency_unit)); in kmem_intr_alloc()
/netbsd-src/sys/sys/
H A Dparam.h265 * ALIGNED_POINTER is a boolean macro that checks whether an address
273 * if (ALIGNED_POINTER(p, uint32_t)) {
288 #ifndef ALIGNED_POINTER
289 #define ALIGNED_POINTER(p,t) ((((uintptr_t)(p)) & (__alignof(t) - 1)) == 0) macro
306 #define ACCESSIBLE_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/sys/ddb/
H A Ddb_elf.c115 if (ALIGNED_POINTER(symtab, long) == 0) { in db_elf_sym_init()
186 ALIGNED_POINTER(symtab_start, long) == 0 || in db_elf_sym_init()
187 ALIGNED_POINTER(strtab_start, long) == 0) in db_elf_sym_init()
/netbsd-src/sys/arch/sh3/include/
H A Dbus_defs.h71 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/sys/arch/hpcmips/include/
H A Dbus_machdep.h60 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/sys/arch/x86/include/
H A Dbus_defs.h79 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/common/lib/libc/hash/murmurhash/
H A Dmurmurhash.c56 if (__predict_true(ALIGNED_POINTER(key, uint32_t))) { in __weak_alias()
/netbsd-src/sys/dev/podulebus/
H A Dsec.c256 KASSERT(ALIGNED_POINTER(dest, uint16_t)); in sec_copyin()
305 KASSERT(ALIGNED_POINTER(src, uint16_t)); in sec_copyout()
395 sc->sc_dmaoff = ALIGNED_POINTER(*addr, uint16_t) ? 0 : 1; in sec_dmasetup()
H A Dif_ei.c256 if (src % 2 != 0 || !ALIGNED_POINTER(dest, u_int16_t)) in ei_copyin()
299 if (!ALIGNED_POINTER(src, u_int16_t)) { in ei_copyout()
/netbsd-src/sys/arch/i386/include/
H A Dparam.h65 #define ALIGNED_POINTER(p,t) 1 macro
/netbsd-src/sys/arch/amd64/include/
H A Dparam.h25 #define ALIGNED_POINTER(p,t) 1 macro
/netbsd-src/external/cddl/osnet/dist/lib/libdtrace/riscv/
H A Ddt_isadep.c82 if (!ALIGNED_POINTER(off, 4)) in dt_pid_create_offset_probe()
/netbsd-src/external/cddl/osnet/dist/lib/libdtrace/aarch64/
H A Ddt_isadep.c84 if (!ALIGNED_POINTER(off, 4)) in dt_pid_create_offset_probe()
/netbsd-src/sys/arch/arc/include/
H A Dbus_defs.h108 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/sys/arch/sparc64/include/
H A Dbus_defs.h186 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/sys/arch/amigappc/include/
H A Dbus_defs.h174 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/sys/arch/sparc/include/
H A Dbus_defs.h205 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/sys/arch/hpcsh/include/
H A Dbus_defs.h95 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/sys/arch/landisk/include/
H A Dbus_defs.h113 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/sys/arch/or1k/include/
H A Dbus_defs.h235 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/sys/arch/dreamcast/include/
H A Dbus_defs.h95 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
/netbsd-src/sys/arch/next68k/include/
H A Dbus_space.h519 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)

123