Home
last modified time | relevance | path

Searched refs:current_entry (Results 1 – 3 of 3) sorted by relevance

/drivers/scsi/
Dhpsa.h64 u32 current_entry; member
413 if ((rq->head[rq->current_entry] & 1) == rq->wraparound) { in SA5_performant_completed()
414 register_value = rq->head[rq->current_entry]; in SA5_performant_completed()
415 rq->current_entry++; in SA5_performant_completed()
423 if (rq->current_entry == h->max_commands) { in SA5_performant_completed()
424 rq->current_entry = 0; in SA5_performant_completed()
517 register_value = rq->head[rq->current_entry]; in SA5_ioaccel_mode1_completed()
519 rq->head[rq->current_entry] = IOACCEL_MODE1_REPLY_UNUSED; in SA5_ioaccel_mode1_completed()
520 if (++rq->current_entry == rq->size) in SA5_ioaccel_mode1_completed()
521 rq->current_entry = 0; in SA5_ioaccel_mode1_completed()
[all …]
Dhpsa.c709 if ((rq->head[rq->current_entry] & 1) == rq->wraparound) { in next_command()
710 a = rq->head[rq->current_entry]; in next_command()
711 rq->current_entry++; in next_command()
719 if (rq->current_entry == h->max_commands) { in next_command()
720 rq->current_entry = 0; in next_command()
7407 h->reply_queue[i].current_entry = in hpsa_enter_performant_mode()
7587 h->reply_queue[i].current_entry = 0; in hpsa_put_ctlr_into_performant_mode()
/drivers/md/
Ddm-bio-prison.c282 unsigned current_entry; member
297 ds->current_entry = 0; in dm_deferred_set_create()
321 entry = ds->entries + ds->current_entry; in dm_deferred_entry_inc()
336 while ((ds->sweeper != ds->current_entry) && in __sweep()
342 if ((ds->sweeper == ds->current_entry) && !ds->entries[ds->sweeper].count) in __sweep()
368 if ((ds->sweeper == ds->current_entry) && in dm_deferred_set_add_work()
369 !ds->entries[ds->current_entry].count) in dm_deferred_set_add_work()
372 list_add(work, &ds->entries[ds->current_entry].work_items); in dm_deferred_set_add_work()
373 next_entry = ds_next(ds->current_entry); in dm_deferred_set_add_work()
375 ds->current_entry = next_entry; in dm_deferred_set_add_work()