Lines Matching refs:sector
62 iso9660_devread (fsi_file_t *ffi, int sector, int byte_offset, int byte_len, char *buf) in iso9660_devread() argument
70 if (sector < 0) in iso9660_devread()
79 sector += (byte_offset >> sector_size_lg2); in iso9660_devread()
82 : "=r"(sector) in iso9660_devread()
84 "0"(sector)); in iso9660_devread()
86 sector = (sector * 4) + (byte_offset >> sector_size_lg2); in iso9660_devread()
92 printf ("<%d, %d, %d>", sector, byte_offset, byte_len); in iso9660_devread()
100 return devread(ffi, sector, byte_offset, byte_len, buf); in iso9660_devread()
106 unsigned int sector; in iso9660_mount() local
123 for (sector = 16 ; sector < 32 ; sector++) in iso9660_mount()
125 if (!iso9660_devread(ffi, sector, 0, sizeof(*PRIMDESC), (char *)PRIMDESC)) in iso9660_mount()
131 ISO_SUPER->vol_sector = sector; in iso9660_mount()
418 int sector, blkoffset, size, ret; in iso9660_read() local
425 sector = filepos >> ISO_SECTOR_BITS; in iso9660_read()
434 if (!iso9660_devread(ffi, INODE->file_start + sector, blkoffset, size, buf)) in iso9660_read()
443 sector++; in iso9660_read()