Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 5 of 5) sorted by relevance

/trusty/kernel/app/consoletest/
Dconsoletest.c44 static void test_print_callback(print_callback_t* cb, in test_print_callback() argument
51 static void test_commit_callback(print_callback_t* cb) { in test_commit_callback() argument
116 print_callback_t cb; in run_console_test() local
118 memset(&cb, 0, sizeof(cb)); in run_console_test()
119 cb.print = test_print_callback; in run_console_test()
120 cb.commit = test_commit_callback; in run_console_test()
121 register_print_callback(&cb); in run_console_test()
123 unregister_print_callback(&cb); in run_console_test()
/trusty/kernel/lib/memlog/
Dmemlog.c53 print_callback_t cb; member
150 void memlog_print_callback(print_callback_t* cb, const char* str, size_t len) { in memlog_print_callback() argument
151 struct memlog* log = containerof(cb, struct memlog, cb); in memlog_print_callback()
155 void memlog_commit_callback(print_callback_t* cb) { in memlog_commit_callback() argument
156 struct memlog* log = containerof(cb, struct memlog, cb); in memlog_commit_callback()
197 log->cb.print = memlog_print_callback; in memlog_add()
198 log->cb.commit = memlog_commit_callback; in memlog_add()
199 register_print_callback(&log->cb); in memlog_add()
215 unregister_print_callback(&log->cb); in memlog_rm()
/trusty/kernel/lib/trusty/include/lib/trusty/
Duio.h68 size_t cb);
/trusty/kernel/lib/trusty/
Dtipc_virtio_dev.c265 tipc_data_cb_t cb,
1268 tipc_data_cb_t cb, in tipc_send_data() argument
1281 if (!cb) in tipc_send_data()
1356 ret = cb(hdr->data, data_len, cb_ctx); in tipc_send_data()
/trusty/kernel/lib/metrics/
Dmetrics.c416 .cb = handle_chan,