Home | History | Annotate | Download | only in block

Lines Matching refs:desc_size

52     int64_t desc_size;
106 #define DESC_SIZE 20*SECTOR_SIZE // 20 sectors of 512 bytes each
111 char desc[DESC_SIZE];
117 if (bdrv_pread(bs->file, 0x200, desc, DESC_SIZE) != DESC_SIZE)
138 char desc[DESC_SIZE], tmp_desc[DESC_SIZE];
142 if (bdrv_pread(bs->file, 0x200, desc, DESC_SIZE) != DESC_SIZE)
153 if (bdrv_pwrite_sync(bs->file, 0x200, desc, DESC_SIZE) < 0)
186 char p_desc[DESC_SIZE], s_desc[DESC_SIZE], hdr[HEADER_SIZE];
243 if (read(p_fd, p_desc, DESC_SIZE) != DESC_SIZE) {
341 char desc[DESC_SIZE];
344 if (bdrv_pread(bs->file, 0x200, desc, DESC_SIZE) != DESC_SIZE)
732 header.desc_size = 20;
733 header.rgd_offset = header.desc_offset + header.desc_size;
741 header.desc_size = cpu_to_le64(header.desc_size);