Lines Matching refs:p_cb
35 tGAP_INFO *p_cb = &gap_cb.blk[0];
38 for (x = 0; x < GAP_MAX_BLOCKS; x++, p_cb++)
40 if (!p_cb->in_use)
42 memset (p_cb, 0, sizeof (tGAP_INFO));
44 p_cb->in_use = TRUE;
45 p_cb->index = x;
46 p_cb->p_data = (void *)NULL;
47 return (p_cb);
65 void gap_free_cb (tGAP_INFO *p_cb)
67 if (p_cb)
69 p_cb->gap_cback = NULL;
70 p_cb->in_use = FALSE;
89 tGAP_INFO *p_cb = &gap_cb.blk[0];
92 for (x = 0; x < GAP_MAX_BLOCKS; x++, p_cb++)
94 if (p_cb->in_use && p_cb->event == request)