| /onnv/onnv-gate/usr/src/lib/mms/mms/common/ |
| mms_cores.c | 109 struct stat stp; local 144 &stp) != 0) { 149 stp.st_mtime;
|
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| putnext.c | 152 struct stdata *stp; local 164 stp = STREAM(qp); 165 ASSERT(stp != NULL); 166 if (stp->sd_ciputctrl != NULL) { 167 ix = CPU->cpu_seqid & stp->sd_nciputctrl; 168 sdlock = &stp->sd_ciputctrl[ix].ciputctrl_lock; 171 mutex_enter(sdlock = &stp->sd_lock);
|
| session.c | 249 sess_ctty_clear(sess_t *sp, stdata_t *stp) 257 ASSERT(MUTEX_HELD(&stp->sd_lock) && MUTEX_HELD(&pidlock) && 267 stp->sd_pgidp = NULL; 268 stp->sd_sidp = NULL; 272 sess_ctty_set(proc_t *p, sess_t *sp, stdata_t *stp) 277 ASSERT(MUTEX_HELD(&stp->sd_lock) && MUTEX_HELD(&pidlock) && 288 sp->s_vp = makectty(stp->sd_vnode); 293 stp->sd_flag |= STRISTTY; /* just to be sure */ 294 stp->sd_sidp = sp->s_sidp; 295 stp->sd_pgidp = sp->s_sidp 388 stdata_t *stp; local 536 stdata_t *stp; local [all...] |
| ddi.c | 495 struct stdata *stp = STREAM(q); local 501 if (stp->sd_ciputctrl != NULL) { 502 int ix = CPU->cpu_seqid & stp->sd_nciputctrl; 503 sdlock = &stp->sd_ciputctrl[ix].ciputctrl_lock; 506 mutex_enter(sdlock = &stp->sd_reflock); 522 if (sdlock != &stp->sd_reflock) { 524 mutex_enter(&stp->sd_reflock); 528 stp->sd_refcnt++; 529 ASSERT(stp->sd_refcnt != 0); /* Wraparound */ 530 mutex_exit(&stp->sd_reflock) 628 struct stdata *stp = STREAM(q); local 653 struct stdata *stp = STREAM(q); local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/inet/ |
| proto_set.c | 111 struct stdata *stp; local 113 stp = STREAM(q); 119 if (stp == NULL || stp->sd_flag & STPLEX) 122 claimstr(stp->sd_wrq); 123 wq = stp->sd_wrq->q_next; 126 releasestr(stp->sd_wrq);
|
| /onnv/onnv-gate/usr/src/cmd/truss/ |
| listopts.c | 108 const struct systable *stp = systable; local 109 for (; sys == 0 && stp->nargs >= 0; stp++) 110 if (stp->name && strcmp(stp->name, name) == 0) 111 sys = stp-systable;
|
| actions.c | 363 const struct systable *stp; local 385 stp = subsys(what, subcode); 387 if (nargs > stp->nargs) 388 nargs = stp->nargs; 393 if (nargs > 0 && stp->arg[0] == STG) { 476 x = stp->arg[i]; 516 const struct systable *stp; local 582 stp = subsys(what, subcode); 742 switch (stp->rval[0]) { 779 switch (stp->rval[1]) [all...] |
| /onnv/onnv-gate/usr/src/cmd/sgs/tools/common/ |
| string_table.c | 159 Str_tbl *stp; local 161 if ((stp = calloc(sizeof (*stp), 1)) == NULL) 167 stp->st_strsize = stp->st_fullstrsize = stp->st_nextoff = 1; 172 stp->st_flags = flags; 173 if ((stp->st_flags & FLG_STTAB_COMPRESS) == 0) 174 return (stp); 176 if ((stp->st_lentree = calloc(sizeof (*stp->st_lentree), 1)) == NULL [all...] |
| sgsmsg.c | 108 static Str_tbl *stp; /* string table */ variable 155 if ((stp == 0) && ((stp = st_new(FLG_STNEW_COMPRESS)) == NULL)) { 170 if (st_insert(stp, msg->ms_message) == -1) { 317 dump_stringtab(Str_tbl *stp) 321 if ((stp->st_flags & FLG_STTAB_COMPRESS) == 0) { 323 stp->st_fullstrsize); 328 stp->st_fullstrsize, stp->st_strsize); 330 stp->st_hbckcnt) [all...] |
| /onnv/onnv-gate/usr/src/lib/scsi/libses/common/ |
| ses_enclosure.c | 206 ses_open_scsi(uint_t version, libscsi_target_t *stp) 219 tp->st_target = stp; 220 tp->st_scsi_hdl = libscsi_get_handle(stp); 247 libscsi_target_t *stp; local 256 if ((stp = libscsi_open(hp, NULL, target)) == NULL) { 262 if ((tp = ses_open_scsi(version, stp)) == NULL) { 263 libscsi_close(hp, stp);
|
| /onnv/onnv-gate/usr/src/common/smbios/ |
| smb_open.c | 163 smb_struct_t *stp = &shp->sh_structs[i]; local 192 stp->smbst_hdr = hp; 193 stp->smbst_str = s; 194 stp->smbst_end = p; 195 stp->smbst_next = shp->sh_hash[h]; 196 stp->smbst_strtab = smb_alloc(sizeof (uint16_t) * n); 197 stp->smbst_strtablen = n; 199 if (n != 0 && stp->smbst_strtab == NULL) 202 shp->sh_hash[h] = stp; 206 for (n = 0, p = s; n < stp->smbst_strtablen; p++) 294 const smb_struct_t *stp = smb_lookup_id(shp, id); local 308 const smb_struct_t *stp = smb_lookup_type(shp, type); local 352 const smb_struct_t *stp = shp->sh_hash[id & (shp->sh_hashlen - 1)]; local [all...] |
| smb_info.c | 34 * stp = smb_lookup_type(shp, foo); 37 * smb_info_bcopy(stp->smbst_hdr, &foo, sizeof (foo)); 184 smb_info_strptr(const smb_struct_t *stp, uint8_t off, int *n) 186 const uint8_t *sp = (const uint8_t *)(uintptr_t)stp->smbst_hdr; 188 if (off != 0 && sp + off < stp->smbst_end) { 190 return (smb_strptr(stp, sp[off])); 193 return (smb_strptr(stp, 0)); 220 const smb_struct_t *stp = smb_lookup_id(shp, id); local 224 if (stp == NULL) 228 if (isp->is_type == stp->smbst_hdr->smbh_type 283 const smb_struct_t *stp = smb_lookup_id(shp, id); local 321 const smb_struct_t *stp = smb_lookup_type(shp, SMB_TYPE_BIOS); local 369 const smb_struct_t *stp = smb_lookup_type(shp, SMB_TYPE_SYSTEM); local 390 const smb_struct_t *stp = smb_lookup_id(shp, id); local 413 const smb_struct_t *stp = smb_lookup_id(shp, id); local 443 const smb_struct_t *stp = smb_lookup_id(shp, id); local 473 const smb_struct_t *stp = smb_lookup_id(shp, id); local 509 const smb_struct_t *stp = smb_lookup_id(shp, id); local 534 const smb_struct_t *stp = smb_lookup_id(shp, id); local 561 const smb_struct_t *stp = smb_lookup_id(shp, id); local 593 const smb_struct_t *stp = smb_lookup_id(shp, id); local 617 const smb_struct_t *stp = smb_lookup_type(shp, SMB_TYPE_LANG); local 636 const smb_struct_t *stp = smb_lookup_type(shp, SMB_TYPE_EVENTLOG); local 673 const smb_struct_t *stp = smb_lookup_id(shp, id); local 702 const smb_struct_t *stp = smb_lookup_id(shp, id); local 726 const smb_struct_t *stp = smb_lookup_id(shp, id); local 768 const smb_struct_t *stp = smb_lookup_id(shp, id); local 795 const smb_struct_t *stp = smb_lookup_type(shp, SMB_TYPE_SECURITY); local 815 const smb_struct_t *stp = smb_lookup_type(shp, SMB_TYPE_BOOT); local 833 const smb_struct_t *stp = smb_lookup_type(shp, SMB_TYPE_IPMIDEV); local 889 const smb_struct_t *stp = shp->sh_structs; local 933 const smb_struct_t *stp; local 987 const smb_struct_t *stp = smb_lookup_id(shp, id); local 1011 const smb_struct_t *stp = smb_lookup_id(shp, id); local 1032 const smb_struct_t *stp = smb_lookup_id(shp, id); local 1055 const smb_struct_t *stp = smb_lookup_id(shp, id); local [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
| enc_des.c | 112 ecb_encrypt(struct stinfo *stp, Block in, Block out) 126 code = krb5_c_encrypt(telnet_context, &stp->str_key, NULL, NULL, 458 cfb64_stream_iv(Block seed, register struct stinfo *stp) 460 (void) memcpy((void *)stp->str_iv, (void *)seed, sizeof (Block)); 461 (void) memcpy((void *)stp->str_output, (void *)seed, sizeof (Block)); 463 stp->str_index = sizeof (Block); 467 cfb64_stream_key(Block key, register struct stinfo *stp) 469 (void) memcpy((void *)stp->str_keybytes, (void *)key, sizeof (Block)); 470 stp->str_key.length = DES_BLOCKSIZE; 471 stp->str_key.contents = stp->str_keybytes 511 register struct stinfo *stp = local 536 register struct stinfo *stp = local [all...] |
| /onnv/onnv-gate/usr/src/lib/libdtrace/common/ |
| dt_handle.c | 53 dt_stmt_t *stp; local 74 stp = dt_list_next(&pgp->dp_stmts); 75 assert(stp != NULL); 77 edp = stp->ds_desc->dtsd_ecbdesc;
|
| dt_program.c | 63 dt_stmt_t *stp, *next; local 66 for (stp = dt_list_next(&pgp->dp_stmts); stp != NULL; stp = next) { 67 next = dt_list_next(stp); 68 dtrace_stmt_destroy(dtp, stp->ds_desc); 69 dt_free(dtp, stp); 85 dt_stmt_t *stp; local 102 for (stp = dt_list_next(&pgp->dp_stmts); stp; stp = dt_list_next(stp)) 276 dt_stmt_t *stp = dt_alloc(dtp, sizeof (dt_stmt_t)); local 291 dt_stmt_t *stp, *next; local [all...] |
| dt_dof.c | 628 const dt_stmt_t *stp; local 661 for (last = NULL, stp = dt_list_next(&pgp->dp_stmts); 662 stp != NULL; stp = dt_list_next(stp), last = edp) { 664 dtrace_stmtdesc_t *sdp = stp->ds_desc; 705 for (last = NULL, stp = dt_list_next(&pgp->dp_stmts); 706 stp != NULL; stp = dt_list_next(stp), last = edp) [all...] |
| dt_pid.c | 710 dt_stmt_t *stp; local 722 for (stp = dt_list_next(&pgp->dp_stmts); stp != NULL; 723 stp = dt_list_next(stp)) { 725 pdp = &stp->ds_desc->dtsd_ecbdesc->dted_probe;
|
| /onnv/onnv-gate/usr/src/lib/libslp/clib/ |
| slp_targets.c | 356 struct scope_targets *sts, *stp; local 357 for (sts = tl->scopes[i]; sts; sts = stp) { 358 stp = sts->next; 392 struct scope_targets *st, *stp; local 402 for (stp = scopes[i]; stp && stp->next; ) { 403 stp = stp->next; 405 if (stp) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/fifofs/ |
| fifovnops.c | 847 struct stdata *stp; local 857 stp = vp->v_stream; 870 if ((write_size == 0) && !(stp->sd_wput_opt & SW_SNDZERO)) 1766 struct stdata *stp; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/namefs/ |
| namevfs.c | 439 struct stdata *stp = filevp->v_stream; local 440 mutex_enter(&stp->sd_lock); 441 stp->sd_flag |= STRMOUNT; 442 mutex_exit(&stp->sd_lock); 598 struct stdata *stp = vp->v_stream; local 599 mutex_enter(&stp->sd_lock); 600 stp->sd_flag &= ~STRMOUNT; 601 mutex_exit(&stp->sd_lock);
|
| /onnv/onnv-gate/usr/src/uts/common/syscall/ |
| sendfile.c | 709 stdata_t *stp; local 718 stp = vp->v_stream; 719 wroff = (int)stp->sd_wroff; 720 tail_len = (int)stp->sd_tail; 721 maxblk = (int)stp->sd_maxblk; 723 stp = NULL; 929 copyflag = stp != NULL ? stp->sd_copyflag :
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/common/sensor-transport/ |
| sensor_transport.c | 77 sensor_transport_t *stp = arg; local 78 fmd_hdl_t *hdl = stp->st_hdl; 195 for (current = &stp->st_faults; *current != NULL; 213 if (stp->st_first || faulted) { 217 sfp->sf_next = stp->st_faults; 218 stp->st_faults = sfp; 239 (sfp->sf_num_fails > stp->st_tolerance)) { 259 fmd_xprt_post(hdl, stp->st_xprt, event, 0); 278 sensor_transport_t *stp; local 286 stp = fmd_hdl_getspecific(hdl) 366 sensor_transport_t *stp; local 403 sensor_transport_t *stp; local [all...] |
| /onnv/onnv-gate/usr/src/lib/fm/topo/modules/common/ses/ |
| ses_facility.c | 459 ses_enum_target_t *stp = topo_node_getspecific(pnode); local 467 stp->set_refcount++; 468 topo_node_setspecific(tn, stp);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
| server.c | 52 char *stp[32]; /* stack of saved tp's for directories */ variable 66 static void recursive_remove(struct stat *stp); 151 tp = stp[--catname]; 560 savelink(stp, opts) 561 struct stat *stp; 567 if (lp->inum == stp->st_ino && lp->devnum == stp->st_dev) { 577 lp->inum = stp->st_ino; 578 lp->devnum = stp->st_dev; 579 lp->count = stp->st_nlink - 1 [all...] |
| /onnv/onnv-gate/usr/src/lib/fm/libdiskstatus/common/ |
| ds_scsi.c | 1094 scsi_selftest_log_param_t *stp; local 1105 stp = (scsi_selftest_log_param_t *)lphp; 1115 SELFTEST_COMPLETE(stp->st_results))) { 1118 stp->st_results) != 0 || 1121 BE_16(stp->st_timestamp)) != 0 || 1124 stp->st_number) != 0 || 1127 BE_64(stp->st_lba)) != 0) 1131 if (SELFTEST_COMPLETE(stp->st_results)) { 1132 if (stp->st_results != SELFTEST_OK [all...] |