Searched refs:t2p (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/netsmb/ |
H A D | smb_rq.c | 57 static int smb_t2_reply(struct smb_t2rq *t2p); 373 struct smb_t2rq *t2p; in smb_t2_alloc() local 376 t2p = malloc(sizeof(*t2p), M_SMBRQ, M_WAITOK); in smb_t2_alloc() 377 error = smb_t2_init(t2p, layer, setup, scred); in smb_t2_alloc() 378 t2p->t2_flags |= SMBT2_ALLOCED; in smb_t2_alloc() 380 smb_t2_done(t2p); in smb_t2_alloc() 383 *t2pp = t2p; in smb_t2_alloc() 388 smb_t2_init(struct smb_t2rq *t2p, struct smb_connobj *source, u_short setup, in smb_t2_init() argument 393 bzero(t2p, sizeof(*t2p)); in smb_t2_init() 394 t2p->t2_source = source; in smb_t2_init() [all …]
|
H A D | smb_usr.c | 298 struct smb_t2rq *t2p; in smb_usr_t2request() local 304 t2p = malloc(sizeof(struct smb_t2rq), M_SMBTEMP, M_WAITOK); in smb_usr_t2request() 305 error = smb_t2_init(t2p, SSTOCP(ssp), dp->ioc_setup[0], scred); in smb_usr_t2request() 307 free(t2p, M_SMBTEMP); in smb_usr_t2request() 310 len = t2p->t2_setupcount = dp->ioc_setupcnt; in smb_usr_t2request() 312 t2p->t2_setupdata = dp->ioc_setup; in smb_usr_t2request() 314 t2p->t_name = smb_strdupin(dp->ioc_name, 128); in smb_usr_t2request() 315 if (t2p->t_name == NULL) { in smb_usr_t2request() 320 t2p->t2_maxscount = 0; in smb_usr_t2request() 321 t2p->t2_maxpcount = dp->ioc_rparamcnt; in smb_usr_t2request() [all …]
|
H A D | smb_rq.h | 145 void smb_t2_done(struct smb_t2rq *t2p); 146 int smb_t2_request(struct smb_t2rq *t2p);
|
/freebsd/sys/fs/smbfs/ |
H A D | 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() 182 struct smb_t2rq *t2p; in smbfs_query_info_alloc() local [all …]
|
/freebsd/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 1252 deltaT(struct timeval *t1p, struct timeval *t2p) in deltaT() argument 1256 dt = (double)(t2p->tv_sec - t1p->tv_sec) * 1000.0 + in deltaT() 1257 (double)(t2p->tv_usec - t1p->tv_usec) / 1000.0; in deltaT()
|
/freebsd/usr.sbin/traceroute/ |
H A D | traceroute.c | 1323 deltaT(struct timeval *t1p, struct timeval *t2p) in deltaT() argument 1327 dt = (double)(t2p->tv_sec - t1p->tv_sec) * 1000.0 + in deltaT() 1328 (double)(t2p->tv_usec - t1p->tv_usec) / 1000.0; in deltaT()
|