Home | History | Annotate | Download | only in common

Lines Matching refs:id

77     WORD32 id;
82 for(id = 0; id < BUF_MGR_MAX_CNT; id++)
84 ps_buf_mgr->au4_status[id] = 0;
85 ps_buf_mgr->apv_ptr[id] = NULL;
119 /* Check if buffer ID is within allowed range */
125 /* Check if the current ID is being used to hold some other buffer */
151 * Pointer to the id of the free buffer
164 WORD32 id;
168 for(id = 0; id < (WORD32)ps_buf_mgr->u4_max_buf_cnt; id++)
170 ASSERT(ps_buf_mgr->au4_status[id] != 2);
173 if((ps_buf_mgr->au4_status[id] == 0) && (ps_buf_mgr->apv_ptr[id]))
175 *pi4_buf_id = id;
177 ps_buf_mgr->au4_status[id] = 1;
178 pv_ret_ptr = ps_buf_mgr->apv_ptr[id];
209 UWORD32 id;
211 for(id = 0; id < ps_buf_mgr->u4_max_buf_cnt; id++)
213 ASSERT(ps_buf_mgr->au4_status[id] != 2);
215 if((ps_buf_mgr->au4_status[id] == 0) &&
216 (ps_buf_mgr->apv_ptr[id]))
235 * the id)
241 * ID of the buffer status to be released
258 /* If the given id is pointing to an id which is not yet added */
285 * id)
292 * ID of the buffer whose status needs to be modified
334 * Returns the status of the buffer corresponding to the id
340 * ID of the buffer status required
342 * @returns Status of the buffer corresponding to the id
364 * Returns the pointer to the buffer corresponding to the id
370 * ID of the buffer required