Searched defs:media (Results 1 - 25 of 30) sorted by relevance

12

/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlsim.c182 uint_t media, uint32_t flags)
193 DATALINK_CLASS_SIMNET, media, flags,
199 attr.sna_type = media;
181 dladm_simnet_create(dladm_handle_t handle, const char *simnetname, uint_t media, uint32_t flags) argument
H A Dlibdlib.c436 uint_t media; local
451 * Get the media type of the Phys link datalink ID provided and
452 * make sure that it is Infiniband media DL_IB)
455 NULL, &media, NULL, 0)) != DLADM_STATUS_OK)
458 if (media != DL_IB)
H A Dlibdliptun.c299 iptun_params_t *params, uint32_t media)
306 DATALINK_CLASS_IPTUN, media, &conf);
408 uint32_t media; local
415 media = DL_IPV4;
418 media = DL_IPV6;
421 media = DL_6TO4;
428 media, linkmgmt_flags, &params->iptun_param_linkid);
433 status = i_iptun_create_db(handle, name, params, media);
298 i_iptun_create_db(dladm_handle_t handle, const char *name, iptun_params_t *params, uint32_t media) argument
H A Dlibdlvnic.c511 uint32_t media = DL_ETHER; local
534 &class, &media, NULL, 0)) != DLADM_STATUS_OK)
541 if (media != DL_ETHER)
564 media, flags, zoneid, &vnic_id)) != DLADM_STATUS_OK)
670 uint32_t media = DL_ETHER; local
739 NULL, &class, &media, NULL, 0)) != DLADM_STATUS_OK)
746 if (media != DL_ETHER)
H A Dlibdladm.c734 * Given a physical link media type, returns its media type string.
737 dladm_media2str(uint32_t media, char *buf) argument
745 if (mt->media_type == media) {
756 * Given a physical link media type string, returns its media type constant.
H A Dlibdlaggr.c426 uint32_t media; local
437 NULL, &class, &media, linkname, sizeof (linkname));
440 (class == DATALINK_CLASS_SIMNET)) || (media != DL_ETHER)) {
1240 uint32_t media; local
1254 NULL, &class, &media, linkname, sizeof (linkname));
1257 DATALINK_CLASS_SIMNET) && (media == DL_ETHER))) {
H A Dlibdllink.c931 uint32_t media; local
937 &media, NULL, 0)) != DLADM_STATUS_OK) {
950 if (media == DL_ETHER) {
958 } else if (media == DL_IB) {
H A Dlibdlmgmt.c114 datalink_class_t class, uint32_t media, uint32_t flags,
135 createid.ld_media = media;
153 datalink_class_t class, uint32_t media, uint32_t flags,
157 media, flags, getzoneid(), linkidp));
225 datalink_class_t class, uint32_t media, dladm_conf_t *confp)
237 createconf.ld_media = media;
534 uint32_t media, zoneid_t zoneid)
540 di->di_media = media;
113 dladm_create_datalink_id_zone(dladm_handle_t handle, const char *link, datalink_class_t class, uint32_t media, uint32_t flags, zoneid_t zoneid, datalink_id_t *linkidp) argument
152 dladm_create_datalink_id(dladm_handle_t handle, const char *link, datalink_class_t class, uint32_t media, uint32_t flags, datalink_id_t *linkidp) argument
224 dladm_create_conf(dladm_handle_t handle, const char *link, datalink_id_t linkid, datalink_class_t class, uint32_t media, dladm_conf_t *confp) argument
532 i_dladm_init_linkinfo(dladm_datalink_info_t *di, datalink_id_t linkid, const char *linkname, uint32_t flags, datalink_class_t class, uint32_t media, zoneid_t zoneid) argument
H A Dlibdlwlan.c864 uint32_t media; local
867 status = dladm_datalink_id2info(handle, linkid, NULL, NULL, &media,
870 if (media != DL_WIFI)
1100 uint32_t media; local
1104 &media, link, MAXLINKNAMELEN)) != DLADM_STATUS_OK) {
1108 if (media != DL_WIFI)
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dfat.h34 grub_uint8_t media; member in struct:grub_fat_bpb
H A Dntfs.h112 grub_uint8_t media; member in struct:grub_ntfs_bpb
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dbootsector.h78 uint8_t media; /* 15: media code */ member in struct:_FatBootSector
/osnet-11/usr/src/lib/libcommputil/common/
H A Dsdp_parse_helper.c102 sdp_free_media(sdp_media_t *media) argument
106 while (media != NULL) {
107 next_media = media->m_next;
108 if (media->m_name != NULL)
109 free(media->m_name);
110 if (media->m_proto != NULL)
111 free(media->m_proto);
112 if (media->m_format != NULL)
113 sdp_free_list(media->m_format);
114 if (media
[all...]
H A Dsdp.c219 * Given a media list and media name ("audio", "video", et al), it searches
220 * the list for that media. Returns NULL if media not present.
223 sdp_find_media(sdp_media_t *media, const char *name) argument
225 if (media == NULL || name == NULL || (strlen(name) == 0)) {
228 while (media != NULL) {
229 if (media->m_name != NULL) {
230 if (strcasecmp(name, media->m_name) == 0)
231 return (media);
263 sdp_find_media_rtpmap(sdp_media_t *media, const char *format) argument
665 sdp_add_media(sdp_session_t *session, const char *name, uint_t port, int portcount, const char *protocol, const char *fmt, sdp_media_t **media) argument
729 sdp_media_t *media; local
832 sdp_media_t *media; local
970 sdp_media_t *media; local
1193 sdp_delete_all_media_field(sdp_media_t *media, const char field) argument
1229 sdp_delete_media(sdp_media_t **l_media, sdp_media_t *media) argument
[all...]
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dmedia.c47 static descriptor_t **apply_filter(descriptor_t **media, int filter[],
80 * Get the media descriptors for the given drive/partition/slice.
85 descriptor_t **media; local
90 * For drives, this means no media but slice/part.
91 * require media.
102 media = (descriptor_t **)calloc(2, sizeof (descriptor_t *));
103 if (media == NULL) {
108 media[0] = cache_get_desc(DM_MEDIA, dp->p.disk, mname, NULL, errp);
110 free(media);
113 media[
152 descriptor_t **media; local
181 descriptor_t **media; local
288 apply_filter(descriptor_t **media, int filter[], int *errp) argument
[all...]
H A Dentry.c619 dm_descriptor_t *media; local
640 media = dm_get_associated_descriptors(*disk,
643 if (media != NULL) {
644 *slices = dm_get_associated_descriptors(*media,
646 dm_free_descriptors(media);
687 dm_descriptor_t *media = NULL; local
704 * Get the list of slices be fetching the associated media, and then all
707 media = dm_get_associated_descriptors(slice, DM_MEDIA, errp);
708 if (media == NULL || *media
[all...]
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfat.h46 __u8 media; /* media code (unused) */ member in struct:fat_bpb
/osnet-11/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c44 static dmgt_slice_t **get_disk_slices(dm_descriptor_t media,
46 static dmgt_slice_t **get_disk_usable_slices(dm_descriptor_t media,
48 static void get_disk_size(dm_descriptor_t media, char *name,
120 /* Get media */
121 dm_descriptor_t *media = local
124 if (*error != 0 || media == NULL ||
125 *media == NULL) {
127 "could not get media from disk %s",
132 get_disk_size(media[0], dp->name,
139 media[
255 get_disk_slices(dm_descriptor_t media, const char *name, uint32_t blocksize, int *error) argument
359 get_disk_usable_slices(dm_descriptor_t media, const char *name, uint32_t blocksize, int *in_use, int *error) argument
437 get_disk_size(dm_descriptor_t media, char *name, uint64_t *size, uint32_t *blocksize, int *error) argument
[all...]
/osnet-11/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c718 uint32_t media; local
721 link, &linkid, &flags, &class, &media) !=
734 &class, &media, NULL, 0)) != DLADM_STATUS_OK) {
743 media != DL_ETHER) {
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c239 PROP_BOOL(d, node, i, "removable-media", "storage.removable");
314 PROP_BOOL(d, node, i, "removable-media", "storage.removable");
318 * We have to enable polling not only for drives with removable media,
323 * So we have to enable media check so that hald-addon-storage notices
327 ((di_prop_lookup_ints(DDI_DEV_T_ANY, node, "removable-media", &i) >= 0) ||
500 PROP_BOOL(d, node, i, "removable-media", "storage.removable");
631 HAL_INFO (("no floppy media", hal_device_get_udi (d)));
641 HAL_INFO (("floppy media found", hal_device_get_udi (d)));
1378 * For removable media devices, check for "storage.removable.media_available".
1379 * For non-removable media device
1760 int media; local
[all...]
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_vdev.c197 dm_descriptor_t *drive, *media, *slice; local
212 if ((media = dm_get_associated_descriptors(*drive, DM_MEDIA,
223 * It is possible that the user has specified a removable media drive,
224 * and the media is not present.
226 if (*media == NULL) {
227 dm_free_descriptors(media);
229 gettext("'%s' has no media in drive\n"), name);
233 if ((slice = dm_get_associated_descriptors(*media, DM_SLICE,
235 dm_free_descriptors(media);
241 dm_free_descriptors(media);
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dpcnet32.c671 int i, media; local
760 media = a->read_bcr(ioaddr, 49);
762 printf("media reset to %#x.\n", media);
763 a->write_bcr(ioaddr, 49, media);
H A Dr8169.c78 /* media options
85 static int media = -1; variable
746 option = media;
H A Dsundance.c102 /* Allow forcing the media type */
103 /* media[] specifies the media type the NIC operates at.
104 autosense Autosensing active media.
110 static char media[] = "autosense"; variable
288 /* These values keep track of the tranceiver/media in use */
321 /* Force media */
654 if (strcasecmp(media, "autosense") != 0) {
656 if (strcasecmp(media, "100mbps_fd") == 0 ||
657 strcasecmp(media, "
[all...]
H A Dtlan.c108 const char *media[] = { variable
474 printf("%s", media[i - 5]);
1745 * media.

Completed in 274 milliseconds

12