Lines Matching refs:retain
1109 int op, int used, int want, int retain, int flushing, in __send_cap() argument
1133 retain &= ~revoking; in __send_cap()
1134 dropping = cap->issued & ~retain; in __send_cap()
1138 ceph_cap_string(held), ceph_cap_string(held & retain), in __send_cap()
1140 BUG_ON((retain & CEPH_CAP_PIN) == 0); in __send_cap()
1149 ceph_cap_string(cap->issued & retain), in __send_cap()
1153 retain |= cap->issued; in __send_cap()
1158 cap->issued &= retain; /* drop bits we don't want */ in __send_cap()
1579 int issued, implemented, want, retain, revoking, flushing = 0; in ceph_check_caps() local
1610 retain = file_wanted | used | CEPH_CAP_PIN; in ceph_check_caps()
1613 retain |= CEPH_CAP_ANY; /* be greedy */ in ceph_check_caps()
1624 retain |= want; in ceph_check_caps()
1627 retain |= CEPH_CAP_ANY_SHARED; in ceph_check_caps()
1634 retain |= CEPH_CAP_ANY_RD; in ceph_check_caps()
1644 ceph_cap_string(retain), in ceph_check_caps()
1738 if ((cap->issued & ~retain) == 0 && in ceph_check_caps()
1750 ceph_cap_string(cap->issued & retain), in ceph_check_caps()
1812 want, retain, flushing, in ceph_check_caps()