Lines Matching refs:rwflags
1953 socket_stat (const struct link_socket *s, unsigned int rwflags, struct gc_arena *gc)
1958 if (rwflags & EVENT_READ)
1967 if (rwflags & EVENT_WRITE)
3199 unsigned int rwflags,
3205 if ((rwflags & EVENT_READ) && !stream_buf_read_setup (s))
3208 rwflags &= ~EVENT_READ;
3212 if (rwflags & EVENT_READ)
3216 /* if persistent is defined, call event_ctl only if rwflags has changed since last call */
3217 if (!persistent || *persistent != rwflags)
3219 event_ctl (es, socket_event_handle (s), rwflags, arg);
3221 *persistent = rwflags;
3224 s->rwflags_debug = rwflags;
3226 return rwflags;