Lines Matching refs:val
342 #define TIMESPEC_SUB(dst, src, val) \
344 (dst)->tv_sec = (src)->tv_sec - (val)->tv_sec; \
345 (dst)->tv_nsec = (src)->tv_nsec - (val)->tv_nsec; \
367 int val, retval;
382 while ((val = (*sem)->count) > 0) {
383 if (atomic_cmpset_acq_int(&(*sem)->count, val, val - 1))
416 int val;
424 while ((val = (*sem)->count) > 0) {
425 if (atomic_cmpset_acq_int(&(*sem)->count, val, val - 1))