Home
last modified time | relevance | path

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

/linux/fs/nfsd/
H A Dfilecache.c1088 unsigned int may_flags, struct file *file, in nfsd_file_do_acquire() argument
1091 unsigned char need = may_flags & NFSD_FILE_MAY_MASK; in nfsd_file_do_acquire()
1102 may_flags|NFSD_MAY_OWNER_OVERRIDE); in nfsd_file_do_acquire()
1105 may_flags|NFSD_MAY_OWNER_OVERRIDE); in nfsd_file_do_acquire()
1141 trace_nfsd_file_insert_err(rqstp, inode, may_flags, ret); in nfsd_file_do_acquire()
1150 trace_nfsd_file_cons_err(rqstp, inode, may_flags, nf); in nfsd_file_do_acquire()
1162 status = nfserrno(nfsd_open_break_lease(file_inode(nf->nf_file), may_flags)); in nfsd_file_do_acquire()
1174 trace_nfsd_file_acquire(rqstp, inode, may_flags, nf, status); in nfsd_file_do_acquire()
1190 ret = nfsd_open_verified(fhp, type, may_flags, &nf->nf_file); in nfsd_file_do_acquire()
1249 unsigned int may_flags, struct nfsd_file **pnf) in nfsd_file_acquire_gc() argument
[all …]
H A Dvfs.c898 __nfsd_open(struct svc_fh *fhp, umode_t type, int may_flags, struct file **filp) in __nfsd_open() argument
910 if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE)) in __nfsd_open()
916 host_err = nfsd_open_break_lease(inode, may_flags); in __nfsd_open()
920 if (may_flags & NFSD_MAY_WRITE) { in __nfsd_open()
921 if (may_flags & NFSD_MAY_READ) in __nfsd_open()
933 host_err = security_file_post_open(file, may_flags); in __nfsd_open()
946 int may_flags, struct file **filp) in nfsd_open() argument
964 may_flags |= NFSD_MAY_OWNER_OVERRIDE; in nfsd_open()
966 err = fh_verify(rqstp, fhp, type, may_flags); in nfsd_open()
968 host_err = __nfsd_open(fhp, type, may_flags, filp); in nfsd_open()
[all …]
H A Dvfs.h119 int nfsd_open_verified(struct svc_fh *fhp, umode_t type, int may_flags,
/linux/fs/smb/server/
H A Dsmb2pdu.c2109 int *may_flags, in smb2_create_open_flags() argument
2123 *may_flags = MAY_OPEN | MAY_READ | MAY_WRITE; in smb2_create_open_flags()
2126 *may_flags = MAY_OPEN | MAY_WRITE; in smb2_create_open_flags()
2129 *may_flags = MAY_OPEN | MAY_READ; in smb2_create_open_flags()
2894 int req_op_level = 0, open_flags = 0, may_flags = 0, file_info = 0; in smb2_open() local
3246 &may_flags, in smb2_open()
3297 may_flags); in smb2_open()