cred_t * cr)
{
int error;
- OSI_VN_CONVERT(vp)
+ OSI_VN_CONVERT(vp);
#ifdef AFS_SGI65_ENV
struct flid flid;
int pid;
struct cred *cr;
{
int code;
- OSI_VC_CONVERT(avc)
+ OSI_VC_CONVERT(avc);
- osi_Assert(avc->v.v_count > 0);
+ osi_Assert(avc->v.v_count > 0);
if (avc->v.v_type != VREG)
return EISDIR;
struct cred *cr;
{
int code;
- OSI_VC_CONVERT(avc)
+ OSI_VC_CONVERT(avc);
- osi_Assert(avc->v.v_count > 0);
+ osi_Assert(avc->v.v_count > 0);
if (avc->v.v_type != VREG)
return EISDIR;
int bsize; /* server's block size in bytes */
off_t off;
size_t rem, cnt;
- OSI_VC_CONVERT(avc)
+ OSI_VC_CONVERT(avc);
- bsize = AFSBSIZE;
+ bsize = AFSBSIZE;
off = offset % bsize; /* offset into block */
bmv->bn = BTOBBT(offset - off);
bmv->offset = bmv->bn;
iovec_t aiovec;
int error;
struct cred *cr;
- OSI_VC_CONVERT(avc)
+ OSI_VC_CONVERT(avc);
vnode_t *vp = (vnode_t *) avc;
/*
u_int flags;
struct cred *cr;
{
- OSI_VC_CONVERT(avc)
+ OSI_VC_CONVERT(avc);
struct vnode *vp = AFSTOV(avc);
if (vp->v_flag & VNOMAP)
u_int flags;
struct cred *acred;
{
- OSI_VC_CONVERT(avc)
+ OSI_VC_CONVERT(avc);
struct vnode *vp = AFSTOV(avc);
register struct brequest *tb;
struct vrequest treq;
struct cred *cr;
#endif
{
- OSI_VC_CONVERT(avc)
+ OSI_VC_CONVERT(avc);
struct vnode *vp = AFSTOV(avc);
struct vrequest treq;
int error;
struct ucred *acred;
{
int s;
- OSI_VC_CONVERT(avc)
+ OSI_VC_CONVERT(avc);
vnode_t *vp = (vnode_t *) avc;
int mapcnt = avc->mapcnt; /* We just clear off this many. */
void
afs_rwlock(OSI_VN_DECL(vp), AFS_RWLOCK_T flag)
{
- OSI_VN_CONVERT(vp)
+ OSI_VN_CONVERT(vp);
struct vcache *avc = VTOAFS(vp);
if (OSI_GET_LOCKID() == avc->vc_rwlockid) {
void
afs_rwunlock(OSI_VN_DECL(vp), AFS_RWLOCK_T flag)
{
- OSI_VN_CONVERT(vp)
+ OSI_VN_CONVERT(vp);
struct vcache *avc = VTOAFS(vp);
AFS_ASSERT_GLOCK();
{
struct cell *tcell;
afs_fid2_t *afid = (afs_fid2_t *) fidp;
- OSI_VC_CONVERT(avc)
+ OSI_VC_CONVERT(avc);
- osi_Assert(sizeof(fid_t) >= sizeof(afs_fid2_t));
+ osi_Assert(sizeof(fid_t) >= sizeof(afs_fid2_t));
afid->af_len = sizeof(afs_fid2_t) - sizeof(afid->af_len);
tcell = afs_GetCell(avc->fid.Cell, READ_LOCK);