Lines Matching refs:safe_write
47 static int safe_write(struct cached_connection_ *, const void *, size_t);
58 safe_write(struct cached_connection_ *connection, const void *data, in safe_write() function
266 result = safe_write(connection, &name_size, sizeof(size_t)); in __cached_write()
270 result = safe_write(connection, &key_size, sizeof(size_t)); in __cached_write()
274 result = safe_write(connection, &data_size, sizeof(size_t)); in __cached_write()
278 result = safe_write(connection, entry_name, name_size); in __cached_write()
282 result = safe_write(connection, key, key_size); in __cached_write()
286 result = safe_write(connection, data, data_size); in __cached_write()
320 result = safe_write(connection, &name_size, sizeof(size_t)); in __cached_read()
324 result = safe_write(connection, &key_size, sizeof(size_t)); in __cached_read()
328 result = safe_write(connection, entry_name, name_size); in __cached_read()
332 result = safe_write(connection, key, key_size); in __cached_read()
393 result = safe_write(connection, &name_size, sizeof(size_t)); in __open_cached_mp_write_session()
397 result = safe_write(connection, entry_name, name_size); in __open_cached_mp_write_session()
429 result = safe_write(ws, &request, sizeof(int)); in __cached_mp_write()
433 result = safe_write(ws, &data_size, sizeof(size_t)); in __cached_mp_write()
437 result = safe_write(ws, data, data_size); in __cached_mp_write()
460 result = safe_write(ws, ¬ification, sizeof(int)); in __abandon_cached_mp_write_session()
475 (void)safe_write(ws, ¬ification, sizeof(int)); in __close_cached_mp_write_session()
500 result = safe_write(connection, &name_size, sizeof(size_t)); in __open_cached_mp_read_session()
504 result = safe_write(connection, entry_name, name_size); in __open_cached_mp_read_session()
532 result = safe_write(rs, &request, sizeof(int)); in __cached_mp_read()