Lines Matching refs:mode

57     ibcm_state_data_t *statep, ibt_execution_mode_t mode);
110 ibt_execution_mode_t mode, ibt_chan_open_args_t *chan_args,
155 channel, flags, mode, chan_args, ret_args);
169 if (mode == IBT_NONBLOCKING) {
173 "non-blocking mode", channel);
176 } else if (mode == IBT_BLOCKING) {
180 "blocking mode", channel);
195 } else { /* any other mode is not valid for ibt_open_rc_channel */
197 "invalid mode %x specified", channel, mode);
821 statep->mode = IBCM_ACTIVE_MODE;
882 if (mode == IBT_BLOCKING) {
1206 ibt_close_rc_channel(ibt_channel_hdl_t channel, ibt_execution_mode_t mode,
1213 channel, mode, priv_data, priv_data_len,
1230 if (mode == IBT_BLOCKING) {
1239 } else if ((mode != IBT_NONBLOCKING) && (mode != IBT_NOCALLBACKS)) {
1241 "invalid mode %x specified", channel, mode);
1254 if ((mode == IBT_BLOCKING) ||
1255 (mode == IBT_NOCALLBACKS)) {
1312 if (mode != IBT_NONBLOCKING) {
1313 return (ibcm_close_rc_channel(channel, statep, mode));
1333 ibt_execution_mode_t mode)
1392 if (mode == IBT_NONBLOCKING) {
1420 if ((mode == IBT_BLOCKING) ||
1421 (mode == IBT_NOCALLBACKS)) {
1459 if ((mode == IBT_BLOCKING) || (mode == IBT_NOCALLBACKS))
1465 if (mode == IBT_NOCALLBACKS)
1511 if (mode == IBT_NOCALLBACKS) {
1525 } else if (mode == IBT_BLOCKING) {
1540 if ((mode == IBT_BLOCKING) ||
1541 (mode == IBT_NOCALLBACKS)) {
1569 if (mode == IBT_NOCALLBACKS) {
1606 if (mode == IBT_BLOCKING) {
1797 * Non-Blocking mode operations.
1809 * NON-Blocking mode.
1857 ibcm_validate_dqpn_data(ibt_ud_dest_attr_t *attr, ibt_execution_mode_t mode,
1861 if (mode == IBT_NONBLOCKING && attr->ud_cm_handler == NULL) {
1867 if (mode == IBT_NONBLOCKING) {
1871 "non-blocking mode");
1874 } else if (mode == IBT_BLOCKING) {
1878 "blocking mode");
1883 "invalid mode %x specified ", mode);
1925 ibcm_ud_get_dqpn(ibt_ud_dest_attr_t *attr, ibt_execution_mode_t mode,
2052 if (mode == IBT_BLOCKING)
2128 if (mode == IBT_BLOCKING) {
2164 * mode This function can execute in blocking or non blocking
2168 * ud_ret_args If the function is called in blocking mode, ud_ret_args
2177 ibt_request_ud_dest(ibt_ud_dest_hdl_t ud_dest, ibt_execution_mode_t mode,
2185 ud_dest, mode, attr, ud_ret_args);
2187 retval = ibcm_validate_dqpn_data(attr, mode, ud_ret_args);
2203 if (mode == IBT_NONBLOCKING) {
2205 * In NON-BLOCKING mode, and we need to update the destination
2229 retval = ibcm_ud_get_dqpn(attr, mode, ud_ret_args);
2243 * values will be valid only on BLOCKING mode.
2245 if (mode == IBT_BLOCKING) {
2261 * mode This function can execute in blocking or non blocking
2264 * returns If the function is called in blocking mode, returns
2276 ibt_ud_get_dqpn(ibt_ud_dest_attr_t *attr, ibt_execution_mode_t mode,
2282 attr, mode, returns);
2284 retval = ibcm_validate_dqpn_data(attr, mode, returns);
2289 return (ibcm_ud_get_dqpn(attr, mode, returns));
2377 if ((statep->mode == IBCM_ACTIVE_MODE) &&
2380 } else if (statep->mode == IBCM_PASSIVE_MODE) {
2387 "/ap_state/mode %x, %x, %x", statep->state,
2388 statep->ap_state, statep->mode);
2394 "/ap_state/mode %x, %x, %x", statep->state,
2395 statep->ap_state, statep->mode);
2412 /* post the MRA mad in blocking mode, as no timers involved */
3844 if (statep->mode == IBCM_ACTIVE_MODE) {
3845 IBTF_DPRINTF_L2(cmlog, "ibt_get_ofuvcm_req_data: Active mode "
4257 * mode Execute in blocking or non blocking mode.
4273 * ret_args If called in blocking mode, points to a return argument
4284 ibt_set_alt_path(ibt_channel_hdl_t channel, ibt_execution_mode_t mode,
4300 channel, mode, alt_path, priv_data, priv_data_len, ret_args);
4314 if (mode == IBT_NONBLOCKING) {
4318 "non-blocking mode");
4321 } else if (mode == IBT_BLOCKING) {
4325 "blocking mode");
4339 } else { /* any other mode is not valid for ibt_set_alt_path */
4341 "invalid mode %x specified", mode);
4526 if (mode == IBT_BLOCKING) {