Lines Matching refs:method

1483 	iSCSIDiscoveryMethod_t	    method;
1781 method = persistent_disc_meth_get();
1782 if (method & iSCSIDiscoveryMethodISNS) {
1792 ihp, NULL, method, NULL))
2130 method = ihp->hba_discovery_events;
2132 (method != ISCSI_ALL_DISCOVERY_METHODS) &&
2718 method = persistent_disc_meth_get();
2719 if (method & iSCSIDiscoveryMethodStatic) {
2857 method = persistent_disc_meth_get();
2858 if (method & iSCSIDiscoveryMethodISNS) {
2941 method = persistent_disc_meth_get();
2942 if (method & iSCSIDiscoveryMethodSendTargets) {
3171 method = persistent_disc_meth_get();
3172 if (method & iSCSIDiscoveryMethodISNS) {
3223 if (ddi_copyin((caddr_t)arg, &method, sizeof (method), mode)) {
3228 if (persistent_disc_meth_set(method) == B_FALSE) {
3231 (void) iscsid_enable_discovery(ihp, method, B_FALSE);
3232 iscsid_poke_discovery(ihp, method);
3233 (void) iscsid_login_tgt(ihp, NULL, method, NULL);
3241 method = persistent_disc_meth_get();
3242 rtn = ddi_copyout(&method, (caddr_t)arg,
3243 sizeof (method), mode);
3250 if (ddi_copyin((caddr_t)arg, &method, sizeof (method), mode)) {
3270 * discovery requests will ignore this discovery method
3272 if (rtn == 0 && persistent_disc_meth_clear(method) == B_FALSE) {
3282 if (iscsid_disable_discovery(ihp, method) == B_FALSE) {
3284 if (persistent_disc_meth_set(method) == B_FALSE) {
3286 "method after discovery disable failure.");
4095 method = ihp->hba_discovery_events;
4096 if ((method != ISCSI_ALL_DISCOVERY_METHODS) &&
4103 method = ihp->hba_discovery_events;
4107 if (ddi_copyout((void *)&method, (caddr_t)arg,
4108 sizeof (method), mode) != 0)
4168 method = persistent_disc_meth_get();
4169 if ((method & iSCSIDiscoveryMethodISNS) == 0) {