Home
last modified time | relevance | path

Searched refs:phead (Results 1 - 25 of 65) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
H A Drtw_sta_mgt.c127 struct list_head *plist, *phead; in kfree_all_stainfo() local
132 phead = get_list_head(&pstapriv->free_sta_queue); in kfree_all_stainfo()
133 plist = get_next(phead); in kfree_all_stainfo()
135 while (phead != plist) { in kfree_all_stainfo()
151 struct list_head *phead, *plist; in _rtw_free_sta_priv() local
161 phead = &(pstapriv->sta_hash[index]); in _rtw_free_sta_priv()
162 plist = get_next(phead); in _rtw_free_sta_priv()
164 while (phead != plist) { in _rtw_free_sta_priv()
400 struct list_head *phead, *plist; in rtw_free_stainfo() local
414 phead in rtw_free_stainfo()
482 struct list_head *plist, *phead; rtw_free_all_stainfo() local
514 struct list_head *plist, *phead; rtw_get_stainfo() local
588 struct list_head *plist, *phead; rtw_access_ctrl() local
[all...]
H A Drtw_ap.c204 struct list_head *phead, *plist; in expire_timeout_chk() local
214 phead = &pstapriv->auth_list; in expire_timeout_chk()
215 plist = get_next(phead); in expire_timeout_chk()
219 if (phead != plist) { in expire_timeout_chk()
225 while (phead != plist) { in expire_timeout_chk()
260 phead = &pstapriv->asoc_list; in expire_timeout_chk()
261 plist = get_next(phead); in expire_timeout_chk()
265 if (phead != plist) { in expire_timeout_chk()
270 while (phead != plist) { in expire_timeout_chk()
1330 struct list_head *plist, *phead; in rtw_acl_add_sta() local
1400 struct list_head *plist, *phead; rtw_acl_remove_sta() local
1916 struct list_head *phead, *plist; associated_clients_update() local
2191 struct list_head *phead, *plist; rtw_sta_flush() local
2277 struct list_head *phead, *plist; rtw_ap_restore_network() local
2392 struct list_head *phead, *plist; stop_ap_mode() local
[all...]
H A Drtw_xmit.c133 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
136 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in _rtw_init_xmit_priv()
213 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
216 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in _rtw_init_xmit_priv()
243 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
246 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in _rtw_init_xmit_priv()
1504 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in __rtw_alloc_cmd_xmitbuf()
1552 struct list_head *plist, *phead; in rtw_alloc_xmitbuf_ext() local
1560 phead = get_list_head(pfree_queue); in rtw_alloc_xmitbuf_ext()
1562 plist = get_next(phead); in rtw_alloc_xmitbuf_ext()
1619 struct list_head *plist, *phead; rtw_alloc_xmitbuf() local
1733 struct list_head *plist, *phead; rtw_alloc_xmitframe() local
1762 struct list_head *plist, *phead; rtw_alloc_xmitframe_ext() local
1871 struct list_head *plist, *phead; rtw_free_xmitframe_queue() local
2324 struct list_head *plist, *phead; dequeue_xmitframes_to_sleeping_queue() local
2628 struct list_head *plist, *phead; dequeue_pending_xmitbuf() local
2653 struct list_head *plist, *phead; dequeue_pending_xmitbuf_under_survey() local
[all...]
H A Drtw_mlme.c245 struct list_head *phead, *plist; in _rtw_find_network() local
256 phead = get_list_head(scanned_queue); in _rtw_find_network()
257 plist = get_next(phead); in _rtw_find_network()
259 while (plist != phead) { in _rtw_find_network()
268 if (plist == phead) in _rtw_find_network()
279 struct list_head *phead, *plist; in rtw_free_network_queue() local
286 phead = get_list_head(scanned_queue); in rtw_free_network_queue()
287 plist = get_next(phead); in rtw_free_network_queue()
289 while (phead != plist) { in rtw_free_network_queue()
435 struct list_head *phead, *plis in _rtw_find_same_network() local
458 struct list_head *plist, *phead; rtw_get_oldest_wlan_network() local
576 struct list_head *plist, *phead; rtw_update_scanned_network() local
931 struct list_head *plist, *phead, *ptemp; free_scanqueue() local
1929 struct list_head *phead; rtw_select_roaming_candidate() local
2055 struct list_head *phead; rtw_select_and_join_from_scanned_queue() local
[all...]
H A Drtw_recv.c108 struct list_head *plist, *phead; in _rtw_alloc_recvframe() local
115 phead = get_list_head(pfree_recv_queue); in _rtw_alloc_recvframe()
117 plist = get_next(phead); in _rtw_alloc_recvframe()
225 struct list_head *plist, *phead; in rtw_free_recvframe_queue() local
229 phead = get_list_head(pframequeue); in rtw_free_recvframe_queue()
230 plist = get_next(phead); in rtw_free_recvframe_queue()
232 while (phead != plist) { in rtw_free_recvframe_queue()
286 struct list_head *plist, *phead; in rtw_dequeue_recvbuf() local
293 phead = get_list_head(queue); in rtw_dequeue_recvbuf()
295 plist = get_next(phead); in rtw_dequeue_recvbuf()
1706 struct list_head *plist, *phead; recvframe_defrag() local
1791 struct list_head *phead; recvframe_chk_defrag() local
2040 struct list_head *phead, *plist; enqueue_reorder_recvframe() local
2100 struct list_head *phead, *plist; recv_indicatepkts_in_order() local
[all...]
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
H A 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()
156 struct list_head *phead; scmi_protocol_device_unrequest() local
426 struct list_head *phead; scmi_device_create() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
H A Drtw_sta_mgt.c133 struct list_head *phead, *plist; in _rtw_free_sta_priv() local
144 phead = &pstapriv->sta_hash[index]; in _rtw_free_sta_priv()
145 plist = phead->next; in _rtw_free_sta_priv()
147 while (phead != plist) { in _rtw_free_sta_priv()
308 struct list_head *phead, *plist; in rtw_free_stainfo() local
321 phead = get_list_head(ppending_recvframe_queue); in rtw_free_stainfo()
322 plist = phead->next; in rtw_free_stainfo()
324 while (!list_empty(phead)) { in rtw_free_stainfo()
385 struct list_head *plist, *phead; in rtw_free_all_stainfo() local
397 phead in rtw_free_all_stainfo()
415 struct list_head *plist, *phead; rtw_get_stainfo() local
483 struct list_head *plist, *phead; rtw_access_ctrl() local
[all...]
H A Drtw_ap.c167 struct list_head *phead, *plist; in expire_timeout_chk() local
177 phead = &pstapriv->auth_list; in expire_timeout_chk()
178 plist = phead->next; in expire_timeout_chk()
181 while (phead != plist) { in expire_timeout_chk()
210 phead = &pstapriv->asoc_list; in expire_timeout_chk()
211 plist = phead->next; in expire_timeout_chk()
214 while (phead != plist) { in expire_timeout_chk()
1022 struct list_head *plist, *phead; in rtw_acl_add_sta() local
1037 phead = get_list_head(pacl_node_q); in rtw_acl_add_sta()
1038 plist = phead in rtw_acl_add_sta()
1087 struct list_head *plist, *phead; rtw_acl_remove_sta() local
1340 struct list_head *phead, *plist; associated_clients_update() local
1604 struct list_head *phead, *plist; rtw_sta_flush() local
1725 struct list_head *phead, *plist; stop_ap_mode() local
[all...]
H A Drtw_mlme.c182 struct list_head *phead, *plist; in rtw_find_network() local
190 phead = get_list_head(scanned_queue); in rtw_find_network()
191 plist = phead->next; in rtw_find_network()
193 while (plist != phead) { in rtw_find_network()
199 if (plist == phead) in rtw_find_network()
207 struct list_head *phead, *plist; in rtw_free_network_queue() local
214 phead = get_list_head(scanned_queue); in rtw_free_network_queue()
215 plist = phead->next; in rtw_free_network_queue()
217 while (phead != plist) { in rtw_free_network_queue()
319 struct list_head *plist, *phead; in rtw_get_oldest_wlan_network() local
394 struct list_head *plist, *phead; rtw_update_scanned_network() local
689 struct list_head *plist, *phead, *ptemp; free_scanqueue() local
1458 struct list_head *phead; rtw_select_and_join_from_scanned_queue() local
[all...]
H A Drtw_recv.c168 struct list_head *plist, *phead; in rtw_free_recvframe_queue() local
172 phead = get_list_head(pframequeue); in rtw_free_recvframe_queue()
173 plist = phead->next; in rtw_free_recvframe_queue()
175 while (phead != plist) { in rtw_free_recvframe_queue()
1311 struct list_head *plist, *phead; in recvframe_defrag() local
1321 phead = get_list_head(defrag_q); in recvframe_defrag()
1322 plist = phead->next; in recvframe_defrag()
1341 while (phead != plist) { in recvframe_defrag()
1391 struct list_head *phead; in recvframe_chk_defrag() local
1436 phead in recvframe_chk_defrag()
1621 struct list_head *phead, *plist; enqueue_reorder_recvframe() local
1648 struct list_head *phead, *plist; recv_indicatepkts_in_order() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/
H A 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()
432 struct list_head *plist, *phead, *tmp; rtw_free_all_stainfo() local
465 struct list_head *plist, *phead; rtw_get_stainfo() local
528 struct list_head *plist, *phead; rtw_access_ctrl() local
[all...]
H A 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()
1020 struct list_head *plist, *phead; recvframe_defrag() local
1103 struct list_head *phead; recvframe_chk_defrag() local
1679 struct list_head *phead, *plist; enqueue_reorder_recvframe() local
1731 struct list_head *phead, *plist; recv_indicatepkts_in_order() local
[all...]
H A 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()
1507 struct list_head *plist, *phead; rtw_alloc_xmitbuf() local
1606 struct list_head *plist, *phead; rtw_alloc_xmitframe() local
1633 struct list_head *plist, *phead; rtw_alloc_xmitframe_ext() local
1731 struct list_head *plist, *phead, *tmp; rtw_free_xmitframe_queue() local
2130 struct list_head *plist, *phead, *tmp; dequeue_xmitframes_to_sleeping_queue() local
2415 struct list_head *plist, *phead; dequeue_pending_xmitbuf() local
2439 struct list_head *plist, *phead; dequeue_pending_xmitbuf_under_survey() local
[all...]
H A 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 in rtw_acl_remove_sta()
1685 struct list_head *phead, *plist; associated_clients_update() local
1932 struct list_head *phead, *plist, *tmp; rtw_sta_flush() local
2011 struct list_head *phead, *plist; rtw_ap_restore_network() local
2124 struct list_head *phead, *plist, *tmp; stop_ap_mode() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
H A 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 in r8712_get_stainfo()
[all...]
H A Drtl8712_recv.c108 precvbuf->phead = precvbuf->pbuf; in r8712_init_recvbuf()
174 struct list_head *plist, *phead; in recvframe_defrag() local
182 phead = &defrag_q->queue; in recvframe_defrag()
183 plist = phead->next; in recvframe_defrag()
199 while (!end_of_queue_search(phead, plist)) { in recvframe_defrag()
241 struct list_head *phead; in r8712_recvframe_chk_defrag() local
274 phead = &pdefrag_q->queue; in r8712_recvframe_chk_defrag()
275 list_add_tail(&pfhdr->list, phead); in r8712_recvframe_chk_defrag()
290 phead = &pdefrag_q->queue; in r8712_recvframe_chk_defrag()
291 list_add_tail(&pfhdr->list, phead); in r8712_recvframe_chk_defrag()
467 struct list_head *phead, *plist; enqueue_reorder_recvframe() local
497 struct list_head *phead, *plist; r8712_recv_indicatepkts_in_order() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/rtl8712/
H A 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 in r8712_get_stainfo()
[all...]
H A 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()
468 struct list_head *phead, *plist; enqueue_reorder_recvframe() local
498 struct list_head *phead, *plist; r8712_recv_indicatepkts_in_order() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dhead.c81 nvkm_head_del(struct nvkm_head **phead) in nvkm_head_del() argument
83 struct nvkm_head *head = *phead; in nvkm_head_del()
87 kfree(*phead); in nvkm_head_del()
88 *phead = NULL; in nvkm_head_del()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dnvram_64.c726 struct nvram_header phead; in nvram_write_header() local
728 memcpy(&phead, &part->header, NVRAM_HEADER_LEN); in nvram_write_header()
729 phead.length = cpu_to_be16(phead.length); in nvram_write_header()
732 rc = ppc_md.nvram_write((char *)&phead, NVRAM_HEADER_LEN, &tmp_index); in nvram_write_header()
985 struct nvram_header phead; in nvram_scan_partitions() local
1013 memcpy(&phead, header, NVRAM_HEADER_LEN); in nvram_scan_partitions()
1015 phead.length = be16_to_cpu(phead.length); in nvram_scan_partitions()
1018 c_sum = nvram_checksum(&phead); in nvram_scan_partitions()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dnvram_64.c728 struct nvram_header phead; in nvram_write_header() local
730 memcpy(&phead, &part->header, NVRAM_HEADER_LEN); in nvram_write_header()
731 phead.length = cpu_to_be16(phead.length); in nvram_write_header()
734 rc = ppc_md.nvram_write((char *)&phead, NVRAM_HEADER_LEN, &tmp_index); in nvram_write_header()
987 struct nvram_header phead; in nvram_scan_partitions() local
1015 memcpy(&phead, header, NVRAM_HEADER_LEN); in nvram_scan_partitions()
1017 phead.length = be16_to_cpu(phead.length); in nvram_scan_partitions()
1020 c_sum = nvram_checksum(&phead); in nvram_scan_partitions()
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
H A Dxmit_linux.c114 struct list_head *phead, *plist; in rtw_mlcst2unicst() local
120 phead = &pstapriv->asoc_list; in rtw_mlcst2unicst()
121 plist = phead->next; in rtw_mlcst2unicst()
124 while (phead != plist) { in rtw_mlcst2unicst()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_xmit.c641 struct list_head *plist, *phead; in rtl8723bs_free_xmit_priv() local
647 phead = get_list_head(pqueue); in rtl8723bs_free_xmit_priv()
652 /* Insert tmplist to end of queue, and delete phead */ in rtl8723bs_free_xmit_priv()
654 list_add_tail(&tmplist, phead); in rtl8723bs_free_xmit_priv()
655 list_del_init(phead); in rtl8723bs_free_xmit_priv()
659 phead = &tmplist; in rtl8723bs_free_xmit_priv()
660 while (list_empty(phead) == false) { in rtl8723bs_free_xmit_priv()
661 plist = get_next(phead); in rtl8723bs_free_xmit_priv()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/
H A 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()
577 /* Insert tmplist to end of queue, and delete phead */ 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()

Completed in 28 milliseconds

123