• Home
  • Raw
  • Download

Lines Matching refs:num_zd

427     int k, same, num_zd;  in decode_rep_zones()  local
434 num_zd = (act_len >= 64) ? ((act_len - 64) / REPORT_ZONES_DESC_LEN) in decode_rep_zones()
445 num_zd = (decod_len - 64) / REPORT_ZONES_DESC_LEN; in decode_rep_zones()
467 num_zd = (num_zd > op->do_num) ? op->do_num : num_zd; in decode_rep_zones()
469 ((num_zd * REPORT_ZONES_DESC_LEN) + 64 > act_len)) { in decode_rep_zones()
471 "value less than %d\n", num_zd); in decode_rep_zones()
474 if (op->do_brief && (num_zd > 0)) { in decode_rep_zones()
475 bp = rzBuff + 64 + ((num_zd - 1) * REPORT_ZONES_DESC_LEN); in decode_rep_zones()
484 sgj_pr_hr(jsp, " %s%d\n", zn_dnum_s, num_zd - 1); in decode_rep_zones()
485 sgj_js_nv_i(jsp, jop, "zone_descriptor_index", num_zd - 1); in decode_rep_zones()
496 for (k = 0, bp = rzBuff + 64; k < num_zd; in decode_rep_zones()
526 if ((64 + (REPORT_ZONES_DESC_LEN * (uint32_t)num_zd)) < decod_len) in decode_rep_zones()
708 int k, res, resid, rlen, num_zd, num_rem; in find_report_zones() local
716 for ( ; num_rem > 0; num_rem -= num_zd) { in find_report_zones()
739 num_zd = (rlen - 64) / REPORT_ZONES_DESC_LEN; in find_report_zones()
740 if (num_zd > num_rem) in find_report_zones()
741 num_zd = num_rem; in find_report_zones()
742 for (k = 0, bp = rzBuff + 64; k < num_zd; in find_report_zones()
755 if (k < num_zd) { in find_report_zones()
841 int k, res, resid, rlen, num_zd, num_rem; in gather_statistics() local
857 for ( ; num_rem > 0; num_rem -= num_zd) { in gather_statistics()
882 num_zd = (rlen - 64) / REPORT_ZONES_DESC_LEN; in gather_statistics()
883 if (num_zd > num_rem) in gather_statistics()
884 num_zd = num_rem; in gather_statistics()
885 for (k = 0, bp = rzBuff + 64; k < num_zd; in gather_statistics()