Home
last modified time | relevance | path

Searched refs:phead (Results 1 – 25 of 26) sorted by relevance

12

/drivers/firmware/arm_scmi/
Dbus.c56 struct list_head *head, *phead = NULL; in scmi_protocol_device_request() local
75 if (!phead) { in scmi_protocol_device_request()
81 phead = head; in scmi_protocol_device_request()
110 if (!phead) { in scmi_protocol_device_request()
111 phead = kzalloc(sizeof(*phead), GFP_KERNEL); in scmi_protocol_device_request()
112 if (!phead) { in scmi_protocol_device_request()
117 INIT_LIST_HEAD(phead); in scmi_protocol_device_request()
119 ret = idr_alloc(&scmi_requested_devices, (void *)phead, in scmi_protocol_device_request()
125 kfree(phead); in scmi_protocol_device_request()
131 list_add(&rdev->node, phead); in scmi_protocol_device_request()
[all …]
/drivers/staging/rtl8723bs/core/
Drtw_sta_mgt.c123 struct list_head *plist, *phead; in kfree_all_stainfo() local
127 phead = get_list_head(&pstapriv->free_sta_queue); in kfree_all_stainfo()
128 plist = get_next(phead); in kfree_all_stainfo()
130 while (phead != plist) { in kfree_all_stainfo()
145 struct list_head *phead, *plist; in _rtw_free_sta_priv() local
154 phead = &(pstapriv->sta_hash[index]); in _rtw_free_sta_priv()
155 list_for_each(plist, phead) { in _rtw_free_sta_priv()
352 struct list_head *phead, *plist; in rtw_free_stainfo() local
365 phead = get_list_head(ppending_recvframe_queue); in rtw_free_stainfo()
366 plist = get_next(phead); in rtw_free_stainfo()
[all …]
Drtw_xmit.c138 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
141 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in _rtw_init_xmit_priv()
218 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
221 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in _rtw_init_xmit_priv()
248 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
251 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in _rtw_init_xmit_priv()
1406 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in __rtw_alloc_cmd_xmitbuf()
1448 struct list_head *plist, *phead; in rtw_alloc_xmitbuf_ext() local
1456 phead = get_list_head(pfree_queue); in rtw_alloc_xmitbuf_ext()
1458 plist = get_next(phead); in rtw_alloc_xmitbuf_ext()
[all …]
Drtw_recv.c109 struct list_head *plist, *phead; in _rtw_alloc_recvframe() local
116 phead = get_list_head(pfree_recv_queue); in _rtw_alloc_recvframe()
118 plist = get_next(phead); in _rtw_alloc_recvframe()
216 struct list_head *plist, *phead; in rtw_free_recvframe_queue() local
220 phead = get_list_head(pframequeue); in rtw_free_recvframe_queue()
221 plist = get_next(phead); in rtw_free_recvframe_queue()
223 while (phead != plist) { in rtw_free_recvframe_queue()
275 struct list_head *plist, *phead; in rtw_dequeue_recvbuf() local
282 phead = get_list_head(queue); in rtw_dequeue_recvbuf()
284 plist = get_next(phead); in rtw_dequeue_recvbuf()
[all …]
Drtw_ap.c176 struct list_head *phead, *plist, *tmp; in expire_timeout_chk() local
186 phead = &pstapriv->auth_list; in expire_timeout_chk()
188 list_for_each_safe(plist, tmp, phead) { in expire_timeout_chk()
211 phead = &pstapriv->asoc_list; in expire_timeout_chk()
213 list_for_each_safe(plist, tmp, phead) { in expire_timeout_chk()
1179 struct list_head *plist, *phead; in rtw_acl_add_sta() local
1192 phead = get_list_head(pacl_node_q); in rtw_acl_add_sta()
1193 list_for_each(plist, phead) { in rtw_acl_add_sta()
1236 struct list_head *plist, *phead, *tmp; in rtw_acl_remove_sta() local
1244 phead = get_list_head(pacl_node_q); in rtw_acl_remove_sta()
[all …]
Drtw_mlme.c227 struct list_head *phead, *plist; in _rtw_find_network() local
237 phead = get_list_head(scanned_queue); in _rtw_find_network()
238 list_for_each(plist, phead) { in _rtw_find_network()
245 if (plist == phead) in _rtw_find_network()
256 struct list_head *phead, *plist, *tmp; in rtw_free_network_queue() local
263 phead = get_list_head(scanned_queue); in rtw_free_network_queue()
264 list_for_each_safe(plist, tmp, phead) { in rtw_free_network_queue()
404 struct list_head *phead, *plist; in _rtw_find_same_network() local
407 phead = get_list_head(scanned_queue); in _rtw_find_same_network()
408 list_for_each(plist, phead) { in _rtw_find_same_network()
[all …]
Drtw_ioctl_set.c40 struct list_head *plist, *phead; in rtw_do_join() local
47 phead = get_list_head(queue); in rtw_do_join()
48 plist = get_next(phead); in rtw_do_join()
/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c69 struct list_head *plist, *phead; in mfree_all_stainfo() local
72 phead = &pstapriv->free_sta_queue.queue; in mfree_all_stainfo()
73 plist = phead->next; in mfree_all_stainfo()
74 while (!end_of_queue_search(phead, plist)) in mfree_all_stainfo()
194 struct list_head *plist, *phead; in r8712_free_all_stainfo() local
204 phead = &(pstapriv->sta_hash[index]); in r8712_free_all_stainfo()
205 plist = phead->next; in r8712_free_all_stainfo()
206 while (!end_of_queue_search(phead, plist)) { in r8712_free_all_stainfo()
221 struct list_head *plist, *phead; in r8712_get_stainfo() local
229 phead = &(pstapriv->sta_hash[index]); in r8712_get_stainfo()
[all …]
Drtl8712_recv.c109 precvbuf->phead = precvbuf->pbuf; in r8712_init_recvbuf()
175 struct list_head *plist, *phead; in recvframe_defrag() local
183 phead = &defrag_q->queue; in recvframe_defrag()
184 plist = phead->next; in recvframe_defrag()
200 while (!end_of_queue_search(phead, plist)) { in recvframe_defrag()
242 struct list_head *phead; in r8712_recvframe_chk_defrag() local
275 phead = &pdefrag_q->queue; in r8712_recvframe_chk_defrag()
276 list_add_tail(&pfhdr->list, phead); in r8712_recvframe_chk_defrag()
291 phead = &pdefrag_q->queue; in r8712_recvframe_chk_defrag()
292 list_add_tail(&pfhdr->list, phead); in r8712_recvframe_chk_defrag()
[all …]
Drtl871x_mlme.c135 struct list_head *phead, *plist; in r8712_find_network() local
141 phead = &scanned_queue->queue; in r8712_find_network()
142 list_for_each(plist, phead) { in r8712_find_network()
147 if (plist == phead) in r8712_find_network()
156 struct list_head *phead, *plist; in r8712_free_network_queue() local
162 phead = &scanned_queue->queue; in r8712_free_network_queue()
163 plist = phead->next; in r8712_free_network_queue()
164 while (!end_of_queue_search(phead, plist)) { in r8712_free_network_queue()
259 struct list_head *plist, *phead; in r8712_get_oldest_wlan_network() local
263 phead = &scanned_queue->queue; in r8712_get_oldest_wlan_network()
[all …]
Drtl871x_ioctl_linux.c1035 struct list_head *phead; in r8711_wx_set_wap() local
1048 phead = &queue->queue; in r8711_wx_set_wap()
1049 pmlmepriv->pscanned = phead->next; in r8711_wx_set_wap()
1051 if (end_of_queue_search(phead, pmlmepriv->pscanned)) in r8711_wx_set_wap()
1185 struct list_head *plist, *phead; in r8711_wx_get_scan() local
1200 phead = &queue->queue; in r8711_wx_get_scan()
1201 plist = phead->next; in r8711_wx_get_scan()
1203 if (end_of_queue_search(phead, plist)) in r8711_wx_get_scan()
1242 struct list_head *phead; in r8711_wx_set_essid() local
1259 phead = &queue->queue; in r8711_wx_set_essid()
[all …]
Drtl871x_ioctl_set.c41 struct list_head *plist, *phead; in do_join() local
47 phead = &queue->queue; in do_join()
48 plist = phead->next; in do_join()
Drtl871x_recv.c122 struct list_head *plist, *phead; in r8712_free_recvframe_queue() local
125 phead = &pframequeue->queue; in r8712_free_recvframe_queue()
126 plist = phead->next; in r8712_free_recvframe_queue()
127 while (!end_of_queue_search(phead, plist)) { in r8712_free_recvframe_queue()
Drtl8712_recv.h98 u8 *phead; member
Drecv_linux.c53 precvbuf->phead = NULL; in r8712_os_recvbuf_resource_alloc()
Drtl871x_xmit.c856 struct list_head *plist, *phead; in r8712_free_xmitframe_queue() local
860 phead = &pframequeue->queue; in r8712_free_xmitframe_queue()
861 plist = phead->next; in r8712_free_xmitframe_queue()
862 while (!end_of_queue_search(phead, plist)) { in r8712_free_xmitframe_queue()
Dusb_ops_linux.c273 precvbuf->phead = precvbuf->pskb->head; in r8712_usb_read_port()
279 precvbuf->phead = precvbuf->pskb->head; in r8712_usb_read_port()
/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dhead.c43 nvkm_head_del(struct nvkm_head **phead) in nvkm_head_del() argument
45 struct nvkm_head *head = *phead; in nvkm_head_del()
49 kfree(*phead); in nvkm_head_del()
50 *phead = NULL; in nvkm_head_del()
/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c566 struct list_head *plist, *phead; in rtl8723bs_free_xmit_priv() local
572 phead = get_list_head(pqueue); in rtl8723bs_free_xmit_priv()
579 list_add_tail(&tmplist, phead); in rtl8723bs_free_xmit_priv()
580 list_del_init(phead); in rtl8723bs_free_xmit_priv()
584 phead = &tmplist; in rtl8723bs_free_xmit_priv()
585 while (list_empty(phead) == false) { in rtl8723bs_free_xmit_priv()
586 plist = get_next(phead); in rtl8723bs_free_xmit_priv()
Dsdio_ops.c832 recvbuf->phead = recvbuf->pskb->head; in sd_recv_rxfifo()
/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c127 struct list_head *phead, *plist; in rtw_mlcst2unicst() local
139 phead = &pstapriv->asoc_list; in rtw_mlcst2unicst()
141 list_for_each(plist, phead) { in rtw_mlcst2unicst()
Dioctl_cfg80211.c1137 struct list_head *plist, *phead; in rtw_cfg80211_surveydone_event_callback() local
1144 phead = get_list_head(queue); in rtw_cfg80211_surveydone_event_callback()
1145 list_for_each(plist, phead) in rtw_cfg80211_surveydone_event_callback()
2347 struct list_head *phead, *plist, *tmp; in cfg80211_rtw_del_station() local
2374 phead = &pstapriv->asoc_list; in cfg80211_rtw_del_station()
2376 list_for_each_safe(plist, tmp, phead) { in cfg80211_rtw_del_station()
2411 struct list_head *phead, *plist; in rtw_sta_info_get_by_idx() local
2415 phead = &pstapriv->asoc_list; in rtw_sta_info_get_by_idx()
2416 plist = get_next(phead); in rtw_sta_info_get_by_idx()
2419 while (phead != plist) { in rtw_sta_info_get_by_idx()
/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c572 void *phead; in ipoib_send() local
577 phead = skb->data; in ipoib_send()
594 phead = NULL; in ipoib_send()
654 address, dqpn, tx_req, phead, hlen); in ipoib_send()
/drivers/staging/rtl8723bs/include/
Drtw_recv.h288 u8 *phead; member
Drtw_xmit.h260 u8 *phead; member

12