Lines Matching refs:media
70 hammer2_media_data_t *media;
98 warnx("failed to seek media");
101 media = read_buf(fp, io_base, io_bytes);
102 if (media == NULL) {
103 warnx("failed to read media");
107 memcpy(media, (char *)media + boff, bytes);
109 return (media);
115 hammer2_media_data_t *media;
121 media = read_media(fp, bref, &bytes);
122 if (media == NULL)
127 ipdata = media->ipdata;
151 bscan = &media->npdata[0];
163 free(media);
168 free(media);
207 hammer2_media_data_t *vols[HAMMER2_NUM_VOLHDRS], *media;
238 media = read_media(fp, bref, &bytes);
239 if (media == NULL) {
247 /* Add device name to help support multiple autofs -media mounts. */
255 memcpy(label, media->ipdata.filename,
256 sizeof(media->ipdata.filename));
264 free(media);