Lines Matching refs:errno
48 err = errno; in bootctrl_read_metadata()
49 fprintf(stderr, "Error opening metadata file: %s\n", strerror(errno)); in bootctrl_read_metadata()
53 err = errno; in bootctrl_read_metadata()
54 fprintf(stderr, "Error seeking to metadata offset: %s\n", strerror(errno)); in bootctrl_read_metadata()
64 if (errno == EINTR) { in bootctrl_read_metadata()
67 err = -errno; in bootctrl_read_metadata()
94 err = errno; in bootctrl_write_metadata()
95 fprintf(stderr, "Error opening metadata file: %s\n", strerror(errno)); in bootctrl_write_metadata()
100 err = errno; in bootctrl_write_metadata()
101 fprintf(stderr, "Error seeking to metadata offset: %s\n", strerror(errno)); in bootctrl_write_metadata()
111 if (errno == EINTR) { in bootctrl_write_metadata()
114 err = -errno; in bootctrl_write_metadata()
148 err = -errno; in bootctrl_get_active_slot()
154 err = -errno; in bootctrl_get_active_slot()
164 if (errno == EINTR) { in bootctrl_get_active_slot()
167 err = -errno; in bootctrl_get_active_slot()