Home
last modified time | relevance | path

Searched refs:Qptr (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/block/
Dcpqarray.c170 static inline void addQ(cmdlist_t **Qptr, cmdlist_t *c);
171 static inline cmdlist_t *removeQ(cmdlist_t **Qptr, cmdlist_t *c);
937 static inline void addQ(cmdlist_t **Qptr, cmdlist_t *c) in addQ() argument
939 if (*Qptr == NULL) { in addQ()
940 *Qptr = c; in addQ()
943 c->prev = (*Qptr)->prev; in addQ()
944 c->next = (*Qptr); in addQ()
945 (*Qptr)->prev->next = c; in addQ()
946 (*Qptr)->prev = c; in addQ()
950 static inline cmdlist_t *removeQ(cmdlist_t **Qptr, cmdlist_t *c) in removeQ() argument
[all …]
Dcciss.c181 static inline void addQ(CommandList_struct **Qptr, CommandList_struct *c);
197 static inline void addQ(CommandList_struct **Qptr, CommandList_struct *c) in addQ() argument
199 if (*Qptr == NULL) { in addQ()
200 *Qptr = c; in addQ()
203 c->prev = (*Qptr)->prev; in addQ()
204 c->next = (*Qptr); in addQ()
205 (*Qptr)->prev->next = c; in addQ()
206 (*Qptr)->prev = c; in addQ()
210 static inline CommandList_struct *removeQ(CommandList_struct **Qptr, in removeQ() argument
214 if (*Qptr == c) *Qptr = c->next; in removeQ()
[all …]