Searched refs:usage_count (Results 1 – 8 of 8) sorted by relevance
55 int usage_count; member102 int usage_count; member
31 int usage_count; member61 int usage_count; /* number of opens all all minor devices */ member
914 hba[ctlr]->drv[dsk].usage_count++; in ida_open()915 hba[ctlr]->usage_count++; in ida_open()929 hba[ctlr]->drv[dsk].usage_count--; in ida_release()930 hba[ctlr]->usage_count--; in ida_release()1372 luninfo.num_opens = hba[ctlr]->drv[dsk].usage_count; in ida_ioctl()1899 if (hba[ctlr]->usage_count > 1) { in revalidate_allvol()1902 " revalidation (usage=%d)\n", hba[ctlr]->usage_count); in revalidate_allvol()1906 hba[ctlr]->usage_count++; in revalidate_allvol()1936 hba[ctlr]->usage_count--; in revalidate_allvol()1953 if( h->drv[logvol].usage_count > 1) { in deregister_disk()[all …]
571 static int usage_count; variable882 if (!usage_count){ in _lock_fdc()3006 if (usage_count == 0) { in do_fd_request()3881 if(usage_count == 0) { in floppy_revalidate()4310 if (usage_count) in floppy_init()4337 if (usage_count++){ in floppy_grab_irq_and_dma()4348 usage_count--; in floppy_grab_irq_and_dma()4358 usage_count--; in floppy_grab_irq_and_dma()4407 usage_count--; in floppy_grab_irq_and_dma()4425 if (--usage_count){ in floppy_release_irq_and_dma()
525 hba[ctlr]->drv[dsk].usage_count++; in cciss_open()526 hba[ctlr]->usage_count++; in cciss_open()543 hba[ctlr]->drv[dsk].usage_count--; in cciss_release()544 hba[ctlr]->usage_count--; in cciss_release()949 luninfo.num_opens = hba[ctlr]->drv[dsk].usage_count; in cciss_ioctl()1241 if (hba[ctlr]->drv[target].usage_count > maxusage) { in revalidate_logvol()1245 hba[ctlr]->drv[target].usage_count); in revalidate_logvol()1248 hba[ctlr]->drv[target].usage_count++; in revalidate_logvol()1266 hba[ctlr]->drv[target].usage_count--; in revalidate_logvol()1289 if (h->drv[logvol].usage_count > 1 || h->busy_configuring) { in deregister_disk()[all …]
424 client->usage_count = 0; in i2c_attach_client()446 (client->usage_count>0)) in i2c_detach_client()550 client->usage_count++; in i2c_use_client()551 else if (client->usage_count > 0) in i2c_use_client()554 client->usage_count++; in i2c_use_client()565 if(client->usage_count>0) in i2c_release_client()566 client->usage_count--; in i2c_release_client()
173 int usage_count; /* How many accesses currently */ member
3 * Don't play with usage_count directly, instead hand around781 usage_count field added to Scsi_Host_Template.814 * hosts.h: Add usage_count to Scsi_Host_Template.