Lines Matching refs:err
33 int err; in uv_loop_init() local
45 err = uv_mutex_init(&lfields->loop_metrics.lock); in uv_loop_init()
46 if (err) in uv_loop_init()
80 err = uv__platform_loop_init(loop); in uv_loop_init()
81 if (err) in uv_loop_init()
85 err = uv__process_init(loop); in uv_loop_init()
86 if (err) in uv_loop_init()
90 err = uv_rwlock_init(&loop->cloexec_lock); in uv_loop_init()
91 if (err) in uv_loop_init()
94 err = uv_mutex_init(&loop->wq_mutex); in uv_loop_init()
95 if (err) in uv_loop_init()
98 err = uv_async_init(loop, &loop->wq_async, uv__work_done); in uv_loop_init()
99 if (err) in uv_loop_init()
128 return err; in uv_loop_init()
133 int err; in uv_loop_fork() local
137 err = uv__io_fork(loop); in uv_loop_fork()
138 if (err) in uv_loop_fork()
139 return err; in uv_loop_fork()
141 err = uv__async_fork(loop); in uv_loop_fork()
142 if (err) in uv_loop_fork()
143 return err; in uv_loop_fork()
145 err = uv__signal_loop_fork(loop); in uv_loop_fork()
146 if (err) in uv_loop_fork()
147 return err; in uv_loop_fork()