• Home
  • Raw
  • Download

Lines Matching refs:issued

542 int ceph_fill_file_size(struct inode *inode, int issued,  in ceph_fill_file_size()  argument
560 WARN_ON_ONCE(issued & (CEPH_CAP_FILE_EXCL | in ceph_fill_file_size()
570 if ((issued & (CEPH_CAP_FILE_CACHE| in ceph_fill_file_size()
592 void ceph_fill_file_time(struct inode *inode, int issued, in ceph_fill_file_time() argument
599 if (issued & (CEPH_CAP_FILE_EXCL| in ceph_fill_file_time()
637 } else if (issued & CEPH_CAP_FILE_EXCL) { in ceph_fill_file_time()
672 int issued = 0, implemented, new_issued; in fill_inode() local
720 issued = __ceph_caps_issued(ci, &implemented); in fill_inode()
721 issued |= implemented | __ceph_caps_dirty(ci); in fill_inode()
722 new_issued = ~issued & le32_to_cpu(info->cap.caps); in fill_inode()
736 (issued & CEPH_CAP_AUTH_EXCL) == 0) { in fill_inode()
746 (issued & CEPH_CAP_LINK_EXCL) == 0) in fill_inode()
754 ceph_fill_file_time(inode, issued, in fill_inode()
765 queue_trunc = ceph_fill_file_size(inode, issued, in fill_inode()
780 if ((ci->i_xattrs.version == 0 || !(issued & CEPH_CAP_XATTR_EXCL)) && in fill_inode()
867 (issued & CEPH_CAP_FILE_EXCL) == 0 && in fill_inode()
1788 int issued; in __ceph_setattr() local
1814 issued = __ceph_caps_issued(ci, NULL); in __ceph_setattr()
1817 (issued & (CEPH_CAP_ANY_EXCL | CEPH_CAP_FILE_WR))) { in __ceph_setattr()
1823 issued = __ceph_caps_issued(ci, NULL); in __ceph_setattr()
1827 dout("setattr %p issued %s\n", inode, ceph_cap_string(issued)); in __ceph_setattr()
1833 if (issued & CEPH_CAP_AUTH_EXCL) { in __ceph_setattr()
1836 } else if ((issued & CEPH_CAP_AUTH_SHARED) == 0 || in __ceph_setattr()
1848 if (issued & CEPH_CAP_AUTH_EXCL) { in __ceph_setattr()
1851 } else if ((issued & CEPH_CAP_AUTH_SHARED) == 0 || in __ceph_setattr()
1862 if (issued & CEPH_CAP_AUTH_EXCL) { in __ceph_setattr()
1865 } else if ((issued & CEPH_CAP_AUTH_SHARED) == 0 || in __ceph_setattr()
1878 if (issued & CEPH_CAP_FILE_EXCL) { in __ceph_setattr()
1882 } else if ((issued & CEPH_CAP_FILE_WR) && in __ceph_setattr()
1887 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
1900 if (issued & CEPH_CAP_FILE_EXCL) { in __ceph_setattr()
1904 } else if ((issued & CEPH_CAP_FILE_WR) && in __ceph_setattr()
1909 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
1921 if ((issued & CEPH_CAP_FILE_EXCL) && in __ceph_setattr()
1929 } else if ((issued & CEPH_CAP_FILE_SHARED) == 0 || in __ceph_setattr()
1955 if (issued & CEPH_CAP_AUTH_EXCL) in __ceph_setattr()
1957 else if (issued & CEPH_CAP_FILE_EXCL) in __ceph_setattr()
1959 else if (issued & CEPH_CAP_XATTR_EXCL) in __ceph_setattr()
1974 release &= issued; in __ceph_setattr()