/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/ |
H A D | cd9660_lookup.c | 128 register struct iso_mnt *imp; /* file system that directory is in */ local 161 imp = dp->i_mnt; 186 if (imp->iso_ftype != ISO_FTYPE_RRIP && 195 if ((imp->iso_ftype == ISO_FTYPE_JOLIET) && 215 bmask = imp->im_sector_size - 1; 225 (error = cd9660_blkatoff(vdp, SECTOFF(imp, dp->i_offset), NULL, &bp))) 242 if ( (error = cd9660_blkatoff(vdp, SECTOFF(imp,dp->i_offset), NULL, &bp)) ) 256 (dp->i_offset & ~bmask) + imp->im_sector_size; 264 if (entryoffsetinblock + reclen > imp->im_sector_size) { 277 if (imp 442 register struct iso_mnt *imp; local [all...] |
H A D | iso_rrip.h | 100 struct iso_mnt *imp; /* mount structure */ member in struct:__anon141 109 struct iso_node *inop, struct iso_mnt *imp); 112 ino_t *inump, struct iso_mnt *imp); 115 struct iso_mnt *imp); 117 struct iso_mnt *imp);
|
H A D | cd9660_bmap.c | 85 register struct iso_mnt *imp; local 91 imp = ip->i_mnt; 93 *ap->a_offset = (off_t)lblktosize(imp, ap->a_lblkno); 102 register struct iso_mnt *imp; local 108 imp = ip->i_mnt; 110 *ap->a_lblkno = (daddr64_t)lblkno(imp, ap->a_offset);
|
H A D | cd9660_vfsops.c | 191 struct iso_mnt *imp = NULL; local 215 imp = VFSTOISOFS(mp); 222 if (devvp != imp->im_devvp) 747 struct iso_mnt *imp = VFSTOISOFS(mp); local 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; local 812 imp = VFSTOISOFS(mp); 834 (imp 991 cd9660_is_video_file(struct iso_node *ip, struct iso_mnt *imp) argument 1066 struct iso_mnt *imp; local [all...] |
H A D | cd9660_rrip.c | 177 inbuf = vfs_statfs(ana->imp->im_mountp)->f_mntonname; 315 *ana->inump = isonum_733(p->dir_loc) << ana->imp->im_bshift; 495 || isonum_733(isodir->extent) != ana->imp->root_extent) 496 pwhead += ana->imp->rr_skip; 498 pwhead += ana->imp->rr_skip0; 536 if (ana->iso_ce_blk >= ana->imp->volume_space_size 537 || ana->iso_ce_off + ana->iso_ce_len > ana->imp->logical_block_size 538 || buf_bread(ana->imp->im_devvp, 542 (daddr64_t)((unsigned)(ana->iso_ce_blk << (ana->imp->im_bshift - DEV_BSHIFT))), 544 ana->imp 586 cd9660_rrip_analyze(struct iso_directory_record *isodir, struct iso_node *inop, struct iso_mnt *imp) argument 620 cd9660_rrip_getname(struct iso_directory_record *isodir, char *outbuf, u_short *outlen, ino_t *inump, struct iso_mnt *imp) argument 661 cd9660_rrip_getsymname(struct iso_directory_record *isodir, char *outbuf, u_short *outlen, struct iso_mnt *imp) argument 691 cd9660_rrip_offset(struct iso_directory_record *isodir, struct iso_mnt *imp) argument [all...] |
H A D | iso.h | 301 #define blkoff(imp, loc) ((loc) & (imp)->im_bmask) 302 #define lblktosize(imp, blk) ((blk) << (imp)->im_bshift) 303 #define lblkno(imp, loc) ((loc) >> (imp)->im_bshift) 304 #define blksize(imp, ip, lbn) ((imp)->logical_block_size) 306 #define SECTOFF(imp, off) \ 307 (off_t)(((off) / (imp) [all...] |
H A D | cd9660_vnops.c | 190 register struct iso_mnt *imp; local 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; local 646 ISOMNT *imp; local [all...] |
H A D | cd9660_util.c | 327 struct iso_mnt *imp; local 338 imp = dp->i_mnt; 339 bmask = imp->im_sector_size - 1; 340 logblksize = imp->im_sector_size; 352 if ( (error = cd9660_blkatoff(vdp, SECTOFF(imp, diroffset), NULL, &bp)) ) 404 DerivePermissionSummary(uid_t owner, gid_t group, mode_t obj_mode, __unused struct iso_mnt *imp) argument
|
H A D | cd9660_node.c | 329 struct iso_mnt *imp; local 345 && ((imp = inop->i_mnt)->im_flags & ISOFSMNT_EXTATT) 347 cd9660_blkatoff(ITOV(inop), (off_t)-(off << imp->im_bshift), NULL, &bp2); 388 struct iso_mnt *imp; local 393 && ((imp = inop->i_mnt)->im_flags & ISOFSMNT_EXTATT) 396 cd9660_blkatoff(ITOV(inop), (off_t)-(off << imp->im_bshift), NULL, &bp2); 504 isodirino(struct iso_directory_record *isodir, struct iso_mnt *imp) argument 509 << imp->im_bshift;
|