Home
last modified time | relevance | path

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

/external/sg3_utils/src/
Dsg_rep_zones.c427 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()
[all …]