Lines Matching defs:event

282      * Get the current event counter for health purposes, populate the initial
534 /* kill the periodic event */
832 * Rescan a device, possibly as a consequence of getting an event which suggests
995 * Get the current health status and set the 'next event' counter to suit.
1015 /* get the event counter */
1023 debug(1, "initial change counter %d, event counter %d", mh->change_counter, mh->next_event);
1182 * Check for event(s) outstanding in the controller.
1196 debug(1, "event change %d, event status update, %d -> %d", sc->mly_event_change,
1208 * Fetch one event from the controller.
1218 u_int32_t event;
1236 * Get an event number to fetch. It's possible that we've raced with another
1237 * context for the last event, in which case there will be no more events.
1243 event = sc->mly_event_counter++;
1249 * will be the only one constructed for this particular event number.
1254 mci->addr.phys.lun = (event >> 16) & 0xff;
1255 mci->addr.phys.target = (event >> 24) & 0xff;
1261 mci->param.getevent.sequence_number_low = event & 0xffff;
1263 debug(1, "fetch event %u", event);
1268 * Note that failure of mly_start() will result in this event never being
1272 mly_printf(sc, "couldn't fetch event %u\n", event);
1278 * Handle the completion of an event poll.
1289 * If the event was successfully fetched, process it.
1298 * Check for another event.
1304 * Process a controller event.
1311 int bus, target, event, class, action;
1317 * event code will be 0x1c (Request sense data present), the sense key will
1319 * actual event code will be a 16-bit value comprised of the ASCQ (low byte)
1325 event = ((int)(ssd->add_sense_code & ~0x80) << 8) + ssd->add_sense_code_qual;
1327 event = me->code;
1330 /* look up event, get codes */
1331 fp = mly_describe_code(mly_table_event, event);
1335 /* quiet event? */
1345 * Print some information about the event.
1389 default: /* probably a 'noisy' event being ignored */
1541 * Pick up command status from the controller, schedule a completion event
2708 mly_printf(sc, " event %d\n",