Lines Matching refs:tmpsign
5084 char tmpsign[MAXNAMELEN + 1]; local
5115 (void) snprintf(tmpsign, sizeof (tmpsign), "%s", entp->d_name);
5118 strncmp(tmpsign, GRUBSIGN_LU_PREFIX,
5120 lu = s_strdup(tmpsign);
5124 strncmp(tmpsign, GRUBSIGN_UFS_PREFIX,
5126 ufs = s_strdup(tmpsign);
5130 strncmp(tmpsign, GRUBSIGN_ZFS_PREFIX,
5132 zfs = s_strdup(tmpsign);
5172 char tmpsign[MAXNAMELEN + 1]; local
5199 while (s_fgets(tmpsign, sizeof (tmpsign), bfp) != NULL) {
5202 strncmp(tmpsign, GRUBSIGN_LU_PREFIX,
5204 lu = s_strdup(tmpsign);
5208 strncmp(tmpsign, GRUBSIGN_UFS_PREFIX,
5210 ufs = s_strdup(tmpsign);
5214 strncmp(tmpsign, GRUBSIGN_ZFS_PREFIX,
5216 zfs = s_strdup(tmpsign);
6404 char tmpsign[MAXNAMELEN + 1]; local
6447 for (i = 0; s_fgets(tmpsign, sizeof (tmpsign), tfp); i++) {
6449 if (strncmp(tmpsign, GRUBSIGN_UFS_PREFIX,
6453 bam_error(UFS_BADSIGN, tmpsign);
6456 numstr = tmpsign + strlen(GRUBSIGN_UFS_PREFIX);
6461 bam_error(UFS_BADSIGN, tmpsign);
6470 bam_error(UFS_BADSIGN, tmpsign);
6483 (void) snprintf(tmpsign, sizeof (tmpsign), "rootfs%d", i);
6486 ret = ufs_add_to_sign_list(tmpsign);
6490 bam_error(FAILED_ADD_SIGNLIST, tmpsign);
6496 return (s_strdup(tmpsign));
6551 char tmpsign[PATH_MAX]; local
6567 (void) snprintf(tmpsign, sizeof (tmpsign), "pool_%s", pool);
6569 BAM_DPRINTF((D_CREATED_ZFS_SIGN, fcn, tmpsign));
6575 return (s_strdup(tmpsign));
6606 char tmpsign[PATH_MAX]; local
6620 while (s_fgets(tmpsign, sizeof (tmpsign), bfp)) {
6621 if (strcmp(tmpsign, sign) == 0) {
6672 (void) snprintf(tmpsign, sizeof (tmpsign), "%s\n", sign);
6674 ret = fputs(tmpsign, bfp);
6677 if (ret != strlen(tmpsign)) {