Searched refs:media (Results 1 - 25 of 128) sorted by relevance

123456

/freebsd-current/sbin/devd/
H A Ddhclient.conf10 media-type "ethernet";
17 media-type "802.11";
H A Ddevd.hh99 * 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-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zpool_status/
H A Dzpool_status_-c_disable.ksh46 log_mustnot zpool status -c media
49 log_must zpool status -c media
52 log_must zpool status -c media
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/
H A Dzpool_iostat_-c_disable.ksh46 log_mustnot zpool iostat -c media
49 log_must zpool iostat -c media
52 log_must zpool iostat -c media
/freebsd-current/libexec/rc/rc.d/
H A Dnuageinit41 mkdir -p /media/nuageinit
43 mount -t $fs $drive /media/nuageinit
49 dir=/media/nuageinit/$d/latest
57 /usr/libexec/nuageinit /media/nuageinit $citype
61 umount /media/nuageinit
63 rmdir /media/nuageinit
/freebsd-current/libexec/nuageinit/tests/
H A Dnuageinit.sh24 mkdir -p media/nuageinit
25 atf_check -s exit:1 -e match:"nuageinit: error parsing nocloud.*" /usr/libexec/nuageinit ${here}/media/nuageinit/ nocloud
27 printf "instance-id: iid-local01\nlocal-hostname: cloudimg\n" > ${here}/media/nuageinit/meta-data
28 atf_check -s exit:0 /usr/libexec/nuageinit ${here}/media/nuageinit nocloud
30 cat > media/nuageinit/meta-data << EOF
34 atf_check -s exit:0 /usr/libexec/nuageinit ${here}/media/nuageinit nocloud
41 mkdir -p media/nuageinit
42 printf "instance-id: iid-local01\n" > ${here}/media/nuageinit/meta-data
43 printf "#!/bin/sh\necho "yeah"\n" > ${here}/media/nuageinit/user-data
44 chmod 755 ${here}/media/nuageini
[all...]
/freebsd-current/usr.sbin/fstyp/
H A Dhammer2.c70 hammer2_media_data_t *media; local
98 warnx("failed to seek media");
101 media = read_buf(fp, io_base, io_bytes);
102 if (media == NULL) {
103 warnx("failed to read media");
107 memcpy(media, (char *)media + boff, bytes);
109 return (media);
115 hammer2_media_data_t *media; local
121 media
207 hammer2_media_data_t *vols[HAMMER2_NUM_VOLHDRS], *media; local
[all...]
/freebsd-current/sbin/ifconfig/
H A Difmedia.c108 warnx("%s: no media types?", ctx->ifname);
147 printf("\tsupported media:\n");
171 errx(1, "%s: no media types?", ctx->ifname);
186 err(1, "SIOCSIFMEDIA (media)");
206 * (I'm assuming that all supported media types for a given
263 errx(1, "invalid media instance: %s", val);
286 get_media_subtype(ifmedia_t media, const char *val) argument
290 subtype = ifconfig_media_lookup_subtype(media, val);
295 errx(EXIT_FAILURE, "unknown media type 0x%x", media);
305 get_media_mode(ifmedia_t media, const char *val) argument
324 get_media_options(ifmedia_t media, const char *val) argument
377 print_media(ifmedia_t media, bool print_toptype) argument
420 print_media_ifconfig(ifmedia_t media) argument
[all...]
/freebsd-current/usr.sbin/bsdconfig/include/
H A DMakefile3 FILES= bsdconfig.hlp media.hlp messages.subr network_device.hlp \
/freebsd-current/usr.sbin/bsdconfig/networking/share/
H A DMakefile3 FILES= common.subr device.subr hostname.subr ipaddr.subr media.subr \
/freebsd-current/usr.sbin/bsdconfig/share/
H A DMakefile2 SUBDIR= media packages
/freebsd-current/tools/test/stress2/misc/
H A Dtrim7.sh38 mount | grep -q /media ||
39 echo "Prerequisite: /media is a TRIM enabled file system."
51 [ $mp = /media ] || exit 0
H A Dnullfs23.sh39 mp2=/media
/freebsd-current/usr.sbin/bsdconfig/share/media/
H A DMakefile2 FILESDIR= ${SHAREDIR}/bsdconfig/media
/freebsd-current/lib/libifconfig/
H A Dlibifconfig_media.c219 get_toptype_ttos(ifmedia_t media) argument
226 if (IFM_TYPE(media) == desc->ifmt_word)
234 ifconfig_media_get_type(ifmedia_t media) argument
239 if (IFM_TYPE(media) == desc->ifmt_word)
256 ifconfig_media_get_subtype(ifmedia_t media) argument
261 ttos = get_toptype_ttos(media);
272 if (IFM_SUBTYPE(media) == desc->ifmt_word)
281 ifconfig_media_lookup_subtype(ifmedia_t media, const char *name) argument
286 ttos = get_toptype_ttos(media);
302 ifconfig_media_get_mode(ifmedia_t media) argument
327 ifconfig_media_lookup_mode(ifmedia_t media, const char *name) argument
348 ifconfig_media_get_options(ifmedia_t media) argument
397 ifconfig_media_lookup_options(ifmedia_t media, const char **opts, size_t nopts) argument
[all...]
H A Dlibifconfig.h196 /** Retrieve the interface media information
211 /** Retrieve the name of a media type
212 * @param media The media to be named
213 * @return A pointer to the media type name, or NULL on failure
215 const char *ifconfig_media_get_type(ifmedia_t media);
217 /** Retrieve a media type by its name
218 * @param name The name of a media type
219 * @return The media type value, or INVALID_IFMEDIA on failure
223 /** Retrieve the name of a media subtyp
[all...]
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_diskstorage_tbl.c78 * NOTE: according to MIB removable means removable media, not the
84 int32_t media; /* enum hrDiskStrorageMedia*/ member in struct:disk_entry
259 .media = DSM_HARDDISK,
264 .media = DSM_OTHER,
269 .media = DSM_OPTICALDISKROM,
274 .media = DSM_FLOPPYDISK,
279 .media = DSM_OTHER,
283 { .media = DSM_UNKNOWN }
291 for (found = lookup; found->media != DSM_UNKNOWN; found++) {
319 disk_entry->media
[all...]
/freebsd-current/usr.sbin/bsdconfig/networking/
H A Dwlanconfig39 f_include $BSDCFG_SHARE/media/wlan.subr
H A Ddevices42 f_include $BSDCFG_SHARE/media/tcpip.subr
45 f_include $BSDCFG_SHARE/networking/media.subr
/freebsd-current/usr.sbin/bsdconfig/packages/
H A Dpackages30 # Prevent device.subr (included indirectly via media/*.subr below) from auto
40 f_include $BSDCFG_SHARE/media/common.subr
/freebsd-current/sys/netgraph/
H A Dng_eiface.c83 struct ifmedia media; /* (fake) media information */ member in struct:ng_eiface_private
178 /* (Fake) media type manipulation */
181 error = ifmedia_ioctl(ifp, ifr, &priv->media, command);
347 struct ifmedia *ifm = &priv->media;
363 struct ifmedia *ifm = &priv->media;
418 ifmedia_init(&priv->media, 0, ng_eiface_mediachange,
420 ifmedia_add(&priv->media, IFM_ETHER | IFM_10_T, 0, NULL);
421 ifmedia_add(&priv->media, IFM_ETHER | IFM_10_T | IFM_FDX, 0, NULL);
422 ifmedia_add(&priv->media, IFM_ETHE
[all...]
/freebsd-current/sys/net/
H A Dif_media.c40 * BSD/OS-compatible network interface media selection.
112 * Add a media configuration to the list of supported media
143 * Add an array of media configurations to the list of
144 * supported media for a specific interface instance.
157 * Set the default active media.
160 * selected the default media in hardware. We do _not_ call the
161 * media-change callback.
188 * Given a media word, return one suitable for an application
192 compat_media(int media) argument
[all...]
/freebsd-current/sys/dev/my/
H A Dif_my.c388 u_int16_t phy_sts = 0, media, advert, ability; local
461 media = my_phy_readreg(sc, PHY_BMCR);
482 media &= ~PHY_BMCR_SPEEDSEL;
483 media |= PHY_BMCR_1000;
484 media |= PHY_BMCR_DUPLEX;
494 media &= ~PHY_BMCR_SPEEDSEL;
495 media &= ~PHY_BMCR_DUPLEX;
496 media |= PHY_BMCR_1000;
502 media |= PHY_BMCR_SPEEDSEL;
503 media
649 my_setmode_mii(struct my_softc * sc, int media) argument
796 int media = IFM_ETHER | IFM_100_TX | IFM_FDX; local
[all...]
/freebsd-current/sys/dev/mii/
H A Datphy.c200 /* Update the media status. */
336 atphy_setmedia(struct mii_softc *sc, int media) argument
341 if ((IFM_SUBTYPE(media) == IFM_AUTO || (media & IFM_FDX) != 0) &&
342 ((media & IFM_FLOW) != 0 ||
/freebsd-current/sys/dev/etherswitch/ip17x/
H A Dip17x_var.h49 int media; /* cpu port media */ member in struct:ip17x_softc

Completed in 305 milliseconds

123456