Lines Matching refs:new_cap
515 struct ceph_cap **new_cap) in ceph_add_cap() argument
535 cap = *new_cap; in ceph_add_cap()
536 *new_cap = NULL; in ceph_add_cap()
3195 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local
3261 t_seq - 1, t_mseq, (u64)-1, flag, &new_cap); in handle_cap_export()
3282 new_cap = ceph_get_cap(mdsc, NULL); in handle_cap_export()
3297 if (new_cap) in handle_cap_export()
3298 ceph_put_cap(mdsc, new_cap); in handle_cap_export()
3314 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import() local
3341 if (!new_cap) { in handle_cap_import()
3343 new_cap = ceph_get_cap(mdsc, NULL); in handle_cap_import()
3346 cap = new_cap; in handle_cap_import()
3348 if (new_cap) { in handle_cap_import()
3349 ceph_put_cap(mdsc, new_cap); in handle_cap_import()
3350 new_cap = NULL; in handle_cap_import()
3358 realmino, CEPH_CAP_FLAG_AUTH, &new_cap); in handle_cap_import()