Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/rtl8188eu/core/
Drtw_sta_mgt.c151 struct list_head *plist, *phead; in rtw_mfree_all_stainfo() local
157 phead = get_list_head(&pstapriv->free_sta_queue); in rtw_mfree_all_stainfo()
158 plist = phead->next; in rtw_mfree_all_stainfo()
160 while (phead != plist) { in rtw_mfree_all_stainfo()
176 struct list_head *phead, *plist; in _rtw_free_sta_priv() local
185 phead = &(pstapriv->sta_hash[index]); in _rtw_free_sta_priv()
186 plist = phead->next; in _rtw_free_sta_priv()
188 while (phead != plist) { in _rtw_free_sta_priv()
348 struct list_head *phead, *plist; in rtw_free_stainfo() local
362 phead = get_list_head(ppending_recvframe_queue); in rtw_free_stainfo()
[all …]
Drtw_ap.c275 struct list_head *phead, *plist; in expire_timeout_chk() local
285 phead = &pstapriv->auth_list; in expire_timeout_chk()
286 plist = phead->next; in expire_timeout_chk()
289 while (phead != plist) { in expire_timeout_chk()
319 phead = &pstapriv->asoc_list; in expire_timeout_chk()
320 plist = phead->next; in expire_timeout_chk()
323 while (phead != plist) { in expire_timeout_chk()
1121 struct list_head *plist, *phead; in rtw_acl_add_sta() local
1136 phead = get_list_head(pacl_node_q); in rtw_acl_add_sta()
1137 plist = phead->next; in rtw_acl_add_sta()
[all …]
Drtw_recv.c132 struct list_head *plist, *phead; in _rtw_alloc_recvframe() local
139 phead = get_list_head(pfree_recv_queue); in _rtw_alloc_recvframe()
141 plist = phead->next; in _rtw_alloc_recvframe()
253 struct list_head *plist, *phead; in rtw_free_recvframe_queue() local
257 phead = get_list_head(pframequeue); in rtw_free_recvframe_queue()
258 plist = phead->next; in rtw_free_recvframe_queue()
260 while (phead != plist) { in rtw_free_recvframe_queue()
1439 struct list_head *plist, *phead; in recvframe_defrag() local
1450 phead = get_list_head(defrag_q); in recvframe_defrag()
1451 plist = phead->next; in recvframe_defrag()
[all …]
Drtw_mlme.c210 struct list_head *phead, *plist; in rtw_find_network() local
218 phead = get_list_head(scanned_queue); in rtw_find_network()
219 plist = phead->next; in rtw_find_network()
221 while (plist != phead) { in rtw_find_network()
227 if (plist == phead) in rtw_find_network()
236 struct list_head *phead, *plist; in rtw_free_network_queue() local
243 phead = get_list_head(scanned_queue); in rtw_free_network_queue()
244 plist = phead->next; in rtw_free_network_queue()
246 while (phead != plist) { in rtw_free_network_queue()
361 struct list_head *plist, *phead; in rtw_get_oldest_wlan_network() local
[all …]
Drtw_xmit.c1216 struct list_head *plist, *phead; in rtw_alloc_xmitbuf_ext() local
1225 phead = get_list_head(pfree_queue); in rtw_alloc_xmitbuf_ext()
1227 plist = phead->next; in rtw_alloc_xmitbuf_ext()
1278 struct list_head *plist, *phead; in rtw_alloc_xmitbuf() local
1289 phead = get_list_head(pfree_xmitbuf_queue); in rtw_alloc_xmitbuf()
1291 plist = phead->next; in rtw_alloc_xmitbuf()
1363 struct list_head *plist, *phead; in rtw_alloc_xmitframe() local
1373 phead = get_list_head(pfree_xmit_queue); in rtw_alloc_xmitframe()
1375 plist = phead->next; in rtw_alloc_xmitframe()
1447 struct list_head *plist, *phead; in rtw_free_xmitframe_queue() local
[all …]
Drtw_ioctl_set.c39 struct list_head *plist, *phead; in rtw_do_join() local
47 phead = get_list_head(queue); in rtw_do_join()
48 plist = phead->next; in rtw_do_join()
50 …_rtl871x_ioctl_set_c_, _drv_info_, ("\n rtw_do_join: phead = %p; plist = %p\n\n\n", phead, plist)); in rtw_do_join()
Drtw_debug.c843 struct list_head *plist, *phead; in proc_get_all_sta_info() local
853 phead = &(pstapriv->sta_hash[i]); in proc_get_all_sta_info()
854 plist = phead->next; in proc_get_all_sta_info()
856 while (phead != plist) { in proc_get_all_sta_info()
Drtw_mlme_ext.c3409 struct list_head *plist, *phead; in issue_action_BSSCoexistPacket() local
3487 phead = get_list_head(queue); in issue_action_BSSCoexistPacket()
3488 plist = phead->next; in issue_action_BSSCoexistPacket()
3490 while (phead != plist) { in issue_action_BSSCoexistPacket()
/linux-4.1.27/drivers/staging/rtl8723au/core/
Drtw_sta_mgt.c86 struct list_head *phead, *plist, *ptmp; in _rtw_free_sta_priv23a() local
95 phead = &pstapriv->sta_hash[index]; in _rtw_free_sta_priv23a()
97 list_for_each_safe(plist, ptmp, phead) { in _rtw_free_sta_priv23a()
265 struct list_head *phead, *plist; in rtw_free_stainfo23a() local
277 phead = get_list_head(ppending_recvframe_queue); in rtw_free_stainfo23a()
278 plist = phead->next; in rtw_free_stainfo23a()
280 while (!list_empty(phead)) { in rtw_free_stainfo23a()
328 struct list_head *plist, *phead, *ptmp; in rtw_free_all_stainfo23a() local
340 phead = &pstapriv->sta_hash[index]; in rtw_free_all_stainfo23a()
342 list_for_each_safe(plist, ptmp, phead) { in rtw_free_all_stainfo23a()
[all …]
Drtw_ap.c179 struct list_head *phead, *plist, *ptmp; in expire_timeout_chk23a() local
189 phead = &pstapriv->auth_list; in expire_timeout_chk23a()
192 list_for_each_safe(plist, ptmp, phead) { in expire_timeout_chk23a()
219 phead = &pstapriv->asoc_list; in expire_timeout_chk23a()
222 list_for_each_safe(plist, ptmp, phead) { in expire_timeout_chk23a()
1043 struct list_head *plist, *phead; in rtw_acl_add_sta23a() local
1058 phead = get_list_head(pacl_node_q); in rtw_acl_add_sta23a()
1060 list_for_each(plist, phead) { in rtw_acl_add_sta23a()
1105 struct list_head *plist, *phead, *ptmp; in rtw_acl_remove_sta23a() local
1115 phead = get_list_head(pacl_node_q); in rtw_acl_remove_sta23a()
[all …]
Drtw_xmit.c1301 struct list_head *phead; in rtw_alloc_xmitbuf23a_ext() local
1306 phead = get_list_head(pfree_queue); in rtw_alloc_xmitbuf23a_ext()
1308 if (!list_empty(phead)) { in rtw_alloc_xmitbuf23a_ext()
1309 pxmitbuf = list_first_entry(phead, struct xmit_buf, list); in rtw_alloc_xmitbuf23a_ext()
1353 struct list_head *phead; in rtw_alloc_xmitbuf23a() local
1360 phead = get_list_head(pfree_xmitbuf_queue); in rtw_alloc_xmitbuf23a()
1362 if (!list_empty(phead)) { in rtw_alloc_xmitbuf23a()
1363 pxmitbuf = list_first_entry(phead, struct xmit_buf, list); in rtw_alloc_xmitbuf23a()
1448 struct list_head *plist, *phead; in rtw_alloc_xmitframe() local
1459 phead = get_list_head(pfree_xmit_queue); in rtw_alloc_xmitframe()
[all …]
Drtw_recv.c108 struct list_head *plist, *phead; in rtw_alloc_recvframe23a() local
117 phead = get_list_head(pfree_recv_queue); in rtw_alloc_recvframe23a()
119 plist = phead->next; in rtw_alloc_recvframe23a()
199 struct list_head *plist, *phead, *ptmp; in rtw_free_recvframe23a_queue() local
203 phead = get_list_head(pframequeue); in rtw_free_recvframe23a_queue()
204 plist = phead->next; in rtw_free_recvframe23a_queue()
206 list_for_each_safe(plist, ptmp, phead) { in rtw_free_recvframe23a_queue()
257 struct list_head *plist, *phead; in rtw_dequeue_recvbuf23a() local
264 phead = get_list_head(queue); in rtw_dequeue_recvbuf23a()
266 plist = phead->next; in rtw_dequeue_recvbuf23a()
[all …]
Drtw_mlme.c140 struct list_head *phead, *plist; in rtw_find_network23a() local
150 phead = get_list_head(scanned_queue); in rtw_find_network23a()
151 plist = phead->next; in rtw_find_network23a()
153 while (plist != phead) { in rtw_find_network23a()
162 if (plist == phead) in rtw_find_network23a()
174 struct list_head *phead, *plist, *ptmp; in rtw_free_network_queue23a() local
181 phead = get_list_head(scanned_queue); in rtw_free_network_queue23a()
183 list_for_each_safe(plist, ptmp, phead) { in rtw_free_network_queue23a()
332 struct list_head *plist, *phead; in rtw_get_oldest_wlan_network23a() local
336 phead = get_list_head(scanned_queue); in rtw_get_oldest_wlan_network23a()
[all …]
Drtw_mlme_ext.c6098 struct list_head *plist, *phead, *ptmp; in tx_beacon_hdl23a() local
6113 phead = get_list_head(&psta_bmc->sleep_q); in tx_beacon_hdl23a()
6115 list_for_each_safe(plist, ptmp, phead) { in tx_beacon_hdl23a()
/linux-4.1.27/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c81 struct list_head *plist, *phead; in mfree_all_stainfo() local
84 phead = &pstapriv->free_sta_queue.queue; in mfree_all_stainfo()
85 plist = phead->next; in mfree_all_stainfo()
86 while ((end_of_queue_search(phead, plist)) == false) in mfree_all_stainfo()
213 struct list_head *plist, *phead; in r8712_free_all_stainfo() local
223 phead = &(pstapriv->sta_hash[index]); in r8712_free_all_stainfo()
224 plist = phead->next; in r8712_free_all_stainfo()
225 while ((end_of_queue_search(phead, plist)) == false) { in r8712_free_all_stainfo()
240 struct list_head *plist, *phead; in r8712_get_stainfo() local
248 phead = &(pstapriv->sta_hash[index]); in r8712_get_stainfo()
[all …]
Drtl8712_recv.c129 precvbuf->phead = precvbuf->pbuf; in r8712_init_recvbuf()
196 struct list_head *plist, *phead; in recvframe_defrag() local
204 phead = &defrag_q->queue; in recvframe_defrag()
205 plist = phead->next; in recvframe_defrag()
220 while (end_of_queue_search(phead, plist) == false) { in recvframe_defrag()
259 struct list_head *phead; in r8712_recvframe_chk_defrag() local
291 phead = &pdefrag_q->queue; in r8712_recvframe_chk_defrag()
292 list_add_tail(&pfhdr->list, phead); in r8712_recvframe_chk_defrag()
306 phead = &pdefrag_q->queue; in r8712_recvframe_chk_defrag()
307 list_add_tail(&pfhdr->list, phead); in r8712_recvframe_chk_defrag()
[all …]
Drtl871x_mlme.c150 struct list_head *phead, *plist; in _r8712_find_network() local
156 phead = &scanned_queue->queue; in _r8712_find_network()
157 plist = phead->next; in _r8712_find_network()
158 while (plist != phead) { in _r8712_find_network()
171 struct list_head *phead, *plist; in _free_network_queue() local
177 phead = &scanned_queue->queue; in _free_network_queue()
178 plist = phead->next; in _free_network_queue()
179 while (end_of_queue_search(phead, plist) == false) { in _free_network_queue()
314 struct list_head *plist, *phead; in r8712_get_oldest_wlan_network() local
318 phead = &scanned_queue->queue; in r8712_get_oldest_wlan_network()
[all …]
Drtl871x_xmit.c742 struct list_head *plist, *phead; in r8712_alloc_xmitbuf() local
749 phead = &pfree_xmitbuf_queue->queue; in r8712_alloc_xmitbuf()
750 plist = phead->next; in r8712_alloc_xmitbuf()
796 struct list_head *plist, *phead; in r8712_alloc_xmitframe() local
803 phead = &pfree_xmit_queue->queue; in r8712_alloc_xmitframe()
804 plist = phead->next; in r8712_alloc_xmitframe()
852 struct list_head *plist, *phead; in r8712_free_xmitframe_queue() local
856 phead = &pframequeue->queue; in r8712_free_xmitframe_queue()
857 plist = phead->next; in r8712_free_xmitframe_queue()
858 while (end_of_queue_search(phead, plist) == false) { in r8712_free_xmitframe_queue()
Drtl871x_recv.c110 struct list_head *plist, *phead; in r8712_alloc_recvframe() local
118 phead = &pfree_recv_queue->queue; in r8712_alloc_recvframe()
119 plist = phead->next; in r8712_alloc_recvframe()
145 struct list_head *plist, *phead; in r8712_free_recvframe_queue() local
148 phead = &pframequeue->queue; in r8712_free_recvframe_queue()
149 plist = phead->next; in r8712_free_recvframe_queue()
150 while (end_of_queue_search(phead, plist) == false) { in r8712_free_recvframe_queue()
Drtl871x_ioctl_set.c60 struct list_head *plist, *phead; in do_join() local
65 phead = &queue->queue; in do_join()
66 plist = phead->next; in do_join()
Drtl871x_ioctl_linux.c1069 struct list_head *phead; in r8711_wx_set_wap() local
1082 phead = &queue->queue; in r8711_wx_set_wap()
1083 pmlmepriv->pscanned = phead->next; in r8711_wx_set_wap()
1085 if (end_of_queue_search(phead, pmlmepriv->pscanned) == true) in r8711_wx_set_wap()
1217 struct list_head *plist, *phead; in r8711_wx_get_scan() local
1231 phead = &queue->queue; in r8711_wx_get_scan()
1232 plist = phead->next; in r8711_wx_get_scan()
1234 if (end_of_queue_search(phead, plist) == true) in r8711_wx_get_scan()
1273 struct list_head *phead; in r8711_wx_set_essid() local
1290 phead = &queue->queue; in r8711_wx_set_essid()
[all …]
Drtl8712_recv.h110 u8 *phead; member
Drecv_linux.c66 precvbuf->phead = NULL; in r8712_os_recvbuf_resource_alloc()
Dusb_ops_linux.c286 precvbuf->phead = precvbuf->pskb->head; in r8712_usb_read_port()
292 precvbuf->phead = precvbuf->pskb->head; in r8712_usb_read_port()
/linux-4.1.27/arch/powerpc/kernel/
Dnvram_64.c903 struct nvram_header phead; in nvram_write_header() local
905 memcpy(&phead, &part->header, NVRAM_HEADER_LEN); in nvram_write_header()
906 phead.length = cpu_to_be16(phead.length); in nvram_write_header()
909 rc = ppc_md.nvram_write((char *)&phead, NVRAM_HEADER_LEN, &tmp_index); in nvram_write_header()
1159 struct nvram_header phead; in nvram_scan_partitions() local
1187 memcpy(&phead, header, NVRAM_HEADER_LEN); in nvram_scan_partitions()
1189 phead.length = be16_to_cpu(phead.length); in nvram_scan_partitions()
1192 c_sum = nvram_checksum(&phead); in nvram_scan_partitions()
1193 if (c_sum != phead.checksum) { in nvram_scan_partitions()
1196 phead.checksum, c_sum); in nvram_scan_partitions()
[all …]
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c170 struct list_head *phead, *plist; in rtw_mlcst2unicst() local
176 phead = &pstapriv->asoc_list; in rtw_mlcst2unicst()
177 plist = phead->next; in rtw_mlcst2unicst()
180 while (phead != plist) { in rtw_mlcst2unicst()
Dioctl_linux.c964 struct list_head *phead; in rtw_wx_set_wap() local
987 phead = get_list_head(queue); in rtw_wx_set_wap()
988 pmlmepriv->pscanned = phead->next; in rtw_wx_set_wap()
990 while (phead != pmlmepriv->pscanned) { in rtw_wx_set_wap()
1217 struct list_head *plist, *phead; in rtw_wx_get_scan() local
1249 phead = get_list_head(queue); in rtw_wx_get_scan()
1250 plist = phead->next; in rtw_wx_get_scan()
1252 while (phead != plist) { in rtw_wx_get_scan()
1288 struct list_head *phead; in rtw_wx_set_essid() local
1334 phead = get_list_head(queue); in rtw_wx_set_essid()
[all …]
/linux-4.1.27/fs/proc/
Dproc_sysctl.c74 static int sysctl_follow_link(struct ctl_table_header **phead,
102 static struct ctl_table *find_entry(struct ctl_table_header **phead, in find_entry() argument
126 *phead = head; in find_entry()
330 static struct ctl_table *lookup_entry(struct ctl_table_header **phead, in lookup_entry() argument
340 *phead = head; in lookup_entry()
360 struct ctl_table_header **phead, struct ctl_table **pentry) in first_entry() argument
373 *phead = head; in first_entry()
377 static void next_entry(struct ctl_table_header **phead, struct ctl_table **pentry) in next_entry() argument
379 struct ctl_table_header *head = *phead; in next_entry()
393 *phead = head; in next_entry()
[all …]
/linux-4.1.27/drivers/staging/unisys/visorchannel/
Dvisorchannel_funcs.c380 u32 *phead, u32 *ptail) in safe_sig_queue_validate() argument
382 if ((*phead >= psafe_sqh->max_slots) || in safe_sig_queue_validate()
385 *phead = 0; in safe_sig_queue_validate()
389 punsafe_sqh->head = *phead; in safe_sig_queue_validate()
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c556 void *phead; in ipoib_send() local
560 phead = skb->data; in ipoib_send()
577 phead = NULL; in ipoib_send()
615 address->ah, qpn, tx_req, phead, hlen); in ipoib_send()
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c1273 struct list_head *plist, *phead, *ptmp; in rtw_cfg80211_surveydone_event_callback() local
1280 phead = get_list_head(queue); in rtw_cfg80211_surveydone_event_callback()
1282 list_for_each_safe(plist, ptmp, phead) { in rtw_cfg80211_surveydone_event_callback()
1953 struct list_head *phead, *plist, *ptmp; in cfg80211_rtw_connect() local
2000 phead = get_list_head(queue); in cfg80211_rtw_connect()
2002 list_for_each_safe(plist, ptmp, phead) { in cfg80211_rtw_connect()
2853 struct list_head *phead, *plist, *ptmp; in cfg80211_rtw_del_station() local
2885 phead = &pstapriv->asoc_list; in cfg80211_rtw_del_station()
2888 list_for_each_safe(plist, ptmp, phead) { in cfg80211_rtw_del_station()