Home
last modified time | relevance | path

Searched refs:alts_ent (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/cmd/addbadsec/
H A Dbadsec.h59 struct alts_ent *ap_entp; /* alternate sector entry table */
61 struct alts_ent *ap_gbadp; /* growing badsec entry table */
70 struct alts_ent *ast_entp; /* alternate sector entry table */
74 struct alts_ent *ast_gbadp; /* growing bad sector entry ptr */
H A Dix_altsctr.c83 static void ent_sort(struct alts_ent buf[], int cnt);
84 static void ent_compress(struct alts_ent buf[], int cnt);
86 struct alts_ent buf[],
87 struct alts_ent list1[],
89 struct alts_ent list2[],
91 static int ent_bsearch(struct alts_ent buf[], int cnt, struct alts_ent *key);
326 (struct alts_ent *)malloc(ap->ap_ent_secsiz)) == NULL) {
389 struct alts_ent *growbadp; in get_badsec()
397 ap->ap_gbadp = (struct alts_ent *)malloc(cnt*ALTS_ENT_SIZE); in get_badsec()
457 struct alts_ent *entp; in gen_alts_ent()
[all …]
/titanic_41/usr/src/cmd/format/
H A Dix_altsctr.c84 static void ent_sort(struct alts_ent *, int);
85 static void ent_compress(struct alts_ent *, int);
86 static int ent_merge(struct alts_ent *, struct alts_ent *, int,
87 struct alts_ent *, int);
88 static int ent_bsearch(struct alts_ent *, int, struct alts_ent *);
324 (struct alts_ent *)malloc(ap->ap_ent_secsiz)) == NULL) { in get_altsctr()
395 struct alts_ent *growbadp; in get_badsec()
465 struct alts_ent *entp; in gen_alts_ent()
644 struct alts_ent buf[]; in ent_sort()
647 struct alts_ent temp;
[all …]
H A Dbadsec.h62 struct alts_ent *ap_entp; /* alternate sector entry table */
64 struct alts_ent *ap_gbadp; /* growing badsec entry table */
73 struct alts_ent *ast_entp; /* alternate sector entry table */
77 struct alts_ent *ast_gbadp; /* growing bad sector entry ptr */
/titanic_41/usr/src/uts/common/sys/dktp/
H A Daltsctr.h57 struct alts_ent { struct
66 #define ALTS_ENT_SIZE sizeof (struct alts_ent) argument
H A Dcmdk.h75 struct alts_ent **dk_slc_ent; /* link to remap data */
/titanic_41/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c110 static int cmdk_bbh_bsearch(struct alts_ent *buf, int cnt, daddr32_t key);
1852 NDKMAP * (sizeof (uint32_t) + sizeof (struct alts_ent *))); in cmdk_bbh_free_alts()
1863 struct alts_ent *enttblp; in cmdk_bbh_reopen()
1923 enttblp = (struct alts_ent *)dadk_iob_xfer(DKTP_DATA, handle, B_READ); in cmdk_bbh_reopen()
1933 (sizeof (long) + sizeof (struct alts_ent *)), KM_SLEEP); in cmdk_bbh_reopen()
1935 dkp->dk_slc_ent = (struct alts_ent **)(dkp->dk_slc_cnt + NDKMAP); in cmdk_bbh_reopen()
2055 struct alts_ent *altp; in cmdk_bbh_gethandle()
2189 cmdk_bbh_bsearch(struct alts_ent *buf, int cnt, daddr32_t key) in cmdk_bbh_bsearch()