Lines Matching refs:retain
1129 int op, int used, int want, int retain, int flushing, in __send_cap() argument
1155 retain &= ~revoking; in __send_cap()
1156 dropping = cap->issued & ~retain; in __send_cap()
1160 ceph_cap_string(held), ceph_cap_string(held & retain), in __send_cap()
1162 BUG_ON((retain & CEPH_CAP_PIN) == 0); in __send_cap()
1171 ceph_cap_string(cap->issued & retain), in __send_cap()
1175 retain |= cap->issued; in __send_cap()
1180 cap->issued &= retain; /* drop bits we don't want */ in __send_cap()
1529 int issued, implemented, want, retain, revoking, flushing = 0; in ceph_check_caps() local
1560 retain = want | CEPH_CAP_PIN; in ceph_check_caps()
1563 retain |= CEPH_CAP_ANY; /* be greedy */ in ceph_check_caps()
1574 retain |= want; in ceph_check_caps()
1577 retain |= CEPH_CAP_ANY_SHARED; in ceph_check_caps()
1584 retain |= CEPH_CAP_ANY_RD; in ceph_check_caps()
1594 ceph_cap_string(retain), in ceph_check_caps()
1688 if ((cap->issued & ~retain) == 0 && in ceph_check_caps()
1700 ceph_cap_string(cap->issued & retain), in ceph_check_caps()
1755 want, retain, flushing, NULL); in ceph_check_caps()