Lines Matching refs:tfp
5887 check_add_ufs_sign_to_list(FILE *tfp, char *mntpt) argument
5916 len = fputs(signline, tfp);
5935 process_slice_common(char *slice, FILE *tfp, mhash_t *mhp, char *tmpmnt) argument
5951 if (check_add_ufs_sign_to_list(tfp, mntpt) == -1)
6015 ret = check_add_ufs_sign_to_list(tfp, tmpmnt);
6033 FILE *tfp, argument
6090 if (process_slice_common(slice, tfp, mhp, tmpmnt) == -1) {
6102 FILE *tfp, argument
6159 if (process_slice_common(slice, tfp, mhp, tmpmnt) == -1) {
6171 process_slice0(char *s0, FILE *tfp, mhash_t *mhp, char *tmpmnt) argument
6253 &vtoc, tfp, mhp, tmpmnt);
6256 efi, tfp, mhp, tmpmnt);
6278 FILE *tfp; local
6308 tfp = fopen(UFS_SIGNATURE_LIST".tmp", "a");
6310 INJECT_ERROR1("SIGN_LIST_APPEND_FOPEN", tfp = NULL);
6311 if (tfp == NULL) {
6320 (void) fclose(tfp);
6336 (void) fclose(tfp);
6364 ret = process_slice0(dp->d_name, tfp, mnttab_hash, tmpmnt);
6374 ret = fclose(tfp);
6421 (void) fclose(tfp);
6435 FILE *tfp; local
6465 tfp = fopen(UFS_SIGNATURE_LIST, "r");
6467 INJECT_ERROR1("FOPEN_SIGN_LIST", tfp = NULL);
6468 if (tfp == NULL) {
6475 for (i = 0; s_fgets(tmpsign, sizeof (tmpsign), tfp); i++) {
6479 (void) fclose(tfp);
6487 (void) fclose(tfp);
6496 (void) fclose(tfp);
6508 (void) fclose(tfp);
6952 FILE *tfp; local
6982 tfp = fopen(UFS_SIGNATURE_LIST".tmp", "a");
6984 INJECT_ERROR1("ADD_TO_SIGN_LIST_FOPEN", tfp = NULL);
6985 if (tfp == NULL) {
6993 ret = fputs(signline, tfp);
6998 (void) fclose(tfp);
7003 ret = fclose(tfp);