Searched refs:offsetofend (Results 101 - 125 of 140) sorted by relevance

123456

/linux-master/net/core/
H A Dfilter.c5752 if (addr_len < offsetofend(struct sockaddr, sa_family))
7070 if (off < 0 || off >= offsetofend(struct bpf_tcp_sock,
7268 if (off < 0 || off >= offsetofend(struct bpf_xdp_sock, queue_id))
8548 if (off + size > offsetofend(struct __sk_buff, cb[4]))
8578 case offsetofend(struct __sk_buff, tstamp_type) ... offsetof(struct __sk_buff, hwtstamp) - 1:
8793 case offsetofend(struct bpf_sock, dst_port) ...
9605 offsetofend(struct __sk_buff, cb[4]) - 1:
10777 offsetofend(struct __sk_buff, cb[4]) - 1:
11514 case offsetofend(struct bpf_sk_lookup, remote_port) ...
11601 case offsetofend(struc
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac80211.c2497 offsetofend(typeof(sta_ctxt_cmd), pkt_ext) !=
2499 offsetofend(typeof(sta_ctxt_cmd_v2), pkt_ext));
2501 offsetofend(typeof(sta_ctxt_cmd_v2), pkt_ext),
2503 offsetofend(typeof(sta_ctxt_cmd), pkt_ext),
2505 offsetofend(typeof(sta_ctxt_cmd), pkt_ext));
H A Dops.c973 frob_end = offsetofend(struct iwl_mvm_mgmt_mcast_key_cmd, igtk);
/linux-master/tools/testing/selftests/bpf/verifier/
H A Dctx_skb.c1064 offsetofend(struct __sk_buff, gso_size)),
/linux-master/drivers/infiniband/hw/mlx5/
H A Dfs.c141 sizeof(filter) - offsetofend(typeof(filter), field))
1292 min_ucmd_sz = offsetofend(struct mlx5_ib_create_flow, reserved);
H A Dmr.c2218 min(offsetofend(typeof(resp), response_length), udata->outlen);
/linux-master/drivers/infiniband/hw/efa/
H A Defa_verbs.c655 if (offsetofend(typeof(cmd), driver_qp_type) > udata->inlen) {
1098 if (offsetofend(typeof(cmd), num_sub_cqs) > udata->inlen) {
/linux-master/tools/testing/selftests/iommu/
H A Diommufd.c92 size_t min_size = offsetofend(struct _struct, _last); \
272 offsetofend(struct iommu_hwpt_selftest, iotlb);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_adminq_cmd.h1345 offsetofend(struct ice_aqc_get_link_status_data, phy_type_high)
1366 offsetofend(struct ice_aqc_get_link_status_data, reserved5)
/linux-master/drivers/vfio/pci/mlx5/
H A Dmain.c499 minsz = offsetofend(struct vfio_precopy_info, dirty_bytes);
/linux-master/net/mac80211/
H A Drx.c3775 if (len < offsetofend(typeof(*mgmt),
3790 if (len < offsetofend(typeof(*mgmt),
3799 if (len < offsetofend(typeof(*mgmt),
3807 if (len < offsetofend(typeof(*mgmt),
H A Dmesh.c958 int hdr_len = offsetofend(struct ieee80211_mgmt, u.beacon);
/linux-master/include/linux/
H A Dieee80211.h4398 if (skb->len < offsetofend(typeof(*mgmt), u.action.u.ftm.action_code))
4675 skb->len >= offsetofend(typeof(*mgmt), u.action.u.wnm_timing_msr))
4690 skb->len >= offsetofend(typeof(*mgmt), u.action.u.ftm))
/linux-master/tools/lib/bpf/
H A Dbtf.c2960 if (data_size < offsetofend(struct btf_ext_header, hdr_len) ||
3024 if (btf_ext->hdr->hdr_len < offsetofend(struct btf_ext_header, line_info_len)) {
3037 if (btf_ext->hdr->hdr_len < offsetofend(struct btf_ext_header, core_relo_len))
/linux-master/drivers/infiniband/core/
H A Duverbs_cmd.c3719 .write.req_size = offsetofend(req, req_last_member), \
3720 .write.resp_size = offsetofend(resp, resp_last_member)
3723 .write.req_size = offsetofend(req, req_last_member)
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtx.c1569 offsetofend(struct iwl_tx_cmd, scratch) >
/linux-master/net/ipv6/
H A Dudp.c1145 if (addr_len < offsetofend(struct sockaddr, sa_family))
/linux-master/drivers/infiniband/hw/mlx4/
H A Dmain.c596 if (offsetofend(typeof(resp), rss_caps) <= uhw->outlen) {
620 if (offsetofend(typeof(resp), tso_caps) <= uhw->outlen) {
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.c591 (offsetofend(struct qlink_sta_stats, stat_name) <= stats_len))
2370 (offsetofend(struct qlink_chan_stats, stat_name) <= stats_len))
/linux-master/net/smc/
H A Daf_smc.c690 clc_v2_len = offsetofend(struct smc_clc_msg_accept_confirm, d1);
694 clc_v2_len = offsetofend(struct smc_clc_msg_accept_confirm, r1);
/linux-master/fs/btrfs/
H A Dioctl.c4472 size_t copy_end_kernel = offsetofend(struct btrfs_ioctl_encoded_io_args,
4491 copy_end = offsetofend(struct btrfs_ioctl_encoded_io_args_32,
/linux-master/drivers/net/ethernet/sfc/
H A Dtc.c93 .key_len = offsetofend(struct efx_tc_mac_pedit_action, h_addr),
/linux-master/fs/gfs2/
H A Dglock.c79 .key_len = offsetofend(struct lm_lockname, ln_type),
/linux-master/net/netfilter/
H A Dnf_conntrack_core.c224 offsetofend(struct nf_conntrack_tuple, dst.__nfct_hash_offsetend),
/linux-master/kernel/bpf/
H A Dbtf.c5319 if (btf_data_size < offsetofend(struct btf_header, hdr_len)) {
5534 if (uattr_size >= offsetofend(union bpf_attr, btf_log_true_size) &&

Completed in 817 milliseconds

123456