alts_ent
struct alts_ent *ap_entp; /* alternate sector entry table */
struct alts_ent *ap_gbadp; /* growing badsec entry table */
struct alts_ent *ast_entp; /* alternate sector entry table */
struct alts_ent *ast_gbadp; /* growing bad sector entry ptr */
(struct alts_ent *)malloc(ap->ap_ent_secsiz)) == NULL) {
struct alts_ent *growbadp;
ap->ap_gbadp = (struct alts_ent *)malloc(cnt*ALTS_ENT_SIZE);
struct alts_ent *entp;
entp=(struct alts_ent *) malloc (ap->ap_ent_secsiz);
ent_sort(struct alts_ent buf[], int cnt)
struct alts_ent temp;
ent_compress(struct alts_ent buf[], int cnt)
struct alts_ent buf[],
struct alts_ent list1[],
struct alts_ent list2[],
ent_bsearch(struct alts_ent buf[], int cnt, struct alts_ent *key)
static void ent_sort(struct alts_ent buf[], int cnt);
static void ent_compress(struct alts_ent buf[], int cnt);
struct alts_ent buf[],
struct alts_ent list1[],
struct alts_ent list2[],
static int ent_bsearch(struct alts_ent buf[], int cnt, struct alts_ent *key);
struct alts_ent *ap_entp; /* alternate sector entry table */
struct alts_ent *ap_gbadp; /* growing badsec entry table */
struct alts_ent *ast_entp; /* alternate sector entry table */
struct alts_ent *ast_gbadp; /* growing bad sector entry ptr */
struct alts_ent *growbadp;
struct alts_ent *entp;
ent_sort(struct alts_ent buf[], int cnt)
struct alts_ent temp;
ent_compress(struct alts_ent buf[], int cnt)
ent_merge(struct alts_ent buf[], struct alts_ent list1[], int lcnt1,
struct alts_ent list2[], int lcnt2)
ent_bsearch(struct alts_ent buf[], int cnt, struct alts_ent *key)
static void ent_sort(struct alts_ent *, int);
static void ent_compress(struct alts_ent *, int);
static int ent_merge(struct alts_ent *, struct alts_ent *, int,
struct alts_ent *, int);
static int ent_bsearch(struct alts_ent *, int, struct alts_ent *);
#define ALTS_ENT_SIZE sizeof (struct alts_ent)
struct alts_ent **dk_slc_ent; /* link to remap data */
static int cmdk_bbh_bsearch(struct alts_ent *buf, int cnt, daddr32_t key);
NDKMAP * (sizeof (uint32_t) + sizeof (struct alts_ent *)));
struct alts_ent *enttblp;
enttblp = (struct alts_ent *)dadk_iob_xfer(DKTP_DATA, handle, B_READ);
(sizeof (long) + sizeof (struct alts_ent *)), KM_SLEEP);
dkp->dk_slc_ent = (struct alts_ent **)(dkp->dk_slc_cnt + NDKMAP);
struct alts_ent *altp;
cmdk_bbh_bsearch(struct alts_ent *buf, int cnt, daddr32_t key)