Searched refs:mctp_astlpc_layout_validate (Results 1 – 2 of 2) sorted by relevance
/openbmc/libmctp/tests/ |
H A D | test_astlpc.c | 743 assert(!mctp_astlpc_layout_validate(&astlpc_layout_ctx, &l)); in astlpc_test_buffers_rx_offset_overflow() 753 assert(!mctp_astlpc_layout_validate(&astlpc_layout_ctx, &l)); in astlpc_test_buffers_tx_offset_overflow() 763 assert(!mctp_astlpc_layout_validate(&astlpc_layout_ctx, &l)); in astlpc_test_buffers_rx_size_overflow() 773 assert(!mctp_astlpc_layout_validate(&astlpc_layout_ctx, &l)); in astlpc_test_buffers_tx_size_overflow() 783 assert(!mctp_astlpc_layout_validate(&astlpc_layout_ctx, &l)); in astlpc_test_buffers_rx_window_violation() 793 assert(!mctp_astlpc_layout_validate(&astlpc_layout_ctx, &l)); in astlpc_test_buffers_tx_window_violation() 803 assert(!mctp_astlpc_layout_validate(&astlpc_layout_ctx, &l)); in astlpc_test_buffers_rx_size_fails_btu() 813 assert(!mctp_astlpc_layout_validate(&astlpc_layout_ctx, &l)); in astlpc_test_buffers_tx_size_fails_btu() 823 assert(!mctp_astlpc_layout_validate(&astlpc_layout_ctx, &l)); in astlpc_test_buffers_overlap_rx_low() 833 assert(!mctp_astlpc_layout_validate(&astlpc_layout_ctx, &l)); in astlpc_test_buffers_overlap_tx_low() [all …]
|
/openbmc/libmctp/ |
H A D | astlpc.c | 507 mctp_astlpc_layout_validate(const struct mctp_binding_astlpc *astlpc, in mctp_astlpc_layout_validate() function 567 if (!mctp_astlpc_layout_validate(astlpc, &astlpc->layout)) { in mctp_astlpc_init_bmc() 650 if (!mctp_astlpc_layout_validate(astlpc, &layout)) { in mctp_astlpc_negotiate_layout_host() 667 if (!mctp_astlpc_layout_validate(astlpc, &layout)) { in mctp_astlpc_negotiate_layout_host() 932 if (!mctp_astlpc_layout_validate(astlpc, &proposed)) in mctp_astlpc_negotiate_layout_bmc() 947 if (mctp_astlpc_layout_validate(astlpc, &pending)) { in mctp_astlpc_negotiate_layout_bmc() 1125 if (!mctp_astlpc_layout_validate(astlpc, &layout)) { in mctp_astlpc_finalise_channel()
|