Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/addbadsec/
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 …]
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 */
/illumos-gate/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 *);
405 struct alts_ent *growbadp; in get_badsec()
478 struct alts_ent *entp; in gen_alts_ent()
646 ent_sort(struct alts_ent buf[], int cnt) in ent_sort()
648 struct alts_ent temp; in ent_sort()
678 ent_compress(struct alts_ent buf[], int cnt) in ent_compress()
[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 */
/illumos-gate/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.h73 struct alts_ent **dk_slc_ent; /* link to remap data */
/illumos-gate/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c114 static int cmdk_bbh_bsearch(struct alts_ent *buf, int cnt, daddr32_t key);
1816 NDKMAP * (sizeof (uint32_t) + sizeof (struct alts_ent *))); in cmdk_bbh_free_alts()
1827 struct alts_ent *enttblp; in cmdk_bbh_reopen()
1887 enttblp = (struct alts_ent *)dadk_iob_xfer(DKTP_DATA, handle, B_READ); in cmdk_bbh_reopen()
1897 (sizeof (long) + sizeof (struct alts_ent *)), KM_SLEEP); in cmdk_bbh_reopen()
1899 dkp->dk_slc_ent = (struct alts_ent **)(dkp->dk_slc_cnt + NDKMAP); in cmdk_bbh_reopen()
2019 struct alts_ent *altp; in cmdk_bbh_gethandle()
2153 cmdk_bbh_bsearch(struct alts_ent *buf, int cnt, daddr32_t key) in cmdk_bbh_bsearch()