Home
last modified time | relevance | path

Searched refs:luns (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/dports/misc/py-cinder/cinder-12.0.10/cinder/volume/drivers/ibm/ibm_storage/
H A Dds8k_replication.py322 for lun in luns:
357 if not luns:
363 for lun in luns:
469 for lun in luns:
480 return luns
605 for lun in luns:
655 for lun in luns:
678 if not luns:
680 luns = self._get_expected_luns(luns, 'suspended', 'full_duplex')
689 if not luns:
[all …]
H A Dds8k_proxy.py598 luns = [Lun(snapshot, is_snapshot=True)
1104 for lun in luns:
1487 for lun in luns:
1512 for lun in luns:
1525 if luns:
1526 if not luns[0].failed_over:
1544 if luns:
1545 if luns[0].failed_over:
1557 luns, secondary_backend_id)
1562 luns, secondary_backend_id)
[all …]
/dports/sysutils/smartmontools/smartmontools-7.2/
H A Dcciss.cpp200 ReportLunData_struct *luns; in cciss_getlun() local
201 int reportlunsize = sizeof(*luns) + CISS_MAX_PHYS_LUN * 8; in cciss_getlun()
204 luns = (ReportLunData_struct *)malloc(reportlunsize); in cciss_getlun()
206 memset(luns, 0, reportlunsize); in cciss_getlun()
215 if ((ret = cciss_sendpassthru(0, CDB, 12, (char *)luns, reportlunsize, 0, NULL, device))) in cciss_getlun()
217 free(luns); in cciss_getlun()
224 unsigned char *stuff = (unsigned char *)luns; in cciss_getlun()
236 if (target >= 0 && target < (int) be32toh(luns->LUNListLength) / 8) in cciss_getlun()
238 memcpy(physlun, luns->LUN[target], 8); in cciss_getlun()
239 free(luns); in cciss_getlun()
[all …]
/dports/sysutils/webmin/webmin-1.981/iscsi-tgtd/
H A Dedit_target.cgi42 my @luns = (&find($target->{'members'}, "backing-store"),
44 @luns = sort { $a->{'file'} <=> $b->{'file'} } @luns;
45 push(@luns, { 'name' => 'backing-store',
48 for(my $i=0; $i<@luns; $i++) {
49 my $path = $luns[$i]->{'values'}->[0] || "";
114 my $cache = &find_value($luns[$i], "write-cache");
116 &ui_select("type".$i, $luns[$i]->{'name'},
H A Dsave_target.cgi52 my @luns = (&find($target->{'members'}, "backing-store"),
54 @luns = sort { $a->{'file'} <=> $b->{'file'} } @luns;
80 my $newlun = $i >= @luns ? { } : $luns[$i];
H A Dindex.cgi32 my @luns;
37 push(@luns, &mount::device_name($v));
48 join(" , ", @luns) || "<i>$text{'index_noluns'}</i>",
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/netapp/ontap/roles/na_ontap_san_create/tasks/
H A Dmain.yml33 "{{ luns }}"
50 "{{ luns }}"
51 when: luns != None
64 "{{ luns }}"
65 when: luns != None
/dports/misc/py-cinder/cinder-12.0.10/cinder/volume/targets/
H A Dscst.py88 luns = []
90 luns.append(int(line.strip().split(" ")[0]))
91 luns = sorted(set(luns))
92 return luns
100 luns = self._get_luns_info()
101 if (not luns) or (luns[0] != 1):
105 for lun in luns:
106 if (luns[-1] == lun) or (luns[lun - 1] + 1 != luns[lun]):
/dports/sysutils/webmin/webmin-1.981/iscsi-target/
H A Dindex.cgi32 my @luns;
36 push(@luns, &mount::device_name("$1"));
40 push(@luns, &text('index_nullio', "$1"));
51 join(" , ", @luns) || "<i>$text{'index_noluns'}</i>",
/dports/benchmarks/fio/fio-3.29/engines/
H A Dlibiscsi.c34 struct iscsi_lun **luns; member
142 iscsi_info->luns[i] = iscsi_lun; in fio_iscsi_setup_lun()
173 iscsi_info->luns = calloc(iscsi_info->nr_luns, sizeof(struct iscsi_lun*)); in fio_iscsi_setup()
208 if (iscsi_info->luns[i]) { in fio_iscsi_cleanup()
209 fio_iscsi_cleanup_lun(iscsi_info->luns[i]); in fio_iscsi_cleanup()
210 iscsi_info->luns[i] = NULL; in fio_iscsi_cleanup()
214 free(iscsi_info->luns); in fio_iscsi_cleanup()
348 int events = iscsi_which_events(iscsi_info->luns[i]->iscsi); in fio_iscsi_getevents()
363 ret = iscsi_service(iscsi_info->luns[i]->iscsi, in fio_iscsi_getevents()
/dports/devel/py-os-brick/os-brick-5.1.0/os_brick/initiator/connectors/
H A Dfibre_channel.py97 luns = target_luns
99 luns = [target_lun]
101 luns = []
103 if len(luns) == len(wwns):
106 targets = list(zip(wwns, luns))
107 elif len(luns) == 1 and len(wwns) > 1:
109 targets = [(wwn, luns[0]) for wwn in wwns]
114 "luns": luns, "wwns": wwns}
/dports/devel/py-os-brick/os-brick-5.1.0/os_brick/tests/initiator/connectors/
H A Dtest_base_iscsi.py56 luns = [mock.sentinel.luns1, mock.sentinel.luns2]
59 'target_luns': luns}
63 expected_targets = zip(portals, iqns, luns)
69 lun = mock.sentinel.luns
/dports/sysutils/sg3_utils/sg3_utils-1.42/src/
H A Dsg_luns.c383 int sg_fd, k, m, off, res, c, list_len, len_cap, luns, trunc; in main() local
637 luns = (list_len / 8); in main()
640 list_len, luns, ((1 == luns) ? "y" : "ies")); in main()
642 luns = ((maxlen - 8) / 8); in main()
645 "lun%s>>\n", luns, ((1 == luns) ? "" : "s")); in main()
652 for (k = 0, off = 8; k < luns; ++k, off += 8) { in main()
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c308 struct fsg_lun luns[FSG_MAX_LUNS]; member
356 } luns[FSG_MAX_LUNS]; member
1082 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1729 curlun = &common->luns[common->lun]; in check_command()
1892 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1904 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2333 curlun = &common->luns[i]; in handle_exception()
2484 common->luns[i].removable = 1; in fsg_common_init()
2558 if (likely(common->luns)) { in fsg_common_release()
2559 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c308 struct fsg_lun luns[FSG_MAX_LUNS]; member
356 } luns[FSG_MAX_LUNS]; member
1082 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1729 curlun = &common->luns[common->lun]; in check_command()
1892 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1904 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2333 curlun = &common->luns[i]; in handle_exception()
2484 common->luns[i].removable = 1; in fsg_common_init()
2558 if (likely(common->luns)) { in fsg_common_release()
2559 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/usb/gadget/
H A Df_mass_storage.c311 struct fsg_lun luns[FSG_MAX_LUNS]; member
359 } luns[FSG_MAX_LUNS]; member
1090 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1737 curlun = &common->luns[common->lun]; in check_command()
1900 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1912 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2341 curlun = &common->luns[i]; in handle_exception()
2492 common->luns[i].removable = 1; in fsg_common_init()
2566 if (likely(common->luns)) { in fsg_common_release()
2567 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/usb/gadget/
H A Df_mass_storage.c311 struct fsg_lun luns[FSG_MAX_LUNS]; member
359 } luns[FSG_MAX_LUNS]; member
1090 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1737 curlun = &common->luns[common->lun]; in check_command()
1900 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1912 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2341 curlun = &common->luns[i]; in handle_exception()
2492 common->luns[i].removable = 1; in fsg_common_init()
2566 if (likely(common->luns)) { in fsg_common_release()
2567 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/drivers/usb/gadget/
H A Df_mass_storage.c311 struct fsg_lun luns[FSG_MAX_LUNS]; member
359 } luns[FSG_MAX_LUNS]; member
1090 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1737 curlun = &common->luns[common->lun]; in check_command()
1900 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1912 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2341 curlun = &common->luns[i]; in handle_exception()
2492 common->luns[i].removable = 1; in fsg_common_init()
2566 if (likely(common->luns)) { in fsg_common_release()
2567 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/usb/gadget/
H A Df_mass_storage.c311 struct fsg_lun luns[FSG_MAX_LUNS]; member
359 } luns[FSG_MAX_LUNS]; member
1090 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1737 curlun = &common->luns[common->lun]; in check_command()
1900 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1912 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2341 curlun = &common->luns[i]; in handle_exception()
2492 common->luns[i].removable = 1; in fsg_common_init()
2566 if (likely(common->luns)) { in fsg_common_release()
2567 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/drivers/usb/gadget/
H A Df_mass_storage.c311 struct fsg_lun luns[FSG_MAX_LUNS]; member
359 } luns[FSG_MAX_LUNS]; member
1090 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1737 curlun = &common->luns[common->lun]; in check_command()
1900 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1912 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2341 curlun = &common->luns[i]; in handle_exception()
2492 common->luns[i].removable = 1; in fsg_common_init()
2566 if (likely(common->luns)) { in fsg_common_release()
2567 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/drivers/usb/gadget/
H A Df_mass_storage.c311 struct fsg_lun luns[FSG_MAX_LUNS]; member
359 } luns[FSG_MAX_LUNS]; member
1090 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1737 curlun = &common->luns[common->lun]; in check_command()
1900 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1912 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2341 curlun = &common->luns[i]; in handle_exception()
2492 common->luns[i].removable = 1; in fsg_common_init()
2566 if (likely(common->luns)) { in fsg_common_release()
2567 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/drivers/usb/gadget/
H A Df_mass_storage.c311 struct fsg_lun luns[FSG_MAX_LUNS]; member
359 } luns[FSG_MAX_LUNS]; member
1090 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1737 curlun = &common->luns[common->lun]; in check_command()
1900 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1912 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2341 curlun = &common->luns[i]; in handle_exception()
2492 common->luns[i].removable = 1; in fsg_common_init()
2566 if (likely(common->luns)) { in fsg_common_release()
2567 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/drivers/usb/gadget/
H A Df_mass_storage.c311 struct fsg_lun luns[FSG_MAX_LUNS]; member
359 } luns[FSG_MAX_LUNS]; member
1090 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1737 curlun = &common->luns[common->lun]; in check_command()
1900 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1912 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2341 curlun = &common->luns[i]; in handle_exception()
2492 common->luns[i].removable = 1; in fsg_common_init()
2566 if (likely(common->luns)) { in fsg_common_release()
2567 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]
/dports/sysutils/u-boot-sopine/u-boot-2021.07/drivers/usb/gadget/
H A Df_mass_storage.c311 struct fsg_lun luns[FSG_MAX_LUNS]; member
359 } luns[FSG_MAX_LUNS]; member
1090 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1737 curlun = &common->luns[common->lun]; in check_command()
1900 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1912 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2341 curlun = &common->luns[i]; in handle_exception()
2492 common->luns[i].removable = 1; in fsg_common_init()
2566 if (likely(common->luns)) { in fsg_common_release()
2567 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]
/dports/sysutils/u-boot-rpi/u-boot-2021.07/drivers/usb/gadget/
H A Df_mass_storage.c311 struct fsg_lun luns[FSG_MAX_LUNS]; member
359 } luns[FSG_MAX_LUNS]; member
1090 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry()
1737 curlun = &common->luns[common->lun]; in check_command()
1900 if (!common->luns[common->lun].cdrom) in do_scsi_command()
1912 if (!common->luns[common->lun].cdrom) in do_scsi_command()
2341 curlun = &common->luns[i]; in handle_exception()
2492 common->luns[i].removable = 1; in fsg_common_init()
2566 if (likely(common->luns)) { in fsg_common_release()
2567 struct fsg_lun *lun = common->luns; in fsg_common_release()
[all …]

12345678910>>...19