/linux-2.4.37.9/drivers/pcmcia/ |
D | bulkmem.c | 130 static void retry_erase(erase_busy_t *busy, u_int cause) in retry_erase() argument 132 eraseq_entry_t *erase = busy->erase; in retry_erase() 138 DEBUG(2, "cs: trying erase request 0x%p...\n", busy); in retry_erase() 139 if (busy->next) in retry_erase() 140 remove_queue(busy); in retry_erase() 154 insert_queue(&mtd->erase_busy, busy); in retry_erase() 159 insert_queue(&s->erase_busy, busy); in retry_erase() 160 mod_timer(&busy->timeout, jiffies + req.Timeout*HZ/1000); in retry_erase() 180 busy->client->event_callback_args.info = erase; in retry_erase() 181 EVENT(busy->client, CS_EVENT_ERASE_COMPLETE, CS_EVENT_PRI_LOW); in retry_erase() [all …]
|
/linux-2.4.37.9/drivers/isdn/eicon/ |
D | linsys.c | 111 boolean_t busy = FALSE; in DivasLogAdd() local 115 if (busy) in DivasLogAdd() 120 busy = TRUE; in DivasLogAdd() 131 busy = FALSE; in DivasLogAdd() 137 busy = FALSE; in DivasLogAdd()
|
/linux-2.4.37.9/drivers/ide/ |
D | ide-default.c | 69 busy: 0, 96 DRIVER(drive)->busy++; in idedefault_attach() 98 DRIVER(drive)->busy--; in idedefault_attach()
|
D | ide-io.c | 751 while (!hwgroup->busy) { in ide_do_request() 752 hwgroup->busy = 1; in ide_do_request() 787 hwgroup->busy = 0; in ide_do_request() 828 hwgroup->busy = 0; in ide_do_request() 946 hwgroup->busy = 0; in ide_timer_expiry() 956 if (!hwgroup->busy) { in ide_timer_expiry() 957 hwgroup->busy = 1; /* paranoia */ in ide_timer_expiry() 1007 hwgroup->busy = 0; in ide_timer_expiry() 1173 if (!hwgroup->busy) { in ide_intr() 1174 hwgroup->busy = 1; /* paranoia */ in ide_intr() [all …]
|
/linux-2.4.37.9/arch/cris/drivers/ |
D | eeprom.c | 130 volatile int busy; member 172 eeprom.busy = 0; in eeprom_init() 518 while(eeprom.busy) in eeprom_read() 527 eeprom.busy++; in eeprom_read() 538 eeprom.busy--; in eeprom_read() 566 eeprom.busy--; in eeprom_read() 596 while(eeprom.busy) in eeprom_write() 603 eeprom.busy++; in eeprom_write() 621 eeprom.busy--; in eeprom_write() 734 eeprom.busy--; in eeprom_write()
|
D | ide.c | 183 while(timeleft && (*R_ATA_STATUS_DATA & IO_MASK(R_ATA_STATUS_DATA, busy))) in OUT_BYTE() 212 while(timeleft && (*R_ATA_STATUS_DATA & IO_MASK(R_ATA_STATUS_DATA, busy))) in IN_BYTE() 465 while(*R_ATA_STATUS_DATA & IO_MASK(R_ATA_STATUS_DATA, busy)); /* wait for busy flag*/ in init_e100_ide() 567 while((status = *R_ATA_STATUS_DATA) & IO_MASK(R_ATA_STATUS_DATA, busy)) { in e100_atapi_input_bytes() 624 while(*R_ATA_STATUS_DATA & IO_MASK(R_ATA_STATUS_DATA, busy)); in e100_atapi_output_bytes() 651 (*R_ATA_STATUS_DATA & IO_MASK(R_ATA_STATUS_DATA, busy))); in e100_atapi_output_bytes() 652 } while(*R_ATA_STATUS_DATA & IO_MASK(R_ATA_STATUS_DATA, busy)); in e100_atapi_output_bytes()
|
/linux-2.4.37.9/drivers/sound/dmasound/ |
D | dmasound_core.c | 324 int busy; member 331 mixer.busy = 1; in mixer_open() 338 mixer.busy = 0; in mixer_release() 386 mixer.busy = 0; in mixer_init() 783 sq->busy = 0; in sq_init_waitqueue() 791 sq->busy = 0; /* CHECK: IS THIS OK??? */ 803 if (sq->busy) { in sq_open2() 809 while (sq->busy) { in sq_open2() 822 sq->busy = 1; /* Let's play spot-the-race-condition */ in sq_open2() 833 sq->busy = 0 ; in sq_open2() [all …]
|
/linux-2.4.37.9/arch/m68k/fpsp040/ |
D | gen_except.S | 69 | Fix up the new busy frame with entries from the unimp frame 72 movel ETEMP_HI(%a6),ETEMP_HI(%a1) |frame to busy frame 85 movel %d0,CMDREG3B(%a1) |in the busy frame 139 | On a busy frame, we must clear the nmnexc bits. 142 bnes check_fr |if busy, clr nmnexc 204 movel %d0,CMDREG3B(%a6) |in the busy frame 279 cmpib #BUSY_SIZE-4,1(%a7) |check for busy frame 280 beqs busy_fr |if unimp, grow to busy 296 moveb #BUSY_SIZE-4,1(%a7) |write busy fmt word. 316 movel %d0,CMDREG3B(%a6) |in the busy frame [all …]
|
/linux-2.4.37.9/drivers/sbus/char/ |
D | flash.c | 32 unsigned long busy; /* In use? */ member 134 if (test_and_set_bit(0, (void *)&flash.busy) != 0) in flash_open() 144 flash.busy = 0; in flash_release() 194 flash.busy = 0; in flash_init() 232 flash.busy = 0; in flash_init()
|
D | jsflash.c | 121 unsigned long busy; /* In use? */ member 482 if (test_and_set_bit(0, (void *)&jsf0.busy) != 0) in jsf_open() 509 jsf0.busy = 0; in jsf_release() 699 if (jsf0.busy) in cleanup_module() 702 jsf0.busy = 0; in cleanup_module()
|
D | vfc_dev.c | 141 dev->busy=0; in init_vfc_devstruct() 197 if (dev->busy) { in vfc_open() 202 dev->busy = 1; in vfc_open() 224 if (!dev || !dev->busy) { in vfc_release() 228 dev->busy = 0; in vfc_release()
|
/linux-2.4.37.9/drivers/block/paride/ |
D | pg.c | 241 int busy; /* write done, read expected */ member 280 PG.busy = 0; in pg_init_units() 584 if (PG.busy) { in pg_open() 586 PG.busy = 0; in pg_open() 628 if (PG.busy) return -EBUSY; in pg_write() 654 PG.busy = 1; in pg_write() 670 if (!PG.busy) return -EINVAL; in pg_read() 673 PG.busy = 0; in pg_read()
|
/linux-2.4.37.9/drivers/isdn/hisax/ |
D | st5481_d.c | 305 if (test_and_set_bit(buf_nr, &d_out->busy)) { in usb_d_out() 306 DBG(2, "ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); in usb_d_out() 382 test_and_clear_bit(buf_nr, &d_out->busy); in usb_d_out_complete() 387 if (d_out->busy == 0) { in usb_d_out_complete() 418 if (test_and_set_bit(buf_nr, &d_out->busy)) { in dout_start_xmit() 419 WARN("ep %d urb %d busy %#lx", EP_D_OUT, buf_nr, d_out->busy); in dout_start_xmit() 515 if (test_bit(0, &d_out->busy) || test_bit(1, &d_out->busy)) { in dout_underrun() 527 if (!test_bit(0, &d_out->busy) && !test_bit(1, &d_out->busy)) in dout_check_busy()
|
D | st5481_b.c | 39 if (test_and_set_bit(buf_nr, &b_out->busy)) { in usb_b_out() 172 test_and_clear_bit(buf_nr, &b_out->busy); in usb_b_out_complete() 177 if (b_out->busy == 0) { in usb_b_out_complete() 210 b_out->busy = 0; in st5481B_mode()
|
D | elsa_cs.c | 175 int busy; member 443 &(((local_info_t*)link->priv)->busy), in elsa_cs_config() 519 ((local_info_t*)link->priv)->busy = 1; in elsa_cs_event() 533 dev->busy = 1; in elsa_cs_event() 543 dev->busy = 0; in elsa_cs_event()
|
D | st5481.h | 329 unsigned long busy; member 341 unsigned long busy; member 350 u_long busy; member
|
/linux-2.4.37.9/drivers/isdn/tpam/ |
D | tpam_queues.c | 185 card->busy = 0; in tpam_irq() 321 if (card->busy) { in tpam_sendpacket() 343 if (card->busy) { in tpam_sendpacket() 383 card->busy = 1; in tpam_sendpacket()
|
/linux-2.4.37.9/drivers/hil/ |
D | hp_sdc_mlc.c | 185 goto busy; in hp_sdc_mlc_cts() 190 goto busy; in hp_sdc_mlc_cts() 197 goto busy; in hp_sdc_mlc_cts() 213 busy: in hp_sdc_mlc_cts()
|
/linux-2.4.37.9/net/sched/ |
D | sch_teql.c | 279 int busy; in teql_master_xmit() local 288 busy = 0; in teql_master_xmit() 299 busy = 1; in teql_master_xmit() 321 busy = 1; in teql_master_xmit() 338 if (busy) { in teql_master_xmit()
|
/linux-2.4.37.9/fs/ |
D | inode.c | 678 int busy = 0, count = 0; in invalidate_list() local 700 busy = 1; in invalidate_list() 704 return busy; in invalidate_list() 726 int busy; in invalidate_inodes() local 730 busy = invalidate_list(&inode_in_use, sb, &throw_away); in invalidate_inodes() 731 busy |= invalidate_list(&inode_unused, sb, &throw_away); in invalidate_inodes() 732 busy |= invalidate_list(&inode_unused_pagecache, sb, &throw_away); in invalidate_inodes() 733 busy |= invalidate_list(&sb->s_dirty, sb, &throw_away); in invalidate_inodes() 734 busy |= invalidate_list(&sb->s_locked_inodes, sb, &throw_away); in invalidate_inodes() 739 return busy; in invalidate_inodes()
|
/linux-2.4.37.9/drivers/acorn/block/ |
D | mfm.S | 58 @ Check the hdc is still busy and command has not ended and no errors 60 @ think we should continue DMA until it drops busy - perhaps this was 122 @ Check the hdc is still busy and command has not ended and no errors 124 @ think we should continue DMA until it drops busy - perhaps this was
|
/linux-2.4.37.9/fs/qnx4/ |
D | bitmap.c | 116 int qnx4_set_bitmap(struct super_block *sb, long block, int busy) in qnx4_set_bitmap() argument 132 if (busy == 0) { in qnx4_set_bitmap()
|
/linux-2.4.37.9/drivers/scsi/ |
D | atari_NCR5380.c | 355 if (hostdata->busy[cmd->target] & (1 << cmd->lun)) in is_lun_busy() 385 hostdata->busy[cmd->target] |= (1 << cmd->lun); in cmd_get_tag() 412 hostdata->busy[cmd->target] &= ~(1 << cmd->lun); in cmd_free_tag() 857 hostdata->busy[i] = 0; in NCR5380_init() 1097 tmp, tmp->target, hostdata->busy[tmp->target], in NCR5380_main() 1106 !(hostdata->busy[tmp->target] & (1 << tmp->lun)) in NCR5380_main() 1705 hostdata->busy[cmd->target] |= (1 << cmd->lun); in NCR5380_select() 2211 hostdata->busy[cmd->target] &= ~(1 << cmd->lun); in NCR5380_information_transfer() 2308 hostdata->busy[cmd->target] |= (1 << cmd->lun); in NCR5380_information_transfer() 2454 hostdata->busy[cmd->target] &= ~(1 << cmd->lun); in NCR5380_information_transfer() [all …]
|
D | mac_NCR5380.c | 378 if (hostdata->busy[cmd->target] & (1 << cmd->lun)) in is_lun_busy() 408 hostdata->busy[cmd->target] |= (1 << cmd->lun); in cmd_get_tag() 435 hostdata->busy[cmd->target] &= ~(1 << cmd->lun); in cmd_free_tag() 883 hostdata->busy[i] = 0; in NCR5380_init() 1107 tmp, tmp->target, hostdata->busy[tmp->target], in NCR5380_main() 1115 !(hostdata->busy[tmp->target] & (1 << tmp->lun)) in NCR5380_main() 1709 hostdata->busy[cmd->target] |= (1 << cmd->lun); in NCR5380_select() 2369 hostdata->busy[cmd->target] &= ~(1 << cmd->lun); in NCR5380_information_transfer() 2460 hostdata->busy[cmd->target] |= (1 << cmd->lun); in NCR5380_information_transfer() 2606 hostdata->busy[cmd->target] &= ~(1 << cmd->lun); in NCR5380_information_transfer() [all …]
|
D | sun3_NCR5380.c | 362 if (hostdata->busy[cmd->target] & (1 << cmd->lun)) in is_lun_busy() 392 hostdata->busy[cmd->target] |= (1 << cmd->lun); in cmd_get_tag() 419 hostdata->busy[cmd->target] &= ~(1 << cmd->lun); in cmd_free_tag() 862 hostdata->busy[i] = 0; in NCR5380_init() 1093 tmp, tmp->target, hostdata->busy[tmp->target], in NCR5380_main() 1102 !(hostdata->busy[tmp->target] & (1 << tmp->lun)) in NCR5380_main() 1695 hostdata->busy[cmd->target] |= (1 << cmd->lun); in NCR5380_select() 2230 hostdata->busy[cmd->target] &= ~(1 << cmd->lun); in NCR5380_information_transfer() 2321 hostdata->busy[cmd->target] |= (1 << cmd->lun); in NCR5380_information_transfer() 2470 hostdata->busy[cmd->target] &= ~(1 << cmd->lun); in NCR5380_information_transfer() [all …]
|