Home
last modified time | relevance | path

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

/Linux-v5.15/fs/nfsd/
Dfilecache.c885 nfsd_file_find_locked(struct inode *inode, unsigned int may_flags, in nfsd_file_find_locked() argument
889 unsigned char need = may_flags & NFSD_FILE_MAY_MASK; in nfsd_file_find_locked()
940 unsigned int may_flags, struct nfsd_file **pnf) in nfsd_file_acquire() argument
951 may_flags|NFSD_MAY_OWNER_OVERRIDE); in nfsd_file_acquire()
959 nf = nfsd_file_find_locked(inode, may_flags, hashval, net); in nfsd_file_acquire()
964 new = nfsd_file_alloc(inode, may_flags, hashval, net); in nfsd_file_acquire()
966 trace_nfsd_file_acquire(rqstp, hashval, inode, may_flags, in nfsd_file_acquire()
972 nf = nfsd_file_find_locked(inode, may_flags, hashval, net); in nfsd_file_acquire()
994 if (!(may_flags & NFSD_MAY_NOT_BREAK_LEASE)) { in nfsd_file_acquire()
995 bool write = (may_flags & NFSD_MAY_WRITE); in nfsd_file_acquire()
[all …]
Dvfs.c719 int may_flags, struct file **filp) in __nfsd_open() argument
736 if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE)) in __nfsd_open()
742 host_err = nfsd_open_break_lease(inode, may_flags); in __nfsd_open()
746 if (may_flags & NFSD_MAY_WRITE) { in __nfsd_open()
747 if (may_flags & NFSD_MAY_READ) in __nfsd_open()
759 host_err = ima_file_check(file, may_flags); in __nfsd_open()
765 if (may_flags & NFSD_MAY_64BIT_COOKIE) in __nfsd_open()
779 int may_flags, struct file **filp) in nfsd_open() argument
796 may_flags |= NFSD_MAY_OWNER_OVERRIDE; in nfsd_open()
797 err = fh_verify(rqstp, fhp, type, may_flags); in nfsd_open()
[all …]
Dfilecache.h62 unsigned int may_flags, struct nfsd_file **nfp);
Dtrace.h694 struct inode *inode, unsigned int may_flags,
697 TP_ARGS(rqstp, hash, inode, may_flags, nf, status),
703 __field(unsigned long, may_flags)
715 __entry->may_flags = may_flags;
725 show_nfsd_may_flags(__entry->may_flags),
/Linux-v5.15/fs/ksmbd/
Dsmb2pdu.c1942 int *may_flags) in smb2_create_open_flags() argument
1949 *may_flags = MAY_OPEN | MAY_READ | MAY_WRITE; in smb2_create_open_flags()
1952 *may_flags = MAY_OPEN | MAY_WRITE; in smb2_create_open_flags()
1955 *may_flags = MAY_OPEN | MAY_READ; in smb2_create_open_flags()
2478 int req_op_level = 0, open_flags = 0, may_flags = 0, file_info = 0; in smb2_open() local
2800 &may_flags); in smb2_open()
2848 may_flags); in smb2_open()