Lines Matching refs:sz
269 ssize_t sz; in sys_t_clock_sync() local
271 sz = data->packet(data, m, c, STP_PACKET_DATA, STP_PACKET_TIMESTAMPED, in sys_t_clock_sync()
273 if (sz <= 0) in sys_t_clock_sync()
274 return sz; in sys_t_clock_sync()
278 sz = stm_data_write(data, m, c, false, &payload, sizeof(payload)); in sys_t_clock_sync()
279 if (sz <= 0) in sys_t_clock_sync()
280 return sz; in sys_t_clock_sync()
296 ssize_t sz; in sys_t_write() local
303 sz = sys_t_clock_sync(data, m, c); in sys_t_write()
304 if (sz <= 0) in sys_t_write()
305 return sz; in sys_t_write()
320 sz = data->packet(data, m, c, STP_PACKET_DATA, STP_PACKET_TIMESTAMPED, in sys_t_write()
322 if (sz <= 0) in sys_t_write()
323 return sz; in sys_t_write()
327 sz = stm_data_write(data, m, c, false, uuid, sizeof(op->node.uuid)); in sys_t_write()
328 if (sz <= 0) in sys_t_write()
329 return sz; in sys_t_write()
335 sz = data->packet(data, m, c, STP_PACKET_DATA, 0, 2, in sys_t_write()
337 if (sz <= 0) in sys_t_write()
338 return sz; in sys_t_write()
345 sz = stm_data_write(data, m, c, false, &ts, sizeof(ts)); in sys_t_write()
346 if (sz <= 0) in sys_t_write()
347 return sz; in sys_t_write()
351 sz = stm_data_write(data, m, c, false, buf, count); in sys_t_write()
352 if (sz > 0) in sys_t_write()
355 return sz; in sys_t_write()