Lines Matching refs:tfp
6152 check_add_ufs_sign_to_list(FILE *tfp, char *mntpt) argument
6181 len = fputs(signline, tfp);
6200 process_slice_common(char *slice, FILE *tfp, mhash_t *mhp, char *tmpmnt) argument
6216 if (check_add_ufs_sign_to_list(tfp, mntpt) == -1)
6280 ret = check_add_ufs_sign_to_list(tfp, tmpmnt);
6298 FILE *tfp, argument
6355 if (process_slice_common(slice, tfp, mhp, tmpmnt) == -1) {
6367 FILE *tfp, argument
6424 if (process_slice_common(slice, tfp, mhp, tmpmnt) == -1) {
6436 process_slice0(char *s0, FILE *tfp, mhash_t *mhp, char *tmpmnt) argument
6518 &vtoc, tfp, mhp, tmpmnt);
6521 efi, tfp, mhp, tmpmnt);
6543 FILE *tfp; local
6573 tfp = fopen(UFS_SIGNATURE_LIST".tmp", "a");
6575 INJECT_ERROR1("SIGN_LIST_APPEND_FOPEN", tfp = NULL);
6576 if (tfp == NULL) {
6585 (void) fclose(tfp);
6601 (void) fclose(tfp);
6629 ret = process_slice0(dp->d_name, tfp, mnttab_hash, tmpmnt);
6639 ret = fclose(tfp);
6686 (void) fclose(tfp);
6700 FILE *tfp; local
6730 tfp = fopen(UFS_SIGNATURE_LIST, "r");
6732 INJECT_ERROR1("FOPEN_SIGN_LIST", tfp = NULL);
6733 if (tfp == NULL) {
6740 for (i = 0; s_fgets(tmpsign, sizeof (tmpsign), tfp); i++) {
6744 (void) fclose(tfp);
6752 (void) fclose(tfp);
6761 (void) fclose(tfp);
6773 (void) fclose(tfp);
7217 FILE *tfp; local
7247 tfp = fopen(UFS_SIGNATURE_LIST".tmp", "a");
7249 INJECT_ERROR1("ADD_TO_SIGN_LIST_FOPEN", tfp = NULL);
7250 if (tfp == NULL) {
7258 ret = fputs(signline, tfp);
7263 (void) fclose(tfp);
7268 ret = fclose(tfp);