/titanic_44/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_subr.c | 338 topo_name_trans_t *ntp; in topo_sensor_type_name() local 340 for (ntp = &topo_sensor_type_table[0]; ntp->int_name != NULL; ntp++) { in topo_sensor_type_name() 341 if (ntp->int_value == type) { in topo_sensor_type_name() 342 (void) strlcpy(buf, ntp->int_name, len); in topo_sensor_type_name() 353 topo_name_trans_t *ntp; in topo_sensor_units_name() local 355 for (ntp = &topo_units_type_table[0]; ntp->int_name != NULL; ntp++) { in topo_sensor_units_name() 356 if (ntp->int_value == type) { in topo_sensor_units_name() 357 (void) strlcpy(buf, ntp->int_name, len); in topo_sensor_units_name() 368 topo_name_trans_t *ntp; in topo_led_type_name() local 370 for (ntp = &topo_led_type_table[0]; ntp->int_name != NULL; ntp++) { in topo_led_type_name() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ntp.c | 83 struct ntpdata *ntp = &fragbuf.ntp_msg; in interpret_ntp() local 94 switch (ntp->li_vn_mode & NTPMODEMASK) { in interpret_ntp() 102 show_mode(ntp->li_vn_mode & NTPMODEMASK), in interpret_ntp() 103 ntp->stratum, in interpret_ntp() 104 show_time(ntp->xmt)); in interpret_ntp() 124 proto_version = (ntp->li_vn_mode & VERSIONMASK) >> 3; in interpret_ntp() 129 switch (ntp->li_vn_mode & NTPMODEMASK) { in interpret_ntp() 135 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode - in interpret_ntp() 138 (int)(ntp->li_vn_mode & LEAPMASK) >> 6, in interpret_ntp() 139 show_leap(ntp->li_vn_mode & LEAPMASK)); in interpret_ntp() [all …]
|
/titanic_44/usr/src/lib/libipmi/common/ |
H A D | ipmi_util.c | 144 ipmi_name_trans_t *ntp; in ipmi_entity_name() local 146 for (ntp = &ipmi_entity_table[0]; ntp->int_name != NULL; ntp++) { in ipmi_entity_name() 147 if (ntp->int_value == id) { in ipmi_entity_name() 148 (void) strlcpy(buf, ntp->int_name, len); in ipmi_entity_name() 159 ipmi_name_trans_t *ntp; in ipmi_sensor_type_name() local 161 for (ntp = &ipmi_sensor_type_table[0]; ntp->int_name != NULL; ntp++) { in ipmi_sensor_type_name() 162 if (ntp->int_value == type) { in ipmi_sensor_type_name() 163 (void) strlcpy(buf, ntp->int_name, len); in ipmi_sensor_type_name() 174 ipmi_name_trans_t *ntp; in ipmi_sensor_units_name() local 176 for (ntp = &ipmi_units_type_table[0]; ntp->int_name != NULL; ntp++) { in ipmi_sensor_units_name() [all …]
|
/titanic_44/usr/src/uts/common/io/ |
H A D | ptem.c | 157 struct ptem *ntp; /* ptem entry for this PTEM module */ in ptemopen() local 174 ntp = kmem_alloc(sizeof (*ntp), KM_SLEEP); in ptemopen() 185 if ((ntp->dack_ptr = allocb(4, BPRI_MED)) == NULL) { in ptemopen() 186 kmem_free(ntp, sizeof (*ntp)); in ptemopen() 196 freemsg(ntp->dack_ptr); in ptemopen() 197 kmem_free(ntp, sizeof (*ntp)); in ptemopen() 210 ntp->q_ptr = q; in ptemopen() 211 q->q_ptr = ntp; in ptemopen() 212 WR(q)->q_ptr = ntp; in ptemopen() 222 ntp->cflags = termiosp->c_cflag; in ptemopen() [all …]
|
H A D | timod.c | 820 struct tim_tim *ntp; in timodrproc() local 826 ntp = tim_findlink(resp->ACCEPTOR_id); in timodrproc() 827 if (ntp == NULL) in timodrproc() 830 mutex_enter(&ntp->tim_mutex); in timodrproc() 831 if (ntp->tim_peercred != NULL) in timodrproc() 832 crfree(ntp->tim_peercred); in timodrproc() 833 ntp->tim_peercred = in timodrproc() 835 &ntp->tim_cpid); in timodrproc() 836 if (ntp->tim_peercred != NULL) in timodrproc() 837 crhold(ntp->tim_peercred); in timodrproc() [all …]
|
/titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_rq.c | 77 static int smb_nt_reply(struct smb_ntrq *ntp); 571 struct smb_ntrq *ntp; in smb_nt_alloc() local 574 ntp = (struct smb_ntrq *)kmem_alloc(sizeof (*ntp), KM_SLEEP); in smb_nt_alloc() 575 if (ntp == NULL) in smb_nt_alloc() 577 error = smb_nt_init(ntp, layer, fn, scred); in smb_nt_alloc() 578 mutex_init(&ntp->nt_lock, NULL, MUTEX_DRIVER, NULL); in smb_nt_alloc() 579 cv_init(&ntp->nt_cond, NULL, CV_DEFAULT, NULL); in smb_nt_alloc() 580 ntp->nt_flags |= SMBT2_ALLOCED; in smb_nt_alloc() 582 smb_nt_done(ntp); in smb_nt_alloc() 585 *ntpp = ntp; in smb_nt_alloc() [all …]
|
H A D | smb_rq.h | 208 void smb_nt_done(struct smb_ntrq *ntp); 209 int smb_nt_request(struct smb_ntrq *ntp);
|
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_smb.c | 2453 struct smb_ntrq *ntp; in smbfs_smb_getsec_m() local 2459 scrp, &ntp); in smbfs_smb_getsec_m() 2464 mbp = &ntp->nt_tparam; in smbfs_smb_getsec_m() 2472 ntp->nt_maxpcount = 4; in smbfs_smb_getsec_m() 2473 ntp->nt_maxdcount = *reslen; in smbfs_smb_getsec_m() 2475 error = smb_nt_request(ntp); in smbfs_smb_getsec_m() 2476 if (error && !(ntp->nt_flags & SMBT2_MOREDATA)) in smbfs_smb_getsec_m() 2484 mdp = &ntp->nt_rparam; in smbfs_smb_getsec_m() 2492 mdp = &ntp->nt_rdata; in smbfs_smb_getsec_m() 2533 if (*reslen == 0 && len <= ntp->nt_maxdcount) in smbfs_smb_getsec_m() [all …]
|
/titanic_44/usr/src/lib/libshell/common/bltins/ |
H A D | typeset.c | 209 Namdecl_t *ntp = (Namdecl_t*)((Shbltin_t*)extra)->ptr; in b_typeset() local 215 if(ntp) in b_typeset() 217 tdata.tp = ntp->tp; in b_typeset() 218 opt_info.disc = (Optdisc_t*)ntp->optinfof; in b_typeset() 219 optstring = ntp->optstring; in b_typeset() 397 else if(tdata.aflag==0 && ntp && ntp->tp) in b_typeset()
|
/titanic_44/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_thread.c | 633 nsthread_t *tp, *ntp; in nst_destroy() local 705 ntp = tp->tp_chain; in nst_destroy() 710 tp = ntp; in nst_destroy()
|
/titanic_44/usr/src/cmd/ipf/examples/ |
H A D | BASIC_1.FW | 76 pass in quick proto udp from any to any port = ntp keep state group 202
|
/titanic_44/usr/src/lib/libshell/common/sh/ |
H A D | nvdisc.c | 1233 struct table *ntp = (struct table*)nv_clone_disc(fp,0); in clone_table() local 1237 memcpy((void*)ntp,(void*)fp,sizeof(struct table)); in clone_table() 1238 ntp->dict = nroot; in clone_table() 1239 ntp->parent = nv_lastdict(); in clone_table() 1245 return(&ntp->fun); in clone_table()
|
H A D | nvtype.c | 1247 Namdecl_t *ntp = (Namdecl_t*)nv_context(np); in nv_type() local 1248 return(ntp?ntp->tp:0); in nv_type()
|
/titanic_44/usr/src/cmd/cmd-inet/etc/ |
H A D | services | 167 ntp 123/tcp # Network Time Protocol 168 ntp 123/udp # Network Time Protocol
|
/titanic_44/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vnops.c | 833 struct tmpnode *ntp = NULL; in tmp_lookup() local 914 error = tdirlookup(tp, nm, &ntp, cred); in tmp_lookup() 917 ASSERT(ntp); in tmp_lookup() 918 *vpp = TNTOV(ntp); in tmp_lookup()
|
/titanic_44/usr/src/cmd/svc/shell/ |
H A D | mfsthistory | 208 svc:/network/ntp:default var/svc/manifest/network/ntp.xml 209 svc:/network/ntp var/svc/manifest/network/ntp.xml
|
/titanic_44/usr/src/uts/sun4u/starfire/io/ |
H A D | idn.c | 3788 idn_timer_t *ntp; in idn_timer_stopall() local 3803 for (; tp; tp = ntp) { in idn_timer_stopall() 3804 ntp = tp->t_forw; in idn_timer_stopall()
|