Lines Matching refs:blc_p
373 struct badsec_lst *blc_p;
382 blc_p = (struct badsec_lst *)calloc(1, BADSLSZ);
383 if (!blc_p) {
388 gbadsl_chain = blc_p;
390 for (blc_p = gbadsl_chain; blc_p->bl_nxt; )
391 blc_p = blc_p->bl_nxt;
393 if (blc_p->bl_cnt == MAXBLENT) {
394 blc_p->bl_nxt = (struct badsec_lst *)calloc(1, BADSLSZ);
395 if (!blc_p->bl_nxt) {
400 blc_p = blc_p->bl_nxt;
402 blc_p->bl_sec[blc_p->bl_cnt++] = (uint_t)bn;
414 for (blc_p = badsl_chain; blc_p; ) {
415 blc_p_nxt = blc_p->bl_nxt;
416 free(blc_p);
417 blc_p = blc_p_nxt;
428 for (blc_p = gbadsl_chain; blc_p; ) {
429 blc_p_nxt = blc_p->bl_nxt;
430 free(blc_p);
431 blc_p = blc_p_nxt;
448 struct badsec_lst *blc_p;
469 blc_p = (struct badsec_lst *)calloc(1, BADSLSZ);
470 if (!blc_p) {
475 gbadsl_chain = blc_p;
478 for (blc_p = gbadsl_chain; blc_p->bl_nxt; )
479 blc_p = blc_p->bl_nxt;
481 if (blc_p->bl_cnt == MAXBLENT) {
482 blc_p->bl_nxt = (struct badsec_lst *)calloc(1, BADSLSZ);
483 if (!blc_p->bl_nxt) {
488 blc_p = blc_p->bl_nxt;
490 blc_p->bl_sec[blc_p->bl_cnt++] =
506 for (blc_p = badsl_chain; blc_p; ) {
507 blc_p_nxt = blc_p->bl_nxt;
508 free(blc_p);
509 blc_p = blc_p_nxt;
520 for (blc_p = gbadsl_chain; blc_p; ) {
521 blc_p_nxt = blc_p->bl_nxt;
522 free(blc_p);
523 blc_p = blc_p_nxt;