• Home
  • Raw
  • Download

Lines Matching refs:fmode

203 					int fmode, bool isdir)  in ceph_init_file_info()  argument
236 ceph_get_fmode(ci, fmode, 1); in ceph_init_file_info()
237 fi->fmode = fmode; in ceph_init_file_info()
253 ceph_put_fmode(ci, fi->fmode, 1); in ceph_init_file_info()
264 static int ceph_init_file(struct inode *inode, struct file *file, int fmode) in ceph_init_file() argument
273 ret = ceph_init_file_info(inode, file, fmode, in ceph_init_file()
300 int ceph_renew_caps(struct inode *inode, int fmode) in ceph_renew_caps() argument
308 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_renew_caps()
364 int flags, fmode, wanted; in ceph_open() local
378 fmode = ceph_flags_to_mode(flags); in ceph_open()
379 wanted = ceph_caps_for_mode(fmode); in ceph_open()
387 return ceph_init_file(inode, file, fmode); in ceph_open()
397 (((fmode & CEPH_FILE_MODE_WR) == 0) || ci->i_auth_cap)) { in ceph_open()
402 inode, fmode, ceph_cap_string(wanted), in ceph_open()
404 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
413 return ceph_init_file(inode, file, fmode); in ceph_open()
416 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
418 return ceph_init_file(inode, file, fmode); in ceph_open()
423 dout("open fmode %d wants %s\n", fmode, ceph_cap_string(wanted)); in ceph_open()
882 ceph_put_fmode(ci, dfi->file_info.fmode, 1); in ceph_release()
895 ceph_put_fmode(ci, fi->fmode, 1); in ceph_release()
1626 if (fi->fmode & CEPH_FILE_MODE_LAZY) in ceph_read_iter()
1836 if (fi->fmode & CEPH_FILE_MODE_LAZY) in ceph_write_iter()
2126 if (fi->fmode & CEPH_FILE_MODE_LAZY) in ceph_fallocate()