Searched refs:waits (Results 1 - 8 of 8) sorted by relevance

/linux-master/fs/afs/
H A Dvl_probe.c231 struct wait_queue_entry *waits; local
252 waits = kmalloc(array_size(vllist->nr_servers, sizeof(*waits)), GFP_KERNEL);
253 if (!waits)
259 init_waitqueue_entry(&waits[i], current);
260 add_wait_queue(&server->probe_wq, &waits[i]);
296 remove_wait_queue(&server->probe_wq, &waits[i]);
300 kfree(waits);
/linux-master/drivers/fpga/
H A Daltera-ps-spi.c104 int min, max, waits; local
128 waits = max / min;
130 waits++;
133 for (i = 0; i < waits; i++) {
/linux-master/drivers/infiniband/hw/hfi1/
H A Dsdma.c1581 * This waits for the state machine to exit so it is not
1726 struct iowait *waits[SDMA_WAIT_BATCH_SIZE]; local
1750 if (n == ARRAY_SIZE(waits))
1759 twait = waits[tidx];
1767 waits[n++] = wait;
1776 waits[tidx]->wakeup(waits[tidx], SDMA_AVAIL_REASON);
1780 waits[i]->wakeup(waits[i], SDMA_AVAIL_REASON);
/linux-master/drivers/tty/serial/8250/
H A D8250_bcm7271.c291 int waits; local
298 waits = 1;
304 if (waits-- == 0)
/linux-master/sound/pci/
H A Dfm801.c1077 unsigned short reg, unsigned long waits)
1079 unsigned long timeout = jiffies + waits;
1076 wait_for_codec(struct fm801 *chip, unsigned int codec_id, unsigned short reg, unsigned long waits) argument
/linux-master/drivers/scsi/
H A Dst.c664 /* Handle the write-behind checking (waits for completion). Returns -ENOSPC if
974 int attentions, waits, max_wait, scode;
982 for (attentions=waits=0; ; ) {
1010 if (waits < max_wait) {
1015 waits++;
1385 DEBC_printk(STp, "Async write waits %d, finished %d.\n",
970 int attentions, waits, max_wait, scode; local
H A Dpmcraid.c2307 * Note: This command initiates reset and waits for its completion. Hence this
3104 int waits = jiffies_to_msecs(PMCRAID_RESET_HOST_TIMEOUT) / interval; local
3113 while (waits--) {
4674 * Issues an adapter shutdown to the card waits for its completion
H A Dhpsa.c1861 int waits = 0; local
1871 if (++waits > num_wait)
1876 if (waits > num_wait) {

Completed in 214 milliseconds