Home
last modified time | relevance | path

Searched refs:offsetofend (Results 1 – 16 of 16) sorted by relevance

/src/sys/dev/irdma/
H A Dirdma_kcompat.c162 #define IRDMA_ALLOC_UCTX_MIN_REQ_LEN offsetofend(struct irdma_alloc_ucontext_req, rsvd8)
163 #define IRDMA_ALLOC_UCTX_MIN_RESP_LEN offsetofend(struct irdma_alloc_ucontext_resp, rsvd)
277 #define IRDMA_ALLOC_PD_MIN_RESP_LEN offsetofend(struct irdma_alloc_pd_resp, rsvd)
526 #define IRDMA_CREATE_AH_MIN_RESP_LEN offsetofend(struct irdma_create_ah_resp, rsvd)
711 #define IRDMA_CREATE_QP_MIN_REQ_LEN offsetofend(struct irdma_create_qp_req, user_compl_ctx) in irdma_create_qp()
712 #define IRDMA_CREATE_QP_MIN_RESP_LEN offsetofend(struct irdma_create_qp_resp, rsvd) in irdma_create_qp()
969 #define IRDMA_CREATE_CQ_MIN_REQ_LEN offsetofend(struct irdma_create_cq_req, user_cq_buf) in irdma_create_cq()
970 #define IRDMA_CREATE_CQ_MIN_RESP_LEN offsetofend(struct irdma_create_cq_resp, cq_size) in irdma_create_cq()
1274 #define IRDMA_MEM_REG_MIN_REQ_LEN offsetofend(struct irdma_mem_reg_req, sq_pages) in irdma_reg_user_mr()
H A Dirdma_verbs.c818 #define IRDMA_MODIFY_QP_MIN_REQ_LEN offsetofend(struct irdma_modify_qp_req, rq_flush) in irdma_modify_qp_roce()
819 #define IRDMA_MODIFY_QP_MIN_RESP_LEN offsetofend(struct irdma_modify_qp_resp, push_valid) in irdma_modify_qp_roce()
1175 #define IRDMA_MODIFY_QP_MIN_REQ_LEN offsetofend(struct irdma_modify_qp_req, rq_flush) in irdma_modify_qp()
1176 #define IRDMA_MODIFY_QP_MIN_RESP_LEN offsetofend(struct irdma_modify_qp_resp, push_valid) in irdma_modify_qp()
1479 #define IRDMA_RESIZE_CQ_MIN_REQ_LEN offsetofend(struct irdma_resize_cq_req, user_cq_buffer) in irdma_resize_cq()
/src/sys/compat/linuxkpi/common/include/linux/
H A Dieee80211.h1139 if (skb->len < offsetofend(typeof(*mgmt), u.action.u.ftm.public_action)) in ieee80211_is_bufferable_mmpdu()
1306 if (skb->len < offsetofend(typeof(*mgmt), u.action.category)) in ieee80211_is_robust_mgmt_frame()
1332 if (skb->len < offsetofend(typeof(*mgmt), u.action.u.ftm.public_action)) in ieee80211_is_ftm()
1352 if (skb->len < offsetofend(typeof(*mgmt), u.action.u.wnm_timing_msr.wnm_action)) in ieee80211_is_timing_measurement()
H A Dstring.h318 size_t _o = offsetofend(typeof(*(ptr)), smember); \
H A Dkernel.h272 #define offsetofend(t, m) \ macro
/src/sys/dev/smartpqi/
H A Dsmartpqi_defines.h85 #if !defined(offsetofend)
86 #define offsetofend(TYPE, MEMBER) \ macro
276 (offsetofend(bmic_sense_feature_page_io_aio_subpage_t, \
/src/sys/contrib/dev/iwlwifi/pcie/
H A Dctxt-info-v2.c235 BUILD_BUG_ON(offsetofend(typeof(*prph_scratch), dram.common) + in iwl_pcie_ctxt_info_v2_alloc()
243 cpu_to_le32(offsetofend(typeof(*prph_scratch), in iwl_pcie_ctxt_info_v2_alloc()
/src/sys/contrib/dev/iwlwifi/fw/api/
H A Drx.h740 #define IWL_RX_DESC_SIZE_V1 offsetofend(struct iwl_rx_mpdu_desc, v1)
/src/sys/contrib/dev/iwlwifi/pcie/gen1_2/
H A Dtx-gen2.c497 offsetofend(struct iwl_tx_cmd_v9, dram_info) > in iwl_txq_gen2_build_tfd()
501 offsetofend(struct iwl_tx_cmd, dram_info) > in iwl_txq_gen2_build_tfd()
H A Dtx.c2240 offsetofend(struct iwl_tx_cmd_v6_params, scratch) > in iwl_trans_pcie_tx()
/src/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c1389 if (offsetofend(typeof(resp), hca_core_clock_offset) <= udata->outlen) { in mlx5_ib_alloc_ucontext()
1399 if (offsetofend(typeof(resp), log_uar_size) <= udata->outlen) in mlx5_ib_alloc_ucontext()
1402 if (offsetofend(typeof(resp), num_uars_per_page) <= udata->outlen) in mlx5_ib_alloc_ucontext()
1405 if (offsetofend(typeof(resp), num_dyn_bfregs) <= udata->outlen) { in mlx5_ib_alloc_ucontext()
2378 min_ucmd_sz = offsetofend(struct mlx5_ib_create_flow, reserved); in mlx5_ib_create_flow()
/src/sys/contrib/dev/iwlwifi/mvm/
H A Dmac80211.c2650 offsetofend(typeof(sta_ctxt_cmd), pkt_ext) != in iwl_mvm_cfg_he_sta()
2652 offsetofend(typeof(sta_ctxt_cmd_v2), pkt_ext)); in iwl_mvm_cfg_he_sta()
2654 offsetofend(typeof(sta_ctxt_cmd_v2), pkt_ext), in iwl_mvm_cfg_he_sta()
2656 offsetofend(typeof(sta_ctxt_cmd), pkt_ext), in iwl_mvm_cfg_he_sta()
2658 offsetofend(typeof(sta_ctxt_cmd), pkt_ext)); in iwl_mvm_cfg_he_sta()
H A Dops.c1039 frob_end = offsetofend(struct iwl_mvm_mgmt_mcast_key_cmd, igtk); in iwl_mvm_frob_hcmd()
/src/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_cmd.c3759 .write.req_size = offsetofend(req, req_last_member), \
3760 .write.resp_size = offsetofend(resp, resp_last_member)
3763 .write.req_size = offsetofend(req, req_last_member)
/src/sys/contrib/dev/rtw88/
H A Dfw.c162 if (ra_data->length >= offsetofend(typeof(*ra_rpt), bw)) in rtw_fw_ra_report_iter()
/src/sys/contrib/dev/rtw89/
H A Dfw.c6027 cfg_len = offsetofend(typeof(*h2c), w8);