Lines Matching defs:drop
1389 cap->issued &= retain; /* drop bits we don't want */
3068 * drop cap refs first because getattr while
3113 * drop cap_snap that is not associated with any snapshot.
3350 * Invalidate unlinked inode's aliases, so we can drop the inode ASAP.
3404 * caller holds s_mutex and i_ceph_lock, we drop both.
3737 bool drop = false;
3801 drop = true;
3829 if (drop)
4660 * For a soon-to-be unlinked file, drop the LINK caps. If it
4661 * looks like the link count will hit 0, drop any other caps (other
4668 int drop = CEPH_CAP_LINK_SHARED | CEPH_CAP_LINK_EXCL;
4672 drop |= ~(__ceph_caps_wanted(ci) | CEPH_CAP_PIN);
4681 return drop;
4690 * drop.
4693 int mds, int drop, int unless, int force)
4705 dout("encode_inode_release %p mds%d used|dirty %s drop %s unless %s\n",
4706 inode, mds, ceph_cap_string(used|dirty), ceph_cap_string(drop),
4709 /* only drop unused, clean caps */
4710 drop &= ~(used | dirty);
4717 drop &= ~CEPH_CAP_AUTH_SHARED;
4719 drop &= ~CEPH_CAP_LINK_SHARED;
4721 drop &= ~CEPH_CAP_XATTR_SHARED;
4723 drop &= ~CEPH_CAP_FILE_SHARED;
4726 if (force || (cap->issued & drop)) {
4727 if (cap->issued & drop) {
4732 ceph_cap_string(cap->issued & ~drop),
4736 cap->issued &= ~drop;
4737 cap->implemented &= ~drop;
4774 * @drop: caps being dropped
4782 int mds, int drop, int unless)
4803 ret = ceph_encode_inode_release(p, dir, mds, drop, unless, force);