Lines Matching defs:imp
190 register struct iso_mnt *imp;
203 imp = ip->i_mnt;
253 lbn = lblkno(imp, uio->uio_offset);
254 on = blkoff(imp, uio->uio_offset);
255 n = min((u_int)(imp->logical_block_size - on),
262 size = blksize(imp, ip, lbn);
266 lblktosize(imp, rablock) < ip->i_size) {
267 rasize = blksize(imp, ip, (daddr_t)rablock);
281 if (n + on == imp->logical_block_size ||
412 struct iso_mnt *imp;
426 imp = dp->i_mnt;
427 bmask = imp->im_sector_size - 1;
441 (error = cd9660_blkatoff(vdp, SECTOFF(imp, idp->curroff), NULL, &bp))) {
456 if ((error = cd9660_blkatoff(vdp, SECTOFF(imp, idp->curroff), NULL, &bp)))
470 (idp->curroff & ~bmask) + imp->im_sector_size;
480 if (entryoffsetinblock + reclen > imp->im_sector_size) {
504 idp->current.d_fileno = isodirino(ep, imp);
506 idp->current.d_fileno = ((daddr_t)buf_blkno(bp) << imp->im_bshift) +
512 switch (imp->iso_ftype) {
515 &idp->current.d_fileno,imp);
546 imp->iso_ftype == ISO_FTYPE_9660,
549 if (imp->iso_ftype == ISO_FTYPE_DEFAULT)
562 if (!error && imp->iso_ftype == ISO_FTYPE_DEFAULT) {
646 ISOMNT *imp;
654 imp = ip->i_mnt;
657 if (imp->iso_ftype != ISO_FTYPE_RRIP)
663 error = (int)buf_bread(imp->im_devvp,
664 (daddr64_t)((unsigned)(ip->i_number >> imp->im_bshift)),
665 imp->logical_block_size, NOCRED, &bp);
674 dirp = (ISODIR *)(buf_dataptr(bp) + (ip->i_number & imp->im_bmask));
680 if ((ip->i_number & imp->im_bmask) + isonum_711(dirp->length)
681 > imp->logical_block_size) {
699 if (cd9660_rrip_getsymname(dirp, symname, &symlen, imp) == 0) {