| /f-stack/lib/ |
| H A D | ff_kern_condvar.c | 48 cv_init(struct cv *cvp, const char *desc) in cv_init() 54 cv_destroy(struct cv *cvp) in cv_destroy() 60 _cv_wait(struct cv *cvp, struct lock_object *lock) in _cv_wait() 66 _cv_wait_unlock(struct cv *cvp, struct lock_object *lock) in _cv_wait_unlock() 72 _cv_wait_sig(struct cv *cvp, struct lock_object *lock) in _cv_wait_sig() 78 _cv_timedwait(struct cv *cvp, struct lock_object *lock, int timo) in _cv_timedwait() 84 _cv_timedwait_sig(struct cv *cvp, struct lock_object *lock, int timo) in _cv_timedwait_sig() 90 _cv_timedwait_sig_sbt(struct cv *cvp, struct lock_object *lock, in _cv_timedwait_sig_sbt() 97 cv_signal(struct cv *cvp) in cv_signal() 103 cv_broadcastpri(struct cv *cvp, int pri) in cv_broadcastpri()
|
| H A D | ff_kern_synch.c | 65 struct cv cond;
|
| /f-stack/lib/include/sys/ |
| H A D | condvar.h | 49 struct cv { struct 55 void cv_init(struct cv *cvp, const char *desc); 56 void cv_destroy(struct cv *cvp); 58 void _cv_wait(struct cv *cvp, struct lock_object *lock); 59 void _cv_wait_unlock(struct cv *cvp, struct lock_object *lock); 60 int _cv_wait_sig(struct cv *cvp, struct lock_object *lock); 61 int _cv_timedwait(struct cv *cvp, struct lock_object *lock, int timo); 62 int _cv_timedwait_sig(struct cv *cvp, struct lock_object *lock, int timo); 63 int _cv_timedwait_sig_sbt(struct cv *cvp, struct lock_object *lock, 66 void cv_signal(struct cv *cvp); [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | spl_condvar.h | 48 struct cv { struct 53 void cv_init(struct cv *cvp, const char *desc); 54 void cv_destroy(struct cv *cvp); 56 void _cv_wait(struct cv *cvp, struct lock_object *lock); 57 void _cv_wait_unlock(struct cv *cvp, struct lock_object *lock); 58 int _cv_wait_sig(struct cv *cvp, struct lock_object *lock); 59 int _cv_timedwait_sbt(struct cv *cvp, struct lock_object *lock, 61 int _cv_timedwait_sig_sbt(struct cv *cvp, struct lock_object *lock, 64 void cv_signal(struct cv *cvp); 65 void cv_broadcastpri(struct cv *cvp, int pri);
|
| H A D | condvar.h | 84 typedef struct cv kcondvar_t; 92 #define zfs_cv_init(cv, name, type, arg) do { \ argument 95 for (_name = #cv; *_name != '\0'; _name++) { \ 100 _name = #cv; \ 101 cv_init((cv), _name); \ 103 #define cv_init(cv, name, type, arg) zfs_cv_init(cv, name, type, arg) argument
|
| /f-stack/freebsd/sys/ |
| H A D | condvar.h | 48 struct cv { struct 54 void cv_init(struct cv *cvp, const char *desc); 55 void cv_destroy(struct cv *cvp); 57 void _cv_wait(struct cv *cvp, struct lock_object *lock); 58 void _cv_wait_unlock(struct cv *cvp, struct lock_object *lock); 59 int _cv_wait_sig(struct cv *cvp, struct lock_object *lock); 60 int _cv_timedwait_sbt(struct cv *cvp, struct lock_object *lock, 62 int _cv_timedwait_sig_sbt(struct cv *cvp, struct lock_object *lock, 65 void cv_signal(struct cv *cvp); 66 void cv_broadcastpri(struct cv *cvp, int pri);
|
| H A D | tty.h | 101 struct cv t_inwait; /* (t) Input wait queue. */ 102 struct cv t_outwait; /* (t) Output wait queue. */ 103 struct cv t_outserwait; /* (t) Serial output wait queue. */ 104 struct cv t_bgwait; /* (t) Background wait queue. */ 105 struct cv t_dcdwait; /* (t) Carrier Detect wait queue. */ 195 int tty_wait(struct tty *tp, struct cv *cv); 197 int tty_timedwait(struct tty *tp, struct cv *cv, int timo);
|
| H A D | ksem.h | 46 struct cv ks_cv; /* waiters sleep here */
|
| H A D | sema.h | 42 struct cv sema_cv; /* Waiters. */
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zfs_context.h | 326 extern void cv_destroy(kcondvar_t *cv); 332 extern void cv_signal(kcondvar_t *cv); 333 extern void cv_broadcast(kcondvar_t *cv); 335 #define cv_timedwait_io(cv, mp, at) cv_timedwait(cv, mp, at) 336 #define cv_timedwait_idle(cv, mp, at) cv_timedwait(cv, mp, at) 337 #define cv_timedwait_sig(cv, mp, at) cv_timedwait(cv, mp, at) 338 #define cv_wait_io(cv, mp) cv_wait(cv, mp) 339 #define cv_wait_idle(cv, mp) cv_wait(cv, mp) 340 #define cv_wait_io_sig(cv, mp) cv_wait_sig(cv, mp) 342 cv_timedwait_hires(cv, mp, t, r, f) [all …]
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_empty_gif_module.c | 115 ngx_http_complex_value_t cv; in ngx_http_empty_gif_handler() local 121 ngx_memzero(&cv, sizeof(ngx_http_complex_value_t)); in ngx_http_empty_gif_handler() 123 cv.value.len = sizeof(ngx_empty_gif); in ngx_http_empty_gif_handler() 124 cv.value.data = ngx_empty_gif; in ngx_http_empty_gif_handler() 127 return ngx_http_send_response(r, NGX_HTTP_OK, &ngx_http_gif_type, &cv); in ngx_http_empty_gif_handler()
|
| H A D | ngx_http_image_filter_module.c | 1243 if (cv == NULL) { in ngx_http_image_filter_get_value() 1461 ccv.complex_value = &cv; in ngx_http_image_filter() 1482 *imcf->wcv = cv; in ngx_http_image_filter() 1489 ccv.complex_value = &cv; in ngx_http_image_filter() 1510 *imcf->hcv = cv; in ngx_http_image_filter() 1541 ccv.complex_value = &cv; in ngx_http_image_filter_jpeg_quality() 1564 *imcf->jqcv = cv; in ngx_http_image_filter_jpeg_quality() 1588 ccv.complex_value = &cv; in ngx_http_image_filter_webp_quality() 1611 *imcf->wqcv = cv; in ngx_http_image_filter_webp_quality() 1635 ccv.complex_value = &cv; in ngx_http_image_filter_sharpen() [all …]
|
| H A D | ngx_http_map_module.c | 114 ngx_http_complex_value_t *cv; in ngx_http_map_variable() local 135 cv = (ngx_http_complex_value_t *) value->data; in ngx_http_map_variable() 137 if (ngx_http_complex_value(r, cv, &str) != NGX_OK) { in ngx_http_map_variable() 389 ngx_http_complex_value_t cv, *cvp; in ngx_http_map() local 478 ccv.complex_value = &cv; in ngx_http_map() 484 if (cv.lengths != NULL) { in ngx_http_map() 490 *cvp = cv; in ngx_http_map()
|
| H A D | ngx_http_ssl_module.c | 870 ngx_http_complex_value_t *cv; in ngx_http_ssl_compile_certificates() local 906 cv = ngx_array_push(conf->certificate_values); in ngx_http_ssl_compile_certificates() 907 if (cv == NULL) { in ngx_http_ssl_compile_certificates() 915 ccv.complex_value = cv; in ngx_http_ssl_compile_certificates() 922 cv = ngx_array_push(conf->certificate_key_values); in ngx_http_ssl_compile_certificates() 923 if (cv == NULL) { in ngx_http_ssl_compile_certificates() 931 ccv.complex_value = cv; in ngx_http_ssl_compile_certificates()
|
| /f-stack/freebsd/contrib/vchiq/interface/compat/ |
| H A D | vchi_bsd.c | 137 cv_init(&c->cv, "VCHI completion cv"); in init_completion() 145 cv_destroy(&c->cv); in destroy_completion() 157 cv_signal(&c->cv); in complete() 173 cv_broadcast(&c->cv); in complete_all() 209 cv_wait(&c->cv, &c->lock); in wait_for_completion() 273 res = cv_wait_sig(&c->cv, &c->lock); in wait_for_completion_interruptible() 312 cv_init(&s->cv, "sema cv"); in _sema_init() 320 cv_destroy(&s->cv); in _sema_destroy() 330 cv_wait(&s->cv, &s->mtx); in down() 349 ret = cv_wait_sig(&s->cv, &s->mtx); in down_interruptible() [all …]
|
| H A D | vchi_bsd.h | 210 struct cv cv; member 233 struct cv cv; member
|
| /f-stack/freebsd/kern/ |
| H A D | kern_condvar.c | 77 cv_init(struct cv *cvp, const char *desc) in cv_init() 89 cv_destroy(struct cv *cvp) in cv_destroy() 109 _cv_wait(struct cv *cvp, struct lock_object *lock) in _cv_wait() 164 _cv_wait_unlock(struct cv *cvp, struct lock_object *lock) in _cv_wait_unlock() 213 _cv_wait_sig(struct cv *cvp, struct lock_object *lock) in _cv_wait_sig() 273 _cv_timedwait_sbt(struct cv *cvp, struct lock_object *lock, sbintime_t sbt, in _cv_timedwait_sbt() 335 _cv_timedwait_sig_sbt(struct cv *cvp, struct lock_object *lock, in _cv_timedwait_sig_sbt() 398 cv_signal(struct cv *cvp) in cv_signal() 427 cv_broadcastpri(struct cv *cvp, int pri) in cv_broadcastpri()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzpool/ |
| H A D | kernel.c | 326 VERIFY0(pthread_cond_init(cv, NULL)); in cv_init() 330 cv_destroy(kcondvar_t *cv) in cv_destroy() argument 332 VERIFY0(pthread_cond_destroy(cv)); in cv_destroy() 336 cv_wait(kcondvar_t *cv, kmutex_t *mp) in cv_wait() argument 339 VERIFY0(pthread_cond_wait(cv, &mp->m_lock)); in cv_wait() 344 cv_wait_sig(kcondvar_t *cv, kmutex_t *mp) in cv_wait_sig() argument 346 cv_wait(cv, mp); in cv_wait_sig() 424 cv_signal(kcondvar_t *cv) in cv_signal() argument 426 VERIFY0(pthread_cond_signal(cv)); in cv_signal() 430 cv_broadcast(kcondvar_t *cv) in cv_broadcast() argument [all …]
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_map_module.c | 112 ngx_stream_complex_value_t *cv; in ngx_stream_map_variable() local 133 cv = (ngx_stream_complex_value_t *) value->data; in ngx_stream_map_variable() 135 if (ngx_stream_complex_value(s, cv, &str) != NGX_OK) { in ngx_stream_map_variable() 388 ngx_stream_complex_value_t cv, *cvp; in ngx_stream_map() local 477 ccv.complex_value = &cv; in ngx_stream_map() 483 if (cv.lengths != NULL) { in ngx_stream_map() 489 *cvp = cv; in ngx_stream_map()
|
| H A D | ngx_stream_ssl_module.c | 824 ngx_stream_complex_value_t *cv; in ngx_stream_ssl_compile_certificates() local 860 cv = ngx_array_push(conf->certificate_values); in ngx_stream_ssl_compile_certificates() 861 if (cv == NULL) { in ngx_stream_ssl_compile_certificates() 869 ccv.complex_value = cv; in ngx_stream_ssl_compile_certificates() 876 cv = ngx_array_push(conf->certificate_key_values); in ngx_stream_ssl_compile_certificates() 877 if (cv == NULL) { in ngx_stream_ssl_compile_certificates() 885 ccv.complex_value = cv; in ngx_stream_ssl_compile_certificates()
|
| H A D | ngx_stream_script.c | 219 ngx_stream_complex_value_t **cv; in ngx_stream_set_complex_value_slot() local 222 cv = (ngx_stream_complex_value_t **) (p + cmd->offset); in ngx_stream_set_complex_value_slot() 224 if (*cv != NULL) { in ngx_stream_set_complex_value_slot() 228 *cv = ngx_palloc(cf->pool, sizeof(ngx_stream_complex_value_t)); in ngx_stream_set_complex_value_slot() 229 if (*cv == NULL) { in ngx_stream_set_complex_value_slot() 239 ccv.complex_value = *cv; in ngx_stream_set_complex_value_slot()
|
| /f-stack/app/nginx-1.16.1/src/http/ |
| H A D | ngx_http_script.c | 217 ngx_http_complex_value_t **cv; in ngx_http_set_complex_value_slot() local 222 if (*cv != NULL) { in ngx_http_set_complex_value_slot() 227 if (*cv == NULL) { in ngx_http_set_complex_value_slot() 237 ccv.complex_value = *cv; in ngx_http_set_complex_value_slot() 252 ngx_http_complex_value_t *cv; in ngx_http_test_predicates() local 258 cv = predicates->elts; in ngx_http_test_predicates() 280 ngx_http_complex_value_t *cv; in ngx_http_test_required_predicates() local 286 cv = predicates->elts; in ngx_http_test_required_predicates() 325 cv = ngx_array_push(*a); in ngx_http_set_predicate_slot() 326 if (cv == NULL) { in ngx_http_set_predicate_slot() [all …]
|
| /f-stack/freebsd/i386/i386/ |
| H A D | bios.c | 84 u_int8_t ck, *cv; in bios32_init() local 96 for (cv = (u_int8_t *)sdh, ck = 0, i = 0; i < (sdh->len * 16); i++) { in bios32_init() 97 ck += cv[i]; in bios32_init() 132 for (cv = (u_int8_t *)pt, ck = 0, i = 0; i < pt->len; i++) { in bios32_init() 133 ck += cv[i]; in bios32_init()
|
| /f-stack/app/nginx-1.16.1/src/http/v2/ |
| H A D | ngx_http_v2_module.c | 456 ngx_http_complex_value_t *cv; in ngx_http_v2_push() local 489 cv = ngx_array_push(h2lcf->pushes); in ngx_http_v2_push() 490 if (cv == NULL) { in ngx_http_v2_push() 498 ccv.complex_value = cv; in ngx_http_v2_push()
|
| /f-stack/app/nginx-1.16.1/src/http/modules/perl/ |
| H A D | ngx_http_perl_module.h | 60 extern void boot_DynaLoader(pTHX_ CV* cv);
|