/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_target.c | 753 mdb_tgt_sespec_prune_one(mdb_tgt_t *t, mdb_sespec_t *sep) in mdb_tgt_sespec_prune_one() argument 757 for (vep = mdb_list_next(&sep->se_velist); vep; vep = nvep) { in mdb_tgt_sespec_prune_one() 775 mdb_sespec_t *sep, *nsep; in mdb_tgt_sespec_prune_all() local 777 for (sep = mdb_list_next(&t->t_active); sep != NULL; sep = nsep) { in mdb_tgt_sespec_prune_all() 778 nsep = mdb_list_next(sep); in mdb_tgt_sespec_prune_all() 779 mdb_tgt_sespec_prune_one(t, sep); in mdb_tgt_sespec_prune_all() 788 mdb_tgt_sespec_idle_one(mdb_tgt_t *t, mdb_sespec_t *sep, int reason) in mdb_tgt_sespec_idle_one() argument 790 ASSERT(sep->se_state != MDB_TGT_SPEC_IDLE); in mdb_tgt_sespec_idle_one() 792 if (sep->se_state == MDB_TGT_SPEC_ARMED) in mdb_tgt_sespec_idle_one() 793 (void) sep->se_ops->se_disarm(t, sep); in mdb_tgt_sespec_idle_one() [all …]
|
/titanic_50/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | buffer_list.c | 107 struct sharepnt_ent *se_tail = NULL, *sep; in buildbuffer_list() local 136 if (sep = findsharepnt(bep->be_sharepnt, in buildbuffer_list() 142 sep->se_state = lep->le_state; in buildbuffer_list() 147 sep = (struct sharepnt_ent *) in buildbuffer_list() 148 malloc(sizeof (*sep)); in buildbuffer_list() 149 if (sep == NULL) { in buildbuffer_list() 153 (void) memset(sep, 0, sizeof (*sep)); in buildbuffer_list() 155 sep->se_name = strdup(lep->le_path); in buildbuffer_list() 156 if (sep->se_name == NULL) { in buildbuffer_list() 160 sep->se_state = lep->le_state; in buildbuffer_list() [all …]
|
/titanic_50/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_serd.c | 168 fmd_serd_eng_discard(fmd_serd_eng_t *sgp, fmd_serd_elem_t *sep) in fmd_serd_eng_discard() argument 170 fmd_list_delete(&sgp->sg_list, sep); in fmd_serd_eng_discard() 173 fmd_event_rele(sep->se_event); in fmd_serd_eng_discard() 174 fmd_free(sep, sizeof (fmd_serd_elem_t)); in fmd_serd_eng_discard() 180 fmd_serd_elem_t *sep; in fmd_serd_eng_contains() local 182 for (sep = fmd_list_next(&sgp->sg_list); in fmd_serd_eng_contains() 183 sep != NULL; sep = fmd_list_next(sep)) { in fmd_serd_eng_contains() 184 if (fmd_event_equal(sep->se_event, ep)) in fmd_serd_eng_contains() 194 fmd_serd_elem_t *sep, *oep; in fmd_serd_eng_record() local 211 sep = fmd_alloc(sizeof (fmd_serd_elem_t), FMD_SLEEP); in fmd_serd_eng_record() [all …]
|
/titanic_50/usr/src/cmd/lockstat/ |
H A D | sym.c | 69 syment_t *sep; in add_symbol() local 73 symbol_table = realloc(symbol_table, maxsyms * sizeof (*sep)); in add_symbol() 79 sep = &symbol_table[nsyms++]; in add_symbol() 81 sep->name = name; in add_symbol() 82 sep->addr = addr; in add_symbol() 83 sep->size = size; in add_symbol() 90 syment_t *sep = symbol_table; in remove_symbol() local 92 for (i = 0; i < nsyms; i++, sep++) in remove_symbol() 93 if (sep->addr == addr) in remove_symbol() 94 sep->addr = 0; in remove_symbol() [all …]
|
/titanic_50/usr/src/cmd/syseventadm/ |
H A D | syseventadm.c | 521 serecord_t *sep; in list_file() local 534 sep = parse_line(line); in list_file() 535 if (sep != NULL) { in list_file() 536 if (matches_serecord(sep)) { in list_file() 537 print_serecord(stdout, sep); in list_file() 540 free_serecord(sep); in list_file() 557 serecord_t *sep; in remove_file() local 603 sep = parse_line(line); in remove_file() 604 if (sep == NULL) { in remove_file() 607 if (!matches_serecord(sep)) { in remove_file() [all …]
|
/titanic_50/usr/src/cmd/lp/lib/lp/ |
H A D | getlist.c | 70 *sep, local 92 if (!(sep = Malloc(len))) { 97 sep = buf; 98 strcpy (sep, hardsep); 99 strcat (sep, ws); 134 if (strchr(sep, c)) { 167 if (strchr(sep, c)) { 170 list[n++] = unq_strdup(copy, sep); 185 list[n++] = unq_strdup(copy, sep); 189 Done: if (sep != buf) [all …]
|
H A D | printlist.c | 59 printlist_setup(char *prefix, char *suffix, char *sep, char *newline) in printlist_setup() argument 65 if (sep) in printlist_setup() 66 print_sep = sep; in printlist_setup() 95 register char *sep; in fdprintlist() local 98 for (sep = ""; *list; *list++, sep = print_sep) { in fdprintlist() 100 (void)fdprintf (fd, "%s%s", sep, NB(print_prefix)); in fdprintlist() 118 q_print(int fd, char *str, char *sep) in q_print() argument 121 if (strchr(sep, *str)) in q_print()
|
/titanic_50/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
H A D | sysevent_conf_mod.c | 504 syseventtab_t *sep; in parse_conf_file() local 623 if ((sep = sc_malloc(sizeof (syseventtab_t))) == NULL) in parse_conf_file() 626 sep->se_conf_file = conf_file; in parse_conf_file() 627 sep->se_lineno = lineno; in parse_conf_file() 628 sep->se_vendor = sc_strdup(vendor); in parse_conf_file() 629 sep->se_publisher = sc_strdup(publisher); in parse_conf_file() 630 sep->se_class = sc_strdup(class); in parse_conf_file() 631 sep->se_subclass = sc_strdup(subclass); in parse_conf_file() 632 sep->se_user = sc_strdup(user); in parse_conf_file() 634 sep->se_uid = pwdp->pw_uid; in parse_conf_file() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | findstack.c | 201 stacks_hash_entry(stacks_entry_t *sep) in stacks_hash_entry() argument 203 size_t depth = sep->se_depth; in stacks_hash_entry() 204 uintptr_t *stack = sep->se_stack; in stacks_hash_entry() 377 stacks_entry_t **sepp, *nsep, *sep; in stacks_thread_cb() local 405 (sep = *sepp) != NULL; in stacks_thread_cb() 406 sepp = &sep->se_next) { in stacks_thread_cb() 408 if (stacks_entry_comp_impl(sep, nsep, 0) != 0) in stacks_thread_cb() 411 nsep->se_dup = sep->se_dup; in stacks_thread_cb() 412 sep->se_dup = nsep; in stacks_thread_cb() 413 sep->se_count++; in stacks_thread_cb() [all …]
|
/titanic_50/usr/src/ucbcmd/groups/ |
H A D | groups.c | 36 char *sep = ""; in main() local 58 (void) printf("%s%u", sep, groups[i]); in main() 59 sep = " "; in main() 62 (void) printf("%s%s", sep, gr->gr_name); in main() 63 sep = " "; in main() 76 char *sep = ""; in showgroups() local 91 (void) printf("%s%s", sep, gr->gr_name); in showgroups() 92 sep = " "; in showgroups() 99 (void) printf("%s%s", sep, gr->gr_name); in showgroups() 100 sep = " "; in showgroups()
|
/titanic_50/usr/src/cmd/refer/ |
H A D | refer6.c | 19 #define ifnl (macro? sep : ' ') 38 fprintf(fo, ".]-%c", sep); in putref() 45 fprintf(fo, "..%c", sep); in putref() 70 fprintf(fo, "%s%c", tx, sep); in putref() 73 lastype, tx, sep); in putref() 92 cch, sep, tx, sep); in putref() 95 cch, tx, sep); in putref() 105 fprintf(fo, "%s%c", tx, sep); in putref() 111 cch, sep, tx, sep); in putref() 114 cch, tx, sep); in putref() [all …]
|
/titanic_50/usr/src/lib/libpp/common/ |
H A D | pppragma.c | 33 register int sep = 0; in pppragma() local 39 sep = 1; in pppragma() 43 if (sep) in pppragma() 45 sep = 0; in pppragma() 52 if (sep) in pppragma() 55 sep = 1; in pppragma() 60 if (sep || pass) in pppragma()
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 530 zfsctl_unmount_snap(zfs_snapentry_t *sep, int fflags, cred_t *cr) in zfsctl_unmount_snap() argument 532 vnode_t *svp = sep->se_root; in zfsctl_unmount_snap() 556 kmem_free(sep->se_name, strlen(sep->se_name) + 1); in zfsctl_unmount_snap() 557 kmem_free(sep, sizeof (zfs_snapentry_t)); in zfsctl_unmount_snap() 563 zfsctl_rename_snap(zfsctl_snapdir_t *sdp, zfs_snapentry_t *sep, const char *nm) in zfsctl_rename_snap() argument 572 ASSERT(sep != NULL); in zfsctl_rename_snap() 574 vfsp = vn_mountedvfs(sep->se_root); in zfsctl_rename_snap() 582 avl_remove(&sdp->sd_snaps, sep); in zfsctl_rename_snap() 583 kmem_free(sep->se_name, strlen(sep->se_name) + 1); in zfsctl_rename_snap() 584 sep->se_name = kmem_alloc(strlen(nm) + 1, KM_SLEEP); in zfsctl_rename_snap() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | options.c | 229 struct service_entry *sep; in close_service() local 241 sep = &slp->sl_entry; in close_service() 247 if (sep->se_flags & SEF_CFLIST) { in close_service() 248 sep->se_flist = fep = NULL; in close_service() 250 for (fep = sep->se_flist; fep != NULL; fep = fep->fe_prev) in close_service() 269 sep->se_flist = fep = in close_service() 271 sep->se_flags |= SEF_CFLIST; in close_service() 289 sep->se_flags |= SEF_CDEV; in close_service() 293 sep->se_flist = fep = sedefp->se_flist; in close_service() 294 sep->se_flags |= SEF_CFLIST; in close_service() [all …]
|
/titanic_50/usr/src/cmd/nl/ |
H A D | nl.c | 110 char sep[EXPSIZ]; local 125 sep[0] = '\t'; 126 sep[1] = '\0'; 277 (void) strcpy(sep, optarg); 485 sep[r] = s[q]; 489 sep[r] = '\0'; 586 npad(width, sep); 596 pnum(cnt, sep); 599 npad(width, sep); 607 pnum(cnt, sep); [all …]
|
/titanic_50/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mbox.c | 126 sbd_error_t *sep = hp->h_err; in sbdp_get_board_status() local 137 sbdp_set_err(sep, ESBD_INVAL_OPT, hp->h_opts->copts); in sbdp_get_board_status() 176 sbdp_set_err(sep, ESGT_GET_BOARD_STAT, NULL); in sbdp_get_board_status() 187 sbdp_set_err(sep, ESGT_GET_BOARD_STAT, in sbdp_get_board_status() 256 sbd_error_t *sep; in sbdp_assign_board() local 262 sep = hp->h_err; in sbdp_assign_board() 267 sbdp_set_err(sep, ESBD_INVAL_OPT, hp->h_opts->copts); in sbdp_assign_board() 286 sbdp_set_err(sep, sbdp_sc_err_translation(resp->msg_status), in sbdp_assign_board() 307 sbd_error_t *sep; in sbdp_unassign_board() local 313 sep = hp->h_err; in sbdp_unassign_board() [all …]
|
H A D | sbdp_quiesce.c | 238 sbd_error_t *sep; member 250 ASSERT(sbrp->sep != NULL); in sbdp_check_dip() 260 (void) ddi_pathname(dip, sbdp_get_err_buf(sbrp->sep)); in sbdp_check_dip() 261 sbdp_set_err(sbrp->sep, ESBD_BUSY, NULL); in sbdp_check_dip() 277 (void) ddi_pathname(dip, sbdp_get_err_buf(sbrp->sep)); in sbdp_check_dip() 284 sbdp_set_err(sbrp->sep, ESBD_BUSY, NULL); in sbdp_check_dip() 291 sbdp_check_devices(dev_info_t *dip, int *refcount, sbd_error_t *sep, in sbdp_check_devices() argument 298 sbr.sep = sep; in sbdp_check_devices() 354 (void) sprintf(sbdp_get_err_buf(&srh->sep), in sbdp_suspend_devices_() 357 sbdp_set_err(&srh->sep, ESGT_SUSPEND, NULL); in sbdp_suspend_devices_() [all …]
|
/titanic_50/usr/src/lib/libcmd/common/ |
H A D | uniq.c | 90 int reclen,oreclen= -1,count=0,cwidth=0,sep,next; in uniq() local 219 sep = 0; in uniq() 222 sep = all && *all > 0; in uniq() 227 if(outsize < n+cwidth+sep) in uniq() 231 if(!(sbufp = outp=fmtbuf(outsize=n+cwidth+sep))) in uniq() 235 outsize = n+cwidth+sep; in uniq() 236 memcpy(outp+cwidth+sep,bufp,n); in uniq() 237 if(sep) in uniq() 240 orecp = outp+cwidth+sep + (cp-bufp); in uniq() 253 int sep; in b_uniq() local [all …]
|
/titanic_50/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kvm.c | 1405 mdb_sespec_t *sep, *nsep; in kmt_defbp_event() local 1418 for (sep = mdb_list_next(&t->t_active); sep; sep = nsep) { in kmt_defbp_event() 1419 nsep = mdb_list_next(sep); in kmt_defbp_event() 1421 if (sep->se_ops == &kmt_brkpt_ops) { in kmt_defbp_event() 1422 kmt_brkpt_t *kb = sep->se_data; in kmt_defbp_event() 1428 mdb_tgt_sespec_idle_one(t, sep, in kmt_defbp_event() 1648 kmt_brkpt_ctor(mdb_tgt_t *t, mdb_sespec_t *sep, void *args) in kmt_brkpt_ctor() argument 1686 sep->se_data = kb; in kmt_brkpt_ctor() 1693 kmt_brkpt_dtor(mdb_tgt_t *t, mdb_sespec_t *sep) in kmt_brkpt_dtor() argument 1695 mdb_free(sep->se_data, sizeof (kmt_brkpt_t)); in kmt_brkpt_dtor() [all …]
|
/titanic_50/usr/src/cmd/ssh/libssh/common/ |
H A D | xlist.c | 14 xsplit(char *list, char sep) in xsplit() argument 21 while (p && *p && *p == sep) in xsplit() 26 p = strchr(p, sep); in xsplit() 30 while (*p == sep) in xsplit() 34 q = strchr(p, sep); in xsplit() 60 xjoin(char **alist, char sep) in xjoin() argument 75 sep_str[0] = sep; in xjoin()
|
/titanic_50/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_subr.c | 70 const char *name, int nmlen, u_int8_t sep) in smbfs_fullpath() argument 93 if (dnp->n_rplen <= 1 && sep == '\\') in smbfs_fullpath() 94 sep = 0; in smbfs_fullpath() 108 sep = 0; in smbfs_fullpath() 110 if (sep) { in smbfs_fullpath() 113 error = mb_put_uint16le(mbp, sep); in smbfs_fullpath() 115 error = mb_put_uint8(mbp, sep); in smbfs_fullpath()
|
H A D | smbfs_node.c | 110 char sep; in smbfs_getino() local 116 sep = SMBFS_DNP_SEP(dnp); in smbfs_getino() 117 if (sep) in smbfs_getino() 118 ino = smbfs_hash(ino, &sep, 1); in smbfs_getino() 164 char sep; in smbfs_nget() local 174 sep = SMBFS_DNP_SEP(dnp); in smbfs_nget() 179 name, nmlen, sep, fap); in smbfs_nget()
|
/titanic_50/usr/src/lib/libnsl/nss/ |
H A D | getauthattr.c | 67 char *sep = KV_TOKEN_DELIMIT; in str2authattr() local 87 auth->name = _strtok_escape(buffer, sep, &last); in str2authattr() 88 auth->res1 = _strtok_escape(NULL, sep, &last); in str2authattr() 89 auth->res2 = _strtok_escape(NULL, sep, &last); in str2authattr() 90 auth->short_desc = _strtok_escape(NULL, sep, &last); in str2authattr() 91 auth->long_desc = _strtok_escape(NULL, sep, &last); in str2authattr() 92 auth->attr = _strtok_escape(NULL, sep, &last); in str2authattr()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | privs.awk | 261 sep = "\t\"" 265 sep = "\\0\"\n\t\"" 268 printf sep sets[i] > cfile 269 len += length(sets[i]) + length(sep); 270 sep = "\\0" 279 sep = "\t\"" 283 sep = "\\0\"\n\t\"" 286 printf sep privs[i] > cfile 287 len += length(privs[i]) + length(sep); 288 sep = "\\0"
|
/titanic_50/usr/src/cmd/fm/modules/common/disk-transport/ |
H A D | disk_transport.c | 305 const char *sep; in _fmd_init() local 308 for (sep = simulate; *sep != '\0'; sep++) { in _fmd_init() 309 if (isspace(*sep)) in _fmd_init() 313 if (*sep != '\0') { in _fmd_init() 314 len = sep - simulate; in _fmd_init() 322 for (; *sep != '\0'; sep++) { in _fmd_init() 323 if (!isspace(*sep)) in _fmd_init() 327 if (*sep != '\0') { in _fmd_init() 328 dmp->dm_sim_file = fmd_hdl_strdup(hdl, sep, FMD_SLEEP); in _fmd_init()
|