Lines Matching refs:nluns
308 unsigned int nluns; member
352 unsigned nluns; member
566 *(u8 *) req->buf = fsg->common->nluns - 1; in fsg_setup()
1747 if (common->lun < common->nluns) { in check_command()
2376 for (i = 0; i < common->nluns; ++i) { in handle_exception()
2482 int nluns, i, rc; in fsg_common_init() local
2485 nluns = ums_count; in fsg_common_init()
2486 if (nluns < 1 || nluns > FSG_MAX_LUNS) { in fsg_common_init()
2487 printf("invalid number of LUNs: %u\n", nluns); in fsg_common_init()
2521 curlun = calloc(nluns, sizeof *curlun); in fsg_common_init()
2526 common->nluns = nluns; in fsg_common_init()
2528 for (i = 0; i < nluns; i++) { in fsg_common_init()
2579 INFO(common, "Number of LUNs=%d\n", common->nluns); in fsg_common_init()
2584 common->nluns = i + 1; in fsg_common_init()
2605 unsigned i = common->nluns; in fsg_common_release()