Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 19 of 19) sorted by relevance

/hardware/msm7k/libgralloc/
Dallocator.h47 newNode->prev = node; in insertAfter()
50 else node->next->prev = newNode; in insertAfter()
55 newNode->prev = node->prev; in insertBefore()
57 if (node->prev == 0) mFirst = newNode; in insertBefore()
58 else node->prev->next = newNode; in insertBefore()
59 node->prev = newNode; in insertBefore()
65 newNode->prev = newNode->next = 0; in insertHead()
67 newNode->prev = 0; in insertHead()
69 mFirst->prev = newNode; in insertHead()
78 newNode->prev = mLast; in insertTail()
[all …]
Dallocator.cpp145 chunk_t* const p = cur->prev; in dealloc()
/hardware/msm7k/libgralloc-qsd8k/
Dallocator.h48 newNode->prev = node; in insertAfter()
51 else node->next->prev = newNode; in insertAfter()
56 newNode->prev = node->prev; in insertBefore()
58 if (node->prev == 0) mFirst = newNode; in insertBefore()
59 else node->prev->next = newNode; in insertBefore()
60 node->prev = newNode; in insertBefore()
66 newNode->prev = newNode->next = 0; in insertHead()
68 newNode->prev = 0; in insertHead()
70 mFirst->prev = newNode; in insertHead()
79 newNode->prev = mLast; in insertTail()
[all …]
Dallocator.cpp145 chunk_t* const p = cur->prev; in dealloc()
/hardware/ti/wlan/lib/
Dshlist.c14 listPtr->prev = listPtr; in shListInitList()
37 if( head->prev != head ) in shListGetLastItem()
38 return( head->prev ); in shListGetLastItem()
73 if( item->prev != head ) in shListGetPrevItem()
74 return( item->prev ); in shListGetPrevItem()
85 (item->prev)->next = item->next; in shListDelItem()
86 (item->next)->prev = item->prev; in shListDelItem()
103 item->prev = head; in shListInsFirstItem()
104 (head->next)->prev = item; in shListInsFirstItem()
121 item->prev = head->prev; in shListInsLastItem()
[all …]
Dshlist.h10 struct SHLIST_STRUC *prev; member
/hardware/ril/libril/
Dril_event.cpp83 dlog(" prev = %x", (unsigned int)ev->prev); in dump_event()
112 list->prev = list; in init_list()
119 ev->prev = list->prev; in addToList()
120 ev->prev->next = ev; in addToList()
121 list->prev = ev; in addToList()
130 ev->next->prev = ev->prev; in removeFromList()
131 ev->prev->next = ev->next; in removeFromList()
133 ev->prev = NULL; in removeFromList()
Dril_event.h25 struct ril_event *prev; member
/hardware/qcom/media/mm-video/vidc/vdec/inc/
DMap.h41 node* prev; member
44 data(t), data2(t2), prev(p), next(n) {} in node()
145 if( tail->prev ) in insert()
146 tail->prev->next = tail; in insert()
180 tmp->prev = NULL; in erase()
191 tmp->prev = NULL; in erase()
200 tmp->next->prev = prevnode->next; in erase()
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
Dbcmsdh_linux.c276 bcmsdh_hc_t *sdhc, *prev; in bcmsdh_remove() local
283 for (sdhc = sdhcinfo, prev = NULL; sdhc; sdhc = sdhc->next) { in bcmsdh_remove()
285 if (prev) in bcmsdh_remove()
286 prev->next = sdhc->next; in bcmsdh_remove()
291 prev = sdhc; in bcmsdh_remove()
500 bcmsdh_hc_t *sdhc, *prev; in bcmsdh_pci_remove() local
504 for (sdhc = sdhcinfo, prev = NULL; sdhc; sdhc = sdhc->next) { in bcmsdh_pci_remove()
506 if (prev) in bcmsdh_pci_remove()
507 prev->next = sdhc->next; in bcmsdh_pci_remove()
512 prev = sdhc; in bcmsdh_pci_remove()
/hardware/msm7k/librpc/
Dsvc.c183 registered_server **prev) in svc_find_nosync() argument
187 if (prev) *prev = NULL; in svc_find_nosync()
191 if (prev) *prev = trav; in svc_find_nosync()
290 registered_server *prev, *found; in svc_unregister() local
292 found = svc_find_nosync(xprt, prog, vers, &prev); in svc_unregister()
296 if (prev) { in svc_unregister()
299 prev->next = found->next; in svc_unregister()
Dclnt.c620 CLIENT *trav = (CLIENT *)clients, *prev = NULL; in clnt_destroy() local
626 if (prev) in clnt_destroy()
627 prev->next = trav->next; in clnt_destroy()
634 prev = trav; in clnt_destroy()
/hardware/broadcom/wlan/bcm4329/src/shared/
Dbcmutils.c242 void *p, *prev; in pktq_pdeq_tail() local
251 for (prev = NULL; p != q->tail; p = PKTLINK(p)) in pktq_pdeq_tail()
252 prev = p; in pktq_pdeq_tail()
254 if (prev) in pktq_pdeq_tail()
255 PKTSETLINK(prev, NULL); in pktq_pdeq_tail()
259 q->tail = prev; in pktq_pdeq_tail()
375 void *p, *prev; in pktq_deq_tail() local
390 for (prev = NULL; p != q->tail; p = PKTLINK(p)) in pktq_deq_tail()
391 prev = p; in pktq_deq_tail()
393 if (prev) in pktq_deq_tail()
[all …]
Dlinux_osl.c67 struct bcm_mem_link *prev; member
/hardware/broadcom/wlan/bcm4329/src/include/
DMakefile18 rm -rf ${TARGETS} *.prev
Dlinux_osl.h303 #define PKTLINK(skb) (((struct sk_buff*)(skb))->prev)
304 #define PKTSETLINK(skb, x) (((struct sk_buff*)(skb))->prev = (struct sk_buff*)(x))
/hardware/ti/omap3/dspbridge/inc/
Dlist.h64 struct LST_ELEM *prev; member
/hardware/ti/omap3/dspbridge/libbridge/inc/
Dlist.h64 struct LST_ELEM *prev; member
/hardware/broadcom/wlan/bcm4329/src/wl/sys/
Dwl_iw.c2892 wl_iw_ss_cache_t *node, *prev, *cur; local
2898 prev = node;
2906 prev = *spec_scan_head;
2909 prev->next = cur->next;
2919 prev = node;
2930 wl_iw_ss_cache_t *node, *prev, *leaf; local
2945 prev = node;
2957 prev = node;
2978 if (!prev) {
2982 prev->next = leaf;
[all …]