Home
last modified time | relevance | path

Searched refs:accmode (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/s390/char/
Dvmur.c695 unsigned short accmode; in ur_open() local
698 accmode = file->f_flags & O_ACCMODE; in ur_open()
700 if (accmode == O_RDWR) in ur_open()
732 if (((accmode == O_RDONLY) && (urd->class != DEV_CLASS_UR_I)) || in ur_open()
733 ((accmode == O_WRONLY) && (urd->class != DEV_CLASS_UR_O))) { in ur_open()
/linux-2.6.39/fs/nfsd/
Dnfs4proc.c151 …permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int accmode) in do_open_permission() argument
160 accmode |= NFSD_MAY_READ; in do_open_permission()
162 accmode |= (NFSD_MAY_WRITE | NFSD_MAY_TRUNC); in do_open_permission()
164 accmode |= NFSD_MAY_WRITE; in do_open_permission()
166 status = fh_verify(rqstp, current_fh, S_IFREG, accmode); in do_open_permission()
Dvfs.c310 int accmode = NFSD_MAY_SATTR; in nfsd_setattr() local
317 accmode |= NFSD_MAY_WRITE|NFSD_MAY_OWNER_OVERRIDE; in nfsd_setattr()
322 err = fh_verify(rqstp, fhp, ftype, accmode); in nfsd_setattr()