Lines Matching defs:tmpsign

5576 	char		tmpsign[MAXNAMELEN + 1];
5608 (void) snprintf(tmpsign, sizeof (tmpsign), "%s", entp->d_name);
5611 strncmp(tmpsign, GRUBSIGN_LU_PREFIX,
5613 lu = s_strdup(tmpsign);
5617 strncmp(tmpsign, GRUBSIGN_UFS_PREFIX,
5619 ufs = s_strdup(tmpsign);
5623 strncmp(tmpsign, GRUBSIGN_ZFS_PREFIX,
5625 zfs = s_strdup(tmpsign);
5667 char tmpsign[MAXNAMELEN + 1];
5696 while (s_fgets(tmpsign, sizeof (tmpsign), bfp) != NULL) {
5699 strncmp(tmpsign, GRUBSIGN_LU_PREFIX,
5701 lu = s_strdup(tmpsign);
5705 strncmp(tmpsign, GRUBSIGN_UFS_PREFIX,
5707 ufs = s_strdup(tmpsign);
5711 strncmp(tmpsign, GRUBSIGN_ZFS_PREFIX,
5713 zfs = s_strdup(tmpsign);
6964 char tmpsign[MAXNAMELEN + 1];
7008 for (i = 0; s_fgets(tmpsign, sizeof (tmpsign), tfp); i++) {
7010 if (strncmp(tmpsign, GRUBSIGN_UFS_PREFIX,
7014 bam_error(_("bad UFS boot signature: %s\n"), tmpsign);
7017 numstr = tmpsign + strlen(GRUBSIGN_UFS_PREFIX);
7022 bam_error(_("bad UFS boot signature: %s\n"), tmpsign);
7031 bam_error(_("bad UFS boot signature: %s\n"), tmpsign);
7045 (void) snprintf(tmpsign, sizeof (tmpsign), "rootfs%d", i);
7048 ret = ufs_add_to_sign_list(tmpsign);
7052 bam_error(_("failed to add sign %s to signlist.\n"), tmpsign);
7058 return (s_strdup(tmpsign));
7115 char tmpsign[PATH_MAX];
7131 (void) snprintf(tmpsign, sizeof (tmpsign), "pool_%s", pool);
7133 BAM_DPRINTF(("%s: created ZFS sign: %s\n", fcn, tmpsign));
7139 return (s_strdup(tmpsign));
7172 char tmpsign[PATH_MAX];
7186 while (s_fgets(tmpsign, sizeof (tmpsign), bfp)) {
7187 if (strcmp(tmpsign, sign) == 0) {
7241 (void) snprintf(tmpsign, sizeof (tmpsign), "%s\n", sign);
7243 ret = fputs(tmpsign, bfp);
7246 if (ret != strlen(tmpsign)) {