Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddfs.c555 int ntargets; in dfs_link_add() local
599 ntargets = info.i_ntargets; in dfs_link_add()
600 if (dfs_target_find(info.i_targets, ntargets, server, share) != -1) { in dfs_link_add()
606 t = realloc(info.i_targets, (ntargets + 1) * sizeof (dfs_target_t)); in dfs_link_add()
613 dfs_target_init(&info.i_targets[ntargets], server, share, in dfs_link_add()
1614 dfs_target_find(dfs_target_t *targets, uint32_t ntargets, in dfs_target_find() argument
1620 for (i = 0, t = targets; i < ntargets; i++, t++) { in dfs_target_find()
/titanic_50/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c7493 int ntargets; in scsi_hba_bus_configall_spi() local
7508 ntargets = NTARGETS; /* 8 */ in scsi_hba_bus_configall_spi()
7510 ntargets = NTARGETS_WIDE; /* 16 */ in scsi_hba_bus_configall_spi()
7520 if (id > ntargets) { in scsi_hba_bus_configall_spi()
7523 ntargets, id)); in scsi_hba_bus_configall_spi()
7527 "enumerating targets 0-%d skip %d", ntargets, id)); in scsi_hba_bus_configall_spi()
7530 taddrs = kmem_zalloc(sizeof (char *) * (ntargets + 1), KM_SLEEP); in scsi_hba_bus_configall_spi()
7531 for (tgt = 0, taddr = taddrs; tgt < ntargets; tgt++) { in scsi_hba_bus_configall_spi()
7553 kmem_free(taddrs, sizeof (char *) * (ntargets + 1)); in scsi_hba_bus_configall_spi()