Searched refs:offsetofend (Results 1 - 25 of 140) sorted by last modified time

123456

/linux-master/net/ipv6/
H A Dudp.c1145 if (addr_len < offsetofend(struct sockaddr, sa_family))
H A Dsyncookies.c59 return siphash(&combined, offsetofend(typeof(combined), dport),
/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/kernel/bpf/
H A Dverifier.c16090 #define MIN_BPF_LINEINFO_SIZE offsetofend(struct bpf_line_info, line_col)
21362 if (uattr_size >= offsetofend(union bpf_attr, log_true_size) &&
H A Dcpumap.c91 (value_size != offsetofend(struct bpf_cpumap_val, qsize) &&
92 value_size != offsetofend(struct bpf_cpumap_val, bpf_prog.fd)) ||
/linux-master/include/linux/
H A Dfilter.h576 offsetof(TYPE, MEMBER) ... offsetofend(TYPE, MEMBER) - 1
578 offsetof(TYPE, MEMBER1) ... offsetofend(TYPE, MEMBER2) - 1
581 offsetof(TYPE, MEMBER) ... offsetofend(TYPE, MEMBER) - 1
885 off + sizeof(__u64) <= offsetofend(type, field) && \
/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/net/wireless/
H A Dnl80211.c235 if (len < offsetofend(typeof(*mgmt), frame_control))
/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 Dmlme.c6530 int hdr_len = offsetofend(struct ieee80211_mgmt, u.action.u.ttlm_req);
6599 int hdr_len = offsetofend(struct ieee80211_mgmt, u.action.u.ttlm_res);
H A Dmesh.c958 int hdr_len = offsetofend(struct ieee80211_mgmt, u.beacon);
/linux-master/net/bluetooth/
H A Dl2cap_sock.c92 if (!addr || alen < offsetofend(struct sockaddr, sa_family) ||
199 if (!addr || alen < offsetofend(struct sockaddr, sa_family) ||
/linux-master/virt/kvm/
H A Dkvm_main.c6439 offsetofend(struct kvm_vcpu, stats_id)
/linux-master/net/unix/
H A Daf_unix.c1358 if (alen < offsetofend(struct sockaddr, sa_family))
/linux-master/kernel/
H A Dfork.c2954 BUILD_BUG_ON(offsetofend(struct clone_args, tls) !=
2956 BUILD_BUG_ON(offsetofend(struct clone_args, set_tid_size) !=
2958 BUILD_BUG_ON(offsetofend(struct clone_args, cgroup) !=
/linux-master/fs/ceph/
H A Dmds_client.c3034 len = offsetofend(struct ceph_mds_request_head, ext_num_fwd);
3127 p = msg->front.iov_base + offsetofend(struct ceph_mds_request_head, ext_num_fwd);
/linux-master/net/nfc/
H A Dllcp_sock.c68 if (!addr || alen < offsetofend(struct sockaddr, sa_family) ||
159 if (!addr || alen < offsetofend(struct sockaddr, sa_family) ||
/linux-master/net/bluetooth/rfcomm/
H A Dsock.c333 if (!addr || addr_len < offsetofend(struct sockaddr, sa_family) ||
/linux-master/include/net/
H A Dip_tunnels.h31 #define IP_TUNNEL_KEY_SIZE offsetofend(struct ip_tunnel_key, tp_dst)
34 #define IP_TUNNEL_KEY_IPV4_PAD offsetofend(struct ip_tunnel_key, u.ipv4.dst)
/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h1532 size_t __dst_size = offsetofend(typeof(*(dst)), last_dst_member) - \
/linux-master/net/ipv4/
H A Dtcp.c4272 len < offsetofend(struct tcp_zerocopy_receive, length))
4294 if (len >= offsetofend(struct tcp_zerocopy_receive, msg_flags))
4297 case offsetofend(struct tcp_zerocopy_receive, msg_flags):
4299 case offsetofend(struct tcp_zerocopy_receive, msg_controllen):
4300 case offsetofend(struct tcp_zerocopy_receive, msg_control):
4301 case offsetofend(struct tcp_zerocopy_receive, flags):
4302 case offsetofend(struct tcp_zerocopy_receive, copybuf_len):
4303 case offsetofend(struct tcp_zerocopy_receive, copybuf_address):
4304 case offsetofend(struct tcp_zerocopy_receive, err):
4306 case offsetofend(struc
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/queue/
H A Dtx.c662 offsetofend(struct iwl_tx_cmd_gen2, dram_info) >
666 offsetofend(struct iwl_tx_cmd_gen3, dram_info) >
/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));
/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/net/packet/
H A Daf_packet.c3608 offsetofend(struct sockaddr_ll, sll_family),

Completed in 1076 milliseconds

123456