Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/unix/
Ddiag.c267 unsigned int extra_len; in unix_diag_get_exact() local
284 extra_len = 256; in unix_diag_get_exact()
287 rep = nlmsg_new(sizeof(struct unix_diag_msg) + extra_len, GFP_KERNEL); in unix_diag_get_exact()
296 extra_len += 256; in unix_diag_get_exact()
297 if (extra_len >= PAGE_SIZE) in unix_diag_get_exact()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit.h78 u32 extra_len; member
101 #define cxgbit_skcb_tx_extralen(skb) (CXGBIT_SKB_CB(skb)->tx.extra_len)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
Daiclib.h105 uint8_t extra_len; member
Daic79xx_osm.c2051 if (sense->extra_len >= 5 && in ahd_linux_queue_cmd_complete()
/kernel/linux/linux-5.10/include/linux/
Dmost.h128 u16 extra_len; member
/kernel/linux/linux-5.10/include/scsi/
Dscsi_cmnd.h144 unsigned int extra_len; /* length of alignment and padding */ member
/kernel/linux/linux-5.10/net/packet/
Daf_packet.c1912 int extra_len = 0; in packet_sendmsg_spkt() local
1952 extra_len = 4; /* We're doing our own CRC */ in packet_sendmsg_spkt()
1956 if (len > dev->mtu + dev->hard_header_len + VLAN_HLEN + extra_len) in packet_sendmsg_spkt()
1992 if (len > (dev->mtu + dev->hard_header_len + extra_len) && in packet_sendmsg_spkt()
2013 if (unlikely(extra_len == 4)) in packet_sendmsg_spkt()
2897 int extra_len = 0; in packet_snd() local
2951 extra_len = 4; /* We're doing our own CRC */ in packet_snd()
2956 (len > dev->mtu + reserve + VLAN_HLEN + extra_len)) in packet_snd()
2996 if (!vnet_hdr.gso_type && (len > dev->mtu + reserve + extra_len) && in packet_snd()
3018 if (unlikely(extra_len == 4)) in packet_snd()
/kernel/linux/linux-5.10/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.c510 length + conf->extra_len, in hdm_enqueue()
624 conf->extra_len = num_frames * (USB_MTU - frame_size); in hdm_configure_channel()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
Doid_mgt.c468 mgt_set_varlen(islpci_private *priv, enum oid_num_t n, void *data, int extra_len) in mgt_set_varlen() argument
485 data, dlen + extra_len, &response); in mgt_set_varlen()
/kernel/linux/linux-5.10/net/mac80211/
Dsta_info.h454 u16 extra_len; member
Drx.c2175 entry->extra_len = 0; in ieee80211_reassemble_add()
2367 entry->extra_len += rx->skb->len; in ieee80211_rx_h_defragment()
2374 if (skb_tailroom(rx->skb) < entry->extra_len) { in ieee80211_rx_h_defragment()
2376 if (unlikely(pskb_expand_head(rx->skb, 0, entry->extra_len, in ieee80211_rx_h_defragment()
Dutil.c1681 const u8 *extra, size_t extra_len, const u8 *da, in ieee80211_send_auth() argument
1692 24 + 6 + extra_len + IEEE80211_WEP_ICV_LEN); in ieee80211_send_auth()
1708 skb_put_data(skb, extra, extra_len); in ieee80211_send_auth()
Dieee80211_i.h2144 const u8 *extra, size_t extra_len, const u8 *bssid,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_lib.c1044 cmd->extra_len += pad_len; in scsi_alloc_sgtables()
1053 cmd->extra_len += sdev->dma_drain_len; in scsi_alloc_sgtables()
/kernel/linux/linux-5.10/drivers/net/
Dmacsec.c392 int extra_len = macsec_extra_len(!!(h->tci_an & MACSEC_TCI_SC)) + icv_len; in macsec_validate_skb() local
419 return len == extra_len + h->short_length; in macsec_validate_skb()
420 return len >= extra_len + MIN_NON_SHORT_LEN; in macsec_validate_skb()
/kernel/linux/linux-5.10/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))
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-scsi.c652 qc->extrabytes = scmd->extra_len; in ata_qc_set_pc_nbytes()