Lines Matching refs:leftlen
3603 leftlen -= len; \
3604 if (leftlen == 0) { \
4330 int leftlen; in advansys_proc_info() local
4369 leftlen = length; in advansys_proc_info()
4380 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); in advansys_proc_info()
4382 leftlen -= cnt; in advansys_proc_info()
4383 if (leftlen == 0) { in advansys_proc_info()
4397 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); in advansys_proc_info()
4399 leftlen -= cnt; in advansys_proc_info()
4400 if (leftlen == 0) { in advansys_proc_info()
4414 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); in advansys_proc_info()
4416 leftlen -= cnt; in advansys_proc_info()
4417 if (leftlen == 0) { in advansys_proc_info()
4438 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); in advansys_proc_info()
4440 leftlen -= cnt; in advansys_proc_info()
4441 if (leftlen == 0) { in advansys_proc_info()
4460 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); in advansys_proc_info()
4462 leftlen -= cnt; in advansys_proc_info()
4463 if (leftlen == 0) { in advansys_proc_info()
4476 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); in advansys_proc_info()
4478 leftlen -= cnt; in advansys_proc_info()
4479 if (leftlen == 0) { in advansys_proc_info()
4493 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); in advansys_proc_info()
4495 leftlen -= cnt; in advansys_proc_info()
4496 if (leftlen == 0) { in advansys_proc_info()
4510 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); in advansys_proc_info()
4512 leftlen -= cnt; in advansys_proc_info()
4513 if (leftlen == 0) { in advansys_proc_info()
4533 cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); in advansys_proc_info()
4535 leftlen -= cnt; in advansys_proc_info()
4536 if (leftlen == 0) { in advansys_proc_info()
7799 int leftlen; in asc_prt_board_devices() local
7806 leftlen = cplen; in asc_prt_board_devices()
7809 len = asc_prt_line(cp, leftlen, in asc_prt_board_devices()
7819 len = asc_prt_line(cp, leftlen, "Target IDs Detected:"); in asc_prt_board_devices()
7823 len = asc_prt_line(cp, leftlen, " %X,", i); in asc_prt_board_devices()
7827 len = asc_prt_line(cp, leftlen, " (%X=Host Adapter)\n", chip_scsi_id); in asc_prt_board_devices()
7840 int leftlen; in asc_prt_adv_bios() local
7846 leftlen = cplen; in asc_prt_adv_bios()
7849 len = asc_prt_line(cp, leftlen, "\nROM BIOS Version: "); in asc_prt_adv_bios()
7857 len = asc_prt_line(cp, leftlen, "Disabled or Pre-3.1\n"); in asc_prt_adv_bios()
7859 len = asc_prt_line(cp, leftlen, in asc_prt_adv_bios()
7862 len = asc_prt_line(cp, leftlen, in asc_prt_adv_bios()
7870 len = asc_prt_line(cp, leftlen, "%d.%d%c\n", in asc_prt_adv_bios()
7881 len = asc_prt_line(cp, leftlen, in asc_prt_adv_bios()
7884 len = asc_prt_line(cp, leftlen, in asc_prt_adv_bios()
8008 int leftlen; in asc_prt_asc_board_eeprom() local
8022 leftlen = cplen; in asc_prt_asc_board_eeprom()
8025 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_eeprom()
8031 len = asc_prt_line(cp, leftlen, " Serial Number: %s\n", serialstr); in asc_prt_asc_board_eeprom()
8035 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_eeprom()
8039 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_eeprom()
8045 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_eeprom()
8050 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_eeprom()
8055 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_eeprom()
8059 len = asc_prt_line(cp, leftlen, " %d", i); in asc_prt_asc_board_eeprom()
8062 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_asc_board_eeprom()
8065 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_eeprom()
8069 len = asc_prt_line(cp, leftlen, " %c", in asc_prt_asc_board_eeprom()
8073 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_asc_board_eeprom()
8076 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_eeprom()
8080 len = asc_prt_line(cp, leftlen, " %c", in asc_prt_asc_board_eeprom()
8084 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_asc_board_eeprom()
8087 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_eeprom()
8091 len = asc_prt_line(cp, leftlen, " %c", in asc_prt_asc_board_eeprom()
8095 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_asc_board_eeprom()
8098 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_eeprom()
8102 len = asc_prt_line(cp, leftlen, " %c", in asc_prt_asc_board_eeprom()
8106 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_asc_board_eeprom()
8111 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_eeprom()
8137 int leftlen; in asc_prt_adv_board_eeprom() local
8163 leftlen = cplen; in asc_prt_adv_board_eeprom()
8166 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8182 len = asc_prt_line(cp, leftlen, " Serial Number: %s\n", serialstr); in asc_prt_adv_board_eeprom()
8185 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8192 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8199 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8206 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8240 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8246 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8252 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8258 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8262 len = asc_prt_line(cp, leftlen, " %X", i); in asc_prt_adv_board_eeprom()
8265 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_eeprom()
8278 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8282 len = asc_prt_line(cp, leftlen, " %c", in asc_prt_adv_board_eeprom()
8286 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_eeprom()
8299 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8303 len = asc_prt_line(cp, leftlen, " %c", in asc_prt_adv_board_eeprom()
8307 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_eeprom()
8320 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8324 len = asc_prt_line(cp, leftlen, " %c", in asc_prt_adv_board_eeprom()
8328 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_eeprom()
8333 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8337 len = asc_prt_line(cp, leftlen, " %c", in asc_prt_adv_board_eeprom()
8341 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_eeprom()
8347 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8351 len = asc_prt_line(cp, leftlen, " %c", in asc_prt_adv_board_eeprom()
8355 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_eeprom()
8369 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8373 len = asc_prt_line(cp, leftlen, " %c", in asc_prt_adv_board_eeprom()
8377 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_eeprom()
8383 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_eeprom()
8412 len = asc_prt_line(cp, leftlen, "%X:%s ", i, speed_str); in asc_prt_adv_board_eeprom()
8416 len = asc_prt_line(cp, leftlen, "\n "); in asc_prt_adv_board_eeprom()
8421 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_eeprom()
8441 int leftlen; in asc_prt_driver_conf() local
8449 leftlen = cplen; in asc_prt_driver_conf()
8452 len = asc_prt_line(cp, leftlen, in asc_prt_driver_conf()
8457 len = asc_prt_line(cp, leftlen, in asc_prt_driver_conf()
8463 len = asc_prt_line(cp, leftlen, in asc_prt_driver_conf()
8469 len = asc_prt_line(cp, leftlen, in asc_prt_driver_conf()
8474 len = asc_prt_line(cp, leftlen, in asc_prt_driver_conf()
8480 len = asc_prt_line(cp, leftlen, in asc_prt_driver_conf()
8492 len = asc_prt_line(cp, leftlen, " queue_depth:"); in asc_prt_driver_conf()
8502 len = asc_prt_line(cp, leftlen, " %X:%d", in asc_prt_driver_conf()
8506 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_driver_conf()
8529 int leftlen; in asc_prt_asc_board_info() local
8542 leftlen = cplen; in asc_prt_asc_board_info()
8545 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_info()
8550 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_info()
8555 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_info()
8561 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_info()
8565 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_info()
8573 len = asc_prt_line(cp, leftlen, " %X:%c", in asc_prt_asc_board_info()
8577 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_asc_board_info()
8581 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_info()
8589 len = asc_prt_line(cp, leftlen, " %X:%u", i, v->cur_dvc_qng[i]); in asc_prt_asc_board_info()
8592 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_asc_board_info()
8596 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_info()
8604 len = asc_prt_line(cp, leftlen, " %X:%u", i, v->max_dvc_qng[i]); in asc_prt_asc_board_info()
8607 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_asc_board_info()
8611 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_info()
8620 len = asc_prt_line(cp, leftlen, " %X:Y-%d", in asc_prt_asc_board_info()
8623 len = asc_prt_line(cp, leftlen, " %X:N", i); in asc_prt_asc_board_info()
8627 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_asc_board_info()
8630 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_info()
8638 len = asc_prt_line(cp, leftlen, " %X:%c", in asc_prt_asc_board_info()
8642 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_asc_board_info()
8654 len = asc_prt_line(cp, leftlen, " %X:", i); in asc_prt_asc_board_info()
8659 len = asc_prt_line(cp, leftlen, " Asynchronous"); in asc_prt_asc_board_info()
8666 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_info()
8673 len = asc_prt_line(cp, leftlen, " REQ/ACK Offset: %d", in asc_prt_asc_board_info()
8679 len = asc_prt_line(cp, leftlen, "*\n"); in asc_prt_asc_board_info()
8683 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_asc_board_info()
8690 len = asc_prt_line(cp, leftlen, in asc_prt_asc_board_info()
8713 int leftlen; in asc_prt_adv_board_info() local
8735 leftlen = cplen; in asc_prt_adv_board_info()
8738 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_info()
8743 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_info()
8750 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_info()
8756 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_info()
8765 len = asc_prt_line(cp, leftlen, " %X:%c", in asc_prt_adv_board_info()
8769 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_info()
8772 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_info()
8783 len = asc_prt_line(cp, leftlen, " %X:%d", i, lrambyte); in asc_prt_adv_board_info()
8786 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_info()
8789 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_info()
8800 len = asc_prt_line(cp, leftlen, " %X:%d", i, lrambyte); in asc_prt_adv_board_info()
8803 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_info()
8807 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_info()
8816 len = asc_prt_line(cp, leftlen, " %X:%c", in asc_prt_adv_board_info()
8820 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_info()
8824 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_info()
8836 len = asc_prt_line(cp, leftlen, " %X:%d", in asc_prt_adv_board_info()
8842 len = asc_prt_line(cp, leftlen, "*"); in asc_prt_adv_board_info()
8847 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_info()
8851 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_info()
8860 len = asc_prt_line(cp, leftlen, " %X:%c", in asc_prt_adv_board_info()
8864 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_info()
8880 len = asc_prt_line(cp, leftlen, " %X:", i); in asc_prt_adv_board_info()
8885 len = asc_prt_line(cp, leftlen, " Asynchronous"); in asc_prt_adv_board_info()
8889 len = asc_prt_line(cp, leftlen, " Transfer Period Factor: "); in asc_prt_adv_board_info()
8894 len = asc_prt_line(cp, leftlen, "9 (80.0 Mhz),"); in asc_prt_adv_board_info()
8898 len = asc_prt_line(cp, leftlen, "10 (40.0 Mhz),"); in asc_prt_adv_board_info()
8906 len = asc_prt_line(cp, leftlen, "%d (? Mhz), "); in asc_prt_adv_board_info()
8910 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_info()
8917 len = asc_prt_line(cp, leftlen, " REQ/ACK Offset: %d", in asc_prt_adv_board_info()
8923 len = asc_prt_line(cp, leftlen, "*\n"); in asc_prt_adv_board_info()
8927 len = asc_prt_line(cp, leftlen, "\n"); in asc_prt_adv_board_info()
8934 len = asc_prt_line(cp, leftlen, in asc_prt_adv_board_info()
8949 asc_proc_copy(off_t advoffset, off_t offset, char *curbuf, int leftlen, in asc_proc_copy() argument
8958 cnt = ASC_MIN(cplen, leftlen); in asc_proc_copy()
8966 cnt = ASC_MIN(cnt, leftlen); in asc_proc_copy()
9281 int leftlen; in asc_prt_board_stats() local
9287 leftlen = cplen; in asc_prt_board_stats()
9293 len = asc_prt_line(cp, leftlen, in asc_prt_board_stats()
9297 len = asc_prt_line(cp, leftlen, in asc_prt_board_stats()
9302 len = asc_prt_line(cp, leftlen, in asc_prt_board_stats()
9308 len = asc_prt_line(cp, leftlen, in asc_prt_board_stats()
9317 len = asc_prt_line(cp, leftlen, " cont_cnt %lu, ", s->cont_cnt); in asc_prt_board_stats()
9320 len = asc_prt_line(cp, leftlen, "cont_xfer %lu.%01lu kb ", in asc_prt_board_stats()
9326 len = asc_prt_line(cp, leftlen, "avg_xfer %lu.%01lu kb\n", in asc_prt_board_stats()
9334 len = asc_prt_line(cp, leftlen, " sg_cnt %lu, sg_elem %lu, ", in asc_prt_board_stats()
9338 len = asc_prt_line(cp, leftlen, "sg_xfer %lu.%01lu kb\n", in asc_prt_board_stats()
9344 len = asc_prt_line(cp, leftlen, " avg_num_elem %lu.%01lu, ", in asc_prt_board_stats()
9349 len = asc_prt_line(cp, leftlen, "avg_elem_size %lu.%01lu kb, ", in asc_prt_board_stats()
9354 len = asc_prt_line(cp, leftlen, "avg_xfer_size %lu.%01lu kb\n", in asc_prt_board_stats()
9363 len = asc_prt_line(cp, leftlen, in asc_prt_board_stats()
9386 int leftlen; in asc_prt_target_stats() local
9395 leftlen = cplen; in asc_prt_target_stats()
9417 len = asc_prt_line(cp, leftlen, " target %d\n", tgt_id); in asc_prt_target_stats()
9420 len = asc_prt_line(cp, leftlen, in asc_prt_target_stats()
9432 len = asc_prt_line(cp, leftlen, in asc_prt_target_stats()