Lines Matching refs:SAN_INTERCEPTOR

263 #define	SAN_INTERCEPTOR(func)	\  macro
265 void *SAN_INTERCEPTOR(memset)(void *, int, size_t);
266 void *SAN_INTERCEPTOR(memcpy)(void *, const void *, size_t);
267 void *SAN_INTERCEPTOR(memmove)(void *, const void *, size_t);
268 int SAN_INTERCEPTOR(memcmp)(const void *, const void *, size_t);
270 #define bcopy(from, to, len) SAN_INTERCEPTOR(memmove)((to), (from), (len))
271 #define bzero(buf, len) SAN_INTERCEPTOR(memset)((buf), 0, (len))
272 #define bcmp(b1, b2, len) SAN_INTERCEPTOR(memcmp)((b1), (b2), (len))
273 #define memset(buf, c, len) SAN_INTERCEPTOR(memset)((buf), (c), (len))
274 #define memcpy(to, from, len) SAN_INTERCEPTOR(memcpy)((to), (from), (len))
275 #define memmove(dest, src, n) SAN_INTERCEPTOR(memmove)((dest), (src), (n))
276 #define memcmp(b1, b2, len) SAN_INTERCEPTOR(memcmp)((b1), (b2), (len))
319 int SAN_INTERCEPTOR(copyin)(const void *, void *, size_t);
320 int SAN_INTERCEPTOR(copyinstr)(const void *, void *, size_t, size_t *);
321 int SAN_INTERCEPTOR(copyout)(const void *, void *, size_t);
323 #define copyin(u, k, l) SAN_INTERCEPTOR(copyin)((u), (k), (l))
324 #define copyinstr(u, k, l, lc) SAN_INTERCEPTOR(copyinstr)((u), (k), (l), (lc))
325 #define copyout(k, u, l) SAN_INTERCEPTOR(copyout)((k), (u), (l))
350 int SAN_INTERCEPTOR(fubyte)(volatile const void *base);
351 int SAN_INTERCEPTOR(fuword16)(volatile const void *base);
352 int SAN_INTERCEPTOR(fueword)(volatile const void *base, long *val);
353 int SAN_INTERCEPTOR(fueword32)(volatile const void *base, int32_t *val);
354 int SAN_INTERCEPTOR(fueword64)(volatile const void *base, int64_t *val);
355 int SAN_INTERCEPTOR(subyte)(volatile void *base, int byte);
356 int SAN_INTERCEPTOR(suword)(volatile void *base, long word);
357 int SAN_INTERCEPTOR(suword16)(volatile void *base, int word);
358 int SAN_INTERCEPTOR(suword32)(volatile void *base, int32_t word);
359 int SAN_INTERCEPTOR(suword64)(volatile void *base, int64_t word);
360 int SAN_INTERCEPTOR(casueword32)(volatile uint32_t *base, uint32_t oldval,
362 int SAN_INTERCEPTOR(casueword)(volatile u_long *p, u_long oldval,
365 #define fubyte(b) SAN_INTERCEPTOR(fubyte)((b))
366 #define fuword16(b) SAN_INTERCEPTOR(fuword16)((b))
367 #define fueword(b, v) SAN_INTERCEPTOR(fueword)((b), (v))
368 #define fueword32(b, v) SAN_INTERCEPTOR(fueword32)((b), (v))
369 #define fueword64(b, v) SAN_INTERCEPTOR(fueword64)((b), (v))
370 #define subyte(b, w) SAN_INTERCEPTOR(subyte)((b), (w))
371 #define suword(b, w) SAN_INTERCEPTOR(suword)((b), (w))
372 #define suword16(b, w) SAN_INTERCEPTOR(suword16)((b), (w))
373 #define suword32(b, w) SAN_INTERCEPTOR(suword32)((b), (w))
374 #define suword64(b, w) SAN_INTERCEPTOR(suword64)((b), (w))
375 #define casueword32(b, o, p, n) SAN_INTERCEPTOR(casueword32)((b), (o), (p), (n))
376 #define casueword(b, o, p, n) SAN_INTERCEPTOR(casueword)((b), (o), (p), (n))