Searched refs:open_count (Results 1 - 25 of 60) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dhdpu_features.h6 int open_count; member in struct:cpustate_t
H A Ddm-ioctl.h124 int32_t open_count; /* out */ member in struct:dm_ioctl
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/serial/
H A Dconsole.c149 ++port->open_count;
150 if (port->open_count == 1) {
158 port->open_count = 0;
210 if (!port->open_count) {
289 if (usbcons_info.port->open_count)
290 usbcons_info.port->open_count--;
H A Dusb-serial.c146 serial->port[i]->open_count = 0;
209 ++port->open_count;
216 if (port->open_count == 1) {
239 port->open_count = 0;
259 if (port->open_count == 0) {
264 --port->open_count;
265 if (port->open_count == 0) {
293 if (!port->open_count) {
316 if (!port->open_count) {
338 if (!port->open_count) {
[all...]
H A Ddigi_acceleport.c18 * switched to using port->open_count instead of private version.
1372 if( port->open_count && port->write_urb->status != -EINPROGRESS
1464 dbg( "digi_open: TOP: port=%d, open_count=%d", priv->dp_port_num, port->open_count );
1529 dbg( "digi_close: TOP: port=%d, open_count=%d", priv->dp_port_num, port->open_count );
1826 if( port->open_count == 0 )
1957 if( port->open_count
1965 if( port->open_count
H A Daircable.c465 if (!port->open_count) {
527 if (port->open_count) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/misc/hdpuftrs/
H A Dhdpu_cpustate.c44 if (cpustate.open_count)
49 cpustate.open_count++;
63 cpustate.open_count--;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/unix/
H A Dgarbage.c210 int open_count = 0; local
223 open_count = file_count(s->sk_socket->file);
224 if (open_count > atomic_read(&unix_sk(s)->inflight))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-s390/
H A Ddasd.h34 unsigned int open_count; member in struct:dasd_information2_t
94 unsigned int open_count; member in struct:dasd_information_t
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/gigaset/
H A Dinterface.c169 ++cs->open_count;
171 if (cs->open_count == 1) {
197 if (!cs->open_count)
200 if (!--cs->open_count) {
230 if (!cs->open_count)
360 if (!cs->open_count)
394 if (!cs->open_count)
426 if (!cs->open_count)
456 if (!cs->open_count)
478 if (!cs->open_count)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/irda/
H A Dircomm_tty.h108 int open_count; member in struct:ircomm_tty_cb
112 * o self->open_count
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/irda/ircomm/
H A Dircomm_tty.c274 * this loop, self->open_count is dropped by one, so that
282 IRDA_DEBUG(2, "%s(%d):block_til_ready before block on %s open_count=%d\n",
283 __FILE__,__LINE__, tty->driver->name, self->open_count );
285 /* As far as I can see, we protect open_count - Jean II */
289 self->open_count--;
331 IRDA_DEBUG(1, "%s(%d):block_til_ready blocking on %s open_count=%d\n",
332 __FILE__,__LINE__, tty->driver->name, self->open_count );
343 self->open_count++;
348 IRDA_DEBUG(1, "%s(%d):block_til_ready after blocking on %s open_count=%d\n",
349 __FILE__,__LINE__, tty->driver->name, self->open_count);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/misc/
H A Dadutux.c89 int open_count; /* number of times this port has been opened */ member in struct:adu_device
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 <
[all...]
H A Dldusb.c152 int open_count; /* number of times this port has been opened */ member in struct:ld_usb
332 if (dev->open_count) {
336 dev->open_count = 1;
359 dev->open_count = 0;
395 if (dev->open_count != 1) {
411 dev->open_count = 0;
781 if (!dev->open_count) {
H A Dlegousbtower.c136 int open_count; /* number of times this port has been opened */ member in struct:lego_usb_tower
297 if (dev->open_count) {
301 dev->open_count = 1;
339 dev->open_count = 0;
380 if (dev->open_count != 1) {
397 dev->open_count = 0;
788 dev->open_count = 0;
935 if (!dev->open_count) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dhvcs.c276 unsigned int open_count; member in struct:hvcs_struct
427 if (hvcsd->open_count > 0) {
1155 hvcsd->open_count = 1;
1204 hvcsd->open_count++;
1251 if (--hvcsd->open_count == 0) {
1277 } else if (hvcsd->open_count < 0) {
1278 printk(KERN_ERR "HVCS: vty-server@%X open_count: %d"
1280 hvcsd->vdev->unit_address, hvcsd->open_count);
1297 temp_open_count = hvcsd->open_count;
1315 hvcsd->open_count
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/block/
H A Ddasd_ioctl.c284 * The open_count is increased for every opener, that includes
288 dasd_info->open_count = atomic_read(&device->open_count);
290 dasd_info->open_count++;
H A Ddasd.c76 /* open_count = 0 means device online but not in use */
77 atomic_set(&device->open_count, -1);
1835 atomic_inc(&device->open_count);
1865 atomic_dec(&device->open_count);
1875 atomic_dec(&device->open_count);
2085 int max_count, open_count; local
2097 * The open_count is increased for every opener, that includes
2102 open_count = (int) atomic_read(&device->open_count);
2103 if (open_count > max_coun
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/
H A Ddrm_fops.c155 if (!dev->open_count++) {
346 DRM_DEBUG("open_count = %d\n", dev->open_count);
355 DRM_DEBUG("pid = %d, device = 0x%lx, open_count = %d\n",
357 dev->open_count);
467 if (!--dev->open_count) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/
H A Dcpia_pp.c80 int open_count; member in struct:pp_cam_entry
644 if(cam->open_count == 0) {
658 ++cam->open_count;
691 if (--cam->open_count == 0) {
773 if(cam->open_count > 0)
H A Dcpia.h257 int open_count; /* # of process that have camera open */ member in struct:cam_data
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/
H A Dmts64.c69 int open_count; member in struct:mts64
703 if (mts->open_count == 0) {
711 ++(mts->open_count);
721 --(mts->open_count);
722 if (mts->open_count == 0) {
731 } else if (mts->open_count < 0)
732 mts->open_count = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/usbvideo/
H A Dvicam.c417 u8 open_count; member in struct:vicam_camera
778 if (cam->open_count > 0) {
813 cam->open_count++;
824 int open_count; local
841 cam->open_count--;
842 open_count = cam->open_count;
847 if (!open_count && !udev) {
1345 int open_count; local
1375 open_count
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ps3/
H A Dps3av.c47 int open_count; member in struct:ps3av
850 if (!ps3av.open_count++) {
855 ps3av.open_count--;
870 if (ps3av.open_count <= 0) {
873 } else if (!--ps3av.open_count) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/nvidia/
H A Dnv_type.h149 u32 open_count; member in struct:nvidia_par

Completed in 228 milliseconds

123