/linux/net/ipv4/ |
A D | inet_diag.c | 837 int *min_len) in valid_devcond() argument 841 if (len < *min_len) in valid_devcond() 848 int *min_len) in valid_hostcond() argument 855 if (len < *min_len) in valid_hostcond() 873 *min_len += addr_len; in valid_hostcond() 874 if (len < *min_len) in valid_hostcond() 890 if (len < *min_len) in valid_port_comparison() 896 int *min_len) in valid_markcond() argument 899 return len >= *min_len; in valid_markcond() 904 int *min_len) in valid_cgroupcond() argument [all …]
|
/linux/net/netfilter/ |
A D | nfnetlink.c | 249 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_msg() local 253 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_msg() 254 int attrlen = nlh->nlmsg_len - min_len; in nfnetlink_rcv_msg() 486 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_batch() local 489 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_batch() 491 int attrlen = nlh->nlmsg_len - min_len; in nfnetlink_rcv_batch() 601 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_skb_batch() local 602 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_skb_batch() 604 int attrlen = nlh->nlmsg_len - min_len; in nfnetlink_rcv_skb_batch()
|
/linux/fs/ntfs/ |
A D | unistr.c | 88 u32 cnt, min_len; in ntfs_collate_names() local 91 min_len = name1_len; in ntfs_collate_names() 93 min_len = name2_len; in ntfs_collate_names() 94 for (cnt = 0; cnt < min_len; ++cnt) { in ntfs_collate_names()
|
/linux/include/rdma/ |
A D | uverbs_ioctl.h | 63 u16 min_len; member 97 u16 min_len; member 448 .u.ptr.min_len = _min_len, .u.ptr.len = _len 458 .u.ptr.min_len = sizeof(_type), .u.ptr.len = sizeof(_type) 496 .u2.objs_arr.min_len = _min_len, \
|
/linux/drivers/net/wireless/ath/carl9170/ |
A D | fwdesc.h | 252 u16 min_len, u8 compatible_revision) in carl9170fw_desc_cmp() argument 257 (le16_to_cpu(head->length) >= min_len)) in carl9170fw_desc_cmp()
|
/linux/drivers/net/ethernet/sfc/falcon/ |
A D | tx.c | 150 unsigned int min_len = tx_queue->tx_min_size; in ef4_enqueue_skb_copy() local 166 if (unlikely(copy_len < min_len)) { in ef4_enqueue_skb_copy() 167 memset(copy_buffer + copy_len, 0, min_len - copy_len); in ef4_enqueue_skb_copy() 168 buffer->len = min_len; in ef4_enqueue_skb_copy()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
A D | scb.h | 51 u16 min_len; /* min mpdu len to support the density */ member
|
/linux/drivers/net/wireless/ath/ath10k/ |
A D | wmi-tlv.c | 23 size_t min_len; member 28 = { .min_len = 0 }, 30 = { .min_len = 0 }, 32 = { .min_len = sizeof(struct wmi_scan_event) }, 34 = { .min_len = sizeof(struct wmi_tlv_mgmt_rx_ev) }, 44 = { .min_len = sizeof(struct wmi_tim_info) }, 46 = { .min_len = sizeof(struct wmi_p2p_noa_info) }, 54 = { .min_len = sizeof(struct wmi_tlv_rdy_ev) }, 62 = { .min_len = sizeof(struct wmi_tlv_roam_ev) }, 102 wmi_tlv_policies[tlv_tag].min_len && in ath10k_wmi_tlv_iter() [all …]
|
A D | htc.c | 435 size_t min_len; in ath10k_htc_rx_completion_handler() local 482 min_len = sizeof(struct ath10k_ath10k_htc_record_hdr); in ath10k_htc_rx_completion_handler() 484 if ((trailer_len < min_len) || in ath10k_htc_rx_completion_handler()
|
/linux/fs/ubifs/ |
A D | super.c | 595 c->ranges[UBIFS_AUTH_NODE].min_len = UBIFS_AUTH_NODE_SZ; in init_constants_early() 598 c->ranges[UBIFS_SIG_NODE].min_len = UBIFS_SIG_NODE_SZ; in init_constants_early() 601 c->ranges[UBIFS_INO_NODE].min_len = UBIFS_INO_NODE_SZ; in init_constants_early() 603 c->ranges[UBIFS_ORPH_NODE].min_len = in init_constants_early() 606 c->ranges[UBIFS_DENT_NODE].min_len = UBIFS_DENT_NODE_SZ; in init_constants_early() 608 c->ranges[UBIFS_XENT_NODE].min_len = UBIFS_XENT_NODE_SZ; in init_constants_early() 610 c->ranges[UBIFS_DATA_NODE].min_len = UBIFS_DATA_NODE_SZ; in init_constants_early() 616 c->ranges[UBIFS_IDX_NODE].min_len = UBIFS_IDX_NODE_SZ + UBIFS_BRANCH_SZ; in init_constants_early() 687 c->ranges[UBIFS_IDX_NODE].min_len = tmp; in init_constants_sb()
|
A D | tnc_misc.c | 352 } else if (zbr->len < c->ranges[type].min_len || in read_znode() 357 c->ranges[type].min_len, in read_znode()
|
A D | master.c | 205 if (c->zroot.len < c->ranges[UBIFS_IDX_NODE].min_len || in validate_master()
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | wmi.c | 23 size_t min_len; member 78 = { .min_len = 0 }, 80 = { .min_len = 0 }, 100 = { .min_len = sizeof(struct wmi_mgmt_rx_hdr) }, 104 = { .min_len = sizeof(struct wmi_scan_event) }, 108 = { .min_len = sizeof(struct wmi_roam_event) }, 116 .min_len = sizeof(struct wmi_ready_event_min) }, 122 = { .min_len = sizeof(struct wmi_stats_event) }, 178 wmi_tlv_policies[tlv_tag].min_len && in ath11k_wmi_tlv_iter() 179 wmi_tlv_policies[tlv_tag].min_len > tlv_len) { in ath11k_wmi_tlv_iter() [all …]
|
A D | htc.c | 257 size_t min_len; in ath11k_htc_rx_completion_handler() local 295 min_len = sizeof(struct ath11k_htc_record_hdr); in ath11k_htc_rx_completion_handler() 297 if ((trailer_len < min_len) || in ath11k_htc_rx_completion_handler()
|
/linux/drivers/net/fddi/ |
A D | defza.c | 600 int len, min_len, max_len; in fza_rx_err() local 654 min_len = 37; in fza_rx_err() 656 min_len = 17; in fza_rx_err() 659 min_len = 20; in fza_rx_err() 662 min_len = 17; in fza_rx_err() 666 if (len < min_len || len > max_len) { in fza_rx_err()
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
A D | event.c | 314 const size_t min_len = sizeof(*rxmgmt) + in qtnf_event_handle_mgmt_received() local 320 if (unlikely(len < min_len)) { in qtnf_event_handle_mgmt_received() 322 vif->mac->macid, vif->vifid, len, min_len); in qtnf_event_handle_mgmt_received()
|
/linux/net/netfilter/ipset/ |
A D | ip_set_core.c | 1472 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in ip_set_dump_start() local 1474 struct nlattr *attr = (void *)nlh + min_len; in ip_set_dump_start() 1481 nlh->nlmsg_len - min_len, in ip_set_dump_start() 1714 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in call_ad() local 1727 cmdattr = (void *)&errmsg->msg + min_len; in call_ad() 1730 nlh->nlmsg_len - min_len, ip_set_adt_policy, in call_ad()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A D | usb.c | 513 u16 dma_len, min_len; in mt76u_get_rx_entry_len() local 519 min_len = MT_DMA_HDR_LEN + MT_RX_RXWI_LEN + MT_FCE_INFO_LEN; in mt76u_get_rx_entry_len() 520 if (data_len < min_len || !dma_len || in mt76u_get_rx_entry_len()
|
/linux/drivers/infiniband/core/ |
A D | uverbs_ioctl.c | 182 if (array_len < spec->u2.objs_arr.min_len || in uverbs_process_idrs_array() 276 if (uattr->len < val_spec->u.ptr.min_len || in uverbs_process_attr()
|
/linux/drivers/media/cec/core/ |
A D | cec-adap.c | 1050 u8 min_len = 0; in cec_received_msg_ts() local 1103 min_len = cec_msg_size[cmd] & 0x1f; in cec_received_msg_ts() 1104 if (msg->len < min_len) in cec_received_msg_ts() 1115 if (valid_la && min_len) { in cec_received_msg_ts()
|
/linux/fs/cifs/ |
A D | smb2pdu.c | 3468 u32 additional_info, size_t output_len, size_t min_len, void **data, in query_info() argument 3540 &rsp_iov, min_len, *data); in query_info() 5306 int resp_buftype, max_len, min_len; in SMB2_QFS_attr() local 5314 min_len = sizeof(FILE_SYSTEM_DEVICE_INFO); in SMB2_QFS_attr() 5317 min_len = MIN_FS_ATTR_INFO_SIZE; in SMB2_QFS_attr() 5320 min_len = sizeof(struct smb3_fs_ss_info); in SMB2_QFS_attr() 5323 min_len = sizeof(struct smb3_fs_vol_info); in SMB2_QFS_attr() 5353 rc = smb2_validate_iov(offset, rsp_len, &rsp_iov, min_len); in SMB2_QFS_attr()
|
/linux/drivers/staging/rts5208/ |
A D | sd.c | 3729 int min_len = (rsp_len < len) ? rsp_len : len; local 3731 memcpy(rsp, rtsx_get_cmd_data(chip), min_len); 3733 dev_dbg(rtsx_dev(chip), "min_len = %d\n", min_len); 4052 int min_len; local 4079 min_len = min(data_len, scsi_bufflen(srb)); 4080 rtsx_stor_set_xfer_buf(buf, min_len, srb);
|
/linux/drivers/scsi/ibmvscsi_tgt/ |
A D | ibmvscsi_tgt.c | 1619 u16 olen, len, status, min_len, cap_len; in ibmvscsis_cap_mad() local 1629 min_len = offsetof(struct capabilities, migration); in ibmvscsis_cap_mad() 1630 if ((olen < min_len) || (olen > PAGE_SIZE)) { in ibmvscsis_cap_mad() 1651 len = olen - min_len; in ibmvscsis_cap_mad()
|
/linux/fs/ceph/ |
A D | addr.c | 1014 u64 min_len = len + 1 - thp_size(page); in ceph_writepages_start() local 1017 len = max(len, min_len); in ceph_writepages_start()
|
/linux/include/uapi/linux/ |
A D | nl80211.h | 5401 __u32 min_len, max_len, bufsize; member
|