-/* $OpenBSD: cd9660_lookup.c,v 1.28 2021/03/05 07:01:36 jsg Exp $ */
+/* $OpenBSD: cd9660_lookup.c,v 1.29 2021/03/05 07:10:06 jsg Exp $ */
/* $NetBSD: cd9660_lookup.c,v 1.18 1997/05/08 16:19:59 mycroft Exp $ */
/*-
cd9660_lookup(void *v)
{
struct vop_lookup_args *ap = v;
- register struct vnode *vdp; /* vnode for directory being searched */
- register struct iso_node *dp; /* inode for directory being searched */
- register struct iso_mnt *imp; /* file system that directory is in */
+ struct vnode *vdp; /* vnode for directory being searched */
+ struct iso_node *dp; /* inode for directory being searched */
+ struct iso_mnt *imp; /* file system that directory is in */
struct buf *bp; /* a buffer of directory entries */
struct iso_directory_record *ep = NULL;
/* the current directory entry */
-/* $OpenBSD: cd9660_node.c,v 1.36 2021/03/05 07:01:36 jsg Exp $ */
+/* $OpenBSD: cd9660_node.c,v 1.37 2021/03/05 07:10:06 jsg Exp $ */
/* $NetBSD: cd9660_node.c,v 1.17 1997/05/05 07:13:57 mycroft Exp $ */
/*-
void
cd9660_ihashrem(struct iso_node *ip)
{
- register struct iso_node *iq;
+ struct iso_node *iq;
if (ip->i_prev == NULL)
return;
{
struct vop_inactive_args *ap = v;
struct vnode *vp = ap->a_vp;
- register struct iso_node *ip = VTOI(vp);
+ struct iso_node *ip = VTOI(vp);
int error = 0;
#ifdef DIAGNOSTIC
cd9660_reclaim(void *v)
{
struct vop_reclaim_args *ap = v;
- register struct vnode *vp = ap->a_vp;
- register struct iso_node *ip = VTOI(vp);
+ struct vnode *vp = ap->a_vp;
+ struct iso_node *ip = VTOI(vp);
#ifdef DIAGNOSTIC
if (prtactive && vp->v_usecount != 0)
-/* $OpenBSD: cd9660_rrip.c,v 1.15 2021/03/05 07:01:36 jsg Exp $ */
+/* $OpenBSD: cd9660_rrip.c,v 1.16 2021/03/05 07:10:06 jsg Exp $ */
/* $NetBSD: cd9660_rrip.c,v 1.17 1997/01/24 00:27:32 cgd Exp $ */
/*-
cd9660_rrip_slink(void *v, ISO_RRIP_ANALYZE *ana)
{
ISO_RRIP_SLINK *p = v;
- register ISO_RRIP_SLINK_COMPONENT *pcomp;
- register ISO_RRIP_SLINK_COMPONENT *pcompe;
+ ISO_RRIP_SLINK_COMPONENT *pcomp;
+ ISO_RRIP_SLINK_COMPONENT *pcompe;
int len, wlen, cont;
char *outbuf, *inbuf;
cd9660_rrip_loop(struct iso_directory_record *isodir, ISO_RRIP_ANALYZE *ana,
RRIP_TABLE *table)
{
- register RRIP_TABLE *ptable;
- register ISO_SUSP_HEADER *phead;
- register ISO_SUSP_HEADER *pend;
+ RRIP_TABLE *ptable;
+ ISO_SUSP_HEADER *phead;
+ ISO_SUSP_HEADER *pend;
struct buf *bp = NULL;
char *pwhead;
u_char c;
-/* $OpenBSD: cd9660_vfsops.c,v 1.94 2021/03/05 07:01:36 jsg Exp $ */
+/* $OpenBSD: cd9660_vfsops.c,v 1.95 2021/03/05 07:10:06 jsg Exp $ */
/* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */
/*-
iso_mountfs(struct vnode *devvp, struct mount *mp, struct proc *p,
struct iso_args *argp)
{
- register struct iso_mnt *isomp = NULL;
+ struct iso_mnt *isomp = NULL;
struct buf *bp = NULL;
struct buf *pribp = NULL, *supbp = NULL;
dev_t dev = devvp->v_rdev;
int
cd9660_unmount(struct mount *mp, int mntflags, struct proc *p)
{
- register struct iso_mnt *isomp;
+ struct iso_mnt *isomp;
int error, flags = 0;
if (mntflags & MNT_FORCE)
int
cd9660_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
{
- register struct iso_mnt *isomp;
+ struct iso_mnt *isomp;
isomp = VFSTOISOFS(mp);
cd9660_fhtovp(struct mount *mp, struct fid *fhp, struct vnode **vpp)
{
struct ifid *ifhp = (struct ifid *)fhp;
- register struct iso_node *ip;
+ struct iso_node *ip;
struct vnode *nvp;
int error;
cd9660_vget_internal(struct mount *mp, cdino_t ino, struct vnode **vpp,
int relocated, struct iso_directory_record *isodir)
{
- register struct iso_mnt *imp;
+ struct iso_mnt *imp;
struct iso_node *ip;
struct buf *bp;
struct vnode *vp, *nvp;
int
cd9660_vptofh(struct vnode *vp, struct fid *fhp)
{
- register struct iso_node *ip = VTOI(vp);
- register struct ifid *ifhp;
+ struct iso_node *ip = VTOI(vp);
+ struct ifid *ifhp;
ifhp = (struct ifid *)fhp;
ifhp->ifid_len = sizeof(struct ifid);
cd9660_check_export(struct mount *mp, struct mbuf *nam, int *exflagsp,
struct ucred **credanonp)
{
- register struct netcred *np;
- register struct iso_mnt *imp = VFSTOISOFS(mp);
+ struct netcred *np;
+ struct iso_mnt *imp = VFSTOISOFS(mp);
/*
* Get the export permission structure for this <mp, client> tuple.
-/* $OpenBSD: cd9660_vnops.c,v 1.87 2021/03/05 07:01:36 jsg Exp $ */
+/* $OpenBSD: cd9660_vnops.c,v 1.88 2021/03/05 07:10:06 jsg Exp $ */
/* $NetBSD: cd9660_vnops.c,v 1.42 1997/10/16 23:56:57 christos Exp $ */
/*-
{
struct vop_getattr_args *ap = v;
struct vnode *vp = ap->a_vp;
- register struct vattr *vap = ap->a_vap;
- register struct iso_node *ip = VTOI(vp);
+ struct vattr *vap = ap->a_vap;
+ struct iso_node *ip = VTOI(vp);
vap->va_fsid = ip->i_dev;
vap->va_fileid = ip->i_number;
{
struct vop_read_args *ap = v;
struct vnode *vp = ap->a_vp;
- register struct uio *uio = ap->a_uio;
- register struct iso_node *ip = VTOI(vp);
- register struct iso_mnt *imp;
+ struct uio *uio = ap->a_uio;
+ struct iso_node *ip = VTOI(vp);
+ struct iso_mnt *imp;
struct buf *bp;
daddr_t lbn, rablock;
off_t diff;
cd9660_readdir(void *v)
{
struct vop_readdir_args *ap = v;
- register struct uio *uio = ap->a_uio;
+ struct uio *uio = ap->a_uio;
struct isoreaddir *idp;
struct vnode *vdp = ap->a_vp;
struct iso_node *dp;