Lines Matching refs:backend

11 void mock_log_backend_reset(const struct log_backend *backend)  in mock_log_backend_reset()  argument
13 struct mock_log_backend *mock = backend->cb->ctx; in mock_log_backend_reset()
23 void mock_log_backend_check_enable(const struct log_backend *backend) in mock_log_backend_check_enable() argument
25 struct mock_log_backend *mock = backend->cb->ctx; in mock_log_backend_check_enable()
30 void mock_log_backend_check_disable(const struct log_backend *backend) in mock_log_backend_check_disable() argument
32 struct mock_log_backend *mock = backend->cb->ctx; in mock_log_backend_check_disable()
37 void mock_log_backend_dummy_record(const struct log_backend *backend, int cnt) in mock_log_backend_dummy_record() argument
39 struct mock_log_backend *mock = backend->cb->ctx; in mock_log_backend_dummy_record()
48 void mock_log_backend_drop_record(const struct log_backend *backend, int cnt) in mock_log_backend_drop_record() argument
50 struct mock_log_backend *mock = backend->cb->ctx; in mock_log_backend_drop_record()
55 void mock_log_backend_generic_record(const struct log_backend *backend, in mock_log_backend_generic_record() argument
64 if (backend->cb == NULL) { in mock_log_backend_generic_record()
72 struct mock_log_backend *mock = backend->cb->ctx; in mock_log_backend_generic_record()
96 void mock_log_backend_validate(const struct log_backend *backend, bool panic) in mock_log_backend_validate() argument
98 struct mock_log_backend *mock = backend->cb->ctx; in mock_log_backend_validate()
126 static void process(const struct log_backend *const backend, in process() argument
129 struct mock_log_backend *mock = backend->cb->ctx; in process()
199 static void mock_init(struct log_backend const *const backend) in mock_init() argument
204 static void panic(struct log_backend const *const backend) in panic() argument
206 struct mock_log_backend *mock = backend->cb->ctx; in panic()
211 static void dropped(const struct log_backend *const backend, uint32_t cnt) in dropped() argument
213 struct mock_log_backend *mock = backend->cb->ctx; in dropped()
221 static void notify(const struct log_backend *const backend, in notify() argument
225 struct mock_log_backend *mock = backend->cb->ctx; in notify()