Home
last modified time | relevance | path

Searched refs:hlen (Results 51 - 75 of 343) sorted by relevance

12345678910>>...14

/kernel/linux/linux-5.10/net/llc/
H A Dllc_sap.c51 int hlen = type == LLC_PDU_TYPE_U ? 3 : 4; in llc_alloc_frame() local
54 hlen += llc_mac_header_len(dev->type); in llc_alloc_frame()
55 skb = alloc_skb(hlen + data_size, GFP_ATOMIC); in llc_alloc_frame()
59 skb_reserve(skb, hlen); in llc_alloc_frame()
/kernel/linux/linux-5.10/net/mac802154/
H A Drx.c134 int hlen; in ieee802154_parse_frame_start() local
139 hlen = ieee802154_hdr_pull(skb, hdr); in ieee802154_parse_frame_start()
140 if (hlen < 0) in ieee802154_parse_frame_start()
143 skb->mac_len = hlen; in ieee802154_parse_frame_start()
/kernel/linux/linux-5.10/drivers/rpmsg/
H A Dqcom_glink_rpm.c150 const void *hdr, size_t hlen, in glink_rpm_tx_write()
154 size_t tlen = hlen + dlen; in glink_rpm_tx_write()
161 if (WARN(hlen % 4, "Glink Header length must be 4 bytes aligned\n")) in glink_rpm_tx_write()
173 head = glink_rpm_tx_write_one(pipe, head, hdr, hlen); in glink_rpm_tx_write()
149 glink_rpm_tx_write(struct qcom_glink_pipe *glink_pipe, const void *hdr, size_t hlen, const void *data, size_t dlen) glink_rpm_tx_write() argument
/kernel/linux/linux-6.6/net/ieee802154/
H A Dheader_ops.c369 int hlen = ieee802154_hdr_minlen(hdr); in ieee802154_max_payload() local
372 hlen += ieee802154_sechdr_lengths[hdr->sec.key_id_mode] - 1; in ieee802154_max_payload()
373 hlen += ieee802154_sechdr_authtag_len(&hdr->sec); in ieee802154_max_payload()
376 return IEEE802154_MTU - hlen - IEEE802154_MFR_SIZE; in ieee802154_max_payload()
H A Dsocket.c246 int hlen, tlen; in raw_sendmsg() local
280 hlen = LL_RESERVED_SPACE(dev); in raw_sendmsg()
282 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in raw_sendmsg()
287 skb_reserve(skb, hlen); in raw_sendmsg()
615 int hlen, tlen; in dgram_sendmsg() local
657 hlen = LL_RESERVED_SPACE(dev); in dgram_sendmsg()
659 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in dgram_sendmsg()
665 skb_reserve(skb, hlen); in dgram_sendmsg()
/kernel/linux/linux-6.6/net/llc/
H A Dllc_sap.c51 int hlen = type == LLC_PDU_TYPE_U ? 3 : 4; in llc_alloc_frame() local
54 hlen += llc_mac_header_len(dev->type); in llc_alloc_frame()
55 skb = alloc_skb(hlen + data_size, GFP_ATOMIC); in llc_alloc_frame()
59 skb_reserve(skb, hlen); in llc_alloc_frame()
/kernel/linux/linux-5.10/lib/
H A Ddigsig.c69 const char *h, int hlen) in digsig_verify_rsa()
169 if (!m || len != hlen || memcmp(m, h, hlen)) in digsig_verify_rsa()
67 digsig_verify_rsa(struct key *key, const char *sig, int siglen, const char *h, int hlen) digsig_verify_rsa() argument
/kernel/linux/linux-6.6/lib/
H A Ddigsig.c69 const char *h, int hlen) in digsig_verify_rsa()
169 if (!m || len != hlen || memcmp(m, h, hlen)) in digsig_verify_rsa()
67 digsig_verify_rsa(struct key *key, const char *sig, int siglen, const char *h, int hlen) digsig_verify_rsa() argument
/kernel/linux/linux-5.10/net/ipv6/
H A Draw.c632 int hlen = LL_RESERVED_SPACE(rt->dst.dev); in rawv6_send_hdrinc() local
645 length + hlen + tlen + 15, in rawv6_send_hdrinc()
649 skb_reserve(skb, hlen); in rawv6_send_hdrinc()
714 int hlen; member
723 rfv->hlen = 2; in rawv6_probe_proto_opt()
724 err = memcpy_from_msg(rfv->c, rfv->msg, rfv->hlen); in rawv6_probe_proto_opt()
731 rfv->hlen = 4; in rawv6_probe_proto_opt()
732 err = memcpy_from_msg(rfv->c, rfv->msg, rfv->hlen); in rawv6_probe_proto_opt()
744 if (offset < rfv->hlen) { in raw6_getfrag()
745 int copy = min(rfv->hlen in raw6_getfrag()
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Draw.c596 int hlen = LL_RESERVED_SPACE(rt->dst.dev); in rawv6_send_hdrinc() local
609 length + hlen + tlen + 15, in rawv6_send_hdrinc()
613 skb_reserve(skb, hlen); in rawv6_send_hdrinc()
678 int hlen; member
687 rfv->hlen = 2; in rawv6_probe_proto_opt()
688 err = memcpy_from_msg(rfv->c, rfv->msg, rfv->hlen); in rawv6_probe_proto_opt()
695 rfv->hlen = 4; in rawv6_probe_proto_opt()
696 err = memcpy_from_msg(rfv->c, rfv->msg, rfv->hlen); in rawv6_probe_proto_opt()
708 if (offset < rfv->hlen) { in raw6_getfrag()
709 int copy = min(rfv->hlen in raw6_getfrag()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dpower_budget.c93 budget->hlen = hdr; in nvbios_power_budget_header()
113 entry_offset = budget->offset + budget->hlen + idx * budget->elen; in nvbios_power_budget_entry()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dpower_budget.c92 budget->hlen = hdr; in nvbios_power_budget_header()
112 entry_offset = budget->offset + budget->hlen + idx * budget->elen; in nvbios_power_budget_entry()
/kernel/linux/linux-5.10/net/ieee802154/
H A Dsocket.c247 int hlen, tlen; in raw_sendmsg() local
281 hlen = LL_RESERVED_SPACE(dev); in raw_sendmsg()
283 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in raw_sendmsg()
288 skb_reserve(skb, hlen); in raw_sendmsg()
618 int hlen, tlen; in dgram_sendmsg() local
660 hlen = LL_RESERVED_SPACE(dev); in dgram_sendmsg()
662 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in dgram_sendmsg()
668 skb_reserve(skb, hlen); in dgram_sendmsg()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c683 unsigned int hlen = skb_headlen(skb); in build_inline_wqe() local
693 skb_copy_from_linear_data(skb, inl + 1, hlen); in build_inline_wqe()
695 memcpy(((void *)(inl + 1)) + hlen, fragptr, in build_inline_wqe()
700 if (hlen <= spc) { in build_inline_wqe()
701 skb_copy_from_linear_data(skb, inl + 1, hlen); in build_inline_wqe()
702 if (hlen < spc) { in build_inline_wqe()
703 memcpy(((void *)(inl + 1)) + hlen, in build_inline_wqe()
704 fragptr, spc - hlen); in build_inline_wqe()
705 fragptr += spc - hlen; in build_inline_wqe()
713 hlen in build_inline_wqe()
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Draw.c85 int hlen; member
356 int hlen, tlen; in raw_send_hdrinc() local
369 hlen = LL_RESERVED_SPACE(rt->dst.dev); in raw_send_hdrinc()
372 length + hlen + tlen + 15, in raw_send_hdrinc()
376 skb_reserve(skb, hlen); in raw_send_hdrinc()
456 rfv->hlen = 2; in raw_probe_proto_opt()
458 err = memcpy_from_msg(rfv->hdr.c, rfv->msg, rfv->hlen); in raw_probe_proto_opt()
473 if (offset < rfv->hlen) { in raw_getfrag()
474 int copy = min(rfv->hlen - offset, len); in raw_getfrag()
494 offset -= rfv->hlen; in raw_getfrag()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c697 unsigned int hlen = skb_headlen(skb); in build_inline_wqe() local
707 skb_copy_from_linear_data(skb, inl->data, hlen); in build_inline_wqe()
709 memcpy(inl->data + hlen, fragptr, in build_inline_wqe()
714 if (hlen <= spc) { in build_inline_wqe()
715 skb_copy_from_linear_data(skb, inl->data, hlen); in build_inline_wqe()
716 if (hlen < spc) { in build_inline_wqe()
717 memcpy(inl->data + hlen, in build_inline_wqe()
718 fragptr, spc - hlen); in build_inline_wqe()
719 fragptr += spc - hlen; in build_inline_wqe()
727 hlen in build_inline_wqe()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Draw.c85 int hlen; member
331 int hlen, tlen; in raw_send_hdrinc() local
344 hlen = LL_RESERVED_SPACE(rt->dst.dev); in raw_send_hdrinc()
347 length + hlen + tlen + 15, in raw_send_hdrinc()
351 skb_reserve(skb, hlen); in raw_send_hdrinc()
432 rfv->hlen = 2; in raw_probe_proto_opt()
434 err = memcpy_from_msg(rfv->hdr.c, rfv->msg, rfv->hlen); in raw_probe_proto_opt()
449 if (offset < rfv->hlen) { in raw_getfrag()
450 int copy = min(rfv->hlen - offset, len); in raw_getfrag()
470 offset -= rfv->hlen; in raw_getfrag()
[all...]
/kernel/linux/linux-5.10/drivers/nvme/target/
H A Dtcp.c259 recv_digest = *(__le32 *)(pdu + hdr->hlen); in nvmet_tcp_verify_hdgst()
261 exp_digest = *(__le32 *)(pdu + hdr->hlen); in nvmet_tcp_verify_hdgst()
278 len = le32_to_cpu(hdr->plen) - hdr->hlen - in nvmet_tcp_check_ddgst()
422 pdu->hdr.hlen = sizeof(*pdu); in nvmet_setup_c2h_data_pdu()
423 pdu->hdr.pdo = pdu->hdr.hlen + hdgst; in nvmet_setup_c2h_data_pdu()
425 cpu_to_le32(pdu->hdr.hlen + hdgst + in nvmet_setup_c2h_data_pdu()
453 pdu->hdr.hlen = sizeof(*pdu); in nvmet_setup_r2t_pdu()
455 pdu->hdr.plen = cpu_to_le32(pdu->hdr.hlen + hdgst); in nvmet_setup_r2t_pdu()
478 pdu->hdr.hlen = sizeof(*pdu); in nvmet_setup_response_pdu()
480 pdu->hdr.plen = cpu_to_le32(pdu->hdr.hlen in nvmet_setup_response_pdu()
[all...]
/kernel/linux/linux-6.6/drivers/nvme/target/
H A Dtcp.c297 recv_digest = *(__le32 *)(pdu + hdr->hlen); in nvmet_tcp_verify_hdgst()
299 exp_digest = *(__le32 *)(pdu + hdr->hlen); in nvmet_tcp_verify_hdgst()
316 len = le32_to_cpu(hdr->plen) - hdr->hlen - in nvmet_tcp_check_ddgst()
441 pdu->hdr.hlen = sizeof(*pdu); in nvmet_setup_c2h_data_pdu()
442 pdu->hdr.pdo = pdu->hdr.hlen + hdgst; in nvmet_setup_c2h_data_pdu()
444 cpu_to_le32(pdu->hdr.hlen + hdgst + in nvmet_setup_c2h_data_pdu()
472 pdu->hdr.hlen = sizeof(*pdu); in nvmet_setup_r2t_pdu()
474 pdu->hdr.plen = cpu_to_le32(pdu->hdr.hlen + hdgst); in nvmet_setup_r2t_pdu()
497 pdu->hdr.hlen = sizeof(*pdu); in nvmet_setup_response_pdu()
499 pdu->hdr.plen = cpu_to_le32(pdu->hdr.hlen in nvmet_setup_response_pdu()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dvpstate.h8 u8 hlen; member
H A Dpower_budget.h16 u8 hlen; member
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dvpstate.h8 u8 hlen; member
H A Dpower_budget.h16 u8 hlen; member
/kernel/linux/linux-5.10/tools/bpf/
H A Dbpf_jit_disasm.c170 static uint8_t *get_last_jit_image(char *haystack, size_t hlen, in get_last_jit_image() argument
182 if (hlen == 0) in get_last_jit_image()
197 assert(off < hlen); in get_last_jit_image()
/kernel/linux/linux-6.6/tools/bpf/
H A Dbpf_jit_disasm.c173 static uint8_t *get_last_jit_image(char *haystack, size_t hlen, in get_last_jit_image() argument
185 if (hlen == 0) in get_last_jit_image()
200 assert(off < hlen); in get_last_jit_image()

Completed in 26 milliseconds

12345678910>>...14