Lines Matching defs:drop
1375 cap->issued &= retain; /* drop bits we don't want */
3052 * drop cap refs first because getattr while
3093 * drop cap_snap that is not associated with any snapshot.
3298 * Invalidate unlinked inode's aliases, so we can drop the inode ASAP.
3349 * caller holds s_mutex and i_ceph_lock, we drop both.
3660 bool drop = false;
3724 drop = true;
3752 if (drop)
4490 * For a soon-to-be unlinked file, drop the LINK caps. If it
4491 * looks like the link count will hit 0, drop any other caps (other
4498 int drop = CEPH_CAP_LINK_SHARED | CEPH_CAP_LINK_EXCL;
4502 drop |= ~(__ceph_caps_wanted(ci) | CEPH_CAP_PIN);
4511 return drop;
4520 * drop.
4523 int mds, int drop, int unless, int force)
4535 dout("encode_inode_release %p mds%d used|dirty %s drop %s unless %s\n",
4536 inode, mds, ceph_cap_string(used|dirty), ceph_cap_string(drop),
4539 /* only drop unused, clean caps */
4540 drop &= ~(used | dirty);
4547 drop &= ~CEPH_CAP_AUTH_SHARED;
4549 drop &= ~CEPH_CAP_LINK_SHARED;
4551 drop &= ~CEPH_CAP_XATTR_SHARED;
4553 drop &= ~CEPH_CAP_FILE_SHARED;
4556 if (force || (cap->issued & drop)) {
4557 if (cap->issued & drop) {
4562 ceph_cap_string(cap->issued & ~drop),
4566 cap->issued &= ~drop;
4567 cap->implemented &= ~drop;
4600 int mds, int drop, int unless)
4621 ret = ceph_encode_inode_release(p, dir, mds, drop, unless, force);