Lines Matching refs:tfp
6560 check_add_ufs_sign_to_list(FILE *tfp, char *mntpt) argument
6590 len = fputs(signline, tfp);
6611 process_slice_common(char *slice, FILE *tfp, mhash_t *mhp, char *tmpmnt) argument
6627 if (check_add_ufs_sign_to_list(tfp, mntpt) == -1)
6694 ret = check_add_ufs_sign_to_list(tfp, tmpmnt);
6712 FILE *tfp, argument
6774 if (process_slice_common(slice, tfp, mhp, tmpmnt) == -1) {
6786 FILE *tfp, argument
6848 if (process_slice_common(slice, tfp, mhp, tmpmnt) == -1) {
6860 process_slice0(char *s0, FILE *tfp, mhash_t *mhp, char *tmpmnt) argument
6954 &vtoc, tfp, mhp, tmpmnt);
6957 efi, tfp, mhp, tmpmnt);
6980 FILE *tfp; local
7012 tfp = fopen(UFS_SIGNATURE_LIST".tmp", "a");
7014 INJECT_ERROR1("SIGN_LIST_APPEND_FOPEN", tfp = NULL);
7015 if (tfp == NULL) {
7025 (void) fclose(tfp);
7042 (void) fclose(tfp);
7072 ret = process_slice0(dp->d_name, tfp, mnttab_hash, tmpmnt);
7082 ret = fclose(tfp);
7131 (void) fclose(tfp);
7145 FILE *tfp; local
7176 tfp = fopen(UFS_SIGNATURE_LIST, "r");
7178 INJECT_ERROR1("FOPEN_SIGN_LIST", tfp = NULL);
7179 if (tfp == NULL) {
7186 for (i = 0; s_fgets(tmpsign, sizeof (tmpsign), tfp); i++) {
7190 (void) fclose(tfp);
7198 (void) fclose(tfp);
7207 (void) fclose(tfp);
7220 (void) fclose(tfp);
7681 FILE *tfp; local
7711 tfp = fopen(UFS_SIGNATURE_LIST".tmp", "a");
7713 INJECT_ERROR1("ADD_TO_SIGN_LIST_FOPEN", tfp = NULL);
7714 if (tfp == NULL) {
7723 ret = fputs(signline, tfp);
7729 (void) fclose(tfp);
7734 ret = fclose(tfp);