Home
last modified time | relevance | path

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

/linux-6.15/drivers/firmware/arm_scmi/
H A Dbus.c76 if (phead) { in scmi_protocol_device_request()
77 head = phead; in scmi_protocol_device_request()
105 if (!phead) { in scmi_protocol_device_request()
106 phead = kzalloc(sizeof(*phead), GFP_KERNEL); in scmi_protocol_device_request()
107 if (!phead) { in scmi_protocol_device_request()
112 INIT_LIST_HEAD(phead); in scmi_protocol_device_request()
120 kfree(phead); in scmi_protocol_device_request()
162 struct list_head *phead; in scmi_protocol_device_unrequest() local
169 if (phead) { in scmi_protocol_device_unrequest()
189 kfree(phead); in scmi_protocol_device_unrequest()
[all …]
/linux-6.15/drivers/staging/rtl8723bs/core/
H A Drtw_sta_mgt.c122 struct list_head *plist, *phead; in kfree_all_stainfo() local
127 plist = get_next(phead); in kfree_all_stainfo()
129 while (phead != plist) in kfree_all_stainfo()
143 struct list_head *phead, *plist; in _rtw_free_sta_priv() local
153 list_for_each(plist, phead) { in _rtw_free_sta_priv()
364 plist = get_next(phead); in rtw_free_stainfo()
366 while (!list_empty(phead)) { in rtw_free_stainfo()
463 struct list_head *plist, *phead; in rtw_get_stainfo() local
482 list_for_each(plist, phead) { in rtw_get_stainfo()
526 struct list_head *plist, *phead; in rtw_access_ctrl() local
[all …]
H A Drtw_xmit.c137 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
217 pxmitbuf->phead = pxmitbuf->pbuf; in _rtw_init_xmit_priv()
1457 plist = get_next(phead); in rtw_alloc_xmitbuf_ext()
1517 plist = get_next(phead); in rtw_alloc_xmitbuf()
1617 plist = get_next(phead); in rtw_alloc_xmitframe()
1642 phead = get_list_head(queue); in rtw_alloc_xmitframe_ext()
1643 plist = get_next(phead); in rtw_alloc_xmitframe_ext()
2418 phead = get_list_head(pqueue); in dequeue_pending_xmitbuf()
2419 plist = get_next(phead); in dequeue_pending_xmitbuf()
2444 plist = phead; in dequeue_pending_xmitbuf_under_survey()
[all …]
H A Drtw_recv.c117 plist = get_next(phead); in _rtw_alloc_recvframe()
220 plist = get_next(phead); in rtw_free_recvframe_queue()
222 while (phead != plist) { in rtw_free_recvframe_queue()
283 plist = get_next(phead); in rtw_dequeue_recvbuf()
1030 plist = get_next(phead); in recvframe_defrag()
1050 while (phead != plist) { in recvframe_defrag()
1102 struct list_head *phead; in recvframe_chk_defrag() local
1687 plist = get_next(phead); in enqueue_reorder_recvframe()
1689 while (phead != plist) { in enqueue_reorder_recvframe()
1744 plist = get_next(phead); in recv_indicatepkts_in_order()
[all …]
H A Drtw_ap.c185 phead = &pstapriv->auth_list; in expire_timeout_chk()
210 phead = &pstapriv->asoc_list; in expire_timeout_chk()
1178 struct list_head *plist, *phead; in rtw_acl_add_sta() local
1192 list_for_each(plist, phead) { in rtw_acl_add_sta()
1684 struct list_head *phead, *plist; in associated_clients_update() local
1690 phead = &pstapriv->asoc_list; in associated_clients_update()
1692 list_for_each(plist, phead) { in associated_clients_update()
1942 phead = &pstapriv->asoc_list; in rtw_sta_flush()
2010 struct list_head *phead, *plist; in rtw_ap_restore_network() local
2040 phead = &pstapriv->asoc_list; in rtw_ap_restore_network()
[all …]
H A Drtw_mlme.c203 list_for_each(plist, phead) { in _rtw_find_network()
210 if (plist == phead) in _rtw_find_network()
360 list_for_each(plist, phead) { in _rtw_find_same_network()
367 if (plist == phead) in _rtw_find_same_network()
382 list_for_each(plist, phead) { in rtw_get_oldest_wlan_network()
472 phead = get_list_head(queue); in rtw_update_scanned_network()
473 list_for_each(plist, phead) { in rtw_update_scanned_network()
788 plist = get_next(phead); in free_scanqueue()
790 while (plist != phead) { in free_scanqueue()
1664 struct list_head *phead; in rtw_select_roaming_candidate() local
[all …]
H A Drtw_ioctl_set.c39 struct list_head *plist, *phead; in rtw_do_join() local
46 phead = get_list_head(queue); in rtw_do_join()
47 plist = get_next(phead); in rtw_do_join()
H A Drtw_mlme_ext.c3584 struct list_head *plist, *phead; in issue_action_BSSCoexistPacket() local
3658 phead = get_list_head(queue); in issue_action_BSSCoexistPacket()
3659 plist = get_next(phead); in issue_action_BSSCoexistPacket()
3666 if (phead == plist) in issue_action_BSSCoexistPacket()
/linux-6.15/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()
/linux-6.15/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 …]
/linux-6.15/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_xmit.c563 struct list_head *plist, *phead; in rtl8723bs_free_xmit_priv() local
569 phead = get_list_head(pqueue); in rtl8723bs_free_xmit_priv()
576 list_add_tail(&tmplist, phead); in rtl8723bs_free_xmit_priv()
577 list_del_init(phead); in rtl8723bs_free_xmit_priv()
581 phead = &tmplist; in rtl8723bs_free_xmit_priv()
582 while (list_empty(phead) == false) { in rtl8723bs_free_xmit_priv()
583 plist = get_next(phead); in rtl8723bs_free_xmit_priv()
H A Dsdio_ops.c831 recvbuf->phead = recvbuf->pskb->head; in sd_recv_rxfifo()
/linux-6.15/drivers/firmware/arm_ffa/
H A Ddriver.c947 struct list_head *phead; in __do_sched_recv_cb() local
951 if (!phead) { in __do_sched_recv_cb()
1154 if (!phead) { in ffa_sched_recv_cb_update()
1592 if (phead) { in ffa_xa_add_partition_info()
1593 head = phead; in ffa_xa_add_partition_info()
1610 if (!phead) { in ffa_xa_add_partition_info()
1611 phead = kzalloc(sizeof(*phead), GFP_KERNEL); in ffa_xa_add_partition_info()
1612 if (!phead) in ffa_xa_add_partition_info()
1615 INIT_LIST_HEAD(phead); in ffa_xa_add_partition_info()
1629 kfree(phead); in ffa_xa_add_partition_info()
[all …]
/linux-6.15/fs/proc/
H A Dproc_sysctl.c91 static int sysctl_follow_link(struct ctl_table_header **phead,
139 *phead = head; in find_entry()
363 *phead = head; in lookup_entry()
383 struct ctl_table_header **phead, const struct ctl_table **pentry) in first_entry() argument
396 *phead = head; in first_entry()
402 struct ctl_table_header *head = *phead; in next_entry()
416 *phead = head; in next_entry()
1055 static int sysctl_follow_link(struct ctl_table_header **phead, in sysctl_follow_link() argument
1068 dir = xlate_dir(set, (*phead)->parent); in sysctl_follow_link()
1077 unuse_table(*phead); in sysctl_follow_link()
[all …]
/linux-6.15/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c126 struct list_head *phead, *plist; in rtw_mlcst2unicst() local
138 phead = &pstapriv->asoc_list; in rtw_mlcst2unicst()
140 list_for_each(plist, phead) { in rtw_mlcst2unicst()
H A Dioctl_cfg80211.c1126 struct list_head *plist, *phead; in rtw_cfg80211_surveydone_event_callback() local
1133 phead = get_list_head(queue); in rtw_cfg80211_surveydone_event_callback()
1134 list_for_each(plist, phead) in rtw_cfg80211_surveydone_event_callback()
2336 struct list_head *phead, *plist, *tmp; in cfg80211_rtw_del_station() local
2363 phead = &pstapriv->asoc_list; in cfg80211_rtw_del_station()
2365 list_for_each_safe(plist, tmp, phead) { in cfg80211_rtw_del_station()
2400 struct list_head *phead, *plist; in rtw_sta_info_get_by_idx() local
2404 phead = &pstapriv->asoc_list; in rtw_sta_info_get_by_idx()
2405 plist = get_next(phead); in rtw_sta_info_get_by_idx()
2408 while (phead != plist) { in rtw_sta_info_get_by_idx()
/linux-6.15/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c596 void *phead; in ipoib_send() local
601 phead = skb->data; in ipoib_send()
618 phead = NULL; in ipoib_send()
678 address, dqpn, tx_req, phead, hlen); in ipoib_send()
/linux-6.15/drivers/staging/rtl8723bs/include/
H A Drtw_recv.h255 u8 *phead; member
H A Drtw_xmit.h250 u8 *phead; member