Lines Matching defs:imp
191 struct iso_mnt *imp = NULL;
215 imp = VFSTOISOFS(mp);
222 if (devvp != imp->im_devvp)
747 struct iso_mnt *imp = VFSTOISOFS(mp);
749 (struct iso_directory_record *)imp->root;
750 ino_t ino = isodirino(dp, imp);
757 imp->iso_ftype == ISO_FTYPE_RRIP, dp, current_proc()));
809 struct iso_mnt *imp;
812 imp = VFSTOISOFS(mp);
834 (imp->iso_ftype == ISO_FTYPE_RRIP ? VOL_CAP_FMT_SYMBOLICLINKS : 0) |
835 (imp->iso_ftype == ISO_FTYPE_RRIP ? VOL_CAP_FMT_HARDLINKS : 0) |
836 (imp->iso_ftype == ISO_FTYPE_RRIP || imp->iso_ftype == ISO_FTYPE_JOLIET
898 VFSATTR_RETURN(fsap, f_create_time, imp->creation_date);
899 VFSATTR_RETURN(fsap, f_modify_time, imp->modification_date);
991 cd9660_is_video_file(struct iso_node *ip, struct iso_mnt *imp)
997 if (((imp->im_flags2 & IMF2_IS_VCD) == 0) ||
998 imp->phys_devvp == NULL ||
999 imp->toc == NULL)
1014 lbn = lblkno(imp, ip->i_number);
1015 if (lbn < imp->video_dir_start || lbn >= imp->video_dir_end)
1038 if (track != (cd9660_track_for_sector(imp->toc, ip->iso_start) - 1))
1066 struct iso_mnt *imp;
1077 imp = VFSTOISOFS(mp);
1078 dev = imp->im_dev;
1103 ip->i_mnt = imp;
1104 ip->i_devvp = imp->im_devvp;
1118 lbn = lblkno(imp, ino);
1120 if (lbn >= imp->volume_space_size) {
1125 off = blkoff(imp, ino);
1127 if (off + ISO_DIRECTORY_RECORD_SIZE > imp->logical_block_size) {
1134 error = (int)buf_bread(imp->im_devvp, (daddr64_t)((unsigned)lbn),
1135 imp->logical_block_size, NOCRED, &bp);
1142 if (off + isonum_711(isodir->length) > imp->logical_block_size) {
1163 ip->i_parent = isodirino(pdp, imp);
1177 ip->iso_start = ino >> imp->im_bshift;
1190 if ((error = (int)buf_bread(imp->im_devvp, lbn, imp->im_sector_size, NOCRED, &bp)))
1201 (imp->iso_ftype != ISO_FTYPE_RRIP) ) {
1203 DRGetTypeCreatorAndFlags(imp, isodir, &ip->i_FileType,
1237 switch (imp->iso_ftype) {
1239 cd9660_rrip_getname(isodir, utf8namep, &namelen, &inump, imp);
1251 imp->iso_ftype == ISO_FTYPE_9660, ip->i_flag & ISO_ASSOCIATED);
1263 switch (imp->iso_ftype) {
1270 if ((imp->im_flags & ISOFSMNT_EXTATT) && (off = isonum_711(isodir->ext_attr_length))) {
1274 if ((error = (int)buf_bread(imp->im_devvp, lbn, imp->im_sector_size, NOCRED, &bp2))) {
1290 cd9660_rrip_analyze(isodir, ip, imp);
1304 if (cd9660_is_video_file(ip, imp))
1310 if (ip->iso_extent == imp->root_extent) {
1363 if (ip->iso_extent == imp->root_extent)