Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 85) sorted by relevance

1234

/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_thread_cond.c13 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 Dngx_thread.h30 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 Dthreading.c103 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 Drte_cuckoo_hash.h24 #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 Dpthread_shim.c301 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 Dassert.h54 #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 Drte_dpaa_logs.h18 #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 Dcvmx-helper-cfg.h81 #define cvmx_helper_cfg_assert(cond) \ argument
83 if (!(cond)) \
86 #cond, __FILE__, __LINE__); \
/f-stack/dpdk/drivers/common/dpaax/
H A Ddpaax_logs.h13 #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 Dlthread_cond.c39 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 Dparseie.awk98 cond = ""
106 if(cond != "") {
109 cond = $i
/f-stack/dpdk/drivers/net/ena/
H A Dena_platform.h21 #define ena_assert_msg(cond, msg) \ argument
23 if (unlikely(!(cond))) { \
/f-stack/dpdk/drivers/common/dpaax/caamflib/
H A Drta.h558 #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 Dopae_osdep.h82 #define opae_readq_poll_timeout(addr, val, cond, invl, timeout)\ argument
87 if (cond) \
91 (cond) ? 0 : -ETIMEDOUT; \
/f-stack/freebsd/sys/
H A Dfail.h227 #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 Drte_test.h19 #define RTE_TEST_ASSERT(cond, msg, ...) do { \ argument
20 if (!(cond)) { \
/f-stack/dpdk/drivers/net/ena/base/
H A Dena_plat_dpdk.h110 #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 Dcommon.h42 #define CHECK(cond, ...) \ argument
44 if (!(cond)) { \
49 #cond); \
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Ddebug.h71 #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 Ddebug.h65 #define VERIFY(cond) \ argument
66 (void) (unlikely(!(cond)) && \
68 "%s", "VERIFY(" #cond ") failed\n"))
/f-stack/freebsd/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h293 #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 Dcaam_jr_hw_specific.h33 #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 Drte_lpm.h54 #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 Drte_lpm.h55 #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 Dzutil.h244 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} argument
251 # define Assert(cond,msg) argument

1234