Searched refs:t2p (Results 1 – 6 of 6) sorted by relevance
| /NextBSD/sys/netsmb/ |
| HD | smb_rq.c | 58 static int smb_t2_reply(struct smb_t2rq *t2p); 377 struct smb_t2rq *t2p; in smb_t2_alloc() local 380 t2p = malloc(sizeof(*t2p), M_SMBRQ, M_WAITOK); in smb_t2_alloc() 381 if (t2p == NULL) in smb_t2_alloc() 383 error = smb_t2_init(t2p, layer, setup, scred); in smb_t2_alloc() 384 t2p->t2_flags |= SMBT2_ALLOCED; in smb_t2_alloc() 386 smb_t2_done(t2p); in smb_t2_alloc() 389 *t2pp = t2p; in smb_t2_alloc() 394 smb_t2_init(struct smb_t2rq *t2p, struct smb_connobj *source, u_short setup, in smb_t2_init() argument 399 bzero(t2p, sizeof(*t2p)); in smb_t2_init() [all …]
|
| HD | smb_usr.c | 299 struct smb_t2rq *t2p; in smb_usr_t2request() local 305 t2p = malloc(sizeof(struct smb_t2rq), M_SMBTEMP, M_WAITOK); in smb_usr_t2request() 306 error = smb_t2_init(t2p, SSTOCP(ssp), dp->ioc_setup[0], scred); in smb_usr_t2request() 308 free(t2p, M_SMBTEMP); in smb_usr_t2request() 311 len = t2p->t2_setupcount = dp->ioc_setupcnt; in smb_usr_t2request() 313 t2p->t2_setupdata = dp->ioc_setup; in smb_usr_t2request() 315 t2p->t_name = smb_strdupin(dp->ioc_name, 128); in smb_usr_t2request() 316 if (t2p->t_name == NULL) { in smb_usr_t2request() 321 t2p->t2_maxscount = 0; in smb_usr_t2request() 322 t2p->t2_maxpcount = dp->ioc_rparamcnt; in smb_usr_t2request() [all …]
|
| HD | smb_rq.h | 146 void smb_t2_done(struct smb_t2rq *t2p); 147 int smb_t2_request(struct smb_t2rq *t2p);
|
| /NextBSD/sys/fs/smbfs/ |
| HD | smbfs_smb.c | 142 struct smb_t2rq *t2p; in smbfs_query_info_fs() local 150 scred, &t2p); in smbfs_query_info_fs() 153 mbp = &t2p->t2_tparam; in smbfs_query_info_fs() 156 t2p->t2_maxpcount = 2; in smbfs_query_info_fs() 157 t2p->t2_maxdcount = sizeof(int64_t) * 2 + sizeof(uint32_t) * 2; in smbfs_query_info_fs() 158 error = smb_t2_request(t2p); in smbfs_query_info_fs() 160 smb_t2_done(t2p); in smbfs_query_info_fs() 163 mdp = &t2p->t2_rdata; in smbfs_query_info_fs() 174 smb_t2_done(t2p); in smbfs_query_info_fs() 183 struct smb_t2rq *t2p; in smbfs_query_info_alloc() local [all …]
|
| /NextBSD/usr.sbin/traceroute6/ |
| HD | traceroute6.c | 1115 deltaT(t1p, t2p) in deltaT() argument 1116 struct timeval *t1p, *t2p; in deltaT() 1120 dt = (double)(t2p->tv_sec - t1p->tv_sec) * 1000.0 + 1121 (double)(t2p->tv_usec - t1p->tv_usec) / 1000.0;
|
| /NextBSD/contrib/traceroute/ |
| HD | traceroute.c | 1289 deltaT(struct timeval *t1p, struct timeval *t2p) in deltaT() argument 1293 dt = (double)(t2p->tv_sec - t1p->tv_sec) * 1000.0 + in deltaT() 1294 (double)(t2p->tv_usec - t1p->tv_usec) / 1000.0; in deltaT()
|