Searched refs:accmode (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/s390/char/ |
D | vmur.c | 699 unsigned short accmode; in ur_open() local 702 accmode = file->f_flags & O_ACCMODE; in ur_open() 704 if (accmode == O_RDWR) in ur_open() 736 if (((accmode == O_RDONLY) && (urd->class != DEV_CLASS_UR_I)) || in ur_open() 737 ((accmode == O_WRONLY) && (urd->class != DEV_CLASS_UR_O))) { in ur_open()
|
/linux-6.6.21/fs/nfsd/ |
D | nfs4proc.c | 142 …permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int accmode) in do_open_permission() argument 149 accmode |= NFSD_MAY_READ_IF_EXEC; in do_open_permission() 152 accmode |= NFSD_MAY_READ; in do_open_permission() 154 accmode |= (NFSD_MAY_WRITE | NFSD_MAY_TRUNC); in do_open_permission() 156 accmode |= NFSD_MAY_WRITE; in do_open_permission() 158 return fh_verify(rqstp, current_fh, S_IFREG, accmode); in do_open_permission() 421 int accmode; in do_open_lookup() local 474 accmode = NFSD_MAY_NOP; in do_open_lookup() 477 accmode |= NFSD_MAY_OWNER_OVERRIDE; in do_open_lookup() 478 status = do_open_permission(rqstp, *resfh, open, accmode); in do_open_lookup() [all …]
|
D | vfs.c | 479 int accmode = NFSD_MAY_SATTR; in nfsd_setattr() local 488 accmode |= NFSD_MAY_WRITE|NFSD_MAY_OWNER_OVERRIDE; in nfsd_setattr() 500 accmode |= NFSD_MAY_OWNER_OVERRIDE; in nfsd_setattr() 502 accmode |= NFSD_MAY_WRITE; in nfsd_setattr() 509 err = fh_verify(rqstp, fhp, ftype, accmode); in nfsd_setattr()
|