offsetofend
if (skb->len < offsetofend(typeof(*mgmt), u.action.u.ftm.public_action))
if (skb->len < offsetofend(typeof(*mgmt), u.action.category))
if (skb->len < offsetofend(typeof(*mgmt), u.action.u.ftm.public_action))
if (skb->len < offsetofend(typeof(*mgmt), u.action.u.wnm_timing_msr.wnm_action))
size_t _o = offsetofend(typeof(*(ptr)), smember); \
#define IRDMA_MEM_REG_MIN_REQ_LEN offsetofend(struct irdma_mem_reg_req, sq_pages)
#define IRDMA_ALLOC_UCTX_MIN_REQ_LEN offsetofend(struct irdma_alloc_ucontext_req, rsvd8)
#define IRDMA_ALLOC_UCTX_MIN_RESP_LEN offsetofend(struct irdma_alloc_ucontext_resp, rsvd)
#define IRDMA_ALLOC_PD_MIN_RESP_LEN offsetofend(struct irdma_alloc_pd_resp, rsvd)
#define IRDMA_CREATE_AH_MIN_RESP_LEN offsetofend(struct irdma_create_ah_resp, rsvd)
#define IRDMA_CREATE_QP_MIN_REQ_LEN offsetofend(struct irdma_create_qp_req, user_compl_ctx)
#define IRDMA_CREATE_QP_MIN_RESP_LEN offsetofend(struct irdma_create_qp_resp, rsvd)
#define IRDMA_CREATE_CQ_MIN_REQ_LEN offsetofend(struct irdma_create_cq_req, user_cq_buf)
#define IRDMA_CREATE_CQ_MIN_RESP_LEN offsetofend(struct irdma_create_cq_resp, cq_size)
#define IRDMA_MODIFY_QP_MIN_REQ_LEN offsetofend(struct irdma_modify_qp_req, rq_flush)
#define IRDMA_MODIFY_QP_MIN_RESP_LEN offsetofend(struct irdma_modify_qp_resp, push_valid)
#define IRDMA_RESIZE_CQ_MIN_REQ_LEN offsetofend(struct irdma_resize_cq_req, user_cq_buffer)
#define IRDMA_MODIFY_QP_MIN_REQ_LEN offsetofend(struct irdma_modify_qp_req, rq_flush)
#define IRDMA_MODIFY_QP_MIN_RESP_LEN offsetofend(struct irdma_modify_qp_resp, push_valid)
if (offsetofend(typeof(resp), hca_core_clock_offset) <= udata->outlen) {
if (offsetofend(typeof(resp), log_uar_size) <= udata->outlen)
if (offsetofend(typeof(resp), num_uars_per_page) <= udata->outlen)
if (offsetofend(typeof(resp), num_dyn_bfregs) <= udata->outlen) {
min_ucmd_sz = offsetofend(struct mlx5_ib_create_flow, reserved);
(offsetofend(bmic_sense_feature_page_io_aio_subpage_t, \
#if !defined(offsetofend)
.write.req_size = offsetofend(req, req_last_member), \
.write.resp_size = offsetofend(resp, resp_last_member)
.write.req_size = offsetofend(req, req_last_member)