Lines Matching refs:fmode
508 * @fmode is the open file mode, if we are opening a file, otherwise
514 int fmode, unsigned issued, unsigned wanted,
532 if (fmode >= 0)
533 wanted |= ceph_caps_for_mode(fmode);
626 if (fmode >= 0)
627 __ceph_get_fmode(ci, fmode);
2937 void ceph_put_fmode(struct ceph_inode_info *ci, int fmode)
2943 dout("put_fmode %p fmode %d %d -> %d\n", inode, fmode,
2944 ci->i_nr_by_mode[fmode], ci->i_nr_by_mode[fmode]-1);
2945 BUG_ON(ci->i_nr_by_mode[fmode] == 0);
2946 if (--ci->i_nr_by_mode[fmode] == 0)