Home | History | Annotate | Download | only in common

Lines Matching defs:id

239     WORD32 id;
255 for(id = 0; id < BUF_MGR_MAX_CNT; id++)
257 ps_buf_mgr->au4_status[id] = 0;
258 ps_buf_mgr->apv_ptr[id] = NULL;
297 /* Check if buffer ID is within allowed range */
306 /* Check if the current ID is being used to hold some other buffer */
338 * Pointer to the id of the free buffer
349 WORD32 id;
356 for(id = 0; id < ps_buf_mgr->i4_active_buf_cnt; id++)
359 if((ps_buf_mgr->au4_status[id] == 0) && (ps_buf_mgr->apv_ptr[id]))
361 *pi4_buf_id = id;
363 ps_buf_mgr->au4_status[id] = 1;
364 pv_ret_ptr = ps_buf_mgr->apv_ptr[id];
396 WORD32 id;
403 for(id = 0; id < ps_buf_mgr->i4_active_buf_cnt; id++)
405 if((ps_buf_mgr->au4_status[id] == 0) &&
406 (ps_buf_mgr->apv_ptr[id]))
428 * the id)
434 * ID of the buffer status to be released
455 /* If the given id is pointing to an id which is not yet added */
488 * id)
495 * ID of the buffer whose status needs to be modified
546 * Returns the status of the buffer corresponding to the id
552 * ID of the buffer status required
554 * @returns Status of the buffer corresponding to the id
585 * Returns the pointer to the buffer corresponding to the id
591 * ID of the buffer required
620 * Gets the buffer id from the buffer manager if the buffer is added to the
624 * Returns the buffer id corresponding to the given buffer if it exists
632 * @returns Buffer id if exists, else -1
641 WORD32 id;
647 for(id = 0; id < ps_buf_mgr->i4_active_buf_cnt; id++)
649 if(ps_buf_mgr->apv_ptr[id] == pv_buf)
651 buf_id = id;