Lines Matching refs:cp
234 CharPipeState* cp = _s_charpipes;
235 CharPipeState* cp_end = cp + MAX_CHAR_PIPES;
237 for ( ; cp < cp_end; cp++ ) {
238 if ( cp->a->peer == NULL && cp->b->peer == NULL )
242 if (cp == cp_end) { /* can't allocate one */
248 charpipehalf_init( cp->a, cp->b );
249 charpipehalf_init( cp->b, cp->a );
251 *pfirst = cp->a->cs;
252 *psecond = cp->b->cs;
445 CharPipeState* cp = _s_charpipes;
446 CharPipeState* cp_end = cp + MAX_CHAR_PIPES;
452 for ( ; cp < cp_end; cp++ ) {
455 half = cp->a;
459 half = cp->b;