/illumos-gate/usr/src/cmd/mail/ |
H A D | cksaved.c | 51 char save[MAXFILENAME], mail[MAXFILENAME]; local 54 cat(save, mailsave, user); 59 if ((stat(save, &stbuf) != 0) || (stbuf.st_size == 0)) 73 chmod(save, MFMODE); 75 if (link(save, mail) != 0) { 81 if (unlink(save) != 0) { 87 if (rename(save, mail) != 0) { 109 if ((Istream = fopen(save, "r")) == NULL) { 111 "file '%s' for reading\n", program, save); 120 if (unlink(save) != 0) {
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_dtime.c | 195 char *save; in getaline() local 201 *(save = line) = '\0'; in getaline() 231 return (save); in getaline() 246 char *h, *t, *save; in get_ddname() local 252 save = h = t = *bpp; in get_ddname() 274 return (save); in get_ddname() 289 char *t, *save; in get_ddlevel() local 295 save = t = *bpp; in get_ddlevel() 308 return (toupper(*save)); in get_ddlevel() 316 return (atoi(save)); in get_ddlevel() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcp.c | 269 unsigned char *start, save; in show_options() local 290 save = *start++; in show_options() 291 switch (save) { in show_options() 301 "Error: Bad %s", option_types[save]); in show_options() 304 display_ip(1, "%s = %s", option_types[save], in show_options() 337 option_types[save]); in show_options() 341 option_types[save], &start); in show_options() 355 display_ascii("%s = %s", option_types[save], &start); in show_options() 367 display_number("%s = %d seconds", option_types[save], in show_options() 380 display_number("%s flag = 0x%x", option_types[save], in show_options() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | expfile.c | 52 char user[NAMESIZE], save[MAXFULLNAME]; local 55 if (strlcpy(save, file, sizeof (save)) >= sizeof (save)) 60 for (fpart = save + 1, up = user; *fpart != '\0' 71 if (strlen(Wrkdir) + strlen(save) + 2 > (unsigned)MAXFULLNAME) 73 (void) sprintf(file, "%s/%s", Wrkdir, save);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | config.c | 154 check_var_consistency(struct confvar *cv, void *save, int size) in check_var_consistency() argument 176 (void) memcpy(cv, save, size); in check_var_consistency() 184 check_if_var_consistency(struct confvar *cv, void *save, int size) in check_if_var_consistency() argument 219 (void) memcpy(cv, save, size); in check_if_var_consistency() 265 char save[sizeof (ifdefaults)]; in parse_config() local 276 (void) memcpy(save, ifdefaults, sizeof (ifdefaults)); in parse_config() 279 check_if_var_consistency(ifdefaults, save, in parse_config() 280 sizeof (save)); in parse_config() 282 char save[sizeof (prefixdefaults)]; in parse_config() local 293 (void) memcpy(save, prefixdefaults, in parse_config() [all …]
|
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kaif.c | 125 kaif_cpusave_t *save; in kaif_cpuid2save() local 135 save = &kaif_cpusave[cpuid]; in kaif_cpuid2save() 137 if (save->krs_cpu_state != KAIF_CPU_STATE_MASTER && in kaif_cpuid2save() 138 save->krs_cpu_state != KAIF_CPU_STATE_SLAVE) { in kaif_cpuid2save() 143 return (save); in kaif_cpuid2save() 149 kaif_cpusave_t *save; in kaif_get_cpu_state() local 151 if ((save = kaif_cpuid2save(cpuid)) == NULL) in kaif_get_cpu_state() 154 switch (save->krs_cpu_state) { in kaif_get_cpu_state() 173 kaif_cpusave_t *save; in kaif_kdi_to_gregs() local 175 if ((save = kaif_cpuid2save(cpuid)) == NULL) in kaif_kdi_to_gregs() [all …]
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | strrchr.c | 42 char *save; in strrchr() local 46 for (save = NULL;; ++p) { in strrchr() 48 save = (char *)p; in strrchr() 50 return (save); in strrchr()
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | setjmp.S | 53 movl %ebx,0(%eax) / save ebx 54 movl %esi,4(%eax) / save esi 55 movl %edi,8(%eax) / save edi 56 movl %ebp,12(%eax) / save caller's ebp 67 movl %edx,20(%eax) / save caller's return address
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | main.c | 485 unsigned char *save; in chkmail() local 494 save = 0; in chkmail() 499 if (*s == '%' && save == 0) in chkmail() 500 save = s; in chkmail() 509 if (save) in chkmail() 510 *save = 0; in chkmail() 515 if (save) { in chkmail() 516 prs(save+1); in chkmail() 526 if (save) in chkmail() 527 *save = '%'; in chkmail()
|
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_hcall.S | 64 save %sp, -SA(MINFRAME64), %sp 70 stx %o1, [%i2] ! save status 71 stx %o2, [%i3] ! save delta 72 stx %o3, [%i4] ! save watchdog 73 stx %o4, [%i5] ! save write status
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | read_fifo.c | 322 fbp->psave = fbp->psave_end = fbp->save; /* sane pointers! */ in _buffer() 328 if (fbp->psave != fbp->save) /* sane pointers! */ in _buffer() 336 memmove(fbp->save, fbp->psave, fbp->psave_end - fbp->psave); in _buffer() 338 fbp->psave_end = fbp->save + (fbp->psave_end - fbp->psave); in _buffer() 339 fbp->psave = fbp->save; /* sane pointers! */ in _buffer() 349 nbytes = MSGMAX - (fbp->psave_end - fbp->save); in _buffer()
|
/illumos-gate/usr/src/stand/lib/sa/sparc/ |
H A D | _setjmp.S | 76 st %sp, [%o0 + SPVAL] ! save caller's sp 91 * We will flush our registers by doing (nwindows-1) save instructions. 109 save %sp, -WINDOWSIZE, %sp 119 save %sp, -WINDOWSIZE, %sp 127 sub %fp, -SA(MINFRAME), %sp ! establish new save area
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_connects.c | 85 int save = errno; in evListen() local 88 errno = save; in evListen() 117 int save = errno; in evConnect() local 120 errno = save; in evConnect() 128 int save = errno; in evConnect() local 132 errno = save; in evConnect() 298 int save = errno; in listener() local 301 errno = save; in listener() 354 int save = errno; in connector() local 357 errno = save; in connector()
|
/illumos-gate/usr/src/uts/sun4/ml/ |
H A D | locore.S | 79 save %sp, -SA64(MINFRAME64), %sp ! 64 bit save 80 rdpr %wstate, %l5 ! save %wstate 83 rdpr %pstate, %l0 ! save %pstate
|
H A D | swtch.S | 69 save %sp, -SA(MINFRAME), %sp ! save ins and locals 77 stn %i7, [THREAD_REG + T_PC] ! save return address 78 stn %fp, [THREAD_REG + T_SP] ! save sp 96 ! we save fprs at the beginning the stack so we know 102 st %g4, [%i2 + SA(MINFRAME) + FPU_FPRS] ! save fprs 104 ! save kernel fp state in stack 118 stn %fp, [THREAD_REG + T_SP] ! save sp 489 save %sp, -SA(MINFRAME), %sp ! save ins and locals 493 ! to save the floating-point state if fprs has been
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kaif_start.c | 164 kaif_cpusave_t *save = &kaif_cpusave[i]; in kaif_master_loop() local 166 if (save->krs_cpu_state == in kaif_master_loop() 168 !save->krs_cpu_flushed) { in kaif_master_loop() 448 kaif_cpusave_t *save = &kaif_cpusave[i]; in kaif_slave_loop_barrier() local 450 if (save->krs_cpu_state == in kaif_slave_loop_barrier() 452 !save->krs_cpu_acked) { in kaif_slave_loop_barrier()
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wgetch.c | 240 struct termios save; in pollTypeahead() local 248 save = __m_tty_override_mode(0, 0); in pollTypeahead() 254 (void) __m_tty_set(&save); in pollTypeahead() 341 struct termios save; in wgetch() local 350 save = __m_tty_override_mode(w->_vmin, w->_vtime); in wgetch() 352 (void) __m_tty_set(&save); in wgetch() 359 (void) __m_tty_set(&save); in wgetch()
|
/illumos-gate/usr/src/cmd/mailx/misc/ |
H A D | mailx.help | 8 copy [msglist] file save messages to file without marking as saved 16 followup [msglist] reply to authors of messages and save copy 17 Followup [message] reply to all recipients of message and save copy 34 save [msglist] file save (appending) messages to file 35 Save [msglist] save messages to file named after author
|
/illumos-gate/usr/src/test/util-tests/tests/pcieadm/ |
H A D | pcieadmtest.ksh | 90 pcieadm_bad_args save-cfgspace 91 pcieadm_bad_args save-cfgspace -a 92 pcieadm_bad_args save-cfgspace -d 93 pcieadm_bad_args save-cfgspace -d final 94 pcieadm_bad_args save-cfgspace -a -d fantasy
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_seq.c | 409 EPG *ep, save; local 433 save = *ep; 436 if (save.page->pgno != ep->page->pgno) { 437 mpool_put(t->bt_mp, save.page, 0); 438 save = *ep; 440 save.index = ep->index; 450 if (h->pgno != save.page->pgno) 454 if (h->pgno == save.page->pgno) 456 save.page, 0); 470 if (h->pgno != save.page->pgno) [all …]
|
/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | rust-v0.c | 195 strview_t save; in rustv0_parse_uint_type() local 201 sv_init_sv(&save, sv); in rustv0_parse_uint_type() 223 sv_init_sv(sv, &save); in rustv0_parse_uint_type() 235 strview_t save; in rustv0_parse_basic_type() local 244 sv_init_sv(&save, sv); in rustv0_parse_basic_type() 293 sv_init_sv(sv, &save); in rustv0_parse_basic_type() 305 strview_t save; in rustv0_parse_type() local 319 sv_init_sv(&save, sv); in rustv0_parse_type() 402 sv_init_sv(sv, &save); in rustv0_parse_type() 433 strview_t save; in rustv0_parse_path() local [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 2622 return (hp->save.acc.ahi_get8(&hp->save.acc, (uint8_t *)addr)); in do_bofi_rd8() 2648 return (hp->save.acc.ahi_get8(&hp->save.acc, addr)); in bofi_rd8() 2659 return (hp->save.acc.ahi_get16(&hp->save.acc, (uint16_t *)addr)); in do_bofi_rd16() 2675 return (hp->save.acc.ahi_get16(&hp->save.acc, addr)); in bofi_rd16() 2686 return (hp->save.acc.ahi_get32(&hp->save.acc, (uint32_t *)addr)); in do_bofi_rd32() 2702 return (hp->save.acc.ahi_get32(&hp->save.acc, addr)); in bofi_rd32() 2713 return (hp->save.acc.ahi_get64(&hp->save.acc, (uint64_t *)addr)); in do_bofi_rd64() 2729 return (hp->save.acc.ahi_get64(&hp->save.acc, addr)); in bofi_rd64() 2759 hp->save.acc.ahi_put8(&hp->save.acc, addr, (uint8_t)llvalue); in bofi_wr8() 2763 hp->save.acc.ahi_put8(&hp->save.acc, addr, (uint8_t)llvalue); in bofi_wr8() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | proc.c | 39 void (*save)(void *), in installpctx() 48 pctx->save_op = save; in installpctx() 65 void (*save)(void *), in removepctx() 76 if (pctx->save_op == save && pctx->restore_op == restore && in removepctx()
|
/illumos-gate/usr/src/uts/sun4v/io/glvc/ |
H A D | glvc_hcall.S | 39 save %sp, -SA(MINFRAME), %sp 59 save %sp, -SA(MINFRAME), %sp 78 mov %o1, %o4 ! save datap
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_util.c | 457 char *cp, *save; in get_volname() local 463 if (!(save = strdup(path))) in get_volname() 468 free(save); in get_volname() 472 if ((cp = strchr(save + sp, '/'))) in get_volname() 475 return (save); in get_volname()
|