Home
last modified time | relevance | path

Searched refs:alloc_skb (Results 1 – 25 of 193) sorted by relevance

12345678

/linux/net/bluetooth/
H A Dcoredump.c154 skb = alloc_skb(HCI_DEVCD_HDR_SIZE_MAX, GFP_ATOMIC); in hci_devcd_prepare()
455 skb = alloc_skb(sizeof(dump_size), GFP_ATOMIC); in hci_devcd_init()
496 skb = alloc_skb(sizeof(p), GFP_ATOMIC); in hci_devcd_append_pattern()
520 skb = alloc_skb(0, GFP_ATOMIC); in hci_devcd_complete()
540 skb = alloc_skb(0, GFP_ATOMIC); in hci_devcd_abort()
/linux/drivers/nfc/s3fwrn5/
H A Duart.c60 phy->recv_skb = alloc_skb(NCI_SKB_BUFF_LEN, GFP_KERNEL); in s3fwrn82_uart_read()
102 phy->recv_skb = alloc_skb(NCI_SKB_BUFF_LEN, GFP_KERNEL); in s3fwrn82_uart_probe()
/linux/net/dccp/
H A Doutput.c
/linux/net/x25/
H A Dx25_link.c136 struct sk_buff *skb = alloc_skb(len, GFP_ATOMIC); in x25_transmit_restart_request()
163 struct sk_buff *skb = alloc_skb(len, GFP_ATOMIC); in x25_transmit_restart_confirmation()
190 struct sk_buff *skb = alloc_skb(len, GFP_ATOMIC); in x25_transmit_clear_request()
H A Dx25_dev.c155 if ((skb = alloc_skb(1, GFP_ATOMIC)) == NULL) { in x25_establish_link()
/linux/include/kunit/
H A Dskbuff.h33 struct sk_buff *res = alloc_skb(len, gfp); in kunit_zalloc_skb()
/linux/drivers/net/wireguard/selftest/
H A Dratelimiter.c147 skb4 = alloc_skb(sizeof(struct iphdr), GFP_KERNEL); in wg_ratelimiter_selftest()
157 skb6 = alloc_skb(sizeof(struct ipv6hdr), GFP_KERNEL); in wg_ratelimiter_selftest()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsmt.c149 skb = alloc_skb(size, GFP_ATOMIC); in write_smt_entry()
185 skb = alloc_skb(size, GFP_ATOMIC); in write_smt_entry()
/linux/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c66 nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct tcphdr) + in nf_reject_skb_v4_tcp_reset()
146 nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct icmphdr) + in nf_reject_skb_v4_unreach()
290 nskb = alloc_skb(sizeof(struct iphdr) + sizeof(struct tcphdr) + in nf_send_reset()
/linux/drivers/net/arcnet/
H A Dcapmode.c59 skb = alloc_skb(length + ARC_HDR_SIZE + sizeof(int), GFP_ATOMIC); in rx()
199 ackskb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); in ack_tx()
/linux/drivers/nfc/st-nci/
H A Dspi.c97 skb_rx = alloc_skb(skb->len, GFP_KERNEL); in st_nci_spi_write()
140 *skb = alloc_skb(ST_NCI_SPI_MIN_SIZE + len, GFP_KERNEL); in st_nci_spi_read()
/linux/drivers/nfc/st21nfca/
H A Ddep.c148 skb = alloc_skb(atr_req->length + 1, GFP_KERNEL); in st21nfca_tm_send_atr_res()
233 skb = alloc_skb(sizeof(struct st21nfca_psl_res), GFP_KERNEL); in st21nfca_tm_send_psl_res()
424 alloc_skb(sizeof(struct st21nfca_psl_req) + 1, GFP_KERNEL); in st21nfca_im_send_psl_req()
508 alloc_skb(sizeof(struct st21nfca_atr_req) + gb_len + 1, GFP_KERNEL); in st21nfca_im_send_atr_req()
/linux/lib/tests/
H A Dblackhole_dev_kunit.c34 skb = alloc_skb(SKB_SIZE, GFP_KERNEL); in test_blackholedev()
/linux/net/lapb/
H A Dlapb_subr.c227 if ((skb = alloc_skb(LAPB_HEADER_LEN + 3, GFP_ATOMIC)) == NULL) in lapb_send_control()
263 if ((skb = alloc_skb(LAPB_HEADER_LEN + 7, GFP_ATOMIC)) == NULL) in lapb_transmit_frmr()
/linux/drivers/nfc/pn533/
H A Duart.c215 dev->recv_skb = alloc_skb(PN532_UART_SKB_BUFF_LEN, in pn532_receive_buf()
257 pn532->recv_skb = alloc_skb(PN532_UART_SKB_BUFF_LEN, GFP_KERNEL); in pn532_uart_probe()
/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc_hst.c161 skb = alloc_skb(50 + sizeof(struct htc_frame_hdr), GFP_ATOMIC); in htc_config_pipe_credits()
199 skb = alloc_skb(50 + sizeof(struct htc_frame_hdr), GFP_ATOMIC); in htc_setup_complete()
265 skb = alloc_skb(sizeof(struct htc_conn_svc_msg) + in htc_connect_service()
/linux/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c91 nskb = alloc_skb(sizeof(struct ipv6hdr) + sizeof(struct tcphdr) + in nf_reject_skb_v6_tcp_reset()
162 nskb = alloc_skb(sizeof(struct ipv6hdr) + sizeof(struct icmp6hdr) + in nf_reject_skb_v6_unreach()
362 nskb = alloc_skb(LL_MAX_HEADER + sizeof(struct ipv6hdr) + in nf_send_reset6()
/linux/drivers/net/usb/
H A Dcx82310_eth.c255 skb2 = alloc_skb(len, GFP_ATOMIC); in cx82310_rx_fixup()
300 skb2 = alloc_skb(len, GFP_ATOMIC); in cx82310_rx_fixup()
/linux/drivers/nfc/nxp-nci/
H A Di2c.c117 *skb = alloc_skb(NXP_NCI_FW_HDR_LEN + frame_len, GFP_KERNEL); in nxp_nci_i2c_fw_read()
160 *skb = alloc_skb(NCI_CTRL_HDR_SIZE + header.plen, GFP_KERNEL); in nxp_nci_i2c_nci_read()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_offload.c558 skb = alloc_skb(sizeof(struct cpl_tid_release), in t3_process_tid_release_list()
573 alloc_skb(sizeof(struct cpl_tid_release), in t3_process_tid_release_list()
582 alloc_skb(sizeof(struct cpl_tid_release), in t3_process_tid_release_list()
620 skb = alloc_skb(sizeof(struct cpl_tid_release), GFP_ATOMIC); in cxgb3_remove_tid()
798 skb = alloc_skb(len, gfp); in cxgb3_get_cpl_reply_skb()
1054 skb = alloc_skb(sizeof(*req), GFP_ATOMIC); in set_l2t_ix()
1229 t->nofail_skb = alloc_skb(sizeof(struct cpl_tid_release), GFP_KERNEL); in cxgb3_offload_activate()
/linux/net/mctp/test/
H A Dutils.c245 skb = alloc_skb(hdr_len + data_len, GFP_KERNEL); in mctp_test_create_skb()
265 skb = alloc_skb(hdr_len + data_len, GFP_KERNEL); in __mctp_test_create_skb_data()
/linux/net/mac802154/
H A Dscan.c159 skb = alloc_skb(IEEE802154_MAC_CMD_SKB_SZ, GFP_KERNEL); in mac802154_transmit_beacon_req()
368 skb = alloc_skb(IEEE802154_BEACON_SKB_SZ, GFP_KERNEL); in mac802154_transmit_beacon()
567 skb = alloc_skb(IEEE802154_MAC_CMD_SKB_SZ + sizeof(frame.assoc_req_pl), in mac802154_perform_association()
692 skb = alloc_skb(IEEE802154_MAC_CMD_SKB_SZ + sizeof(frame.disassoc_pl), in mac802154_send_disassociation_notif()
747 skb = alloc_skb(IEEE802154_MAC_CMD_SKB_SZ + sizeof(*assoc_resp_pl), in mac802154_send_association_resp_locked()
/linux/net/nfc/hci/
H A Dhcp.c61 skb = alloc_skb(skb_len, GFP_KERNEL); in nfc_hci_hcp_message_tx()
/linux/net/tls/
H A Dtls_strp.c105 skb = alloc_skb(0, strp->sk->sk_allocation); in tls_strp_msg_detach()
155 skb = alloc_skb(0, strp->sk->sk_allocation); in tls_strp_msg_hold()
626 strp->anchor = alloc_skb(0, GFP_KERNEL); in tls_strp_init()
/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c627 skb = alloc_skb(len, GFP_ATOMIC); in cxgbit_send_halfclose()
700 struct sk_buff *skb = alloc_skb(0, GFP_KERNEL | __GFP_NOFAIL); in cxgbit_abort_conn()
1019 skb = alloc_skb(len, GFP_ATOMIC); in cxgbit_release_tid()
1066 skb = alloc_skb(len, GFP_KERNEL); in cxgbit_rx_data_ack()
1110 skb = alloc_skb(len, GFP_ATOMIC); in cxgbit_alloc_csk_skb()
1116 skb = alloc_skb(LRO_SKB_MIN_HEADROOM, GFP_ATOMIC); in cxgbit_alloc_csk_skb()
1145 skb = alloc_skb(len, GFP_ATOMIC); in cxgbit_pass_accept_rpl()
1517 skb = alloc_skb(len, GFP_KERNEL); in cxgbit_setup_conn_digest()
1552 skb = alloc_skb(len, GFP_KERNEL); in cxgbit_setup_conn_pgidx()

12345678