Lines Matching refs:error
93 int error = 0;
96 error = ttc_destroy(&ttc_ltimer->ttcs[TIMEOUT_IDX]);
97 ZF_LOGF_IF(error, "Failed to de-allocate the timeout timer");
101 error = ttc_destroy(&ttc_ltimer->ttcs[TIMESTAMP_IDX]);
102 ZF_LOGF_IF(error, "Failed to de-allocate the timestamp timer");
116 int error = ps_calloc(&ops.malloc_ops, 1, sizeof(ttc_ltimer_t), <imer->data);
117 if (error) {
118 return error;
127 int error = create_ltimer(ltimer, ops);
128 if (error) {
129 return error;
150 error = ttc_init(&ttc_ltimer->ttcs[TIMEOUT_IDX], config);
151 if (error) {
154 return error;
159 error = ttc_start(&ttc_ltimer->ttcs[TIMEOUT_IDX]);
160 if (error) {
163 return error;
167 error = ttc_init(&ttc_ltimer->ttcs[TIMESTAMP_IDX], config_timestamp);
168 if (error) {
171 return error;
177 error = ttc_start(&ttc_ltimer->ttcs[TIMESTAMP_IDX]);
178 if (error) {
181 return error;