Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/staging/rtl8723bs/core/
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()
403 struct list_head *phead, *plist; in rtw_free_stainfo() local
417 phead = get_list_head(ppending_recvframe_queue); in rtw_free_stainfo()
[all …]
Drtw_ap.c203 struct list_head *phead, *plist; in expire_timeout_chk() local
213 phead = &pstapriv->auth_list; in expire_timeout_chk()
214 plist = get_next(phead); in expire_timeout_chk()
218 if (phead != plist) { in expire_timeout_chk()
223 while (phead != plist) { in expire_timeout_chk()
258 phead = &pstapriv->asoc_list; in expire_timeout_chk()
259 plist = get_next(phead); in expire_timeout_chk()
263 if (phead != plist) { in expire_timeout_chk()
268 while (phead != plist) { in expire_timeout_chk()
1328 struct list_head *plist, *phead; in rtw_acl_add_sta() local
[all …]
Drtw_xmit.c146 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
149 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in _rtw_init_xmit_priv()
225 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
228 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in _rtw_init_xmit_priv()
255 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
258 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in _rtw_init_xmit_priv()
1627 pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; in __rtw_alloc_cmd_xmitbuf()
1676 struct list_head *plist, *phead; in rtw_alloc_xmitbuf_ext() local
1685 phead = get_list_head(pfree_queue); in rtw_alloc_xmitbuf_ext()
1687 plist = get_next(phead); in rtw_alloc_xmitbuf_ext()
[all …]
Drtw_mlme.c247 struct list_head *phead, *plist; in _rtw_find_network() local
258 phead = get_list_head(scanned_queue); in _rtw_find_network()
259 plist = get_next(phead); in _rtw_find_network()
261 while (plist != phead) { in _rtw_find_network()
270 if (plist == phead) in _rtw_find_network()
281 struct list_head *phead, *plist; in rtw_free_network_queue() local
288 phead = get_list_head(scanned_queue); in rtw_free_network_queue()
289 plist = get_next(phead); in rtw_free_network_queue()
291 while (phead != plist) { in rtw_free_network_queue()
445 struct list_head *phead, *plist; in _rtw_find_same_network() local
[all …]
Drtw_recv.c110 struct list_head *plist, *phead; in _rtw_alloc_recvframe() local
117 phead = get_list_head(pfree_recv_queue); in _rtw_alloc_recvframe()
119 plist = get_next(phead); in _rtw_alloc_recvframe()
227 struct list_head *plist, *phead; in rtw_free_recvframe_queue() local
231 phead = get_list_head(pframequeue); in rtw_free_recvframe_queue()
232 plist = get_next(phead); in rtw_free_recvframe_queue()
234 while (phead != plist) { in rtw_free_recvframe_queue()
288 struct list_head *plist, *phead; in rtw_dequeue_recvbuf() local
295 phead = get_list_head(queue); in rtw_dequeue_recvbuf()
297 plist = get_next(phead); in rtw_dequeue_recvbuf()
[all …]
Drtw_ioctl_set.c54 struct list_head *plist, *phead; in rtw_do_join() local
61 phead = get_list_head(queue); in rtw_do_join()
62 plist = get_next(phead); in rtw_do_join()
64 …_rtl871x_ioctl_set_c_, _drv_info_, ("\n rtw_do_join: phead = %p; plist = %p\n\n\n", phead, plist)); in rtw_do_join()
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_sta_mgt.c132 struct list_head *phead, *plist; in _rtw_free_sta_priv() local
141 phead = &pstapriv->sta_hash[index]; in _rtw_free_sta_priv()
142 plist = phead->next; in _rtw_free_sta_priv()
144 while (phead != plist) { in _rtw_free_sta_priv()
301 struct list_head *phead, *plist; in rtw_free_stainfo() local
314 phead = get_list_head(ppending_recvframe_queue); in rtw_free_stainfo()
315 plist = phead->next; in rtw_free_stainfo()
317 while (!list_empty(phead)) { in rtw_free_stainfo()
378 struct list_head *plist, *phead; in rtw_free_all_stainfo() local
390 phead = &pstapriv->sta_hash[index]; in rtw_free_all_stainfo()
[all …]
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()
1005 struct list_head *plist, *phead; in rtw_acl_add_sta() local
1020 phead = get_list_head(pacl_node_q); in rtw_acl_add_sta()
1021 plist = phead->next; in rtw_acl_add_sta()
[all …]
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
[all …]
Drtw_recv.c176 struct list_head *plist, *phead; in rtw_free_recvframe_queue() local
180 phead = get_list_head(pframequeue); in rtw_free_recvframe_queue()
181 plist = phead->next; in rtw_free_recvframe_queue()
183 while (phead != plist) { in rtw_free_recvframe_queue()
1320 struct list_head *plist, *phead; in recvframe_defrag() local
1330 phead = get_list_head(defrag_q); in recvframe_defrag()
1331 plist = phead->next; in recvframe_defrag()
1350 while (phead != plist) { in recvframe_defrag()
1400 struct list_head *phead; in recvframe_chk_defrag() local
1445 phead = get_list_head(pdefrag_q); in recvframe_chk_defrag()
[all …]
Drtw_ioctl_set.c18 struct list_head *plist, *phead; in rtw_do_join() local
25 phead = get_list_head(queue); in rtw_do_join()
26 plist = phead->next; in rtw_do_join()
28 …_rtl871x_ioctl_set_c_, _drv_info_, ("\n rtw_do_join: phead = %p; plist = %p\n\n\n", phead, plist)); in rtw_do_join()
/Linux-v5.4/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.c115 precvbuf->phead = precvbuf->pbuf; in r8712_init_recvbuf()
182 struct list_head *plist, *phead; in recvframe_defrag() local
190 phead = &defrag_q->queue; in recvframe_defrag()
191 plist = phead->next; in recvframe_defrag()
207 while (!end_of_queue_search(phead, plist)) { in recvframe_defrag()
249 struct list_head *phead; in r8712_recvframe_chk_defrag() local
282 phead = &pdefrag_q->queue; in r8712_recvframe_chk_defrag()
283 list_add_tail(&pfhdr->list, phead); in r8712_recvframe_chk_defrag()
299 phead = &pdefrag_q->queue; in r8712_recvframe_chk_defrag()
300 list_add_tail(&pfhdr->list, phead); in r8712_recvframe_chk_defrag()
[all …]
Drtl871x_mlme.c136 struct list_head *phead, *plist; in r8712_find_network() local
142 phead = &scanned_queue->queue; in r8712_find_network()
143 plist = phead->next; in r8712_find_network()
144 while (plist != phead) { in r8712_find_network()
157 struct list_head *phead, *plist; in r8712_free_network_queue() local
163 phead = &scanned_queue->queue; in r8712_free_network_queue()
164 plist = phead->next; in r8712_free_network_queue()
165 while (!end_of_queue_search(phead, plist)) { in r8712_free_network_queue()
260 struct list_head *plist, *phead; in r8712_get_oldest_wlan_network() local
264 phead = &scanned_queue->queue; in r8712_get_oldest_wlan_network()
[all …]
Drtl871x_ioctl_set.c42 struct list_head *plist, *phead; in do_join() local
48 phead = &queue->queue; in do_join()
49 plist = phead->next; in do_join()
Drtl871x_ioctl_linux.c1041 struct list_head *phead; in r8711_wx_set_wap() local
1054 phead = &queue->queue; in r8711_wx_set_wap()
1055 pmlmepriv->pscanned = phead->next; in r8711_wx_set_wap()
1057 if (end_of_queue_search(phead, pmlmepriv->pscanned)) in r8711_wx_set_wap()
1191 struct list_head *plist, *phead; in r8711_wx_get_scan() local
1206 phead = &queue->queue; in r8711_wx_get_scan()
1207 plist = phead->next; in r8711_wx_get_scan()
1209 if (end_of_queue_search(phead, plist)) in r8711_wx_get_scan()
1248 struct list_head *phead; in r8711_wx_set_essid() local
1265 phead = &queue->queue; in r8711_wx_set_essid()
[all …]
Drtl8712_recv.h98 u8 *phead; member
Drtl871x_recv.c124 struct list_head *plist, *phead; in r8712_free_recvframe_queue() local
127 phead = &pframequeue->queue; in r8712_free_recvframe_queue()
128 plist = phead->next; in r8712_free_recvframe_queue()
129 while (!end_of_queue_search(phead, plist)) { in r8712_free_recvframe_queue()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/disp/
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()
/Linux-v5.4/arch/powerpc/kernel/
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()
1021 if (c_sum != phead.checksum) { in nvram_scan_partitions()
1024 phead.checksum, c_sum); in nvram_scan_partitions()
[all …]
/Linux-v5.4/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c116 struct list_head *phead, *plist; in rtw_mlcst2unicst() local
122 phead = &pstapriv->asoc_list; in rtw_mlcst2unicst()
123 plist = phead->next; in rtw_mlcst2unicst()
126 while (phead != plist) { in rtw_mlcst2unicst()
/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c642 struct list_head *plist, *phead; in rtl8723bs_free_xmit_priv() local
648 phead = get_list_head(pqueue); in rtl8723bs_free_xmit_priv()
655 list_add_tail(&tmplist, phead); in rtl8723bs_free_xmit_priv()
656 list_del_init(phead); in rtl8723bs_free_xmit_priv()
660 phead = &tmplist; in rtl8723bs_free_xmit_priv()
661 while (list_empty(phead) == false) { in rtl8723bs_free_xmit_priv()
662 plist = get_next(phead); in rtl8723bs_free_xmit_priv()
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c131 struct list_head *phead, *plist; in rtw_mlcst2unicst() local
145 phead = &pstapriv->asoc_list; in rtw_mlcst2unicst()
146 plist = get_next(phead); in rtw_mlcst2unicst()
149 while (phead != plist) { in rtw_mlcst2unicst()
Dioctl_linux.c1132 struct list_head *phead; in rtw_wx_set_wap() local
1157 phead = get_list_head(queue); in rtw_wx_set_wap()
1158 pmlmepriv->pscanned = get_next(phead); in rtw_wx_set_wap()
1161 if (phead == pmlmepriv->pscanned) in rtw_wx_set_wap()
1418 struct list_head *plist, *phead; in rtw_wx_get_scan() local
1447 phead = get_list_head(queue); in rtw_wx_get_scan()
1448 plist = get_next(phead); in rtw_wx_get_scan()
1451 if (phead == plist) in rtw_wx_get_scan()
1500 struct list_head *phead; in rtw_wx_set_essid() local
1551 phead = get_list_head(queue); in rtw_wx_set_essid()
[all …]
/Linux-v5.4/fs/proc/
Dproc_sysctl.c81 static int sysctl_follow_link(struct ctl_table_header **phead,
109 static struct ctl_table *find_entry(struct ctl_table_header **phead, in find_entry() argument
133 *phead = head; in find_entry()
367 static struct ctl_table *lookup_entry(struct ctl_table_header **phead, in lookup_entry() argument
377 *phead = head; in lookup_entry()
397 struct ctl_table_header **phead, struct ctl_table **pentry) in first_entry() argument
410 *phead = head; in first_entry()
414 static void next_entry(struct ctl_table_header **phead, struct ctl_table **pentry) in next_entry() argument
416 struct ctl_table_header *head = *phead; in next_entry()
430 *phead = head; in next_entry()
[all …]

12