min_len 181 drivers/infiniband/core/uverbs_ioctl.c if (array_len < spec->u2.objs_arr.min_len || min_len 281 drivers/infiniband/core/uverbs_ioctl.c if (uattr->len < val_spec->u.ptr.min_len || min_len 1276 drivers/infiniband/hw/mlx5/devx.c int min_len = MLX5_BYTE_OFF(create_mkey_in, memory_key_mkey_entry) + min_len 1282 drivers/infiniband/hw/mlx5/devx.c if (in_len < min_len) min_len 50 drivers/infiniband/hw/mlx5/flow.c .min_len = sizeof(u16), min_len 65 drivers/infiniband/hw/qedr/verbs.c size_t min_len = min_t(size_t, len, udata->outlen); min_len 67 drivers/infiniband/hw/qedr/verbs.c return ib_copy_to_udata(udata, src, min_len); min_len 1045 drivers/media/cec/cec-adap.c u8 min_len = 0; min_len 1095 drivers/media/cec/cec-adap.c min_len = cec_msg_size[cmd] & 0x1f; min_len 1096 drivers/media/cec/cec-adap.c if (msg->len < min_len) min_len 1107 drivers/media/cec/cec-adap.c if (valid_la && min_len) { min_len 477 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned short min_len; min_len 1355 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c tp.min_len); min_len 1507 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c tp.min_len = j; min_len 5982 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c tp->min_len > TFMINPKTSIZE_M) min_len 5998 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c TFMINPKTSIZE_V(tp->min_len)); min_len 6038 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c tp->min_len = TFMINPKTSIZE_G(ctlb); min_len 150 drivers/net/ethernet/sfc/falcon/tx.c unsigned int min_len = tx_queue->tx_min_size; min_len 166 drivers/net/ethernet/sfc/falcon/tx.c if (unlikely(copy_len < min_len)) { min_len 167 drivers/net/ethernet/sfc/falcon/tx.c memset(copy_buffer + copy_len, 0, min_len - copy_len); min_len 168 drivers/net/ethernet/sfc/falcon/tx.c buffer->len = min_len; min_len 600 drivers/net/fddi/defza.c int len, min_len, max_len; min_len 654 drivers/net/fddi/defza.c min_len = 37; min_len 656 drivers/net/fddi/defza.c min_len = 17; min_len 659 drivers/net/fddi/defza.c min_len = 20; min_len 662 drivers/net/fddi/defza.c min_len = 17; min_len 666 drivers/net/fddi/defza.c if (len < min_len || len > max_len) { min_len 394 drivers/net/wireless/ath/ath10k/htc.c size_t min_len; min_len 437 drivers/net/wireless/ath/ath10k/htc.c min_len = sizeof(struct ath10k_ath10k_htc_record_hdr); min_len 439 drivers/net/wireless/ath/ath10k/htc.c if ((trailer_len < min_len) || min_len 23 drivers/net/wireless/ath/ath10k/wmi-tlv.c size_t min_len; min_len 28 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = 0 }, min_len 30 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = 0 }, min_len 32 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_scan_event) }, min_len 34 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_tlv_mgmt_rx_ev) }, min_len 36 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_chan_info_event) }, min_len 38 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_vdev_start_response_event) }, min_len 40 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_peer_sta_kickout_event) }, min_len 42 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_host_swba_event) }, min_len 44 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_tim_info) }, min_len 46 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_p2p_noa_info) }, min_len 48 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_tlv_svc_rdy_ev) }, min_len 50 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct hal_reg_capabilities) }, min_len 52 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wlan_host_mem_req) }, min_len 54 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_tlv_rdy_ev) }, min_len 56 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_tlv_bcn_tx_status_ev) }, min_len 58 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_tlv_diag_data_ev) }, min_len 60 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_tlv_p2p_noa_ev) }, min_len 62 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_tlv_roam_ev) }, min_len 64 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_tlv_wow_event_info) }, min_len 66 drivers/net/wireless/ath/ath10k/wmi-tlv.c = { .min_len = sizeof(struct wmi_tlv_tx_pause_ev) }, min_len 102 drivers/net/wireless/ath/ath10k/wmi-tlv.c wmi_tlv_policies[tlv_tag].min_len && min_len 103 drivers/net/wireless/ath/ath10k/wmi-tlv.c wmi_tlv_policies[tlv_tag].min_len > tlv_len) { min_len 107 drivers/net/wireless/ath/ath10k/wmi-tlv.c wmi_tlv_policies[tlv_tag].min_len); min_len 252 drivers/net/wireless/ath/carl9170/fwdesc.h u16 min_len, u8 compatible_revision) min_len 257 drivers/net/wireless/ath/carl9170/fwdesc.h (le16_to_cpu(head->length) >= min_len)) min_len 51 drivers/net/wireless/broadcom/brcm80211/brcmsmac/scb.h u16 min_len; /* min mpdu len to support the density */ min_len 410 drivers/net/wireless/mediatek/mt76/usb.c u16 dma_len, min_len; min_len 413 drivers/net/wireless/mediatek/mt76/usb.c min_len = MT_DMA_HDR_LEN + MT_RX_RXWI_LEN + min_len 416 drivers/net/wireless/mediatek/mt76/usb.c if (data_len < min_len || !dma_len || min_len 335 drivers/net/wireless/quantenna/qtnfmac/event.c const size_t min_len = sizeof(*rxmgmt) + min_len 341 drivers/net/wireless/quantenna/qtnfmac/event.c if (unlikely(len < min_len)) { min_len 343 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, len, min_len); min_len 2020 drivers/scsi/fcoe/fcoe_ctlr.c const u8 *dest, size_t min_len) min_len 2044 drivers/scsi/fcoe/fcoe_ctlr.c len = max(len, min_len + sizeof(struct ethhdr)); min_len 1618 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c u16 olen, len, status, min_len, cap_len; min_len 1628 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c min_len = offsetof(struct capabilities, migration); min_len 1629 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if ((olen < min_len) || (olen > PAGE_SIZE)) { min_len 1650 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c len = olen - min_len; min_len 3729 drivers/staging/rts5208/sd.c int min_len = (rsp_len < len) ? rsp_len : len; min_len 3731 drivers/staging/rts5208/sd.c memcpy(rsp, rtsx_get_cmd_data(chip), min_len); min_len 3733 drivers/staging/rts5208/sd.c dev_dbg(rtsx_dev(chip), "min_len = %d\n", min_len); min_len 4052 drivers/staging/rts5208/sd.c int min_len; min_len 4079 drivers/staging/rts5208/sd.c min_len = min(data_len, scsi_bufflen(srb)); min_len 4080 drivers/staging/rts5208/sd.c rtsx_stor_set_xfer_buf(buf, min_len, srb); min_len 5632 fs/btrfs/extent_io.c unsigned long start, unsigned long min_len, min_len 5641 fs/btrfs/extent_io.c unsigned long end_i = (start_offset + start + min_len - 1) >> min_len 5644 fs/btrfs/extent_io.c if (start + min_len > eb->len) { min_len 5646 fs/btrfs/extent_io.c eb->start, eb->len, start, min_len); min_len 491 fs/btrfs/extent_io.h unsigned long offset, unsigned long min_len, min_len 1087 fs/ceph/addr.c u64 min_len = len + 1 - PAGE_SIZE; min_len 1090 fs/ceph/addr.c len = max(len, min_len); min_len 3119 fs/cifs/smb2pdu.c u32 additional_info, size_t output_len, size_t min_len, void **data, min_len 3189 fs/cifs/smb2pdu.c &rsp_iov, min_len, *data); min_len 4714 fs/cifs/smb2pdu.c int resp_buftype, max_len, min_len; min_len 4721 fs/cifs/smb2pdu.c min_len = sizeof(FILE_SYSTEM_DEVICE_INFO); min_len 4724 fs/cifs/smb2pdu.c min_len = MIN_FS_ATTR_INFO_SIZE; min_len 4727 fs/cifs/smb2pdu.c min_len = sizeof(struct smb3_fs_ss_info); min_len 4730 fs/cifs/smb2pdu.c min_len = sizeof(struct smb3_fs_vol_info); min_len 4758 fs/cifs/smb2pdu.c rc = smb2_validate_iov(offset, rsp_len, &rsp_iov, min_len); min_len 88 fs/ntfs/unistr.c u32 cnt, min_len; min_len 91 fs/ntfs/unistr.c min_len = name1_len; min_len 93 fs/ntfs/unistr.c min_len = name2_len; min_len 94 fs/ntfs/unistr.c for (cnt = 0; cnt < min_len; ++cnt) { min_len 258 fs/ubifs/io.c } else if (node_len < c->ranges[type].min_len || min_len 208 fs/ubifs/master.c if (c->zroot.len < c->ranges[UBIFS_IDX_NODE].min_len || min_len 576 fs/ubifs/super.c c->ranges[UBIFS_AUTH_NODE].min_len = UBIFS_AUTH_NODE_SZ; min_len 579 fs/ubifs/super.c c->ranges[UBIFS_SIG_NODE].min_len = UBIFS_SIG_NODE_SZ; min_len 582 fs/ubifs/super.c c->ranges[UBIFS_INO_NODE].min_len = UBIFS_INO_NODE_SZ; min_len 584 fs/ubifs/super.c c->ranges[UBIFS_ORPH_NODE].min_len = min_len 587 fs/ubifs/super.c c->ranges[UBIFS_DENT_NODE].min_len = UBIFS_DENT_NODE_SZ; min_len 589 fs/ubifs/super.c c->ranges[UBIFS_XENT_NODE].min_len = UBIFS_XENT_NODE_SZ; min_len 591 fs/ubifs/super.c c->ranges[UBIFS_DATA_NODE].min_len = UBIFS_DATA_NODE_SZ; min_len 597 fs/ubifs/super.c c->ranges[UBIFS_IDX_NODE].min_len = UBIFS_IDX_NODE_SZ + UBIFS_BRANCH_SZ; min_len 668 fs/ubifs/super.c c->ranges[UBIFS_IDX_NODE].min_len = tmp; min_len 352 fs/ubifs/tnc_misc.c } else if (zbr->len < c->ranges[type].min_len || min_len 357 fs/ubifs/tnc_misc.c c->ranges[type].min_len, min_len 825 fs/ubifs/ubifs.h int min_len; min_len 90 include/rdma/uverbs_ioctl.h u16 min_len; min_len 124 include/rdma/uverbs_ioctl.h u16 min_len; min_len 475 include/rdma/uverbs_ioctl.h .u.ptr.min_len = _min_len, .u.ptr.len = _len min_len 485 include/rdma/uverbs_ioctl.h .u.ptr.min_len = sizeof(_type), .u.ptr.len = sizeof(_type) min_len 524 include/rdma/uverbs_ioctl.h .u2.objs_arr.min_len = _min_len, \ min_len 4908 include/uapi/linux/nl80211.h __u32 min_len, max_len, bufsize; min_len 3209 net/core/filter.c u32 min_len = skb_network_offset(skb); min_len 3212 net/core/filter.c min_len = skb_transport_offset(skb); min_len 3214 net/core/filter.c min_len = skb_checksum_start_offset(skb) + min_len 3216 net/core/filter.c return min_len; min_len 3239 net/core/filter.c u32 min_len = __bpf_skb_min_len(skb); min_len 3242 net/core/filter.c if (unlikely(flags || new_len > max_len || new_len < min_len)) min_len 718 net/ipv4/inet_diag.c int *min_len) min_len 721 net/ipv4/inet_diag.c *min_len += sizeof(u32); min_len 722 net/ipv4/inet_diag.c if (len < *min_len) min_len 729 net/ipv4/inet_diag.c int *min_len) min_len 735 net/ipv4/inet_diag.c *min_len += sizeof(struct inet_diag_hostcond); min_len 736 net/ipv4/inet_diag.c if (len < *min_len) min_len 754 net/ipv4/inet_diag.c *min_len += addr_len; min_len 755 net/ipv4/inet_diag.c if (len < *min_len) min_len 767 net/ipv4/inet_diag.c int len, int *min_len) min_len 770 net/ipv4/inet_diag.c *min_len += sizeof(struct inet_diag_bc_op); min_len 771 net/ipv4/inet_diag.c if (len < *min_len) min_len 777 net/ipv4/inet_diag.c int *min_len) min_len 779 net/ipv4/inet_diag.c *min_len += sizeof(struct inet_diag_markcond); min_len 780 net/ipv4/inet_diag.c return len >= *min_len; min_len 797 net/ipv4/inet_diag.c int min_len = sizeof(struct inet_diag_bc_op); min_len 803 net/ipv4/inet_diag.c if (!valid_hostcond(bc, len, &min_len)) min_len 807 net/ipv4/inet_diag.c if (!valid_devcond(bc, len, &min_len)) min_len 816 net/ipv4/inet_diag.c if (!valid_port_comparison(bc, len, &min_len)) min_len 822 net/ipv4/inet_diag.c if (!valid_markcond(bc, len, &min_len)) min_len 834 net/ipv4/inet_diag.c if (op->no < min_len || op->no > len + 4 || op->no & 3) min_len 841 net/ipv4/inet_diag.c if (op->yes < min_len || op->yes > len + 4 || op->yes & 3) min_len 1313 net/netfilter/ipset/ip_set_core.c int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); min_len 1315 net/netfilter/ipset/ip_set_core.c struct nlattr *attr = (void *)nlh + min_len; min_len 1322 net/netfilter/ipset/ip_set_core.c nlh->nlmsg_len - min_len, min_len 1557 net/netfilter/ipset/ip_set_core.c int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); min_len 1570 net/netfilter/ipset/ip_set_core.c cmdattr = (void *)&errmsg->msg + min_len; min_len 1573 net/netfilter/ipset/ip_set_core.c nlh->nlmsg_len - min_len, ip_set_adt_policy, min_len 196 net/netfilter/nfnetlink.c int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); min_len 199 net/netfilter/nfnetlink.c struct nlattr *attr = (void *)nlh + min_len; min_len 200 net/netfilter/nfnetlink.c int attrlen = nlh->nlmsg_len - min_len; min_len 413 net/netfilter/nfnetlink.c int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); min_len 416 net/netfilter/nfnetlink.c struct nlattr *attr = (void *)nlh + min_len; min_len 417 net/netfilter/nfnetlink.c int attrlen = nlh->nlmsg_len - min_len; min_len 510 net/netfilter/nfnetlink.c int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); min_len 511 net/netfilter/nfnetlink.c struct nlattr *attr = (void *)nlh + min_len; min_len 513 net/netfilter/nfnetlink.c int attrlen = nlh->nlmsg_len - min_len; min_len 3314 net/sctp/socket.c int min_len, max_len; min_len 3318 net/sctp/socket.c min_len = sctp_min_frag_point(sp, datasize); min_len 3321 net/sctp/socket.c if (val < min_len || val > max_len) min_len 11436 net/wireless/nl80211.c if (tok->len < rdev->wiphy.wowlan->tcp->tok->min_len)