Lines Matching refs:oidp
741 rc = sysctl_handle_string(oidp, file_name, sizeof(file_name), req); in ocs_sys_fwupgrade()
817 ocs_t *ocs = oidp->oid_arg1; in ocs_sysctl_wwnn()
837 return (sysctl_handle_string(oidp, old, sizeof(old), req)); in ocs_sysctl_wwnn()
841 rc = sysctl_handle_string(oidp, new, sizeof(new), req); in ocs_sysctl_wwnn()
856 ocs_t *ocs = oidp->oid_arg1; in ocs_sysctl_wwpn()
874 return (sysctl_handle_string(oidp, old, sizeof(old), req)); in ocs_sysctl_wwpn()
878 rc = sysctl_handle_string(oidp, new, sizeof(new), req); in ocs_sysctl_wwpn()
892 ocs_t *ocs = oidp->oid_arg1; in ocs_sysctl_current_topology()
897 return (sysctl_handle_int(oidp, &value, 0, req)); in ocs_sysctl_current_topology()
903 ocs_t *ocs = oidp->oid_arg1; in ocs_sysctl_current_speed()
908 return (sysctl_handle_int(oidp, &value, 0, req)); in ocs_sysctl_current_speed()
915 ocs_t *ocs = oidp->oid_arg1; in ocs_sysctl_config_topology()
924 return (sysctl_handle_int(oidp, &old_value, 0, req)); in ocs_sysctl_config_topology()
928 rc = sysctl_handle_int(oidp, &new_value, 0, req); in ocs_sysctl_config_topology()
945 ocs_t *ocs = oidp->oid_arg1; in ocs_sysctl_config_speed()
954 return (sysctl_handle_int(oidp, &old_value, 0, req)); in ocs_sysctl_config_speed()
958 rc = sysctl_handle_int(oidp, &new_value, 0, req); in ocs_sysctl_config_speed()
974 ocs_t *ocs = oidp->oid_arg1; in ocs_sysctl_fcid()
983 return (sysctl_handle_string(oidp, buf, sizeof(buf), req)); in ocs_sysctl_fcid()
1002 return (sysctl_handle_string(oidp, new, sizeof(new), req)); in ocs_sysctl_port_state()
1006 rc = sysctl_handle_string(oidp, new, sizeof(new), req); in ocs_sysctl_port_state()
1040 ocs_fcport *fcp = oidp->oid_arg1; in ocs_sysctl_vport_wwpn()
1046 return (sysctl_handle_string(oidp, str_wwpn, sizeof(str_wwpn), req)); in ocs_sysctl_vport_wwpn()
1052 ocs_fcport *fcp = oidp->oid_arg1; in ocs_sysctl_vport_wwnn()
1058 return (sysctl_handle_string(oidp, str_wwnn, sizeof(str_wwnn), req)); in ocs_sysctl_vport_wwnn()