Home
last modified time | relevance | path

Searched refs:fp1 (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dloadsave.c879 if (!fp1) in load_public_token_objects()
889 if (feof(fp1)) in load_public_token_objects()
937 (void) fclose(fp1); in load_public_token_objects()
960 if (!fp1) in load_private_token_objects()
970 if (feof(fp1)) in load_private_token_objects()
1022 if (fp1) { in load_private_token_objects()
1180 FILE *fp1, *fp2; in delete_token_object() local
1210 if (fp1) in delete_token_object()
1232 if (!feof(fp1)) { in delete_token_object()
1247 if (fp1) in delete_token_object()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Dpipe.c111 struct file *fp1, *fp2; in pipe() local
132 if (error = falloc(vp1, FWRITE|FREAD, &fp1, &fd1)) { in pipe()
144 if (error = fifo_stropen(&vp1, FWRITE|FREAD, fp1->f_cred, 0, 0)) in pipe()
149 fp1->f_cred, NULL); in pipe()
161 flag1 = fp1->f_flag; in pipe()
165 if (error = VOP_SETFL(vp1, flag1, iflags, fp1->f_cred, NULL)) { in pipe()
168 fp1->f_flag |= iflags; in pipe()
190 mutex_exit(&fp1->f_tlock); in pipe()
192 setf(fd1, fp1); in pipe()
205 (void) VOP_CLOSE(vp1, FWRITE|FREAD, 1, (offset_t)0, fp1->f_cred, NULL); in pipe()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dgnxseq.c37 register FILE *fp0, *fp1; in gnxseq() local
60 if ((fp1 = fopen(SQTMP, "w")) == NULL) { in gnxseq()
74 fputs(buf, fp1); in gnxseq()
84 fprintf(fp1, "%s %d %d/%d-%d:%2.2d\n", name, ct, in gnxseq()
92 fputs(buf, fp1); in gnxseq()
95 fclose(fp1); in gnxseq()
H A Deio.c123 ewrdata(fp1, fn) in ewrdata() argument
124 FILE *fp1; in ewrdata()
145 fd1 = fileno(fp1);
355 twrdata(fp1, fn) in twrdata() argument
356 FILE *fp1; in twrdata()
369 fstat(fileno(fp1), &statbuf);
371 while ((len = read(fileno(fp1), bufr.t_data, TBUFSIZE)) > 0) {
H A Dcpmv.c166 xfappend(fp1, fp2) in xfappend() argument
167 register FILE *fp1, *fp2; in xfappend()
171 while (fgets(buf, sizeof (buf), fp1) != NULL) {
177 return (ferror(fp1) || ferror(fp2) ? FAIL : SUCCESS);
H A Dfio.c220 fwrdata(fp1, fn) in fwrdata() argument
221 FILE *fp1; in fwrdata()
235 alen = fwrblk(fn, fp1, &flen);
240 } while (!feof(fp1) && !ferror(fp1));
251 fseek(fp1, 0L, 0);
H A Ddio.c164 dwrdata(fp1, fn) in dwrdata() argument
165 FILE *fp1; in dwrdata()
173 fd1 = fileno( fp1 );
H A Dxio.c139 xwrdata(FILE *fp1, int fn) in xwrdata() argument
147 fd1 = fileno( fp1 ); in xwrdata()
H A Dgio.c136 gwrdata(FILE *fp1, int fn) in gwrdata() argument
147 fd1 = fileno( fp1 ); in gwrdata()
H A Duuxqt.c66 DIR *fp1; local
183 fp1 = opendir(Spool);
184 ASSERT(fp1 != NULL, Ct_OPEN, Spool, errno);
191 closedir(fp1);
203 while (gdirf(fp1, dirname, Spool) == TRUE) {
219 closedir(fp1);
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfopen.c365 sm_io_automode(fp1, fp2) in sm_io_automode() argument
366 SM_FILE_T *fp1; in sm_io_automode()
369 SM_REQUIRE_ISA(fp1, SmFileMagic);
372 fp1->f_modefp = fp2;
373 fp2->f_modefp = fp1;
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_debug.c587 nfs4_rfact_t *fp1, *fp2; in facts_same() local
604 fp1 = &cur_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()
619 if (fp1->rf_error != fp2->rf_error) in facts_same()
621 if (fp1->rf_rp1 != fp2->rf_rp1) in facts_same()
643 if (fp1->rf_char1 != NULL) { in facts_same()
[all …]
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Dunwind.c234 uint64_t fp1 = ctx->current_regs[FP_RBP]; in finish_capture() local
235 uint64_t fp2 = from_landing_pad ? fp1 : ((uint64_t *)fp1)[0]; in finish_capture()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_output.c332 sctp_faddr_t *fp1; in sctp_chunkify() local
524 fp1 = SCTP_CHUNK_DEST(mdblk); in sctp_chunkify()
525 if (fp1 == NULL) in sctp_chunkify()
526 fp1 = sctp->sctp_current; in sctp_chunkify()
527 if (fp == fp1) { in sctp_chunkify()
539 if (fp1->sf_isv4) in sctp_chunkify()
545 fp = fp1; in sctp_chunkify()
821 sctp_faddr_t *fp1; in sctp_get_msg_to_send() local
916 fp1 = SCTP_CHUNK_DEST(sctp->sctp_xmit_unsent); in sctp_get_msg_to_send()
917 if (fp1 != NULL && fp1->sf_state == SCTP_FADDRS_ALIVE && in sctp_get_msg_to_send()
[all …]
H A Dsctp_common.c421 sctp_faddr_t *fp1, *fp2; in sctp_compare_faddrsets() local
423 for (fp1 = a1; fp1; fp1 = fp1->sf_next) { in sctp_compare_faddrsets()
426 if (IN6_ARE_ADDR_EQUAL(&fp1->sf_faddr, in sctp_compare_faddrsets()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtparm.c248 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()