Home
last modified time | relevance | path

Searched refs:__cmp (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dminmax.h83 #define __cmp(op, x, y) ((x) __cmp_op_##op (y) ? (x) : (y)) macro
86 ({ type ux = (x); type uy = (y); __cmp(op, ux, uy); })
95 __cmp(op, ux, uy); })
135 __cmp(op, ux, __cmp(op, uy, uz)); })
314 #define MIN(a, b) __cmp(min, a, b)
315 #define MAX(a, b) __cmp(max, a, b)
316 #define MIN_T(type, a, b) __cmp(min, (type)(a), (type)(b))
317 #define MAX_T(type, a, b) __cmp(max, (type)(a), (type)(b))
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dsock.c485 #define __cmp(cnt, e_cnt) \ in test_cmp_counters() macro
499 _for_each_counter(__cmp); in test_cmp_counters()
503 __cmp(ao.key_cnts[i].pkt_good, TEST_CNT_KEY_GOOD); in test_cmp_counters()
504 __cmp(ao.key_cnts[i].pkt_bad, TEST_CNT_KEY_BAD); in test_cmp_counters()
506 #undef __cmp in test_cmp_counters()