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

/linux-master/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.c981 unsigned int may_flags, struct file *file,
984 unsigned char need = may_flags & NFSD_FILE_MAY_MASK;
995 may_flags|NFSD_MAY_OWNER_OVERRIDE);
1040 trace_nfsd_file_insert_err(rqstp, inode, may_flags, ret);
1049 trace_nfsd_file_cons_err(rqstp, inode, may_flags, nf);
1060 status = nfserrno(nfsd_open_break_lease(file_inode(nf->nf_file), may_flags));
1072 trace_nfsd_file_acquire(rqstp, inode, may_flags, nf, status);
1085 ret = nfsd_open_verified(rqstp, fhp, may_flags,
1124 * @may_flags: NFSD_MAY_ settings for the file
1140 unsigned int may_flags, struc
980 nfsd_file_do_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp, unsigned int may_flags, struct file *file, struct nfsd_file **pnf, bool want_gc) argument
1139 nfsd_file_acquire_gc(struct svc_rqst *rqstp, struct svc_fh *fhp, unsigned int may_flags, struct nfsd_file **pnf) argument
1163 nfsd_file_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp, unsigned int may_flags, struct nfsd_file **pnf) argument
1188 nfsd_file_acquire_opened(struct svc_rqst *rqstp, struct svc_fh *fhp, unsigned int may_flags, struct file *file, struct nfsd_file **pnf) argument
[all...]
H A Dtrace.h1000 unsigned int may_flags,
1005 TP_ARGS(rqstp, inode, may_flags, nf, status),
1010 __field(unsigned long, may_flags)
1021 __entry->may_flags = may_flags;
1029 TP_printk("xid=0x%x inode=%p may_flags=%s ref=%u nf_flags=%s nf_may=%s nf_file=%p status=%u",
1031 show_nfsd_may_flags(__entry->may_flags),
1042 unsigned int may_flags,
1045 TP_ARGS(rqstp, inode, may_flags, error),
1049 __field(unsigned long, may_flags)
[all...]
H A Dvfs.c856 * The may_flags argument indicates the type of open (read/write/lock)
862 int may_flags, struct file **filp)
874 if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE))
880 host_err = nfsd_open_break_lease(inode, may_flags);
884 if (may_flags & NFSD_MAY_WRITE) {
885 if (may_flags & NFSD_MAY_READ)
897 host_err = security_file_post_open(file, may_flags);
903 if (may_flags & NFSD_MAY_64BIT_COOKIE)
915 int may_flags, struct file **filp)
933 may_flags |
861 __nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int may_flags, struct file **filp) argument
914 nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int may_flags, struct file **filp) argument
958 nfsd_open_verified(struct svc_rqst *rqstp, struct svc_fh *fhp, int may_flags, struct file **filp) argument
2179 int may_flags = NFSD_MAY_READ; local
[all...]
H A Dvfs.h108 int may_flags, struct file **filp);
/linux-master/fs/smb/server/
H A Dsmb2pdu.c2047 * @may_flags: set with MAY_ flags
2053 int *may_flags)
2060 *may_flags = MAY_OPEN | MAY_READ | MAY_WRITE;
2063 *may_flags = MAY_OPEN | MAY_WRITE;
2066 *may_flags = MAY_OPEN | MAY_READ;
2814 int req_op_level = 0, open_flags = 0, may_flags = 0, file_info = 0; local
3172 &may_flags);
3221 may_flags);
2051 smb2_create_open_flags(bool file_present, __le32 access, __le32 disposition, int *may_flags) argument

Completed in 146 milliseconds