Lines Matching refs:retain
1284 int op, bool sync, int used, int want, int retain, in __send_cap() argument
1299 retain &= ~revoking; in __send_cap()
1303 ceph_cap_string(held), ceph_cap_string(held & retain), in __send_cap()
1305 BUG_ON((retain & CEPH_CAP_PIN) == 0); in __send_cap()
1314 ceph_cap_string(cap->issued & retain), in __send_cap()
1318 retain |= cap->issued; in __send_cap()
1330 cap->issued &= retain; /* drop bits we don't want */ in __send_cap()
1842 int issued, implemented, want, retain, revoking, flushing = 0; in ceph_check_caps() local
1874 retain = file_wanted | used | CEPH_CAP_PIN; in ceph_check_caps()
1877 retain |= CEPH_CAP_ANY; /* be greedy */ in ceph_check_caps()
1888 retain |= want; in ceph_check_caps()
1891 retain |= CEPH_CAP_ANY_SHARED; in ceph_check_caps()
1898 retain |= CEPH_CAP_ANY_RD; in ceph_check_caps()
1908 ceph_cap_string(retain), in ceph_check_caps()
1999 if ((cap->issued & ~retain) == 0 && in ceph_check_caps()
2011 ceph_cap_string(cap->issued & retain), in ceph_check_caps()
2101 cap_used, want, retain, flushing, in ceph_check_caps()