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