/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | bmi.c | 458 u32 head_len = rounddown(length, 4); in ath10k_bmi_fast_download() local 459 u32 trailer_len = length - head_len; in ath10k_bmi_fast_download() 472 memcpy(trailer, buffer + head_len, trailer_len); in ath10k_bmi_fast_download() 475 ret = ath10k_bmi_lz_data_large(ar, buffer, head_len); in ath10k_bmi_fast_download() 477 ret = ath10k_bmi_lz_data(ar, buffer, head_len); in ath10k_bmi_fast_download()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | bmi.c | 458 u32 head_len = rounddown(length, 4); in ath10k_bmi_fast_download() local 459 u32 trailer_len = length - head_len; in ath10k_bmi_fast_download() 472 memcpy(trailer, buffer + head_len, trailer_len); in ath10k_bmi_fast_download() 475 ret = ath10k_bmi_lz_data_large(ar, buffer, head_len); in ath10k_bmi_fast_download() 477 ret = ath10k_bmi_lz_data(ar, buffer, head_len); in ath10k_bmi_fast_download()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | testmode.c | 110 u32 max_len, head_len; in mt76_testmode_alloc_skb() local 120 head_len = nfrags ? MT_TXP_MAX_LEN : len; in mt76_testmode_alloc_skb() 125 head = alloc_skb(head_len, GFP_KERNEL); in mt76_testmode_alloc_skb() 135 get_random_bytes(__skb_put(head, head_len - sizeof(*hdr)), in mt76_testmode_alloc_skb() 136 head_len - sizeof(*hdr)); in mt76_testmode_alloc_skb()
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
H A D | transport.c | 663 iov[0].iov_len = msg->head_len; in tcp_send_message_sock_cipher() 686 msg->head_len + outlen); in tcp_send_message_sock_cipher() 691 } else if (send_len != msg->head_len + outlen) { in tcp_send_message_sock_cipher() 693 msg->head_len + outlen); in tcp_send_message_sock_cipher() 717 iov[TCP_KVEC_HEAD].iov_len = msg->head_len; in tcp_send_message_sock_tls() 733 msg->head_len + msg->len + msg->sdesc_len); in tcp_send_message_sock_tls() 740 } else if (send_len != msg->head_len + msg->len + msg->sdesc_len) { in tcp_send_message_sock_tls() 742 msg->head_len + msg->len); in tcp_send_message_sock_tls() 783 msg.head_len = sizeof(*head); in tcp_send_rekey_request()
|
H A D | socket_adapter.c | 223 msg.head_len = sizeof(struct hmdfs_head_cmd); in hmdfs_sendmessage_response() 346 msg.head_len = sizeof(head); in hmdfs_send_async_request() 454 msg.head_len = sizeof(struct hmdfs_head_cmd); in hmdfs_sendmessage_request() 539 msg.head_len = sizeof(struct hmdfs_head_cmd); in hmdfs_send_slice() 667 msg.head_len = sizeof(struct hmdfs_head_cmd); in hmdfs_sendpage_request()
|
/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | transport.c | 663 iov[0].iov_len = msg->head_len; in tcp_send_message_sock_cipher() 686 msg->head_len + outlen); in tcp_send_message_sock_cipher() 691 } else if (send_len != msg->head_len + outlen) { in tcp_send_message_sock_cipher() 693 msg->head_len + outlen); in tcp_send_message_sock_cipher() 717 iov[TCP_KVEC_HEAD].iov_len = msg->head_len; in tcp_send_message_sock_tls() 733 msg->head_len + msg->len + msg->sdesc_len); in tcp_send_message_sock_tls() 740 } else if (send_len != msg->head_len + msg->len + msg->sdesc_len) { in tcp_send_message_sock_tls() 742 msg->head_len + msg->len); in tcp_send_message_sock_tls() 783 msg.head_len = sizeof(*head); in tcp_send_rekey_request()
|
H A D | socket_adapter.c | 223 msg.head_len = sizeof(struct hmdfs_head_cmd); in hmdfs_sendmessage_response() 346 msg.head_len = sizeof(head); in hmdfs_send_async_request() 454 msg.head_len = sizeof(struct hmdfs_head_cmd); in hmdfs_sendmessage_request() 539 msg.head_len = sizeof(struct hmdfs_head_cmd); in hmdfs_send_slice() 667 msg.head_len = sizeof(struct hmdfs_head_cmd); in hmdfs_sendpage_request()
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | sunrpc.h | 62 __field(size_t, head_len) 74 __entry->head_len = xdr->head[0].iov_len; 83 __entry->head_base, __entry->head_len, __entry->page_len, 654 __field(size_t, head_len) 686 __entry->head_len = xdr->buf->head[0].iov_len, 698 __entry->head_base, __entry->head_len, 721 __field(size_t, head_len) 745 __entry->head_len = xdr->buf->head[0].iov_len, 757 __entry->head_base, __entry->head_len, 1436 __field(size_t, head_len) [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | sunrpc.h | 64 __field(size_t, head_len) 77 __entry->head_len = xdr->head[0].iov_len; 88 __entry->head_base, __entry->head_len, 679 __field(size_t, head_len) 711 __entry->head_len = xdr->buf->head[0].iov_len, 723 __entry->head_base, __entry->head_len, 746 __field(size_t, head_len) 770 __entry->head_len = xdr->buf->head[0].iov_len, 782 __entry->head_base, __entry->head_len, 1583 __field(size_t, head_len) [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | icmp.c | 109 int head_len; member 377 icmp_param->data_len+icmp_param->head_len, in icmp_push_reply() 378 icmp_param->head_len, in icmp_push_reply() 389 icmp_param->head_len); in icmp_push_reply() 767 icmp_param.head_len = sizeof(struct icmphdr); in __icmp_send() 1012 icmp_param.head_len = sizeof(struct icmphdr); in icmp_echo() 1049 icmp_param.head_len = sizeof(struct icmphdr) + 12; in icmp_timestamp()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | icmp.c | 109 int head_len; member 371 icmp_param->data_len+icmp_param->head_len, in icmp_push_reply() 372 icmp_param->head_len, in icmp_push_reply() 383 icmp_param->head_len); in icmp_push_reply() 761 icmp_param.head_len = sizeof(struct icmphdr); in __icmp_send() 1012 icmp_param.head_len = sizeof(struct icmphdr); in icmp_echo() 1161 icmp_param.head_len = sizeof(struct icmphdr) + 12; in icmp_timestamp()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | enic_main.c | 571 unsigned int head_len = skb_headlen(skb); in enic_queue_wq_skb_vlan() local 572 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_vlan() 577 dma_addr = dma_map_single(&enic->pdev->dev, skb->data, head_len, in enic_queue_wq_skb_vlan() 587 enic_queue_wq_desc(wq, skb, dma_addr, head_len, vlan_tag_insert, in enic_queue_wq_skb_vlan() 600 unsigned int head_len = skb_headlen(skb); in enic_queue_wq_skb_csum_l4() local 601 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_csum_l4() 608 dma_addr = dma_map_single(&enic->pdev->dev, skb->data, head_len, in enic_queue_wq_skb_csum_l4() 618 enic_queue_wq_desc_csum_l4(wq, skb, dma_addr, head_len, csum_offset, in enic_queue_wq_skb_csum_l4() 744 unsigned int head_len = skb_headlen(skb); in enic_queue_wq_skb_encap() local 745 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_encap() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | enic_main.c | 571 unsigned int head_len = skb_headlen(skb); in enic_queue_wq_skb_vlan() local 572 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_vlan() 577 dma_addr = dma_map_single(&enic->pdev->dev, skb->data, head_len, in enic_queue_wq_skb_vlan() 587 enic_queue_wq_desc(wq, skb, dma_addr, head_len, vlan_tag_insert, in enic_queue_wq_skb_vlan() 600 unsigned int head_len = skb_headlen(skb); in enic_queue_wq_skb_csum_l4() local 601 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_csum_l4() 608 dma_addr = dma_map_single(&enic->pdev->dev, skb->data, head_len, in enic_queue_wq_skb_csum_l4() 618 enic_queue_wq_desc_csum_l4(wq, skb, dma_addr, head_len, csum_offset, in enic_queue_wq_skb_csum_l4() 743 unsigned int head_len = skb_headlen(skb); in enic_queue_wq_skb_encap() local 744 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_encap() [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | mesh.c | 779 int head_len, tail_len; in ieee80211_mesh_build_beacon() local 798 head_len = hdr_len + in ieee80211_mesh_build_beacon() 823 bcn = kzalloc(sizeof(*bcn) + head_len + tail_len, GFP_KERNEL); in ieee80211_mesh_build_beacon() 825 skb = dev_alloc_skb(max(head_len, tail_len)); in ieee80211_mesh_build_beacon() 922 bcn->head_len = skb->len; in ieee80211_mesh_build_beacon() 923 memcpy(bcn->head, skb->data, bcn->head_len); in ieee80211_mesh_build_beacon() 927 bcn->tail = bcn->head + bcn->head_len; in ieee80211_mesh_build_beacon() 1252 bcn->head_len + bcn->tail_len); in ieee80211_mesh_rx_probe_req() 1257 skb_put_data(presp, bcn->head, bcn->head_len); in ieee80211_mesh_rx_probe_req()
|
H A D | tx.c | 4613 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn() 4617 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn() 4732 beacon_data_len = beacon->head_len; in ieee80211_beacon_cntdwn_is_complete() 4741 beacon_data_len = beacon->head_len; in ieee80211_beacon_cntdwn_is_complete() 4833 beacon->head_len + in __ieee80211_beacon_get() 4840 skb_put_data(skb, beacon->head, beacon->head_len); in __ieee80211_beacon_get() 4846 offs->tim_offset = beacon->head_len; in __ieee80211_beacon_get() 4847 offs->tim_length = skb->len - beacon->head_len; in __ieee80211_beacon_get() 4876 skb = dev_alloc_skb(local->tx_headroom + beacon->head_len + in __ieee80211_beacon_get() 4881 skb_put_data(skb, beacon->head, beacon->head_len); in __ieee80211_beacon_get() [all...] |
H A D | ibss.c | 208 presp->head_len = pos - presp->head; in ieee80211_ibss_build_presp() 209 if (WARN_ON(presp->head_len > frame_len)) in ieee80211_ibss_build_presp() 390 presp->head_len, GFP_KERNEL); in __ieee80211_sta_join_ibss() 1579 skb = dev_alloc_skb(local->tx_headroom + presp->head_len); in ieee80211_rx_mgmt_probe_req() 1584 skb_put_data(skb, presp->head, presp->head_len); in ieee80211_rx_mgmt_probe_req()
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | mesh.c | 962 int head_len, tail_len; in ieee80211_mesh_build_beacon() local 983 head_len = hdr_len + in ieee80211_mesh_build_beacon() 1011 bcn = kzalloc(sizeof(*bcn) + head_len + tail_len, GFP_KERNEL); in ieee80211_mesh_build_beacon() 1013 skb = __dev_alloc_skb(max(head_len, tail_len), GFP_KERNEL); in ieee80211_mesh_build_beacon() 1110 bcn->head_len = skb->len; in ieee80211_mesh_build_beacon() 1111 memcpy(bcn->head, skb->data, bcn->head_len); in ieee80211_mesh_build_beacon() 1115 bcn->tail = bcn->head + bcn->head_len; in ieee80211_mesh_build_beacon() 1443 bcn->head_len + bcn->tail_len); in ieee80211_mesh_rx_probe_req() 1448 skb_put_data(presp, bcn->head, bcn->head_len); in ieee80211_mesh_rx_probe_req()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_mbx.h | 267 u16 head, head_len, pushed; member
|
H A D | fm10k_mbx.c | 432 len = mbx->head_len; in fm10k_mbx_read_copy() 485 mbx->head_len = len; in fm10k_mbx_push_tail() 641 u16 len = mbx->head_len; in fm10k_mbx_verify_remote_crc() 1083 mbx->head_len = 0; in fm10k_mbx_reset_work() 1251 mbx->head_len = 0; in fm10k_mbx_process_disconnect()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_mbx.h | 267 u16 head, head_len, pushed; member
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/ |
H A D | ioctl_cfg80211.c | 2256 static int rtw_add_beacon(struct adapter *adapter, const u8 *head, size_t head_len, const u8 *tail, size_t tail_len) in rtw_add_beacon() argument 2266 if (head_len < 24) in rtw_add_beacon() 2269 pbuf = rtw_zmalloc(head_len + tail_len); in rtw_add_beacon() 2273 memcpy(pbuf, (void *)head + 24, head_len - 24);/* 24 =beacon header len. */ in rtw_add_beacon() 2274 memcpy(pbuf + head_len - 24, (void *)tail, tail_len); in rtw_add_beacon() 2276 len = head_len + tail_len - 24; in rtw_add_beacon() 2302 settings->beacon.head_len, settings->beacon.tail, in cfg80211_rtw_start_ap() 2326 return rtw_add_beacon(adapter, info->head, info->head_len, info->tail, info->tail_len); in cfg80211_rtw_change_beacon()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/ |
H A D | ioctl_cfg80211.c | 2709 static int rtw_add_beacon(struct adapter *adapter, const u8 *head, size_t head_len, const u8 *tail, size_t tail_len) in rtw_add_beacon() argument 2716 DBG_8192C("%s beacon_head_len =%zu, beacon_tail_len =%zu\n", __func__, head_len, tail_len); in rtw_add_beacon() 2721 if (head_len < 24) in rtw_add_beacon() 2724 pbuf = rtw_zmalloc(head_len+tail_len); in rtw_add_beacon() 2728 memcpy(pbuf, (void *)head+24, head_len-24);/* 24 =beacon header len. */ in rtw_add_beacon() 2729 memcpy(pbuf+head_len-24, (void *)tail, tail_len); in rtw_add_beacon() 2731 len = head_len+tail_len-24; in rtw_add_beacon() 2765 ret = rtw_add_beacon(adapter, settings->beacon.head, settings->beacon.head_len, in cfg80211_rtw_start_ap() 2790 return rtw_add_beacon(adapter, info->head, info->head_len, info->tail, info->tail_len); in cfg80211_rtw_change_beacon()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | usdhi6rol0.c | 172 size_t head_len; member 318 size_t blk_head = host->head_len; in usdhi6_blk_bounce() 376 host->head_len = blk_head; in usdhi6_sg_map() 404 size_t blk_head = host->head_len; in usdhi6_sg_unmap() 444 host->offset = data->blksz - host->head_len; in usdhi6_sg_advance()
|
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
H A D | hif.c | 1747 wid.size = params->head_len + params->tail_len + 16; in wilc_add_beacon() 1757 put_unaligned_le32(params->head_len, cur_byte); in wilc_add_beacon() 1760 if (params->head_len > 0) in wilc_add_beacon() 1761 memcpy(cur_byte, params->head, params->head_len); in wilc_add_beacon() 1762 cur_byte += params->head_len; in wilc_add_beacon()
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | usdhi6rol0.c | 172 size_t head_len; member 318 size_t blk_head = host->head_len; in usdhi6_blk_bounce() 376 host->head_len = blk_head; in usdhi6_sg_map() 404 size_t blk_head = host->head_len; in usdhi6_sg_unmap() 444 host->offset = data->blksz - host->head_len; in usdhi6_sg_advance()
|