Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 10 of 10) sorted by relevance

/libmctp-latest/utils/
Dmctp-demux-daemon.c62 struct ctx { struct
82 static void tx_message(struct ctx *ctx, mctp_eid_t eid, void *msg, size_t len) in tx_message()
91 static void client_remove_inactive(struct ctx *ctx) in client_remove_inactive()
113 struct ctx *ctx = data; in rx_message() local
289 static int socket_init(struct ctx *ctx) in socket_init()
324 static int socket_process(struct ctx *ctx) in socket_process()
345 static int client_process_recv(struct ctx *ctx, int idx) in client_process_recv()
428 static int binding_init(struct ctx *ctx, const char *name, int argc, in binding_init()
444 static void binding_destroy(struct ctx *ctx) in binding_destroy()
457 static int run_daemon(struct ctx *ctx) in run_daemon()
[all …]
Dmctp-astlpc-daemon.c20 struct ctx { struct
24 static void tx_message(struct ctx *ctx, mctp_eid_t eid, void *msg, size_t len) in tx_message()
38 struct ctx *ctx = data; in rx_message() local
56 struct ctx *ctx, _ctx; in main() local
/libmctp-latest/tests/
Dtest_seq.c31 struct test_ctx *ctx = data; in test_rx() local
103 static void run_one_test(struct test_ctx *ctx, struct test *test) in run_one_test()
143 struct test_ctx ctx; in main() local
Dtest_astlpc.c201 static void network_init(struct astlpc_test *ctx) in network_init()
229 static void network_destroy(struct astlpc_test *ctx) in network_destroy()
246 struct astlpc_test ctx = { 0 }; in astlpc_test_packetised_message_bmc_to_host() local
288 struct astlpc_test ctx = { 0 }; in astlpc_test_simple_message_host_to_bmc() local
330 struct astlpc_test ctx = { 0 }; in astlpc_test_simple_message_bmc_to_host() local
556 struct astlpc_test ctx = { 0 }; in astlpc_test_simple_indirect_message_bmc_to_host() local
624 struct astlpc_test ctx = { 0 }; in astlpc_test_host_tx_bmc_gone() local
1095 struct astlpc_test ctx; in astlpc_test_send_large_packet() local
1155 struct astlpc_test ctx = { 0 }; in astlpc_test_negotiate_mtu_high_low() local
1264 struct astlpc_test ctx; in astlpc_test_tx_before_channel_init() local
[all …]
Dtest_eid.c27 struct test_ctx *ctx = data; in test_rx() local
46 struct test_ctx _ctx, *ctx = &_ctx; in main() local
Dtest_cmds.c40 struct callback_data *ctx = data; in control_message_transport_callback() local
80 struct callback_data ctx; in send_transport_control_message() local
Dtest_bridge.c83 struct test_ctx _ctx, *ctx = &_ctx; in main() local
Dtest_serial.c34 struct mctp_binding_serial_pipe *ctx = data; in mctp_binding_serial_pipe_tx() local
/libmctp-latest/
Dcore.c191 struct mctp_msg_ctx *ctx = &mctp->msg_ctxs[i]; in mctp_msg_ctx_lookup() local
202 struct mctp_msg_ctx *ctx = NULL; in mctp_msg_ctx_create() local
224 static void mctp_msg_ctx_drop(struct mctp_msg_ctx *ctx) in mctp_msg_ctx_drop()
229 static void mctp_msg_ctx_reset(struct mctp_msg_ctx *ctx) in mctp_msg_ctx_reset()
235 static int mctp_msg_ctx_add_pkt(struct mctp_msg_ctx *ctx, in mctp_msg_ctx_add_pkt()
542 struct mctp_msg_ctx *ctx; in mctp_bus_rx() local
Dastlpc.c144 #define astlpc_prlog(ctx, lvl, fmt, ...) \ argument
151 #define astlpc_prerr(ctx, fmt, ...) \ argument
153 #define astlpc_prwarn(ctx, fmt, ...) \ argument
155 #define astlpc_prnotice(ctx, fmt, ...) \ argument
157 #define astlpc_prinfo(ctx, fmt, ...) \ argument
159 #define astlpc_prdebug(ctx, fmt, ...) \ argument