Lines Matching defs:fmode
201 int fmode, bool isdir)
235 ceph_get_fmode(ci, fmode, 1);
236 fi->fmode = fmode;
252 ceph_put_fmode(ci, fi->fmode, 1);
261 * if we fail, clean up by dropping fmode reference on the ceph_inode
263 static int ceph_init_file(struct inode *inode, struct file *file, int fmode)
273 ret = ceph_init_file_info(inode, file, fmode,
300 int ceph_renew_caps(struct inode *inode, int fmode)
309 __ceph_touch_fmode(ci, mdsc, fmode);
368 int flags, fmode, wanted;
387 fmode = ceph_flags_to_mode(flags);
388 wanted = ceph_caps_for_mode(fmode);
396 return ceph_init_file(inode, file, fmode);
406 (((fmode & CEPH_FILE_MODE_WR) == 0) || ci->i_auth_cap)) {
410 doutc(cl, "open %p fmode %d want %s issued %s using existing\n",
411 inode, fmode, ceph_cap_string(wanted),
413 __ceph_touch_fmode(ci, mdsc, fmode);
422 return ceph_init_file(inode, file, fmode);
425 __ceph_touch_fmode(ci, mdsc, fmode);
427 return ceph_init_file(inode, file, fmode);
432 doutc(cl, "open fmode %d wants %s\n", fmode, ceph_cap_string(wanted));
946 ceph_put_fmode(ci, dfi->file_info.fmode, 1);
960 ceph_put_fmode(ci, fi->fmode, 1);
2075 if (fi->fmode & CEPH_FILE_MODE_LAZY)
2227 if (fi->fmode & CEPH_FILE_MODE_LAZY)
2351 if (fi->fmode & CEPH_FILE_MODE_LAZY)
2642 if (fi->fmode & CEPH_FILE_MODE_LAZY)