Home
last modified time | relevance | path

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

/openbmc/linux/fs/nfsd/
H A Dfilecache.h62 unsigned int may_flags, struct nfsd_file **nfp);
64 unsigned int may_flags, struct nfsd_file **nfp);
66 unsigned int may_flags, struct file *file,
H A Dfilecache.c990 unsigned int may_flags, struct file *file, in nfsd_file_do_acquire() argument
993 unsigned char need = may_flags & NFSD_FILE_MAY_MASK; in nfsd_file_do_acquire()
1004 may_flags|NFSD_MAY_OWNER_OVERRIDE); in nfsd_file_do_acquire()
1047 trace_nfsd_file_insert_err(rqstp, inode, may_flags, ret); in nfsd_file_do_acquire()
1056 trace_nfsd_file_cons_err(rqstp, inode, may_flags, nf); in nfsd_file_do_acquire()
1068 status = nfserrno(nfsd_open_break_lease(file_inode(nf->nf_file), may_flags)); in nfsd_file_do_acquire()
1080 trace_nfsd_file_acquire(rqstp, inode, may_flags, nf, status); in nfsd_file_do_acquire()
1093 ret = nfsd_open_verified(rqstp, fhp, may_flags, in nfsd_file_do_acquire()
1148 unsigned int may_flags, struct nfsd_file **pnf) in nfsd_file_acquire_gc() argument
1150 return nfsd_file_do_acquire(rqstp, fhp, may_flags, NULL, pnf, true); in nfsd_file_acquire_gc()
[all …]
H A Dtrace.h947 unsigned int may_flags,
952 TP_ARGS(rqstp, inode, may_flags, nf, status),
957 __field(unsigned long, may_flags)
968 __entry->may_flags = may_flags;
978 show_nfsd_may_flags(__entry->may_flags),
989 unsigned int may_flags,
992 TP_ARGS(rqstp, inode, may_flags, error),
996 __field(unsigned long, may_flags)
1002 __entry->may_flags = may_flags;
1007 show_nfsd_may_flags(__entry->may_flags),
[all …]
H A Dvfs.c829 int may_flags, struct file **filp) in __nfsd_open() argument
841 if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE)) in __nfsd_open()
847 host_err = nfsd_open_break_lease(inode, may_flags); in __nfsd_open()
851 if (may_flags & NFSD_MAY_WRITE) { in __nfsd_open()
852 if (may_flags & NFSD_MAY_READ) in __nfsd_open()
864 host_err = ima_file_check(file, may_flags); in __nfsd_open()
870 if (may_flags & NFSD_MAY_64BIT_COOKIE) in __nfsd_open()
882 int may_flags, struct file **filp) in nfsd_open() argument
900 may_flags |= NFSD_MAY_OWNER_OVERRIDE; in nfsd_open()
902 err = fh_verify(rqstp, fhp, type, may_flags); in nfsd_open()
[all …]
H A Dvfs.h108 int may_flags, struct file **filp);
/openbmc/linux/fs/smb/server/
H A Dsmb2pdu.c2076 int *may_flags, in smb2_create_open_flags() argument
2089 *may_flags = MAY_OPEN | MAY_READ | MAY_WRITE; in smb2_create_open_flags()
2092 *may_flags = MAY_OPEN | MAY_WRITE; in smb2_create_open_flags()
2095 *may_flags = MAY_OPEN | MAY_READ; in smb2_create_open_flags()
2841 int req_op_level = 0, open_flags = 0, may_flags = 0, file_info = 0; in smb2_open() local
3190 &may_flags, in smb2_open()
3241 may_flags); in smb2_open()