Lines Matching refs:open_count
11 * - removed active variable, as open_count will do.
175 int open_count;
368 ++bluetooth->open_count;
369 if (bluetooth->open_count == 1) {
422 if (!bluetooth->open_count) {
429 --bluetooth->open_count;
430 if (bluetooth->open_count <= 0) {
431 bluetooth->open_count = 0;
461 if (!bluetooth->open_count) {
589 if (!bluetooth->open_count) {
615 if (!bluetooth->open_count) {
641 if (!bluetooth->open_count) {
662 if (!bluetooth->open_count) {
681 if (!bluetooth->open_count) {
701 if (!bluetooth->open_count) {
723 if (!bluetooth->open_count) {
748 if (!bluetooth->open_count) {
978 if (!bluetooth || !bluetooth->open_count)
1234 if ((bluetooth->open_count) && (bluetooth->tty))
1237 bluetooth->open_count = 0;