/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_vdev.c | 187 dm_descriptor_t *drive, *media, *slice; local 203 if ((media = dm_get_associated_descriptors(*drive, DM_MEDIA, 214 * It is possible that the user has specified a removable media drive, 215 * and the media is not present. 217 if (*media == NULL) { 218 dm_free_descriptors(media); 219 vdev_error(gettext("'%s' has no media in drive\n"), name); 223 if ((slice = dm_get_associated_descriptors(*media, DM_SLICE, 225 dm_free_descriptors(media); 231 dm_free_descriptors(media); [all...] |
/freebsd-11-stable/contrib/ngatm/snmp_atm/ |
H A D | snmp_atm.c | 483 value->v.integer = aif->pub.mib->media;
|
H A D | snmp_atm.h | 68 u_int media; /* physical media (see MIB) */ member in struct:atmif_mib
|
/freebsd-11-stable/lib/libefivar/ |
H A D | efivar-dp-xlate.c | 132 const_efidp media, file, walker; local 140 walker = media = dp; 163 len = efidp_format_device_path_node(buf, sizeof(buf), media); 280 * Walk through the device_path until we find either a media device path. 284 * If we find a media descriptor, we search through the geom mesh to see if we 332 * Find the first media device path we can. If we go too far, 334 * then we didn't find a media device path, so signal that error. 347 * There's several types of media paths. We're only interested in the 408 * Create a media device path node. 409 * append the relative path from the mountpoint to the media devic [all...] |
/freebsd-11-stable/sbin/atm/atmconfig/ |
H A D | atmconfig_device.c | 61 SNMP_SYNTAX_INTEGER, offsetof(struct atmif, media) },
|
H A D | atmconfig_device.h | 51 int32_t media; member in struct:atmif
|
H A D | diag.c | 470 u_int media; member in struct:__anon7007 475 if (aif->mib.media == medias[i].media)
|
/freebsd-11-stable/sbin/devd/ |
H A D | devd.hh | 99 * media is the subclass used to match an individual variable. Its 102 class media : public eps class in inherits:eps 105 media(config &, const char *var, const char *type); 106 virtual ~media();
|
/freebsd-11-stable/sbin/dhclient/ |
H A D | clparse.c | 230 parse_string_list(cfile, &config->media, 1); 889 /* Find the last medium in the media list. */ 899 parse_warn("Expecting media options."); 911 /* Store this medium at the end of the media list. */
|
H A D | dhclient.conf | 18 media "-link0 -link1 -link2", "link0 link1";
|
H A D | dhcpd.h | 163 struct string_list *media; member in struct:client_config
|
/freebsd-11-stable/stand/i386/boot2/ |
H A D | boot1.S | 71 .byte 0 # media type (W)
|
/freebsd-11-stable/stand/pc98/boot2/ |
H A D | boot2.c | 276 int media = ((unsigned *)PTOV(0x460))[unit & 0x0F] & 0x1F; local 278 if (media == 7 && hds++ == bunit) /* SCSI MO */
|
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_sa.h | 159 * Format tape media. The CDB opcode is the same as the disk-specific 1057 u_int8_t tag_action, int media,
|
/freebsd-11-stable/sys/dev/alc/ |
H A D | if_alc.c | 528 alc_dsp_fixup(struct alc_softc *sc, int media) argument 547 if ((media == IFM_1000_T && len > EXT_CLDCTL6_CAB_LEN_SHORT1G && 549 (media == IFM_100_TX && len > DBG_AGC_LONG100M_LIMT && 569 if (media == IFM_1000_T) { 579 } else if (media == IFM_100_TX) 1129 alc_aspm(struct alc_softc *sc, int init, int media) argument 1135 alc_aspm_813x(sc, media); 1139 alc_aspm_813x(struct alc_softc *sc, int media) argument 1191 if (media == IFM_100_TX || media [all...] |
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe.c | 4404 * Called by the OS to set various media options (i.e. link, speed, etc.) when 4405 * the user runs "ifconfig bxe media ..." or "ifconfig bxe mediaopt ...". 4415 /* We only support Ethernet media type. */ 4428 /* We don't support changing the media type. */ 4429 BLOGD(sc, DBG_LOAD, "Invalid media type (%d)\n", 4438 * Called by the OS to get the current media status (i.e. link, speed, etc.). 4476 ifmr->ifm_active |= sc->media; 4701 /* set/get interface media */ 13049 /* ifconfig entrypoint for media type/status reporting */ 13055 ifmedia_add(&sc->ifmedia, (IFM_ETHER | IFM_FDX | sc->media), [all...] |
H A D | bxe.h | 1340 struct ifmedia ifmedia; /* network interface media structure */ 1341 int media; member in struct:bxe_softc
|
/freebsd-11-stable/sys/dev/cs/ |
H A D | if_csvar.h | 47 struct ifmedia media; /* Media information */ member in struct:cs_softc
|
/freebsd-11-stable/sys/dev/cxgb/ |
H A D | cxgb_adapter.h | 101 struct ifmedia media; member in struct:port_info
|
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_tracer.c | 192 ifmedia_init(&sc->media, IFM_IMASK, tracer_media_change, 194 ifmedia_add(&sc->media, IFM_ETHER | IFM_FDX | IFM_NONE, 0, NULL); 195 ifmedia_set(&sc->media, IFM_ETHER | IFM_FDX | IFM_NONE); 221 ifmedia_removeall(&sc->media); 268 ifmedia_removeall(&sc->media); 481 rc = ifmedia_ioctl(ifp, ifr, &sc->media, cmd);
|
/freebsd-11-stable/sys/dev/dc/ |
H A D | if_dc.c | 70 * three kinds of media attachments: 1384 dc_setcfg(struct dc_softc *sc, int media) argument 1388 if (IFM_SUBTYPE(media) == IFM_NONE) 1397 if (IFM_SUBTYPE(media) == IFM_100_TX) { 1430 if (IFM_SUBTYPE(media) == IFM_10_T) { 1462 if ((media & IFM_GMASK) == IFM_FDX) 1480 if (IFM_SUBTYPE(media) == IFM_HPNA_1) { 1488 if ((media & IFM_GMASK) == IFM_FDX) { 1590 dc_apply_fixup(struct dc_softc *sc, int media) argument 1600 if (m->dc_media == media) [all...] |
/freebsd-11-stable/sys/dev/de/ |
H A D | if_devar.h | 166 * Various physical media types supported. 280 #define TULIP_MEDIAINFO_SIA_INIT(sc, mi, chipid, media) do { \ 282 sc->tulip_mediums[TULIP_MEDIA_ ## media] = (mi); \ 283 (mi)->mi_sia_connectivity = TULIP_ ## chipid ## _SIACONN_ ## media; \ 284 (mi)->mi_sia_tx_rx = TULIP_ ## chipid ## _SIATXRX_ ## media; \ 285 (mi)->mi_sia_general = TULIP_ ## chipid ## _SIAGEN_ ## media; \ 288 #define TULIP_MEDIAINFO_ADD_CAPABILITY(sc, mi, media) do { \ 289 if ((sc)->tulip_mediums[TULIP_MEDIA_ ## media] == NULL \ 290 && ((mi)->mi_capabilities & PHYSTS_ ## media)) { \ 291 (sc)->tulip_mediums[TULIP_MEDIA_ ## media] [all...] |
/freebsd-11-stable/sys/dev/e1000/ |
H A D | if_igb.h | 447 struct ifmedia media; member in struct:adapter
|
/freebsd-11-stable/sys/dev/ed/ |
H A D | if_ed_pccard.c | 32 * Notes for adding media support. Each chipset is somewhat different 1073 * external PHYs set for things like HomeNET media. When accessing 1200 int media = 0; local 1205 media = mii->mii_media_status; 1208 media != mii->mii_media_status) {
|
/freebsd-11-stable/sys/dev/en/ |
H A D | midway.c | 1588 error = ifmedia_ioctl(ifp, ifr, &sc->media, cmd); 2864 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_UTP_155; 2866 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_MM_155; 2925 utopia_attach(&sc->utopia, IFP2IFATM(sc->ifp), &sc->media, &sc->en_mtx,
|