Searched refs:cpusetsize (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/dfsan/ |
D | dfsan_custom.cc | 714 int __dfsw_sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask, in __dfsw_sched_getaffinity() argument 718 int ret = sched_getaffinity(pid, cpusetsize, mask); in __dfsw_sched_getaffinity() 720 dfsan_set_label(0, mask, cpusetsize); in __dfsw_sched_getaffinity()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 2854 INTERCEPTOR(int, sched_getaffinity, int pid, SIZE_T cpusetsize, void *mask) { 2856 COMMON_INTERCEPTOR_ENTER(ctx, sched_getaffinity, pid, cpusetsize, mask); 2860 int res = REAL(sched_getaffinity)(pid, cpusetsize, mask); 2861 if (mask && !res) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mask, cpusetsize); 3738 INTERCEPTOR(int, pthread_attr_getaffinity_np, void *attr, SIZE_T cpusetsize, 3741 COMMON_INTERCEPTOR_ENTER(ctx, pthread_attr_getaffinity_np, attr, cpusetsize, 3746 int res = REAL(pthread_attr_getaffinity_np)(attr, cpusetsize, cpuset); 3747 if (!res && cpusetsize && cpuset) 3748 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, cpuset, cpusetsize);
|