open_cnt 927 drivers/block/drbd/drbd_int.h int open_cnt; open_cnt 1931 drivers/block/drbd/drbd_main.c device->open_cnt++; open_cnt 1942 drivers/block/drbd/drbd_main.c device->open_cnt--; open_cnt 2232 drivers/block/drbd/drbd_main.c D_ASSERT(device, device->open_cnt == 0); open_cnt 850 drivers/block/drbd/drbd_state.c else if (ns.role == R_SECONDARY && device->open_cnt) open_cnt 167 drivers/scsi/sg.c int open_cnt; /* count of opens (perhaps < num(sfds) ) */ open_cnt 251 drivers/scsi/sg.c while (sdp->open_cnt > 0) { open_cnt 255 drivers/scsi/sg.c !sdp->open_cnt)); open_cnt 325 drivers/scsi/sg.c if (sdp->open_cnt > 0) { open_cnt 345 drivers/scsi/sg.c if (sdp->open_cnt < 1) { /* no existing opens */ open_cnt 357 drivers/scsi/sg.c sdp->open_cnt++; open_cnt 394 drivers/scsi/sg.c sdp->open_cnt--; open_cnt 401 drivers/scsi/sg.c } else if (0 == sdp->open_cnt) { open_cnt 2609 drivers/scsi/sg.c sdp->sg_tablesize, sdp->exclude, sdp->open_cnt);