Lines Matching refs:ttp_connect
28 if (self->ppp_open && !self->ttp_open && !self->ttp_connect) {
298 clear_bit(0, &self->ttp_connect);
309 clear_bit(0, &self->ttp_connect);
405 clear_bit(0, &self->ttp_connect);
428 clear_bit(0, &self->ttp_connect);
506 self->ttp_connect = 0; /* Not connecting yet */
553 if(test_and_set_bit(0, &self->ttp_connect))
643 clear_bit(0, &self->ttp_connect);
868 clear_bit(0, &new->ttp_connect);
1121 test_connect = test_and_clear_bit(0, &self->ttp_connect);
1123 /* If both self->ttp_open and self->ttp_connect are NULL, it mean that we
1196 if(! test_bit(0, &self->ttp_connect))
1218 clear_bit(0, &self->ttp_connect); /* Not racy, IrDA traffic is serial */
1369 * We need to clear up the ttp_connect flag atomically to prevent
1371 * We want to clear the ttp_connect flag only if we close the tsap,
1382 && (test_and_clear_bit(0, &new->ttp_connect)))
1401 * 1) socket was not connecting or connected : ttp_connect should be 0.
1403 * ALLOW_SIMULT_CONNECT is undefined. ttp_connect should be 1.
1410 if((test_bit(0, &new->ttp_connect)) || (new->tsap != NULL))
1471 if(! test_bit(0, &self->ttp_connect))
1487 clear_bit(0, &self->ttp_connect);
1535 if(! test_bit(0, &self->ttp_connect))
1597 clear_bit(0, &self->ttp_connect);
1766 if(self->ttp_connect)