Lines Matching refs:events
118 struct nsldapi_os_statusinfo *pip, short events );
120 struct nsldapi_os_statusinfo *pip, short events );
127 struct nsldapi_cb_statusinfo *pip, short events );
129 struct nsldapi_cb_statusinfo *pip, short events );
964 * any bits in the socket's returned events field other than
1010 * any bits in the socket's returned events field other than
1228 * returns 1 if some of the bits in "events" were added to pollfds.
1233 short events )
1241 if (( pip->ossi_pollfds[ i ].events & events )
1242 != events ) {
1243 pip->ossi_pollfds[ i ].events |= events;
1280 pip->ossi_pollfds[ i ].events =
1285 pip->ossi_pollfds[ openslot ].events = events;
1292 * returns 1 if any "events" from "fd" were removed from pollfds
1293 * returns 0 of "fd" wasn't in pollfds or if events did not overlap.
1297 short events )
1303 if (( pip->ossi_pollfds[ i ].events & events ) != 0 ) {
1304 pip->ossi_pollfds[ i ].events &= ~events;
1305 if ( pip->ossi_pollfds[ i ].events == 0 ) {
1308 return( 1 ); /* events overlap */
1310 return( 0 ); /* events do not overlap */
1346 * returns 1 if some of the bits in "events" were added to pollfds.
1351 short events )
1359 if (( pip->cbsi_pollfds[ i ].lpoll_events & events )
1360 != events ) {
1361 pip->cbsi_pollfds[ i ].lpoll_events |= events;
1406 pip->cbsi_pollfds[ openslot ].lpoll_events = events;
1413 * returns 1 if any "events" from "sb" were removed from pollfds
1414 * returns 0 of "sb" wasn't in pollfds or if events did not overlap.
1418 struct nsldapi_cb_statusinfo *pip, short events )
1425 & events ) != 0 ) {
1426 pip->cbsi_pollfds[ i ].lpoll_events &= ~events;
1431 return( 1 ); /* events overlap */
1433 return( 0 ); /* events do not overlap */