Lines Matching refs:fmode

199 					int fmode, bool isdir)  in ceph_init_file_info()  argument
232 ceph_get_fmode(ci, fmode, 1); in ceph_init_file_info()
233 fi->fmode = fmode; in ceph_init_file_info()
249 ceph_put_fmode(ci, fi->fmode, 1); in ceph_init_file_info()
260 static int ceph_init_file(struct inode *inode, struct file *file, int fmode) in ceph_init_file() argument
269 ret = ceph_init_file_info(inode, file, fmode, in ceph_init_file()
296 int ceph_renew_caps(struct inode *inode, int fmode) in ceph_renew_caps() argument
304 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_renew_caps()
360 int flags, fmode, wanted; in ceph_open() local
379 fmode = ceph_flags_to_mode(flags); in ceph_open()
380 wanted = ceph_caps_for_mode(fmode); in ceph_open()
388 return ceph_init_file(inode, file, fmode); in ceph_open()
398 (((fmode & CEPH_FILE_MODE_WR) == 0) || ci->i_auth_cap)) { in ceph_open()
403 inode, fmode, ceph_cap_string(wanted), in ceph_open()
405 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
414 return ceph_init_file(inode, file, fmode); in ceph_open()
417 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
419 return ceph_init_file(inode, file, fmode); in ceph_open()
424 dout("open fmode %d wants %s\n", fmode, ceph_cap_string(wanted)); in ceph_open()
921 ceph_put_fmode(ci, dfi->file_info.fmode, 1); in ceph_release()
934 ceph_put_fmode(ci, fi->fmode, 1); in ceph_release()
2031 if (fi->fmode & CEPH_FILE_MODE_LAZY) in ceph_read_iter()
2181 if (fi->fmode & CEPH_FILE_MODE_LAZY) in ceph_splice_read()
2303 if (fi->fmode & CEPH_FILE_MODE_LAZY) in ceph_write_iter()
2593 if (fi->fmode & CEPH_FILE_MODE_LAZY) in ceph_fallocate()