Searched refs:t2p (Results 1 – 6 of 6) sorted by relevance
| /freebsd-9-stable/sys/netsmb/ |
| D | 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 …]
|
| D | smb_usr.c | 295 struct smb_t2rq t2, *t2p = &t2; in smb_usr_t2request() local 301 error = smb_t2_init(t2p, SSTOCP(ssp), dp->ioc_setup[0], scred); in smb_usr_t2request() 304 len = t2p->t2_setupcount = dp->ioc_setupcnt; in smb_usr_t2request() 306 t2p->t2_setupdata = dp->ioc_setup; in smb_usr_t2request() 308 t2p->t_name = smb_strdupin(dp->ioc_name, 128); in smb_usr_t2request() 309 if (t2p->t_name == NULL) { in smb_usr_t2request() 314 t2p->t2_maxscount = 0; in smb_usr_t2request() 315 t2p->t2_maxpcount = dp->ioc_rparamcnt; in smb_usr_t2request() 316 t2p->t2_maxdcount = dp->ioc_rdatacnt; in smb_usr_t2request() 317 error = smb_cpdatain(&t2p->t2_tparam, dp->ioc_tparamcnt, dp->ioc_tparam); in smb_usr_t2request() [all …]
|
| D | smb_rq.h | 146 void smb_t2_done(struct smb_t2rq *t2p); 147 int smb_t2_request(struct smb_t2rq *t2p);
|
| /freebsd-9-stable/sys/fs/smbfs/ |
| D | smbfs_smb.c | 141 struct smb_t2rq *t2p; in smbfs_query_info_fs() local 149 scred, &t2p); in smbfs_query_info_fs() 152 mbp = &t2p->t2_tparam; in smbfs_query_info_fs() 155 t2p->t2_maxpcount = 2; in smbfs_query_info_fs() 156 t2p->t2_maxdcount = sizeof(int64_t) * 2 + sizeof(uint32_t) * 2; in smbfs_query_info_fs() 157 error = smb_t2_request(t2p); in smbfs_query_info_fs() 159 smb_t2_done(t2p); in smbfs_query_info_fs() 162 mdp = &t2p->t2_rdata; in smbfs_query_info_fs() 173 smb_t2_done(t2p); in smbfs_query_info_fs() 182 struct smb_t2rq *t2p; in smbfs_query_info_alloc() local [all …]
|
| /freebsd-9-stable/usr.sbin/traceroute6/ |
| D | 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;
|
| /freebsd-9-stable/contrib/traceroute/ |
| D | traceroute.c | 1257 deltaT(struct timeval *t1p, struct timeval *t2p) in deltaT() argument 1261 dt = (double)(t2p->tv_sec - t1p->tv_sec) * 1000.0 + in deltaT() 1262 (double)(t2p->tv_usec - t1p->tv_usec) / 1000.0; in deltaT()
|