Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dloadsave.c864 FILE *fp1 = NULL, *fp2 = NULL; in load_public_token_objects() local
878 fp1 = fopen((char *)iname, "r"); in load_public_token_objects()
879 if (!fp1) in load_public_token_objects()
882 if (lockfile(fileno(fp1), F_RDLCK)) { in load_public_token_objects()
883 (void) fclose(fp1); in load_public_token_objects()
887 while (!feof(fp1)) { in load_public_token_objects()
888 (void) fgets((char *)tmp, 50, fp1); in load_public_token_objects()
889 if (feof(fp1)) in load_public_token_objects()
914 (void) lockfile(fileno(fp1), F_UNLCK); in load_public_token_objects()
915 (void) fclose(fp1); in load_public_token_objects()
[all …]
/titanic_44/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 …]
/titanic_44/usr/src/cmd/bnu/
H A Dgnxseq.c41 register FILE *fp0, *fp1; local
64 if ((fp1 = fopen(SQTMP, "w")) == NULL) {
78 fputs(buf, fp1);
88 fprintf(fp1, "%s %d %d/%d-%d:%2.2d\n", name, ct,
96 fputs(buf, fp1);
99 fclose(fp1);
H A Deio.c130 ewrdata(fp1, fn) in ewrdata() argument
131 FILE *fp1; in ewrdata()
152 fd1 = fileno(fp1);
367 twrdata(fp1, fn) in twrdata() argument
368 FILE *fp1; in twrdata()
381 fstat(fileno(fp1), &statbuf);
383 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.c222 fwrdata(fp1, fn) in fwrdata() argument
223 FILE *fp1; in fwrdata()
237 alen = fwrblk(fn, fp1, &flen);
242 } while (!feof(fp1) && !ferror(fp1));
253 fseek(fp1, 0L, 0);
H A Dxio.c143 xwrdata(fp1, fn) in xwrdata() argument
144 FILE *fp1; in xwrdata()
152 fd1 = fileno( fp1 );
H A Ddio.c166 dwrdata(fp1, fn) in dwrdata() argument
167 FILE *fp1; in dwrdata()
175 fd1 = fileno( fp1 );
H A Dgio.c140 gwrdata(fp1, fn) in gwrdata() argument
141 FILE *fp1; in gwrdata()
152 fd1 = fileno( fp1 );
H A Duuxqt.c68 DIR *fp1; local
185 fp1 = opendir(Spool);
186 ASSERT(fp1 != NULL, Ct_OPEN, Spool, errno);
193 closedir(fp1);
205 while (gdirf(fp1, dirname, Spool) == TRUE) {
221 closedir(fp1);
/titanic_44/usr/src/cmd/sendmail/libsm/
H A Dfopen.c367 sm_io_automode(fp1, fp2) in sm_io_automode() argument
368 SM_FILE_T *fp1; in sm_io_automode()
371 SM_REQUIRE_ISA(fp1, SmFileMagic);
374 fp1->f_modefp = fp2;
375 fp2->f_modefp = fp1;
/titanic_44/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()
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 …]
/titanic_44/usr/src/lib/libc/amd64/unwind/
H A Dunwind.c235 uint64_t fp1 = ctx->current_regs[FP_RBP]; in finish_capture() local
236 uint64_t fp2 = from_landing_pad ? fp1 : ((uint64_t *)fp1)[0]; in finish_capture()
/titanic_44/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()
544 count = chunksize = fp1->sf_pmss - sizeof (*sdc); 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()
[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()
/titanic_44/usr/src/lib/libcurses/screen/
H A Dtparm.c247 tparm(char *instring, long fp1, long fp2, long p3, long p4, in tparm() argument
261 volatile long p1 = fp1, p2 = fp2; /* copy in case < 2 actual parms */ in tparm()
H A Dllib-lcurses1051 char *tparm(char *instring, long fp1, long fp2, long p3, long p4, long p5,