Home
last modified time | relevance | path

Searched refs:usage_count (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/drivers/block/
Dcpqarray.h55 int usage_count; member
102 int usage_count; member
Dcciss.h31 int usage_count; member
61 int usage_count; /* number of opens all all minor devices */ member
Dcpqarray.c914 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 …]
Dfloppy.c571 static int usage_count; variable
882 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()
Dcciss.c525 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 …]
/linux-2.4.37.9/drivers/i2c/
Di2c-core.c424 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()
/linux-2.4.37.9/include/linux/
Di2c.h173 int usage_count; /* How many accesses currently */ member
/linux-2.4.37.9/drivers/scsi/
DChangeLog3 * Don't play with usage_count directly, instead hand around
781 usage_count field added to Scsi_Host_Template.
814 * hosts.h: Add usage_count to Scsi_Host_Template.