Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/fs/nfsd/
H A Dfilecache.h61 unsigned int may_flags, struct nfsd_file **nfp);
63 unsigned int may_flags, struct nfsd_file **nfp);
65 unsigned int may_flags, struct file *file,
H A Dfilecache.c986 unsigned int may_flags, struct file *file, in nfsd_file_do_acquire()
989 unsigned char need = may_flags & NFSD_FILE_MAY_MASK; in nfsd_file_do_acquire()
1000 may_flags|NFSD_MAY_OWNER_OVERRIDE); in nfsd_file_do_acquire()
1045 trace_nfsd_file_insert_err(rqstp, inode, may_flags, ret); in nfsd_file_do_acquire()
1054 trace_nfsd_file_cons_err(rqstp, inode, may_flags, nf); in nfsd_file_do_acquire()
1065 status = nfserrno(nfsd_open_break_lease(file_inode(nf->nf_file), may_flags)); in nfsd_file_do_acquire()
1077 trace_nfsd_file_acquire(rqstp, inode, may_flags, nf, status); in nfsd_file_do_acquire()
1090 ret = nfsd_open_verified(rqstp, fhp, may_flags, in nfsd_file_do_acquire()
1129 * @may_flags: NFSD_MAY_ settings for the file
1145 unsigned int may_flags, struc in nfsd_file_acquire_gc()
985 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) nfsd_file_do_acquire() argument
1144 nfsd_file_acquire_gc(struct svc_rqst *rqstp, struct svc_fh *fhp, unsigned int may_flags, struct nfsd_file **pnf) nfsd_file_acquire_gc() argument
1168 nfsd_file_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp, unsigned int may_flags, struct nfsd_file **pnf) nfsd_file_acquire() argument
1193 nfsd_file_acquire_opened(struct svc_rqst *rqstp, struct svc_fh *fhp, unsigned int may_flags, struct file *file, struct nfsd_file **pnf) nfsd_file_acquire_opened() argument
[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;
976 TP_printk("xid=0x%x inode=%p may_flags=%s ref=%u nf_flags=%s nf_may=%s nf_file=%p status=%u",
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)
[all...]
H A Dvfs.c822 * The may_flags argument indicates the type of open (read/write/lock)
828 int may_flags, struct file **filp) in __nfsd_open()
840 if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE)) in __nfsd_open()
846 host_err = nfsd_open_break_lease(inode, may_flags); in __nfsd_open()
850 if (may_flags & NFSD_MAY_WRITE) { in __nfsd_open()
851 if (may_flags & NFSD_MAY_READ) in __nfsd_open()
863 host_err = ima_file_check(file, may_flags); in __nfsd_open()
869 if (may_flags & NFSD_MAY_64BIT_COOKIE) in __nfsd_open()
881 int may_flags, struct file **filp) in nfsd_open()
899 may_flags | in nfsd_open()
827 __nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int may_flags, struct file **filp) __nfsd_open() argument
880 nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int may_flags, struct file **filp) nfsd_open() argument
924 nfsd_open_verified(struct svc_rqst *rqstp, struct svc_fh *fhp, int may_flags, struct file **filp) nfsd_open_verified() argument
2103 int may_flags = NFSD_MAY_READ; nfsd_readdir() local
[all...]
H A Dvfs.h108 int may_flags, struct file **filp);
/kernel/linux/linux-5.10/fs/nfsd/
H A Dfilecache.c883 nfsd_file_find_locked(struct inode *inode, unsigned int may_flags, in nfsd_file_find_locked() argument
887 unsigned char need = may_flags & NFSD_FILE_MAY_MASK; in nfsd_file_find_locked()
938 unsigned int may_flags, struct nfsd_file **pnf) in nfsd_file_acquire()
949 may_flags|NFSD_MAY_OWNER_OVERRIDE); in nfsd_file_acquire()
957 nf = nfsd_file_find_locked(inode, may_flags, hashval, net); in nfsd_file_acquire()
962 new = nfsd_file_alloc(inode, may_flags, hashval, net); in nfsd_file_acquire()
964 trace_nfsd_file_acquire(rqstp, hashval, inode, may_flags, in nfsd_file_acquire()
970 nf = nfsd_file_find_locked(inode, may_flags, hashval, net); in nfsd_file_acquire()
992 if (!(may_flags & NFSD_MAY_NOT_BREAK_LEASE)) { in nfsd_file_acquire()
993 bool write = (may_flags in nfsd_file_acquire()
937 nfsd_file_acquire(struct svc_rqst *rqstp, struct svc_fh *fhp, unsigned int may_flags, struct nfsd_file **pnf) nfsd_file_acquire() argument
[all...]
H A Dvfs.c735 * The may_flags argument indicates the type of open (read/write/lock)
741 int may_flags, struct file **filp) in __nfsd_open()
758 if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE)) in __nfsd_open()
771 host_err = nfsd_open_break_lease(inode, may_flags); in __nfsd_open()
775 if (may_flags & NFSD_MAY_WRITE) { in __nfsd_open()
776 if (may_flags & NFSD_MAY_READ) in __nfsd_open()
788 host_err = ima_file_check(file, may_flags); in __nfsd_open()
794 if (may_flags & NFSD_MAY_64BIT_COOKIE) in __nfsd_open()
808 int may_flags, struct file **filp) in nfsd_open()
825 may_flags | in nfsd_open()
740 __nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int may_flags, struct file **filp) __nfsd_open() argument
807 nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int may_flags, struct file **filp) nfsd_open() argument
834 nfsd_open_verified(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int may_flags, struct file **filp) nfsd_open_verified() argument
2043 int may_flags = NFSD_MAY_READ; nfsd_readdir() local
[all...]
H A Dfilecache.h61 unsigned int may_flags, struct nfsd_file **nfp);
H A Dtrace.h457 struct inode *inode, unsigned int may_flags,
460 TP_ARGS(rqstp, hash, inode, may_flags, nf, status),
466 __field(unsigned int, may_flags)
478 __entry->may_flags = may_flags;
486 TP_printk("xid=0x%x hash=0x%x inode=0x%p may_flags=%s ref=%d nf_flags=%s nf_may=%s nf_file=0x%p status=%u",
488 show_nf_may(__entry->may_flags), __entry->nf_ref,
/kernel/linux/linux-6.6/fs/smb/server/
H A Dsmb2pdu.c2062 * @may_flags: set with MAY_ flags
2068 int *may_flags) in smb2_create_open_flags()
2075 *may_flags = MAY_OPEN | MAY_READ | MAY_WRITE; in smb2_create_open_flags()
2078 *may_flags = MAY_OPEN | MAY_WRITE; in smb2_create_open_flags()
2081 *may_flags = MAY_OPEN | MAY_READ; in smb2_create_open_flags()
2669 int req_op_level = 0, open_flags = 0, may_flags = 0, file_info = 0; in smb2_open() local
2984 &may_flags); in smb2_open()
3033 may_flags); in smb2_open()
2066 smb2_create_open_flags(bool file_present, __le32 access, __le32 disposition, int *may_flags) smb2_create_open_flags() argument

Completed in 18 milliseconds