Home
last modified time | relevance | path

Searched refs:t2p (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_rq.c76 static int smb_t2_reply(struct smb_t2rq *t2p);
551 struct smb_t2rq *t2p; in smb_t2_alloc() local
554 t2p = (struct smb_t2rq *)kmem_alloc(sizeof (*t2p), KM_SLEEP); in smb_t2_alloc()
555 if (t2p == NULL) in smb_t2_alloc()
557 error = smb_t2_init(t2p, layer, &setup, 1, scred); in smb_t2_alloc()
558 t2p->t2_flags |= SMBT2_ALLOCED; in smb_t2_alloc()
560 smb_t2_done(t2p); in smb_t2_alloc()
563 *t2pp = t2p; in smb_t2_alloc()
590 smb_t2_init(struct smb_t2rq *t2p, struct smb_connobj *source, ushort_t *setup, in smb_t2_init() argument
596 bzero(t2p, sizeof (*t2p)); in smb_t2_init()
[all …]
H A Dsmb_usr.c219 struct smb_t2rq *t2p = NULL; in smb_usr_t2request() local
253 t2p = kmem_alloc(sizeof (*t2p), KM_SLEEP); in smb_usr_t2request()
254 err = smb_t2_init(t2p, SSTOCP(ssp), in smb_usr_t2request()
258 t2p->t2_setupcount = ioc->ioc_setupcnt; in smb_usr_t2request()
259 t2p->t2_setupdata = ioc->ioc_setup; in smb_usr_t2request()
265 t2p->t_name_len = strlen(ioc->ioc_name); in smb_usr_t2request()
266 t2p->t_name = ioc->ioc_name; in smb_usr_t2request()
268 t2p->t2_maxscount = 0; in smb_usr_t2request()
269 t2p->t2_maxpcount = ioc->ioc_rparamcnt; in smb_usr_t2request()
270 t2p->t2_maxdcount = ioc->ioc_rdatacnt; in smb_usr_t2request()
[all …]
H A Dsmb_rq.h201 void smb_t2_done(struct smb_t2rq *t2p);
202 int smb_t2_request(struct smb_t2rq *t2p);
/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_smb.c232 struct smb_t2rq *t2p; in smbfs_smb_trans2_query() local
257 error = smb_t2_alloc(SSTOCP(ssp), cmd, scrp, &t2p); in smbfs_smb_trans2_query()
260 mbp = &t2p->t2_tparam; in smbfs_smb_trans2_query()
279 smb_t2_done(t2p); in smbfs_smb_trans2_query()
284 t2p->t2_maxpcount = 2; in smbfs_smb_trans2_query()
285 t2p->t2_maxdcount = vcp->vc_txmax; in smbfs_smb_trans2_query()
286 error = smb_t2_request(t2p); in smbfs_smb_trans2_query()
288 smb_t2_done(t2p); in smbfs_smb_trans2_query()
297 mdp = &t2p->t2_rdata; in smbfs_smb_trans2_query()
364 smb_t2_done(t2p); in smbfs_smb_trans2_query()
[all …]
H A Dsmbfs_xattr.c305 struct smb_t2rq *t2p; in smbfs_xa_findopen() local
332 ctx->f_scred, &t2p); in smbfs_xa_findopen()
335 ctx->f_t2 = t2p; in smbfs_xa_findopen()
337 mbp = &t2p->t2_tparam; in smbfs_xa_findopen()
344 t2p->t2_maxpcount = 2; in smbfs_xa_findopen()
345 t2p->t2_maxdcount = INT16_MAX; in smbfs_xa_findopen()
346 error = smb_t2_request(t2p); in smbfs_xa_findopen()
348 if (t2p->t2_sr_error == NT_STATUS_INVALID_PARAMETER) in smbfs_xa_findopen()
373 struct smb_t2rq *t2p; in smbfs_xa_findnext() local
378 t2p = ctx->f_t2; in smbfs_xa_findnext()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c2010 deltaT(struct timeval *t1p, struct timeval *t2p) in deltaT() argument
2014 dt = (double)(t2p->tv_sec - t1p->tv_sec) * 1000.0 + in deltaT()
2015 (double)(t2p->tv_usec - t1p->tv_usec) / 1000.0; in deltaT()