/netbsd-src/sys/kern/ |
H A D | kern_rwlock_obj.c | 61 KASSERT(ALIGNED_POINTER(ro, coherency_unit)); in rw_obj_alloc() 80 KASSERT(ALIGNED_POINTER(ro, coherency_unit)); in rw_obj_tryalloc()
|
H A D | kern_mutex_obj.c | 61 KASSERT(ALIGNED_POINTER(mo, coherency_unit)); in mutex_obj_alloc() 81 KASSERT(ALIGNED_POINTER(mo, coherency_unit)); in mutex_obj_tryalloc()
|
H A D | vfs_cwd.c | 55 KASSERT(ALIGNED_POINTER(cwdi, COHERENCY_UNIT)); in cwdinit()
|
H A D | subr_kmem.c | 329 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 D | param.h | 265 * 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 D | db_elf.c | 115 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 D | bus_defs.h | 71 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/netbsd-src/sys/arch/hpcmips/include/ |
H A D | bus_machdep.h | 60 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/netbsd-src/sys/arch/x86/include/ |
H A D | bus_defs.h | 79 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/netbsd-src/common/lib/libc/hash/murmurhash/ |
H A D | murmurhash.c | 56 if (__predict_true(ALIGNED_POINTER(key, uint32_t))) { in __weak_alias()
|
/netbsd-src/sys/dev/podulebus/ |
H A D | sec.c | 256 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 D | if_ei.c | 256 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 D | param.h | 65 #define ALIGNED_POINTER(p,t) 1 macro
|
/netbsd-src/sys/arch/amd64/include/ |
H A D | param.h | 25 #define ALIGNED_POINTER(p,t) 1 macro
|
/netbsd-src/external/cddl/osnet/dist/lib/libdtrace/riscv/ |
H A D | dt_isadep.c | 82 if (!ALIGNED_POINTER(off, 4)) in dt_pid_create_offset_probe()
|
/netbsd-src/external/cddl/osnet/dist/lib/libdtrace/aarch64/ |
H A D | dt_isadep.c | 84 if (!ALIGNED_POINTER(off, 4)) in dt_pid_create_offset_probe()
|
/netbsd-src/sys/arch/arc/include/ |
H A D | bus_defs.h | 108 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/netbsd-src/sys/arch/sparc64/include/ |
H A D | bus_defs.h | 186 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/netbsd-src/sys/arch/amigappc/include/ |
H A D | bus_defs.h | 174 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/netbsd-src/sys/arch/sparc/include/ |
H A D | bus_defs.h | 205 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/netbsd-src/sys/arch/hpcsh/include/ |
H A D | bus_defs.h | 95 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/netbsd-src/sys/arch/landisk/include/ |
H A D | bus_defs.h | 113 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/netbsd-src/sys/arch/or1k/include/ |
H A D | bus_defs.h | 235 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/netbsd-src/sys/arch/dreamcast/include/ |
H A D | bus_defs.h | 95 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|
/netbsd-src/sys/arch/next68k/include/ |
H A D | bus_space.h | 519 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)
|