Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/firmware/arm_scmi/
H A Dbus.c75 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()
125 kfree(phead); in scmi_protocol_device_request()
156 struct list_head *phead; in scmi_protocol_device_unrequest() local
163 if (phead) { in scmi_protocol_device_unrequest()
183 kfree(phead); in scmi_protocol_device_unrequest()
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_sta_mgt.c123 struct list_head *plist, *phead; in kfree_all_stainfo() local
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
155 list_for_each(plist, phead) { in _rtw_free_sta_priv()
366 plist = get_next(phead); in rtw_free_stainfo()
368 while (!list_empty(phead)) { in rtw_free_stainfo()
465 struct list_head *plist, *phead; in rtw_get_stainfo() local
484 list_for_each(plist, phead) { in rtw_get_stainfo()
528 struct list_head *plist, *phead; in rtw_access_ctrl() local
[all …]
H A Drtw_recv.c118 plist = get_next(phead); in _rtw_alloc_recvframe()
221 plist = get_next(phead); in rtw_free_recvframe_queue()
223 while (phead != plist) { in rtw_free_recvframe_queue()
284 plist = get_next(phead); in rtw_dequeue_recvbuf()
1031 plist = get_next(phead); in recvframe_defrag()
1051 while (phead != plist) { in recvframe_defrag()
1103 struct list_head *phead; in recvframe_chk_defrag() local
1688 plist = get_next(phead); in enqueue_reorder_recvframe()
1690 while (phead != plist) { in enqueue_reorder_recvframe()
1745 plist = get_next(phead); in recv_indicatepkts_in_order()
[all …]
H A Drtw_xmit.c138 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
218 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
1458 plist = get_next(phead); in rtw_alloc_xmitbuf_ext()
1517 plist = get_next(phead); in rtw_alloc_xmitbuf()
1616 plist = get_next(phead); in rtw_alloc_xmitframe()
1641 phead = get_list_head(queue); in rtw_alloc_xmitframe_ext()
1642 plist = get_next(phead); in rtw_alloc_xmitframe_ext()
2417 phead = get_list_head(pqueue); in dequeue_pending_xmitbuf()
2418 plist = get_next(phead); in dequeue_pending_xmitbuf()
2443 plist = phead; in dequeue_pending_xmitbuf_under_survey()
[all …]
H A Drtw_ap.c186 phead = &pstapriv->auth_list; in expire_timeout_chk()
211 phead = &pstapriv->asoc_list; in expire_timeout_chk()
1179 struct list_head *plist, *phead; in rtw_acl_add_sta() local
1193 list_for_each(plist, phead) { in rtw_acl_add_sta()
1685 struct list_head *phead, *plist; in associated_clients_update() local
1691 phead = &pstapriv->asoc_list; in associated_clients_update()
1693 list_for_each(plist, phead) { in associated_clients_update()
1943 phead = &pstapriv->asoc_list; in rtw_sta_flush()
2011 struct list_head *phead, *plist; in rtw_ap_restore_network() local
2041 phead = &pstapriv->asoc_list; in rtw_ap_restore_network()
[all …]
H A Drtw_mlme.c238 list_for_each(plist, phead) { in _rtw_find_network()
245 if (plist == phead) in _rtw_find_network()
408 list_for_each(plist, phead) { in _rtw_find_same_network()
415 if (plist == phead) in _rtw_find_same_network()
430 list_for_each(plist, phead) { in rtw_get_oldest_wlan_network()
523 phead = get_list_head(queue); in rtw_update_scanned_network()
524 list_for_each(plist, phead) { in rtw_update_scanned_network()
850 plist = get_next(phead); in free_scanqueue()
852 while (plist != phead) { in free_scanqueue()
1737 struct list_head *phead; in rtw_select_roaming_candidate() local
[all …]
H A 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()
/openbmc/linux/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()
221 struct list_head *plist, *phead; in r8712_get_stainfo() local
229 phead = &(pstapriv->sta_hash[index]); in r8712_get_stainfo()
230 plist = phead->next; 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()
242 struct list_head *phead; in r8712_recvframe_chk_defrag() local
275 phead = &pdefrag_q->queue; in r8712_recvframe_chk_defrag()
291 phead = &pdefrag_q->queue; in r8712_recvframe_chk_defrag()
476 plist = phead->next; in enqueue_reorder_recvframe()
506 plist = phead->next; in r8712_recv_indicatepkts_in_order()
509 if (list_empty(phead)) in r8712_recv_indicatepkts_in_order()
[all …]
H A Drtl871x_mlme.c141 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()
162 phead = &scanned_queue->queue; in r8712_free_network_queue()
163 plist = phead->next; in r8712_free_network_queue()
263 phead = &scanned_queue->queue; in r8712_get_oldest_wlan_network()
264 plist = phead->next; in r8712_get_oldest_wlan_network()
342 phead = &queue->queue; in update_scanned_network()
343 plist = phead->next; in update_scanned_network()
1043 struct list_head *phead; in r8712_select_and_join_from_scan() local
[all …]
H A 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()
H A 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()
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()
1242 struct list_head *phead; in r8711_wx_set_essid() local
1259 phead = &queue->queue; in r8711_wx_set_essid()
1946 struct list_head *plist, *phead; in r871x_get_ap_info() local
1968 phead = &queue->queue; in r871x_get_ap_info()
[all …]
H A Drtl8712_recv.h98 u8 *phead; member
H A 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()
H A Drecv_linux.c53 precvbuf->phead = NULL; in r8712_os_recvbuf_resource_alloc()
H A 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()
H A 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()
/openbmc/linux/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()
/openbmc/linux/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()
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()
1028 if (!phead.length) { in nvram_scan_partitions()
[all …]
/openbmc/linux/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()
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()
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A 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()
H A 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()
/openbmc/linux/fs/proc/
H A Dproc_sysctl.c90 static int sysctl_follow_link(struct ctl_table_header **phead,
137 *phead = head; in find_entry()
356 *phead = head; in lookup_entry()
376 struct ctl_table_header **phead, struct ctl_table **pentry) in first_entry() argument
389 *phead = head; in first_entry()
395 struct ctl_table_header *head = *phead; in next_entry()
409 *phead = head; in next_entry()
1059 static int sysctl_follow_link(struct ctl_table_header **phead, in sysctl_follow_link() argument
1072 dir = xlate_dir(set, (*phead)->parent); in sysctl_follow_link()
1081 unuse_table(*phead); in sysctl_follow_link()
[all …]
/openbmc/linux/drivers/infiniband/ulp/ipoib/
H A 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()
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Drtw_recv.h288 u8 *phead; member

12