Home
last modified time | relevance | path

Searched refs:extra_len (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.15/net/unix/
Ddiag.c264 unsigned int extra_len; in unix_diag_get_exact() local
281 extra_len = 256; in unix_diag_get_exact()
284 rep = nlmsg_new(sizeof(struct unix_diag_msg) + extra_len, GFP_KERNEL); in unix_diag_get_exact()
292 extra_len += 256; in unix_diag_get_exact()
293 if (extra_len >= PAGE_SIZE) in unix_diag_get_exact()
/Linux-v5.15/net/wireless/
Dwext-core.c457 int extra_len = 0; in wireless_send_event() local
523 extra_len = wrqu->data.length * descr->token_size; in wireless_send_event()
530 event_len = hdr_len + extra_len; in wireless_send_event()
579 if (extra_len) in wireless_send_event()
580 memcpy(((char *) event) + hdr_len, extra, extra_len); in wireless_send_event()
585 event_len = hdr_len + extra_len; in wireless_send_event()
618 if (extra_len) in wireless_send_event()
620 extra, extra_len); in wireless_send_event()
/Linux-v5.15/net/rds/
Dmessage.c284 struct rds_message *rds_message_alloc(unsigned int extra_len, gfp_t gfp) in rds_message_alloc() argument
288 if (extra_len > KMALLOC_MAX_SIZE - sizeof(struct rds_message)) in rds_message_alloc()
291 rm = kzalloc(sizeof(struct rds_message) + extra_len, gfp); in rds_message_alloc()
296 rm->m_total_sgs = extra_len / sizeof(struct scatterlist); in rds_message_alloc()
/Linux-v5.15/drivers/net/wireless/intersil/p54/
Dtxrx.c92 len = (range->extra_len + len) & ~0x3; in p54_assign_address()
690 u8 *queue, u32 *extra_len, u16 *flags, u16 *aid, in p54_tx_80211_header() argument
754 *extra_len = IEEE80211_MAX_TIM_LEN; in p54_tx_80211_header()
789 unsigned int padding, len, extra_len = 0; in p54_tx_80211() local
799 p54_tx_80211_header(priv, skb, info, control->sta, &queue, &extra_len, in p54_tx_80211()
943 p54info->extra_len = extra_len; in p54_tx_80211()
Dp54.h94 u32 extra_len; member
Dfwio.c726 p54info->extra_len = sizeof(struct p54_statistics); in p54_fetch_statistics()
/Linux-v5.15/drivers/target/iscsi/cxgbit/
Dcxgbit.h78 u32 extra_len; member
101 #define cxgbit_skcb_tx_extralen(skb) (CXGBIT_SKB_CB(skb)->tx.extra_len)
/Linux-v5.15/tools/testing/selftests/net/
Dmsg_zerocopy.c229 int i, payload_len, extra_len; in do_sendmsg_corked() local
233 extra_len = cfg_payload_len - (cfg_cork * payload_len); in do_sendmsg_corked()
245 msg->msg_iov[0].iov_len = payload_len + extra_len; in do_sendmsg_corked()
246 extra_len = 0; in do_sendmsg_corked()
/Linux-v5.15/drivers/scsi/aic7xxx/
Daiclib.h105 uint8_t extra_len; member
Daic79xx_osm.c2047 if (sense->extra_len >= 5 && in ahd_linux_queue_cmd_complete()
/Linux-v5.15/include/linux/
Dmost.h128 u16 extra_len; member
/Linux-v5.15/include/scsi/
Dscsi_cmnd.h142 unsigned int extra_len; /* length of alignment and padding */ member
/Linux-v5.15/net/packet/
Daf_packet.c1911 int extra_len = 0; in packet_sendmsg_spkt() local
1951 extra_len = 4; /* We're doing our own CRC */ in packet_sendmsg_spkt()
1955 if (len > dev->mtu + dev->hard_header_len + VLAN_HLEN + extra_len) in packet_sendmsg_spkt()
1991 if (len > (dev->mtu + dev->hard_header_len + extra_len) && in packet_sendmsg_spkt()
2012 if (unlikely(extra_len == 4)) in packet_sendmsg_spkt()
2893 int extra_len = 0; in packet_snd() local
2947 extra_len = 4; /* We're doing our own CRC */ in packet_snd()
2952 (len > dev->mtu + reserve + VLAN_HLEN + extra_len)) in packet_snd()
2992 if (!vnet_hdr.gso_type && (len > dev->mtu + reserve + extra_len) && in packet_snd()
3014 if (unlikely(extra_len == 4)) in packet_snd()
/Linux-v5.15/drivers/most/
Dcore.c103 u16 const coherent_buf_size = c->cfg.buffer_size + c->cfg.extra_len; in most_free_mbo_coherent()
878 u32 coherent_buf_size = c->cfg.buffer_size + c->cfg.extra_len; in arm_mbo_chain()
1110 c->cfg.extra_len = 0; in most_start_channel()
Dmost_usb.c509 length + conf->extra_len, in hdm_enqueue()
623 conf->extra_len = num_frames * (USB_MTU - frame_size); in hdm_configure_channel()
/Linux-v5.15/net/mac80211/
Dsta_info.h462 u16 extra_len; member
Drx.c2179 entry->extra_len = 0; in ieee80211_reassemble_add()
2371 entry->extra_len += rx->skb->len; in ieee80211_rx_h_defragment()
2378 if (skb_tailroom(rx->skb) < entry->extra_len) { in ieee80211_rx_h_defragment()
2380 if (unlikely(pskb_expand_head(rx->skb, 0, entry->extra_len, in ieee80211_rx_h_defragment()
Dutil.c1676 const u8 *extra, size_t extra_len, const u8 *da, in ieee80211_send_auth() argument
1687 24 + 6 + extra_len + IEEE80211_WEP_ICV_LEN); in ieee80211_send_auth()
1703 skb_put_data(skb, extra, extra_len); in ieee80211_send_auth()
Dieee80211_i.h2313 const u8 *extra, size_t extra_len, const u8 *bssid,
/Linux-v5.15/drivers/scsi/cxgbi/
Dlibcxgbi.c2278 u32 extra_len, num_pdu, hdr_len; in cxgbi_sock_tx_queue_up() local
2327 extra_len = cxgbi_ulp_extra_len(cxgbi_skcb_tx_ulp_mode(skb)); in cxgbi_sock_tx_queue_up()
2333 extra_len = (cxgbi_ulp_extra_len(cxgbi_skcb_tx_ulp_mode(skb)) * in cxgbi_sock_tx_queue_up()
2337 csk->write_seq += (skb->len + extra_len); in cxgbi_sock_tx_queue_up()
/Linux-v5.15/drivers/scsi/
Dscsi_lib.c1018 cmd->extra_len += pad_len; in scsi_alloc_sgtables()
1027 cmd->extra_len += sdev->dma_drain_len; in scsi_alloc_sgtables()
/Linux-v5.15/drivers/net/
Dmacsec.c393 int extra_len = macsec_extra_len(!!(h->tci_an & MACSEC_TCI_SC)) + icv_len; in macsec_validate_skb() local
420 return len == extra_len + h->short_length; in macsec_validate_skb()
421 return len >= extra_len + MIN_NON_SHORT_LEN; in macsec_validate_skb()
/Linux-v5.15/drivers/staging/rts5208/
Dms.c1575 static void ms_set_page_status(u16 log_blk, u8 type, u8 *extra, int extra_len) argument
1577 if (!extra || (extra_len < MS_EXTRA_SIZE))
/Linux-v5.15/drivers/ata/
Dlibata-scsi.c656 qc->extrabytes = scmd->extra_len; in ata_qc_set_pc_nbytes()