Lines Matching refs:oo
3893 rfs4_openowner_t *oo;
3989 for (oo = list_head(&lo->rl_client->rc_openownerlist); oo != NULL;
3990 oo = list_next(&lo->rl_client->rc_openownerlist, oo)) {
3992 rfs4_dbe_lock(oo->ro_dbe);
3993 for (sp = list_head(&oo->ro_statelist); sp != NULL;
3994 sp = list_next(&oo->ro_statelist, sp)) {
4008 rfs4_dbe_unlock(oo->ro_dbe);
6693 rfs4_openowner_t *oo, delegreq_t deleg,
6721 sp = rfs4_findstate_by_owner_file(oo, fp, &screate);
6732 if ((status = rfs4_client_sysid(oo->ro_client, &sysid)) != NFS4_OK) {
6932 OPEN4args *args, rfs4_openowner_t *oo, OPEN4res *resp)
6947 oo->ro_client->rc_clientid);
6954 rfs4_do_open(cs, req, oo,
6955 oo->ro_need_confirm ? DELEG_NONE : DELEG_ANY,
6976 OPEN4args *args, rfs4_openowner_t *oo, OPEN4res *resp)
7024 rfs4_do_open(cs, req, oo,
7031 OPEN4args *args, rfs4_openowner_t *oo, OPEN4res *resp)
7079 rfs4_do_open(cs, req, oo, DELEG_NONE,
7086 OPEN4args *args, rfs4_openowner_t *oo, OPEN4res *resp)
7121 sp = rfs4_findstate_by_owner_file(oo, fp, &create);
7287 rfs4_openowner_t *oo;
7325 oo = rfs4_findopenowner(owner, &create, args->seqid);
7326 if (oo == NULL) {
7333 rfs4_sw_enter(&oo->ro_sw);
7339 if (!create && !oo->ro_postpone_confirm) {
7340 switch (rfs4_check_open_seqid(args->seqid, oo, resop)) {
7342 if ((args->seqid > oo->ro_open_seqid) &&
7343 oo->ro_need_confirm) {
7344 rfs4_free_opens(oo, TRUE, FALSE);
7345 rfs4_sw_exit(&oo->ro_sw);
7346 rfs4_openowner_rele(oo);
7363 if (oo->ro_need_confirm) {
7364 rfs4_free_opens(oo, TRUE, FALSE);
7365 rfs4_sw_exit(&oo->ro_sw);
7366 rfs4_openowner_rele(oo);
7397 if (oo->ro_need_confirm) {
7404 oo->ro_need_confirm = FALSE;
7439 rfs4_do_opennull(cs, req, args, oo, resp);
7442 rfs4_do_openprev(cs, req, args, oo, resp);
7445 rfs4_do_opendelcur(cs, req, args, oo, resp);
7448 rfs4_do_opendelprev(cs, req, args, oo, resp);
7476 rfs4_update_lease(oo->ro_client);
7480 rfs4_update_open_resp(oo, resop, &cs->fh);
7489 oo->ro_reply_fh.nfs_fh4_val) {
7497 (nfs_fh4_fmt_t *)oo->ro_reply_fh.nfs_fh4_val;
7509 cs->vp = nfs4_fhtovp(&oo->ro_reply_fh, cs->exi,
7515 nfs_fh4_copy(&oo->ro_reply_fh, &cs->fh);
7525 rfs4_update_open_sequence(oo);
7536 if (resp->status != NFS4_OK && oo->ro_need_confirm)
7537 oo->ro_postpone_confirm = TRUE;
7543 if (resp->status == NFS4_OK && oo->ro_postpone_confirm) {
7544 oo->ro_postpone_confirm = FALSE;
7545 oo->ro_open_seqid = args->seqid;
7553 rfs4_sw_exit(&oo->ro_sw);
7554 rfs4_openowner_rele(oo);