Lines Matching defs:reply

52     struct i2o_single_reply *reply;
121 struct i2o_get_param_reply *reply;
130 if ((reply = iop_get_util_params(sc, sc->lct[i].local_tid,
134 (struct i2o_device_identity *)reply->result;
139 free(reply, M_PSTIOP);
169 struct i2o_single_reply *reply;
179 reply = (struct i2o_single_reply *)(sc->obase + (mfa - sc->phys_obase));
181 /* if this is an event register reply, shout! */
182 if (reply->function == I2O_UTIL_EVENT_REGISTER) {
184 (struct i2o_util_event_reply_message *)reply;
191 /* if reply is a failurenotice we need to free the original mfa */
192 if (reply->message_flags & I2O_MESSAGE_FLAGS_FAIL)
193 iop_free_mfa(sc,((struct i2o_fault_reply *)(reply))->preserved_mfa);
195 /* reply->initiator_context points to the service routine */
197 (reply->initiator_context))(sc, mfa, reply);
207 volatile u_int32_t reply = 0;
218 msg->status_word_low_addr = vtophys(&reply);
223 while (--timeout && !reply)
232 return reply;
240 volatile u_int32_t reply = 0;
264 msg->sgl[0].count = sizeof(reply);
265 msg->sgl[0].phys_addr[0] = vtophys(&reply);
273 while (--timeout && reply != I2O_EXEC_OUTBOUND_INIT_COMPLETE)
295 struct i2o_get_lct_reply *reply;
299 if (!(reply = contigmalloc(ALLOCSIZE, M_PSTIOP, M_NOWAIT | M_ZERO,
317 msg->sgl.phys_addr[0] = vtophys(reply);
320 free(reply, M_PSTIOP);
323 if (!(sc->lct = malloc(reply->table_size * sizeof(struct i2o_lct_entry),
325 free(reply, M_PSTIOP);
328 bcopy(&reply->entry[0], sc->lct,
329 reply->table_size * sizeof(struct i2o_lct_entry));
330 sc->lct_count = reply->table_size;
331 free(reply, M_PSTIOP);
340 struct i2o_get_param_reply *reply;
347 if (!(reply = contigmalloc(PAGE_SIZE, M_PSTIOP, M_NOWAIT | M_ZERO,
373 msg->sgl[1].phys_addr[0] = vtophys(reply);
376 reply->error_info_size) {
377 free(reply, M_PSTIOP);
378 reply = NULL;
381 return reply;
415 iop_done(struct iop_softc *sc, u_int32_t mfa, struct i2o_single_reply *reply)
418 (struct iop_request *)reply->transaction_context;
420 request->reply = reply;
428 struct i2o_single_reply *reply;
444 status = request.reply->status;
457 reply = (struct i2o_single_reply *)(sc->obase+(out_mfa-sc->phys_obase));
458 status = reply->status;