| /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| H A D | snoop_nfs4.c | 1254 special_stateid(stateid4 *stateid) in special_stateid() argument 1257 if (! memcmp(stateid, &spec_stateid_0, sizeof (*stateid))) in special_stateid() 1260 if (! memcmp(stateid, &spec_stateid_1, sizeof (*stateid))) in special_stateid() 1267 _sum_stateid(stateid4 *stateid, char *prefix) in _sum_stateid() argument 1272 if ((spec = special_stateid(stateid)) < 0) in _sum_stateid() 1274 stateid_hash(stateid), stateid->seqid); in _sum_stateid() 1282 _detail_stateid(stateid4 *stateid, char *prefix) in _detail_stateid() argument 1287 spec = special_stateid(stateid); in _detail_stateid() 1291 prefix, stateid_hash(stateid)); in _detail_stateid() 1298 sizeof (stateid->other), in _detail_stateid() [all …]
|
| H A D | nfs4_xdr.c | 1672 if (!xdr_stateid4(xdrs, &objp->stateid)) in xdr_open_read_delegation4() 1685 if (!xdr_stateid4(xdrs, &objp->stateid)) in xdr_open_write_delegation4() 1725 if (!xdr_stateid4(xdrs, &objp->stateid)) in xdr_OPEN4resok() 1887 if (!xdr_stateid4(xdrs, &objp->stateid)) in xdr_READ4args() 2256 if (!xdr_stateid4(xdrs, &objp->stateid)) in xdr_SETATTR4args() 2370 if (!xdr_stateid4(xdrs, &objp->stateid)) in xdr_WRITE4args() 2857 if (!xdr_stateid4(xdrs, &objp->stateid)) in xdr_CB_RECALL4args()
|
| /illumos-gate/usr/src/uts/common/fs/nfs/ |
| H A D | nfs4_state.c | 3551 rfs4_get_state_lockit(stateid4 *stateid, rfs4_state_t **spp, in rfs4_get_state_lockit() argument 3554 stateid_t *id = (stateid_t *)stateid; in rfs4_get_state_lockit() 3582 rfs4_get_state(stateid4 *stateid, rfs4_state_t **spp, in rfs4_get_state() argument 3585 return (rfs4_get_state_lockit(stateid, spp, find_invalid, TRUE)); in rfs4_get_state() 3589 rfs4_get_state_nolock(stateid4 *stateid, rfs4_state_t **spp, in rfs4_get_state_nolock() argument 3592 return (rfs4_get_state_lockit(stateid, spp, find_invalid, FALSE)); in rfs4_get_state_nolock() 3596 rfs4_check_stateid_seqid(rfs4_state_t *sp, stateid4 *stateid, in rfs4_check_stateid_seqid() argument 3599 stateid_t *id = (stateid_t *)stateid; in rfs4_check_stateid_seqid() 3632 rfs4_check_lo_stateid_seqid(rfs4_lo_state_t *lsp, stateid4 *stateid, in rfs4_check_lo_stateid_seqid() argument 3635 stateid_t *id = (stateid_t *)stateid; in rfs4_check_lo_stateid_seqid() [all …]
|
| H A D | nfs4_srv.c | 3553 get_stateid4(cs, &args->stateid); in rfs4_op_read() 3555 if ((stat = rfs4_check_stateid(FREAD, vp, &args->stateid, FALSE, in rfs4_op_read() 5479 stateid4 *stateid) in do_rfs4_op_setattr() argument 5543 status = rfs4_check_stateid(FWRITE, cs->vp, stateid, in do_rfs4_op_setattr() 5758 get_stateid4(cs, &args->stateid); in rfs4_op_setattr() 5761 &args->stateid); in rfs4_op_setattr() 5933 get_stateid4(cs, &args->stateid); in rfs4_op_write() 5935 if ((stat = rfs4_check_stateid(FWRITE, vp, &args->stateid, FALSE, in rfs4_op_write() 7323 resp->stateid = sp->rs_stateid.stateid; in rfs4_do_open() 7570 stateid4 stateid = in rfs4_do_opendelcur() local [all …]
|
| H A D | nfs4_srv_deleg.c | 1096 bcopy(&dsp->rds_delegid.stateid, &rec_argp->stateid, sizeof (stateid4)); in rfs4_do_cb_recall() 1239 bcopy(&dsp->rds_delegid.stateid, &cbrap->stateid, sizeof (stateid4)); in rfs4x_do_cb_recall() 2225 rp->stateid = dsp->rds_delegid.stateid; in rfs4_set_deleg_response() 2231 wp->stateid = dsp->rds_delegid.stateid; in rfs4_set_deleg_response()
|
| H A D | nfs4_xdr.c | 3205 if (!xdr_u_int(xdrs, &objp->stateid.seqid)) in xdr_OPEN4res() 3207 if (!xdr_opaque(xdrs, objp->stateid.other, NFS4_OTHER_SIZE)) in xdr_OPEN4res() 3281 if (!xdr_u_int(xdrs, &objp->stateid.seqid)) in xdr_READ4args() 3283 if (!xdr_opaque(xdrs, objp->stateid.other, NFS4_OTHER_SIZE)) in xdr_READ4args() 3853 if (!xdr_u_int(xdrs, &objp->stateid.seqid)) in xdr_WRITE4args() 3855 if (!xdr_opaque(xdrs, objp->stateid.other, NFS4_OTHER_SIZE)) in xdr_WRITE4args() 4245 stateid.seqid)) in xdr_nfs_argop4() 4248 stateid.other, NFS4_OTHER_SIZE)) in xdr_nfs_argop4() 5128 if (!XDR_PUTINT32(xdrs, (int32_t *)&rargs->stateid.seqid)) in xdr_snfs_cb_argop4() 5130 if (!xdr_opaque(xdrs, rargs->stateid.other, NFS4_OTHER_SIZE)) in xdr_snfs_cb_argop4() [all …]
|
| H A D | nfs4_client_state.c | 652 nfs4_set_lock_stateid(nfs4_lock_owner_t *lop, stateid4 stateid) in nfs4_set_lock_stateid() argument 661 lop->lock_stateid = stateid; in nfs4_set_lock_stateid() 2314 nfs4open_confirm(vp, &seqid, &op_res->stateid, cr, TRUE, in nfs4_resend_open_otw() 2355 osp->open_stateid = op_res->stateid; in nfs4_resend_open_otw()
|
| H A D | nfs4_callback.c | 433 if ((bcmp(&rp->r_deleg_stateid, &args->stateid, in cb_recall() 451 if (bcmp(&args->stateid, &nfs4_deleg_any, in cb_recall() 2208 rp->r_deleg_stateid = orp->stateid; in nfs4_delegation_accept() 2223 rp->r_deleg_stateid = owp->stateid; in nfs4_delegation_accept()
|
| H A D | nfs4_vnops.c | 518 argop->nfs_argop4_u.opsetattr.stateid = in nfs4args_setattr() 522 bzero(&argop->nfs_argop4_u.opsetattr.stateid, in nfs4args_setattr() 586 wargs->stateid = nfs4_get_w_stateid(cr, rp, curproc->p_pidp->pid_id, in nfs4args_write() 1321 tmp_osp->open_stateid = op_res->stateid; in nfs4open_otw() 1394 nfs4open_confirm(vp, &seqid, &op_res->stateid, cred_otw, FALSE, in nfs4open_otw() 1485 osp->open_stateid = op_res->stateid; in nfs4open_otw() 2165 nfs4open_confirm(vp, &seqid, &op_res->stateid, in nfs4_reopen() 2179 osp->open_stateid = op_res->stateid; in nfs4_reopen() 3279 nfs4_save_stateid(&wargs->stateid, &sid_types); in nfs4write() 3287 nfs4_save_stateid(&wargs->stateid, &sid_types); in nfs4write() [all …]
|
| H A D | nfs4x_xdr.c | 3630 if (!xdr_stateid4(xdrs, &objp->stateid)) in xdr_open_read_delegation4() 3642 if (!xdr_stateid4(xdrs, &objp->stateid)) in xdr_open_write_delegation4()
|
| /illumos-gate/usr/src/head/rpcsvc/ |
| H A D | nfs4_prot.x | 1812 stateid4 stateid; /* Stateid for delegation */ member 1823 stateid4 stateid; /* Stateid for delegation */ member 1895 stateid4 stateid; /* Stateid for open */ member 1992 stateid4 stateid; member 2155 stateid4 stateid; member 2206 stateid4 stateid; member 3306 stateid4 stateid; member
|
| /illumos-gate/usr/src/uts/common/nfs/ |
| H A D | nfs4_kprot.h | 1872 stateid4 stateid; member 1879 stateid4 stateid; member 1927 stateid4 stateid; member 2003 stateid4 stateid; member 2163 stateid4 stateid; member 2223 stateid4 stateid; member 3375 stateid4 stateid; member
|
| H A D | nfs4.h | 239 stateid4 stateid; member
|