Lines Matching defs:list_ptr
91 PriorityInsert(RF_DiskQueueData_t **list_ptr, RF_DiskQueueData_t *req)
94 * pointed to by the pointer that list_ptr points to * ie., list_ptr
97 for (; (*list_ptr) != NULL && (*list_ptr)->priority > req->priority;
98 list_ptr = &((*list_ptr)->next)) {
100 req->next = (*list_ptr);
101 (*list_ptr) = req;
107 ReqInsert(RF_DiskQueueData_t **list_ptr, RF_DiskQueueData_t *req, RF_CvscanArmDir_t order)
110 * pointed to by the pointer that list_ptr points to * ie., list_ptr
113 for (; (*list_ptr) != NULL &&
114 ((order == rf_cvscan_RIGHT && (*list_ptr)->sectorOffset <= req->sectorOffset)
115 || (order == rf_cvscan_LEFT && (*list_ptr)->sectorOffset > req->sectorOffset));
116 list_ptr = &((*list_ptr)->next)) {
118 req->next = (*list_ptr);
119 (*list_ptr) = req;
125 ReqDequeue(RF_DiskQueueData_t **list_ptr)
127 RF_DiskQueueData_t *ret = (*list_ptr);
128 if ((*list_ptr) != NULL) {
129 (*list_ptr) = (*list_ptr)->next;