Searched refs:MCTP_BODY_SIZE (Results 1 – 4 of 4) sorted by relevance
48 #define MCTP_BODY_SIZE(unit) ((unit) - sizeof(struct mctp_hdr)) macro
731 size_t max_payload_len = MCTP_BODY_SIZE(bus->binding->pkt_size); in mctp_next_tx_pkt()825 MCTP_BODY_SIZE(binding->pkt_size)); in mctp_binding_set_tx_enabled()867 max_payload_len = MCTP_BODY_SIZE(bus->binding->pkt_size); in mctp_message_tx_on_bus()
548 sz = MCTP_BODY_SIZE(astlpc->proto->body_size(sz)); in mctp_astlpc_init_bmc()877 size_t body = MCTP_BODY_SIZE(pkt_size); in mctp_astlpc_set_pkt_size()913 return MCTP_BODY_SIZE(astlpc->proto->body_size(rpkt)); in mctp_astlpc_calculate_mtu()
1127 ctx.msg = malloc(2 * MCTP_BODY_SIZE(8192)); in astlpc_test_send_large_packet()1130 memset(ctx.msg, 0x5a, 2 * MCTP_BODY_SIZE(8192)); in astlpc_test_send_large_packet()1133 2 * MCTP_BODY_SIZE(8192)); in astlpc_test_send_large_packet()