• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/kern/

Lines Matching refs:base

862 	void *buf, *base, **pbuf;
869 * offset from the 64-bit aligned base address only if the
884 /* Get the 64-bit aligned base address for this object */
885 base = (void *)P2ROUNDUP((intptr_t)buf + sizeof (u_int64_t),
889 * Wind back a pointer size from the aligned base and
892 pbuf = (void **)((intptr_t)base - sizeof (void *));
897 * the buffer starting from the 64-bit aligned base to
903 VERIFY(((intptr_t)base + rsize) <=
905 mcache_set_pattern(MCACHE_FREE_PATTERN, base, rsize);
913 VERIFY(((intptr_t)base + offset + cp->mc_bufsize) <=
915 *list = (mcache_obj_t *)((intptr_t)base + offset);
939 void *base;
944 * aligned base address only if the cache's alignment
954 /* Get the 64-bit aligned base address of this object */
955 base = (void *)((intptr_t)list - offset);
956 VERIFY(IS_P2ALIGNED(base, sizeof (u_int64_t)));
959 pbuf = (void **)((intptr_t)base - sizeof (void *));
962 VERIFY(((intptr_t)base + rsize) <=
964 mcache_audit_free_verify(NULL, base, offset, rsize);
968 VERIFY(((intptr_t)base + offset + cp->mc_bufsize) <=
987 void *base, **pbuf;
991 * offset from the 64-bit aligned base address only if the
1000 /* Get the 64-bit aligned base address of this object */
1001 base = (void *)((intptr_t)list - offset);
1002 VERIFY(IS_P2ALIGNED(base, sizeof (u_int64_t)));
1005 pbuf = (void **)((intptr_t)base - sizeof (void *));
1007 VERIFY(((intptr_t)base + rsize) <=
1011 mcache_set_pattern(MCACHE_FREE_PATTERN, base, rsize);
1013 mcache_audit_free_verify_set(NULL, base, offset, rsize);
1455 mcache_audit_free_verify(mcache_audit_t *mca, void *base, size_t offset,
1462 addr = (void *)((uintptr_t)base + offset);
1470 (caddr_t)base, size)) != NULL) {
1471 mcache_audit_panic(mca, addr, (caddr_t)oaddr64 - (caddr_t)base,
1479 mcache_audit_free_verify_set(mcache_audit_t *mca, void *base, size_t offset,
1486 addr = (void *)((uintptr_t)base + offset);
1494 MCACHE_UNINITIALIZED_PATTERN, (caddr_t)base, size)) != NULL) {
1495 mcache_audit_panic(mca, addr, (caddr_t)oaddr64 - (caddr_t)base,