Searched refs:num_written (Results 1 – 3 of 3) sorted by relevance
149 ssize_t num_written; in boot_info_save() local151 num_written = write(fd, (void*) info, sizeof(BrilloBootInfo)); in boot_info_save()152 } while (num_written == -1 && errno == EINTR); in boot_info_save()154 if (num_written != sizeof(BrilloBootInfo)) in boot_info_save()
118 ssize_t num_written; in copy_data() local120 num_written = write(dst_fd, copy_buf + offset, num_to_write); in copy_data()121 } while (num_written == -1 && errno == EINTR); in copy_data()122 if (num_written <= 0) { in copy_data()127 num_to_write -= num_written; in copy_data()
276 int num_written = 0; in profile_enum_sample_formats() local287 profile->formats[num_written++] = format; in profile_enum_sample_formats()288 if (num_written == ARRAY_SIZE(profile->formats) - 1) { in profile_enum_sample_formats()299 profile->formats[num_written] = PCM_FORMAT_INVALID; in profile_enum_sample_formats()300 return num_written; in profile_enum_sample_formats()