Searched refs:ntp (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_subr.c338 topo_name_trans_t *ntp; local
340 for (ntp = &topo_sensor_type_table[0]; ntp->int_name != NULL; ntp++) {
341 if (ntp->int_value == type) {
342 (void) strlcpy(buf, ntp->int_name, len);
353 topo_name_trans_t *ntp; local
355 for (ntp = &topo_units_type_table[0]; ntp->int_name != NULL; ntp
368 topo_name_trans_t *ntp; local
383 topo_name_trans_t *ntp; local
399 topo_name_trans_t *ntp; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ntp.c38 #include "ntp.h"
83 struct ntpdata *ntp = &fragbuf.ntp_msg; local
94 switch (ntp->li_vn_mode & NTPMODEMASK) {
102 show_mode(ntp->li_vn_mode & NTPMODEMASK),
103 ntp->stratum,
104 show_time(ntp->xmt));
124 proto_version = (ntp->li_vn_mode & VERSIONMASK) >> 3;
129 switch (ntp->li_vn_mode & NTPMODEMASK) {
135 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode -
138 (int)(ntp
[all...]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_util.c144 ipmi_name_trans_t *ntp; local
146 for (ntp = &ipmi_entity_table[0]; ntp->int_name != NULL; ntp++) {
147 if (ntp->int_value == id) {
148 (void) strlcpy(buf, ntp->int_name, len);
159 ipmi_name_trans_t *ntp; local
161 for (ntp = &ipmi_sensor_type_table[0]; ntp->int_name != NULL; ntp
174 ipmi_name_trans_t *ntp; local
191 ipmi_name_trans_t *ntp; local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dptem.c157 struct ptem *ntp; /* ptem entry for this PTEM module */ local
174 ntp = kmem_alloc(sizeof (*ntp), KM_SLEEP);
185 if ((ntp->dack_ptr = allocb(4, BPRI_MED)) == NULL) {
186 kmem_free(ntp, sizeof (*ntp));
196 freemsg(ntp->dack_ptr);
197 kmem_free(ntp, sizeof (*ntp));
210 ntp
255 struct ptem *ntp; /* ptem entry for this PTEM module */ local
418 struct ptem *ntp = (struct ptem *)q->q_ptr; local
443 struct ptem *ntp = (struct ptem *)q->q_ptr; local
607 struct ptem *ntp = (struct ptem *)q->q_ptr; local
[all...]
H A Dtimod.c820 struct tim_tim *ntp; local
826 ntp = tim_findlink(resp->ACCEPTOR_id);
827 if (ntp == NULL)
830 mutex_enter(&ntp->tim_mutex);
831 if (ntp->tim_peercred != NULL)
832 crfree(ntp->tim_peercred);
833 ntp->tim_peercred =
835 &ntp->tim_cpid);
836 if (ntp->tim_peercred != NULL)
837 crhold(ntp
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_rq.c77 static int smb_nt_reply(struct smb_ntrq *ntp);
571 struct smb_ntrq *ntp; local
574 ntp = (struct smb_ntrq *)kmem_alloc(sizeof (*ntp), KM_SLEEP);
575 if (ntp == NULL)
577 error = smb_nt_init(ntp, layer, fn, scred);
578 mutex_init(&ntp->nt_lock, NULL, MUTEX_DRIVER, NULL);
579 cv_init(&ntp->nt_cond, NULL, CV_DEFAULT, NULL);
580 ntp->nt_flags |= SMBT2_ALLOCED;
582 smb_nt_done(ntp);
616 smb_nt_init(struct smb_ntrq *ntp, struct smb_connobj *source, ushort_t fn, struct smb_cred *scred) argument
647 smb_nt_done(struct smb_ntrq *ntp) argument
811 smb_nt_reply(struct smb_ntrq *ntp) argument
1170 smb_nt_request_int(struct smb_ntrq *ntp) argument
1410 smb_nt_request(struct smb_ntrq *ntp) argument
[all...]
H A Dsmb_rq.h208 void smb_nt_done(struct smb_ntrq *ntp);
209 int smb_nt_request(struct smb_ntrq *ntp);
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_smb.c2453 struct smb_ntrq *ntp; local
2459 scrp, &ntp);
2464 mbp = &ntp->nt_tparam;
2472 ntp->nt_maxpcount = 4;
2473 ntp->nt_maxdcount = *reslen;
2475 error = smb_nt_request(ntp);
2476 if (error && !(ntp->nt_flags & SMBT2_MOREDATA))
2484 mdp = &ntp->nt_rparam;
2492 mdp = &ntp->nt_rdata;
2533 if (*reslen == 0 && len <= ntp
2601 struct smb_ntrq *ntp; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dtypeset.c209 Namdecl_t *ntp = (Namdecl_t*)((Shbltin_t*)extra)->ptr; local
215 if(ntp)
217 tdata.tp = ntp->tp;
218 opt_info.disc = (Optdisc_t*)ntp->optinfof;
219 optstring = ntp->optstring;
397 else if(tdata.aflag==0 && ntp && ntp->tp)
/illumos-gate/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_thread.c633 nsthread_t *tp, *ntp; local
705 ntp = tp->tp_chain;
710 tp = ntp;
/illumos-gate/usr/src/cmd/ipf/examples/
H A DBASIC_1.FW76 pass in quick proto udp from any to any port = ntp keep state group 202
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvdisc.c1233 struct table *ntp = (struct table*)nv_clone_disc(fp,0); local
1237 memcpy((void*)ntp,(void*)fp,sizeof(struct table));
1238 ntp->dict = nroot;
1239 ntp->parent = nv_lastdict();
1245 return(&ntp->fun);
H A Dnvtype.c1247 Namdecl_t *ntp = (Namdecl_t*)nv_context(np); local
1248 return(ntp?ntp->tp:0);
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c834 struct tmpnode *ntp = NULL; local
915 error = tdirlookup(tp, nm, &ntp, cred);
918 ASSERT(ntp);
919 *vpp = TNTOV(ntp);
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn.c3788 idn_timer_t *ntp; local
3803 for (; tp; tp = ntp) {
3804 ntp = tp->t_forw;

Completed in 113 milliseconds