Home
last modified time | relevance | path

Searched refs:may_flags (Results 1 – 4 of 4) sorted by relevance

/fs/nfsd/
Dfilecache.c894 nfsd_file_find_locked(struct inode *inode, unsigned int may_flags, in nfsd_file_find_locked() argument
898 unsigned char need = may_flags & NFSD_FILE_MAY_MASK; in nfsd_file_find_locked()
949 unsigned int may_flags, struct nfsd_file **pnf) in nfsd_file_acquire() argument
960 may_flags|NFSD_MAY_OWNER_OVERRIDE); in nfsd_file_acquire()
968 nf = nfsd_file_find_locked(inode, may_flags, hashval, net); in nfsd_file_acquire()
973 new = nfsd_file_alloc(inode, may_flags, hashval, net); in nfsd_file_acquire()
975 trace_nfsd_file_acquire(rqstp, hashval, inode, may_flags, in nfsd_file_acquire()
981 nf = nfsd_file_find_locked(inode, may_flags, hashval, net); in nfsd_file_acquire()
1003 if (!(may_flags & NFSD_MAY_NOT_BREAK_LEASE)) { in nfsd_file_acquire()
1004 bool write = (may_flags & NFSD_MAY_WRITE); in nfsd_file_acquire()
[all …]
Dtrace.h231 struct inode *inode, unsigned int may_flags,
234 TP_ARGS(rqstp, hash, inode, may_flags, nf, status),
240 __field(unsigned int, may_flags)
252 __entry->may_flags = may_flags;
262 show_nf_may(__entry->may_flags), __entry->nf_ref,
Dvfs.c708 int may_flags, struct file **filp) in __nfsd_open() argument
725 if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE)) in __nfsd_open()
738 host_err = nfsd_open_break_lease(inode, may_flags); in __nfsd_open()
742 if (may_flags & NFSD_MAY_WRITE) { in __nfsd_open()
743 if (may_flags & NFSD_MAY_READ) in __nfsd_open()
755 host_err = ima_file_check(file, may_flags); in __nfsd_open()
761 if (may_flags & NFSD_MAY_64BIT_COOKIE) in __nfsd_open()
775 int may_flags, struct file **filp) in nfsd_open() argument
792 may_flags |= NFSD_MAY_OWNER_OVERRIDE; in nfsd_open()
793 err = fh_verify(rqstp, fhp, type, may_flags); in nfsd_open()
[all …]
Dfilecache.h61 unsigned int may_flags, struct nfsd_file **nfp);