Lines Matching refs:open_count
89 int open_count; /* number of times this port has been opened */
282 ++dev->open_count;
283 dbg(2,"%s : open count %d", __FUNCTION__, dev->open_count);
288 if (dev->open_count == 1) {
304 --dev->open_count;
328 --dev->open_count;
329 dbg(2," %s : open count %d", __FUNCTION__, dev->open_count);
330 if (dev->open_count <= 0) {
332 dev->open_count = 0;
364 if (dev->open_count <= 0) {
848 dbg(2," %s : open count %d", __FUNCTION__, dev->open_count);
849 if (!dev->open_count) {