/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | fopen.c | 230 SM_FILE_T *fp2; local 287 fp2 = sm_fp(type, ioflags, fp); 288 ret = (*fp2->f_open)(fp2, info, flags, rpool); 296 fp2->f_flags = 0; /* release */ 297 fp2->sm_magic = NULL; /* release */ 313 sm_rpool_attach_x(rpool, sm_io_close, fp2); 316 return fp2; 333 sm_io_autoflush(fp, fp2) in sm_io_autoflush() argument 335 SM_FILE_T *fp2; 340 if (fp2 != NULL) [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | loadsave.c | 864 FILE *fp1 = NULL, *fp2 = NULL; in load_public_token_objects() local 900 fp2 = fopen((char *)fname, "r"); in load_public_token_objects() 901 if (!fp2) in load_public_token_objects() 904 (void) fread(&size, sizeof (UINT32), 1, fp2); in load_public_token_objects() 905 (void) fread(&priv, sizeof (CK_BBOOL), 1, fp2); in load_public_token_objects() 907 (void) fclose(fp2); in load_public_token_objects() 916 (void) fclose(fp2); in load_public_token_objects() 920 (void) fread(buf, size, 1, fp2); in load_public_token_objects() 925 (void) fclose(fp2); in load_public_token_objects() 934 (void) fclose(fp2); in load_public_token_objects() [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | pipe.c | 111 struct file *fp1, *fp2; in pipe() local 138 if (error = falloc(vp2, FWRITE|FREAD, &fp2, &fd2)) in pipe() 147 if (error = fifo_stropen(&vp2, FWRITE|FREAD, fp2->f_cred, 0, 0)) { in pipe() 162 flag2 = fp2->f_flag; in pipe() 170 if (error = VOP_SETFL(vp2, flag2, iflags, fp2->f_cred, NULL)) { in pipe() 173 fp2->f_flag |= iflags; in pipe() 191 mutex_exit(&fp2->f_tlock); in pipe() 193 setf(fd2, fp2); in pipe() 211 (void) VOP_CLOSE(vp2, FWRITE|FREAD, 1, (offset_t)0, fp2->f_cred, NULL); in pipe() 214 unfalloc(fp2); in pipe()
|
/illumos-gate/usr/src/cmd/print/conv_fix/ |
H A D | conv_fix.c | 92 FILE *fp, *fp2; in main() local 132 if ((fp2 = fdopen(fd, "a")) != NULL) { in main() 134 (void) fprintf(fp2, "%s", cp); in main()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | cpmv.c | 166 xfappend(fp1, fp2) in xfappend() argument 167 register FILE *fp1, *fp2; in xfappend() 174 fputs(buf, fp2); 177 return (ferror(fp1) || ferror(fp2) ? FAIL : SUCCESS);
|
H A D | dio.c | 202 drddata(fn, fp2) in drddata() argument 203 FILE *fp2; in drddata() 212 fd2 = fileno( fp2 );
|
H A D | eio.c | 195 erddata(int fn, FILE *fp2) in erddata() argument 230 fd2 = fileno( fp2 ); in erddata() 234 if (write(fileno(fp2), erdptr, Erdlen) != Erdlen) in erddata() 404 trddata(int fn, FILE *fp2) in trddata() argument 426 if (write(fileno(fp2), bufr, len) != len) in trddata()
|
H A D | fio.c | 262 frddata(fn, fp2) in frddata() argument 264 FILE *fp2; 283 if (fwrite(ibuf, sizeof (char), flen, fp2) != flen) 293 fseek(fp2, 0L, 0);
|
H A D | xio.c | 172 xrddata(int fn, FILE *fp2) in xrddata() argument 181 fd2 = fileno( fp2 ); in xrddata()
|
H A D | gio.c | 164 grddata(int fn, FILE *fp2) in grddata() argument 175 fd2 = fileno( fp2 ); in grddata()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_opt_data.c | 460 sctp_faddr_t *fp, *fp2; in sctp_set_peer_addr_params() local 482 for (fp2 = sctp->sctp_faddrs; fp2; fp2 = fp2->sf_next) { in sctp_set_peer_addr_params() 483 if (!fp || fp2 == fp) { in sctp_set_peer_addr_params() 486 sum += fp2->sf_max_retr; in sctp_set_peer_addr_params() 516 for (fp2 = sctp->sctp_faddrs; fp2 != NULL; fp2 = fp2->sf_next) { in sctp_set_peer_addr_params() 522 sctp_send_heartbeat(sctp, fp2); in sctp_set_peer_addr_params() 524 fp2->sf_hb_interval = MSEC_TO_TICK( in sctp_set_peer_addr_params() 526 fp2->sf_hb_expiry = now + SET_HB_INTVL(fp2); in sctp_set_peer_addr_params() 529 fp2->sf_max_retr = spp->spp_pathmaxrxt; in sctp_set_peer_addr_params()
|
H A D | sctp_common.c | 421 sctp_faddr_t *fp1, *fp2; in sctp_compare_faddrsets() local 425 for (fp2 = a2; fp2; fp2 = fp2->sf_next) { in sctp_compare_faddrsets() 427 &fp2->sf_faddr)) { in sctp_compare_faddrsets()
|
/illumos-gate/usr/src/lib/libc/amd64/unwind/ |
H A D | unwind.c | 235 uint64_t fp2 = from_landing_pad ? fp1 : ((uint64_t *)fp1)[0]; in finish_capture() local 237 ctx->pc = ((uint64_t *)fp2)[1]; in finish_capture() 238 ctx->current_regs[SP_RSP] = fp2 + 16; in finish_capture() 239 ctx->current_regs[FP_RBP] = ((uint64_t *)fp2)[0]; in finish_capture()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_debug.c | 587 nfs4_rfact_t *fp1, *fp2; in facts_same() local 596 fp2 = &new_msg->rmsg_u.msg_fact; in facts_same() 605 if (fp1->rf_type != fp2->rf_type) in facts_same() 609 if (fp1->rf_action != fp2->rf_action) in facts_same() 611 if (fp1->rf_stat4 != fp2->rf_stat4) in facts_same() 613 if (fp1->rf_reboot != fp2->rf_reboot) in facts_same() 615 if (fp1->rf_op != fp2->rf_op) in facts_same() 617 if (fp1->rf_time.tv_sec != fp2->rf_time.tv_sec) in facts_same() 619 if (fp1->rf_error != fp2->rf_error) in facts_same() 621 if (fp1->rf_rp1 != fp2->rf_rp1) in facts_same() [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | tparm.c | 248 tparm(char *instring, long fp1, long fp2, long p3, long p4, in tparm() argument 262 volatile long p1 = fp1, p2 = fp2; /* copy in case < 2 actual parms */ in tparm()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsref/ |
H A D | nfsref.c | 197 FILE *fp, *fp2; in delref() local
|