| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_thread_cond.c | 13 ngx_thread_cond_create(ngx_thread_cond_t *cond, ngx_log_t *log) in ngx_thread_cond_create() argument 17 err = pthread_cond_init(cond, NULL); in ngx_thread_cond_create() 28 ngx_thread_cond_destroy(ngx_thread_cond_t *cond, ngx_log_t *log) in ngx_thread_cond_destroy() argument 32 err = pthread_cond_destroy(cond); in ngx_thread_cond_destroy() 43 ngx_thread_cond_signal(ngx_thread_cond_t *cond, ngx_log_t *log) in ngx_thread_cond_signal() argument 47 err = pthread_cond_signal(cond); in ngx_thread_cond_signal() 58 ngx_thread_cond_wait(ngx_thread_cond_t *cond, ngx_thread_mutex_t *mtx, in ngx_thread_cond_wait() argument 63 err = pthread_cond_wait(cond, mtx); in ngx_thread_cond_wait()
|
| H A D | ngx_thread.h | 30 ngx_int_t ngx_thread_cond_create(ngx_thread_cond_t *cond, ngx_log_t *log); 31 ngx_int_t ngx_thread_cond_destroy(ngx_thread_cond_t *cond, ngx_log_t *log); 32 ngx_int_t ngx_thread_cond_signal(ngx_thread_cond_t *cond, ngx_log_t *log); 33 ngx_int_t ngx_thread_cond_wait(ngx_thread_cond_t *cond, ngx_thread_mutex_t *mtx,
|
| /f-stack/freebsd/contrib/zstd/lib/common/ |
| H A D | threading.c | 103 int ZSTD_pthread_cond_init(ZSTD_pthread_cond_t* cond, pthread_condattr_t const* attr) in ZSTD_pthread_cond_init() argument 105 *cond = (pthread_cond_t*)ZSTD_malloc(sizeof(pthread_cond_t)); in ZSTD_pthread_cond_init() 106 if (!*cond) in ZSTD_pthread_cond_init() 108 return pthread_cond_init(*cond, attr); in ZSTD_pthread_cond_init() 111 int ZSTD_pthread_cond_destroy(ZSTD_pthread_cond_t* cond) in ZSTD_pthread_cond_destroy() argument 113 if (!*cond) in ZSTD_pthread_cond_destroy() 116 int const ret = pthread_cond_destroy(*cond); in ZSTD_pthread_cond_destroy() 117 ZSTD_free(*cond); in ZSTD_pthread_cond_destroy()
|
| /f-stack/dpdk/lib/librte_hash/ |
| H A D | rte_cuckoo_hash.h | 24 #define RETURN_IF_TRUE(cond, retval) do { \ argument 25 if (cond) \ 29 #define RETURN_IF_TRUE(cond, retval) argument 33 #define ERR_IF_TRUE(cond, fmt, args...) do { \ argument 34 if (cond) { \ 40 #define ERR_IF_TRUE(cond, fmt, args...) argument
|
| /f-stack/dpdk/examples/performance-thread/pthread_shim/ |
| H A D | pthread_shim.c | 301 int pthread_cond_broadcast(pthread_cond_t *cond) in pthread_cond_broadcast() argument 305 lthread_cond_broadcast(*(struct lthread_cond **)cond); in pthread_cond_broadcast() 308 return _sys_pthread_funcs.f_pthread_cond_broadcast(cond); in pthread_cond_broadcast() 318 int pthread_cond_destroy(pthread_cond_t *cond) in pthread_cond_destroy() argument 322 return _sys_pthread_funcs.f_pthread_cond_destroy(cond); in pthread_cond_destroy() 329 (struct lthread_cond **)cond, in pthread_cond_init() 331 return _sys_pthread_funcs.f_pthread_cond_init(cond, attr); in pthread_cond_init() 334 int pthread_cond_signal(pthread_cond_t *cond) in pthread_cond_signal() argument 337 lthread_cond_signal(*(struct lthread_cond **)cond); in pthread_cond_signal() 340 return _sys_pthread_funcs.f_pthread_cond_signal(cond); in pthread_cond_signal() [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/ |
| H A D | assert.h | 54 #define VERIFY(cond) \ argument 55 (void) ((!(cond)) && \ 56 libspl_assert(#cond, __FILE__, __FUNCTION__, __LINE__)) 57 #define verify(cond) \ argument 58 (void) ((!(cond)) && \ 59 libspl_assert(#cond, __FILE__, __FUNCTION__, __LINE__))
|
| /f-stack/dpdk/drivers/bus/dpaa/ |
| H A D | rte_dpaa_logs.h | 18 #define DPAA_BUS_HWWARN(cond, fmt, args...) \ argument 20 if (cond) \ 24 #define DPAA_BUS_HWWARN(cond, fmt, args...) do { } while (0) argument
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-helper-cfg.h | 81 #define cvmx_helper_cfg_assert(cond) \ argument 83 if (!(cond)) \ 86 #cond, __FILE__, __LINE__); \
|
| /f-stack/dpdk/drivers/common/dpaax/ |
| H A D | dpaax_logs.h | 13 #define DPAAX_HWWARN(cond, fmt, args...) \ argument 15 if (cond) \ 19 #define DPAAX_HWWARN(cond, fmt, args...) do { } while (0) argument
|
| /f-stack/dpdk/examples/performance-thread/common/ |
| H A D | lthread_cond.c | 39 lthread_cond_init(char *name, struct lthread_cond **cond, in lthread_cond_init() argument 44 if (cond == NULL) in lthread_cond_init() 67 (*cond) = c; in lthread_cond_init() 68 DIAG_CREATE_EVENT((*cond), LT_DIAG_COND_CREATE); in lthread_cond_init()
|
| /f-stack/freebsd/contrib/ngatm/netnatm/msg/ |
| H A D | parseie.awk | 98 cond = "" 106 if(cond != "") { 109 cond = $i
|
| /f-stack/dpdk/drivers/net/ena/ |
| H A D | ena_platform.h | 21 #define ena_assert_msg(cond, msg) \ argument 23 if (unlikely(!(cond))) { \
|
| /f-stack/dpdk/drivers/common/dpaax/caamflib/ |
| H A D | rta.h | 558 #define JUMP(program, addr, jump_type, test_type, cond) \ argument 559 rta_jump(program, addr, jump_type, test_type, cond, NONE) 575 #define JUMP_INC(program, addr, test_type, cond, src_dst) \ argument 576 rta_jump(program, addr, LOCAL_JUMP_INC, test_type, cond, src_dst) 592 #define JUMP_DEC(program, addr, test_type, cond, src_dst) \ argument 593 rta_jump(program, addr, LOCAL_JUMP_DEC, test_type, cond, src_dst)
|
| /f-stack/dpdk/drivers/raw/ifpga/base/ |
| H A D | opae_osdep.h | 82 #define opae_readq_poll_timeout(addr, val, cond, invl, timeout)\ argument 87 if (cond) \ 91 (cond) ? 0 : -ETIMEDOUT; \
|
| /f-stack/freebsd/sys/ |
| H A D | fail.h | 227 #define _FAIL_POINT_EVAL(name, cond, code...) \ argument 230 if (__predict_false(cond && \ 354 #define KFAIL_POINT_CODE_COND(parent, name, cond, flags, code...) \ argument 357 _FAIL_POINT_EVAL(name, cond, code) \
|
| /f-stack/dpdk/lib/librte_eal/include/ |
| H A D | rte_test.h | 19 #define RTE_TEST_ASSERT(cond, msg, ...) do { \ argument 20 if (!(cond)) { \
|
| /f-stack/dpdk/drivers/net/ena/base/ |
| H A D | ena_plat_dpdk.h | 110 #define ENA_WARN(cond, format, arg...) \ argument 112 if (unlikely(cond)) { \ 130 pthread_cond_t cond; \ 139 pthread_cond_init(&(waitqueue).cond, NULL); \ 152 pthread_cond_timedwait(&waitevent.cond, \ 156 #define ENA_WAIT_EVENT_SIGNAL(waitevent) pthread_cond_signal(&waitevent.cond)
|
| /f-stack/freebsd/contrib/zstd/examples/ |
| H A D | common.h | 42 #define CHECK(cond, ...) \ argument 44 if (!(cond)) { \ 49 #cond); \
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | debug.h | 71 #define VERIFY(cond) \ argument 72 (void) (unlikely(!(cond)) && \ 74 "%s", "VERIFY(" #cond ") failed\n"))
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | debug.h | 65 #define VERIFY(cond) \ argument 66 (void) (unlikely(!(cond)) && \ 68 "%s", "VERIFY(" #cond ") failed\n"))
|
| /f-stack/freebsd/contrib/vchiq/interface/compat/ |
| H A D | vchi_bsd.h | 293 #define BUG_ON(cond) \ argument 295 if (cond) \ 296 panic("BUG_ON: " #cond); \ 304 #define vchiq_static_assert(cond) CTASSERT(cond) argument
|
| /f-stack/dpdk/drivers/crypto/caam_jr/ |
| H A D | caam_jr_hw_specific.h | 33 #define SEC_ASSERT(cond, altRet, ...) do {\ argument 34 if (unlikely(!(cond))) {\ 40 #define SEC_DP_ASSERT(cond, altRet, ...) do {\ argument 41 if (unlikely(!(cond))) {\ 437 uint32_t cond:8; member
|
| /f-stack/dpdk/lib/librte_lpm/ |
| H A D | rte_lpm.h | 54 #define RTE_LPM_RETURN_IF_TRUE(cond, retval) do { \ argument 55 if (cond) return (retval); \ 58 #define RTE_LPM_RETURN_IF_TRUE(cond, retval)
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | rte_lpm.h | 55 #define RTE_LPM_RETURN_IF_TRUE(cond, retval) do { \ argument 56 if (cond) return (retval); \ 59 #define RTE_LPM_RETURN_IF_TRUE(cond, retval)
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | zutil.h | 244 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} argument 251 # define Assert(cond,msg) argument
|