Searched refs:t2p (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_rq.c | 79 static int smb_t2_reply(struct smb_t2rq *t2p); 671 struct smb_t2rq *t2p; in smb_t2_alloc() local 674 t2p = (struct smb_t2rq *)kmem_alloc(sizeof (*t2p), KM_SLEEP); in smb_t2_alloc() 675 if (t2p == NULL) in smb_t2_alloc() 677 error = smb_t2_init(t2p, layer, &setup, 1, scred); in smb_t2_alloc() 678 t2p->t2_flags |= SMBT2_ALLOCED; in smb_t2_alloc() 680 smb_t2_done(t2p); in smb_t2_alloc() 683 *t2pp = t2p; in smb_t2_alloc() 710 smb_t2_init(struct smb_t2rq *t2p, struct smb_connobj *source, ushort_t *setup, in smb_t2_init() argument 716 bzero(t2p, sizeof (*t2p)); in smb_t2_init() [all …]
|
H A D | smb_rq.h | 235 void smb_t2_done(struct smb_t2rq *t2p); 236 int smb_t2_request(struct smb_t2rq *t2p);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_smb1.c | 142 struct smb_t2rq *t2p; in smbfs_smb1_trans2_query() local 157 error = smb_t2_alloc(SSTOCP(ssp), cmd, scrp, &t2p); in smbfs_smb1_trans2_query() 160 mbp = &t2p->t2_tparam; in smbfs_smb1_trans2_query() 176 t2p->t2_maxpcount = 2; in smbfs_smb1_trans2_query() 177 t2p->t2_maxdcount = vcp->vc_txmax; in smbfs_smb1_trans2_query() 178 error = smb_t2_request(t2p); in smbfs_smb1_trans2_query() 185 mdp = &t2p->t2_rdata; in smbfs_smb1_trans2_query() 189 smb_t2_done(t2p); in smbfs_smb1_trans2_query() 201 struct smb_t2rq *t2p; in smbfs_smb1_query_fs_info() local 207 scrp, &t2p); in smbfs_smb1_query_fs_info() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute.c | 2048 deltaT(struct timeval *t1p, struct timeval *t2p) in deltaT() argument 2052 dt = (double)(t2p->tv_sec - t1p->tv_sec) * 1000.0 + in deltaT() 2053 (double)(t2p->tv_usec - t1p->tv_usec) / 1000.0; in deltaT()
|