/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_ev.c | 111 sep->se_stpp = &(sep->se_stp); in _sfxge_ev_qctor() 152 ASSERT3P(sep->se_stpp, ==, &(sep->se_stp)); in _sfxge_ev_qdtor() 213 sep->se_stpp = &(sep->se_stp); in sfxge_ev_qcomplete() 311 sep->se_rx++; in sfxge_ev_rx() 321 return (sep->se_rx >= sep->se_ev_batch); in sfxge_ev_rx() 469 return (sep->se_tx >= sep->se_ev_batch); in sfxge_ev_tx() 649 efx_ev_qstats_update(sep->se_eep, sep->se_stat); in sfxge_ev_kstat_update() 842 if (cv_timedwait(&(sep->se_init_kv), &(sep->se_lock), in sfxge_ev_qstart() 930 ASSERT3P(sep->se_stpp, ==, &(sep->se_stp)); in sfxge_ev_qpoll() 933 efx_ev_qpoll(sep->se_eep, &(sep->se_count), &(sep->se_eec), in sfxge_ev_qpoll() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_target.c | 1010 for (sep = mdb_list_next(&t->t_active); sep; sep = mdb_list_next(sep)) { in tgt_disarm_sespecs() 1036 for (sep = mdb_list_next(&t->t_active); sep; sep = mdb_list_next(sep)) { in tgt_match_sespecs() 1150 for (sep = matched; sep != T_SE_END; sep = sep->se_matched) { in tgt_continue() 1180 for (sep = matched; sep != T_SE_END; sep = nsep) { in tgt_continue() 1228 for (sep = t->t_matched; sep != T_SE_END; sep = sep->se_matched) { in tgt_continue() 1496 for (sep = mdb_list_next(&t->t_active); sep; sep = mdb_list_next(sep)) { in mdb_tgt_vespec_iter() 1504 for (sep = mdb_list_next(&t->t_idle); sep; sep = mdb_list_next(sep)) { in mdb_tgt_vespec_iter() 2019 for (sep = mdb_list_next(&t->t_active); sep; sep = mdb_list_next(sep)) { in mdb_tgt_sespec_lookup_active() 2032 for (sep = mdb_list_next(&t->t_idle); sep; sep = mdb_list_next(sep)) { in mdb_tgt_sespec_lookup_idle() 2197 for (sep = mdb_list_next(&t->t_active); sep; sep = mdb_list_next(sep)) { in mdb_tgt_vespec_lookup() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | buffer_list.c | 147 if (sep == NULL) { in buildbuffer_list() 151 (void) memset(sep, 0, sizeof (*sep)); in buildbuffer_list() 306 if (p == sep) { in remove_sharepnt_ent() 321 assert(sep != NULL); in free_sharepnt_ent() 325 free(sep->se_name); in free_sharepnt_ent() 326 free(sep); in free_sharepnt_ent() 343 for (; sep != NULL; sep = sep->se_next) in print_sharepnt_list() 344 (void) printf("\t(%d) %s\n", sep->se_state, sep->se_name); in print_sharepnt_list() 374 for (; sep != NULL; sep = sep->se_next) { in findsharepnt() 376 return (sep); in findsharepnt() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_serd.c | 171 fmd_event_rele(sep->se_event); in fmd_serd_eng_discard() 178 fmd_serd_elem_t *sep; in fmd_serd_eng_contains() local 181 sep != NULL; sep = fmd_list_next(sep)) { in fmd_serd_eng_contains() 193 fmd_serd_elem_t *sep, *oep; in fmd_serd_eng_record() local 211 sep->se_event = ep; in fmd_serd_eng_record() 257 fmd_serd_elem_t *sep, *nep; in fmd_serd_eng_gc() local 266 for (sep = fmd_list_next(&sgp->sg_list); sep != NULL; sep = nep) { in fmd_serd_eng_gc() 270 nep = fmd_list_next(sep); in fmd_serd_eng_gc() 279 fmd_serd_elem_t *sep; in fmd_serd_eng_commit() local 284 for (sep = fmd_list_next(&sgp->sg_list); sep != NULL; in fmd_serd_eng_commit() [all …]
|
/illumos-gate/usr/src/cmd/lockstat/ |
H A D | sym.c | 67 syment_t *sep; in add_symbol() local 79 sep->name = name; in add_symbol() 80 sep->addr = addr; in add_symbol() 81 sep->size = size; in add_symbol() 92 sep->addr = 0; in remove_symbol() 209 syment_t *sep; in addr_to_sym() local 221 *sizep = sep->size; in addr_to_sym() 222 return (sep->name); in addr_to_sym() 233 return (sep->addr); in sym_to_addr() 234 sep++; in sym_to_addr() [all …]
|
/illumos-gate/usr/src/cmd/syseventadm/ |
H A D | syseventadm.c | 521 serecord_t *sep; in list_file() local 535 if (sep != NULL) { in list_file() 540 free_serecord(sep); in list_file() 557 serecord_t *sep; in remove_file() local 604 if (sep == NULL) { in remove_file() 611 free_serecord(sep); in remove_file() 658 serecord_t *sep; in check_for_removes() local 665 if (sep != NULL) { in check_for_removes() 767 if (sep->se_args) { in print_serecord() 820 serecord_t *sep; in parse_line() local [all …]
|
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
H A D | sysevent_conf_mod.c | 1160 sep->se_conf_file, sep->se_lineno, token); in find_macro_definition() 1165 sep->se_conf_file, sep->se_lineno, token); in find_macro_definition() 1368 sep->se_conf_file, sep->se_lineno, in find_macro_definition() 1692 sep->se_conf_file, sep->se_lineno, in queue_event() 1707 sep->se_conf_file, sep->se_lineno, sep->se_path); in queue_event() 1715 sep->se_conf_file, sep->se_lineno, in queue_event() 1745 sep->se_conf_file, sep->se_lineno, in queue_event() 1784 sep->se_conf_file, sep->se_lineno, strerror(errno)); in queue_event() 2093 for (sep = syseventtab; sep; sep = sep->se_next) { in sysevent_conf_event() 2111 sep->se_conf_file, sep->se_lineno); in sysevent_conf_event() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | getlist.c | 70 *sep, local 97 sep = buf; 98 strcpy (sep, hardsep); 99 strcat (sep, ws); 134 if (strchr(sep, c)) { 167 if (strchr(sep, c)) { 189 Done: if (sep != buf) 190 Free (sep); 203 char * sep in unq_strdup() argument 206 unq_strdup (str, sep) in unq_strdup() [all …]
|
H A D | printlist.c | 57 printlist_setup(char *prefix, char *suffix, char *sep, char *newline) in printlist_setup() argument 63 if (sep) in printlist_setup() 64 print_sep = sep; in printlist_setup() 93 register char *sep; in fdprintlist() local 96 for (sep = ""; *list; *list++, sep = print_sep) { in fdprintlist() 98 (void)fdprintf (fd, "%s%s", sep, NB(print_prefix)); in fdprintlist() 116 q_print(int fd, char *str, char *sep) in q_print() argument 119 if (strchr(sep, *str)) in q_print()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | findstack.c | 424 sep->se_dup = nsep; in stacks_thread_cb() 425 sep->se_count++; in stacks_thread_cb() 504 stacks_entry_t *sep; in stacks_run() local 505 for (sep = si.si_hash[idx]; sep != NULL; sep = sep->se_next) in stacks_run() 506 *(cur++) = sep; in stacks_run() 547 if (sep->se_stack[idx] >= laddr && sep->se_stack[idx] < haddr) in stacks_has_caller() 800 cur = sep = head; in stacks() 822 } else if (sep->se_panic || sep->se_tstate != tstate) in stacks() 827 if (sep->se_panic) in stacks() 856 sep->se_next : sep->se_dup; in stacks() [all …]
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer6.c | 17 #define ifnl (macro? sep : ' ') 36 fprintf(fo, ".]-%c", sep); in putref() 43 fprintf(fo, "..%c", sep); in putref() 68 fprintf(fo, "%s%c", tx, sep); in putref() 71 lastype, tx, sep); in putref() 90 cch, sep, tx, sep); in putref() 93 cch, tx, sep); in putref() 103 fprintf(fo, "%s%c", tx, sep); in putref() 109 cch, sep, tx, sep); in putref() 112 cch, tx, sep); in putref() [all …]
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | options.c | 242 sep = &slp->sl_entry; in close_service() 270 sep->se_flist = fep = in close_service() 1972 sep = *sepp++; in locate_service() 2006 sep = *sepp++; in locate_service() 2024 log_for_service(sep->se_log, sep->se_debug); in locate_service() 2094 assert(sep != NULL); in launch_service() 2301 sep = *sepp; in dump_configuration() 2303 sep->se_name, sep->se_debug); in dump_configuration() 2320 sep->se_pppd); in dump_configuration() 2323 sep->se_path); in dump_configuration() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 550 kmem_free(sep->se_name, strlen(sep->se_name) + 1); in zfsctl_unmount_snap() 566 ASSERT(sep != NULL); in zfsctl_rename_snap() 577 kmem_free(sep->se_name, strlen(sep->se_name) + 1); in zfsctl_rename_snap() 714 if (sep) { in zfsctl_snapdir_remove() 1228 kmem_free(sep->se_name, strlen(sep->se_name) + 1); in zfsctl_snapshot_inactive() 1232 sep = next; in zfsctl_snapshot_inactive() 1234 ASSERT(sep != NULL); in zfsctl_snapshot_inactive() 1279 vp = sep->se_root; in zfsctl_lookup_objset() 1284 sep = AVL_NEXT(&sdp->sd_snaps, sep); in zfsctl_lookup_objset() 1287 if (sep != NULL) { in zfsctl_lookup_objset() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
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()
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mbox.c | 256 sbd_error_t *sep; in sbdp_assign_board() local 262 sep = hp->h_err; in sbdp_assign_board() 307 sbd_error_t *sep; in sbdp_unassign_board() local 313 sep = hp->h_err; in sbdp_unassign_board() 400 sbd_error_t *sep; in sbdp_connect_board() local 408 sep = hp->h_err; in sbdp_connect_board() 499 sbd_error_t *sep; in sbdp_disconnect_board() local 506 sep = hp->h_err; in sbdp_disconnect_board() 587 sep = hp->h_err; in sbdp_poweroff_board() 642 sep = hp->h_err; in sbdp_poweron_board() [all …]
|
H A D | sbdp_quiesce.c | 242 sbd_error_t *sep; member 254 ASSERT(sbrp->sep != NULL); in sbdp_check_dip() 302 sbr.sep = sep; in sbdp_check_devices() 412 sbd_error_t *sep; local 414 sep = &srh->sep; 476 "%s\n", sbdp_get_err_buf(sep)); 477 sbdp_set_err(sep, 510 sbd_error_t *sep; local 523 sep = &srh->sep; 524 ASSERT(sep); [all …]
|
/illumos-gate/usr/src/cmd/nl/ |
H A D | nl.c | 106 char sep[EXPSIZ]; in main() local 121 sep[0] = '\t'; in main() 122 sep[1] = '\0'; in main() 481 sep[r] = s[q]; in main() 485 sep[r] = '\0'; in main() 583 npad(width, sep); in main() 593 pnum(cnt, sep); in main() 610 pnum(cnt, sep); in main() 616 pnum(cnt, sep); in main() 624 pnum(cnt, sep); in main() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | uniq.c | 219 sep = 0; in uniq() 222 sep = all && *all > 0; in uniq() 227 if(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() 253 int sep; in b_uniq() local 272 sep = 1; in b_uniq() 275 sep = 0; in b_uniq() 278 sep = -1; in b_uniq() [all …]
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | strtok.c | 113 char *brkb, *brkt, *phrase, *sep, *word; in main() local 115 sep = "\\/:;=-"; in main() 120 for (word = strtok(test, sep); word; word = strtok(NULL, sep)) in main() 124 for (word = strtok_r(test, sep, &brkt); word; in main() 125 word = strtok_r(NULL, sep, &brkt)) { in main() 128 for (phrase = strtok_r(blah, sep, &brkb); phrase; in main() 129 phrase = strtok_r(NULL, sep, &brkb)) in main()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kvm.c | 1403 mdb_sespec_t *sep, *nsep; in kmt_defbp_event() local 1416 for (sep = mdb_list_next(&t->t_active); sep; sep = nsep) { in kmt_defbp_event() 1417 nsep = mdb_list_next(sep); in kmt_defbp_event() 1684 sep->se_data = kb; in kmt_brkpt_ctor() 1729 kmt_brkpt_t *kb = sep->se_data; in kmt_brkpt_secmp() 1823 for (sep = mdb_list_next(&t->t_active); sep; sep = mdb_list_next(sep)) { in kmt_brkpt_cont() 1834 for (sep = mdb_list_next(&t->t_active); sep; sep = mdb_list_next(sep)) { in kmt_brkpt_cont() 1889 sep->se_data = swp; in kmt_wapt_ctor() 2271 mdb_sespec_t *sep; in kmt_add_wapt_common() local 2281 for (sep = mdb_list_next(&t->t_active); sep; sep = mdb_list_next(sep)) { in kmt_add_wapt_common() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/ |
H A D | math.sh | 210 sep= 219 code="$code${sep}$T a$p" 220 ta="$ta${sep}a$p" 221 tc="$tc${sep}0" 226 sep="," 250 sep= 259 sep="," 269 sep= 271 do args="$args${sep}a$p" 276 code="$code${sep}$T a$p" [all …]
|
/illumos-gate/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"
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | getauthattr.c | 65 char *sep = KV_TOKEN_DELIMIT; in str2authattr() local 85 auth->name = _strtok_escape(buffer, sep, &last); in str2authattr() 86 auth->res1 = _strtok_escape(NULL, sep, &last); in str2authattr() 87 auth->res2 = _strtok_escape(NULL, sep, &last); in str2authattr() 88 auth->short_desc = _strtok_escape(NULL, sep, &last); in str2authattr() 89 auth->long_desc = _strtok_escape(NULL, sep, &last); in str2authattr() 90 auth->attr = _strtok_escape(NULL, sep, &last); in str2authattr()
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-transport/ |
H A D | disk_transport.c | 310 const char *sep; in _fmd_init() local 313 for (sep = simulate; *sep != '\0'; sep++) { in _fmd_init() 314 if (isspace(*sep)) in _fmd_init() 318 if (*sep != '\0') { in _fmd_init() 319 len = sep - simulate; in _fmd_init() 327 for (; *sep != '\0'; sep++) { in _fmd_init() 328 if (!isspace(*sep)) in _fmd_init() 332 if (*sep != '\0') { in _fmd_init() 333 dmp->dm_sim_file = fmd_hdl_strdup(hdl, sep, FMD_SLEEP); in _fmd_init()
|