Lines Matching refs:issued

612 int ceph_fill_file_size(struct inode *inode, int issued,  in ceph_fill_file_size()  argument
634 WARN_ON_ONCE(issued & (CEPH_CAP_FILE_EXCL | in ceph_fill_file_size()
644 if ((issued & (CEPH_CAP_FILE_CACHE| in ceph_fill_file_size()
666 void ceph_fill_file_time(struct inode *inode, int issued, in ceph_fill_file_time() argument
673 if (issued & (CEPH_CAP_FILE_EXCL| in ceph_fill_file_time()
713 } else if (issued & CEPH_CAP_FILE_EXCL) { in ceph_fill_file_time()
748 int issued, new_issued, info_caps; in fill_inode() local
807 __ceph_caps_issued(ci, &issued); in fill_inode()
808 issued |= __ceph_caps_dirty(ci); in fill_inode()
809 new_issued = ~issued & info_caps; in fill_inode()
823 (issued & CEPH_CAP_AUTH_EXCL) == 0) { in fill_inode()
833 (issued & CEPH_CAP_LINK_EXCL) == 0) in fill_inode()
841 ceph_fill_file_time(inode, issued, in fill_inode()
866 queue_trunc = ceph_fill_file_size(inode, issued, in fill_inode()
893 if ((ci->i_xattrs.version == 0 || !(issued & CEPH_CAP_XATTR_EXCL)) && in fill_inode()
978 (issued & CEPH_CAP_FILE_EXCL) == 0 && in fill_inode()
1968 int issued; in __ceph_setattr() local
1987 issued = __ceph_caps_issued(ci, NULL); in __ceph_setattr()
1990 (issued & (CEPH_CAP_ANY_EXCL | CEPH_CAP_FILE_WR))) { in __ceph_setattr()
1996 issued = __ceph_caps_issued(ci, NULL); in __ceph_setattr()
2000 dout("setattr %p issued %s\n", inode, ceph_cap_string(issued)); in __ceph_setattr()
2006 if (issued & CEPH_CAP_AUTH_EXCL) { in __ceph_setattr()
2009 } else if ((issued & CEPH_CAP_AUTH_SHARED) == 0 || in __ceph_setattr()
2021 if (issued & CEPH_CAP_AUTH_EXCL) { in __ceph_setattr()
2024 } else if ((issued & CEPH_CAP_AUTH_SHARED) == 0 || in __ceph_setattr()
2035 if (issued & CEPH_CAP_AUTH_EXCL) { in __ceph_setattr()
2038 } else if ((issued & CEPH_CAP_AUTH_SHARED) == 0 || in __ceph_setattr()
2051 if (issued & CEPH_CAP_FILE_EXCL) { in __ceph_setattr()
2055 } else if ((issued & CEPH_CAP_FILE_WR) && in __ceph_setattr()
2060 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2073 if (issued & CEPH_CAP_FILE_EXCL) { in __ceph_setattr()
2077 } else if ((issued & CEPH_CAP_FILE_WR) && in __ceph_setattr()
2082 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2094 if ((issued & CEPH_CAP_FILE_EXCL) && in __ceph_setattr()
2100 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
2125 if (issued & CEPH_CAP_AUTH_EXCL) in __ceph_setattr()
2127 else if (issued & CEPH_CAP_FILE_EXCL) in __ceph_setattr()
2129 else if (issued & CEPH_CAP_XATTR_EXCL) in __ceph_setattr()
2144 release &= issued; in __ceph_setattr()