Lines Matching refs:fmode
204 int fmode, bool isdir) in ceph_init_file_info() argument
231 ceph_get_fmode(ci, fmode, 1); in ceph_init_file_info()
232 fi->fmode = fmode; in ceph_init_file_info()
246 static int ceph_init_file(struct inode *inode, struct file *file, int fmode) in ceph_init_file() argument
256 ret = ceph_init_file_info(inode, file, fmode, in ceph_init_file()
283 int ceph_renew_caps(struct inode *inode, int fmode) in ceph_renew_caps() argument
291 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_renew_caps()
347 int flags, fmode, wanted; in ceph_open() local
361 fmode = ceph_flags_to_mode(flags); in ceph_open()
362 wanted = ceph_caps_for_mode(fmode); in ceph_open()
370 return ceph_init_file(inode, file, fmode); in ceph_open()
380 (((fmode & CEPH_FILE_MODE_WR) == 0) || ci->i_auth_cap)) { in ceph_open()
385 inode, fmode, ceph_cap_string(wanted), in ceph_open()
387 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
396 return ceph_init_file(inode, file, fmode); in ceph_open()
399 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
401 return ceph_init_file(inode, file, fmode); in ceph_open()
406 dout("open fmode %d wants %s\n", fmode, ceph_cap_string(wanted)); in ceph_open()
791 ceph_put_fmode(ci, dfi->file_info.fmode, 1); in ceph_release()
803 ceph_put_fmode(ci, fi->fmode, 1); in ceph_release()
1528 if (fi->fmode & CEPH_FILE_MODE_LAZY) in ceph_read_iter()
1751 if (fi->fmode & CEPH_FILE_MODE_LAZY) in ceph_write_iter()
2081 if (fi->fmode & CEPH_FILE_MODE_LAZY) in ceph_fallocate()