Lines Matching refs:ent
338 int ent = ata_lookup_timeout_table(cmd);
341 if (ent < 0)
344 idx = ehc->cmd_timeout_idx[dev->devno][ent];
345 return ata_eh_cmd_timeout_table[ent].timeouts[idx];
363 int ent = ata_lookup_timeout_table(cmd);
366 if (ent < 0)
369 idx = ehc->cmd_timeout_idx[dev->devno][ent];
370 if (ata_eh_cmd_timeout_table[ent].timeouts[idx + 1] != ULONG_MAX)
371 ehc->cmd_timeout_idx[dev->devno][ent]++;
377 struct ata_ering_entry *ent;
384 ent = &ering->ring[ering->cursor];
385 ent->eflags = eflags;
386 ent->err_mask = err_mask;
387 ent->timestamp = get_jiffies_64();
392 struct ata_ering_entry *ent = &ering->ring[ering->cursor];
394 if (ent->err_mask)
395 return ent;
409 struct ata_ering_entry *ent;
413 ent = &ering->ring[idx];
414 if (!ent->err_mask)
416 rc = map_fn(ent, arg);
1752 static int speed_down_verdict_cb(struct ata_ering_entry *ent, void *void_arg)
1757 if (ent->timestamp < arg->since)
1760 cat = ata_eh_categorize_error(ent->eflags, ent->err_mask,
3055 struct ata_ering_entry *ent;
3057 ent = ata_ering_top(&dev->ering);
3058 if (ent)
3059 ent->eflags &= ~ATA_EFLAG_DUBIOUS_XFER;
3260 static int ata_count_probe_trials_cb(struct ata_ering_entry *ent, void *void_arg)
3266 if (ent->timestamp < now - min(now, interval))