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

123

/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_device.c216 uint32_t flag, media; local
255 &media) != DLADM_STATUS_OK) {
258 LDMA_DBG("VALIDATE_NIC(%s): media=0x%x", nic, media);
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlsim.c181 uint_t media, uint32_t flags)
192 DATALINK_CLASS_SIMNET, media, flags,
198 attr.sna_type = media;
180 dladm_simnet_create(dladm_handle_t handle, const char *simnetname, uint_t media, uint32_t flags) argument
H A Dlibdlib.c430 uint_t media; local
450 * Get the media type of the Phys link datalink ID provided and
451 * make sure that it is Infiniband media DL_IB)
454 NULL, &media, NULL, 0)) != DLADM_STATUS_OK)
457 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.c407 uint32_t media = DL_ETHER; local
434 &class, &media, NULL, 0)) != DLADM_STATUS_OK)
479 media != DL_ETHER) {
502 media, flags, &vnic_id)) != DLADM_STATUS_OK)
H A Dlibdlmgmt.c110 datalink_class_t class, uint32_t media, uint32_t flags,
130 createid.ld_media = media;
205 datalink_class_t class, uint32_t media, dladm_conf_t *confp)
217 createconf.ld_media = media;
109 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
204 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
H A Dlibdladm.c667 * Given a physical link media type, returns its media type string.
670 dladm_media2str(uint32_t media, char *buf) argument
678 if (mt->media_type == media) {
689 * Given a physical link media type string, returns its media type constant.
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_mem.c199 sda_mem_bd_mediainfo(void *arg, bd_media_t *media) argument
208 media->m_nblks = slot->s_nblks;
209 media->m_blksize = slot->s_blksz;
210 media->m_readonly = slot->s_flags & SLOTF_WRITABLE ? B_FALSE : B_TRUE;
211 media->m_solidstate = B_TRUE;
355 * The media may have a different native size, but 512
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-mgmt.h46 * @media: Fiber, copper.
65 char media[16]; member in struct:xge_hal_mgmt_about_info_t
/illumos-gate/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
290 apply_filter(descriptor_t **media, int filter[], int *errp) argument
[all...]
H A Dentry.c502 dm_descriptor_t *media; local
523 media = dm_get_associated_descriptors(*disk,
526 if (media != NULL) {
527 *slices = dm_get_associated_descriptors(*media,
529 dm_free_descriptors(media);
570 dm_descriptor_t *media = NULL; local
587 * Get the list of slices be fetching the associated media, and then all
590 media = dm_get_associated_descriptors(slice, DM_MEDIA, errp);
591 if (media == NULL || *media
[all...]
/illumos-gate/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.c222 * Given a media list and media name ("audio", "video", et al), it searches
223 * the list for that media. Returns NULL if media not present.
226 sdp_find_media(sdp_media_t *media, const char *name) argument
228 if (media == NULL || name == NULL || (strlen(name) == 0)) {
231 while (media != NULL) {
232 if (media->m_name != NULL) {
233 if (strcasecmp(name, media->m_name) == 0)
234 return (media);
266 sdp_find_media_rtpmap(sdp_media_t *media, const char *format) argument
668 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
732 sdp_media_t *media; local
835 sdp_media_t *media; local
973 sdp_media_t *media; local
1196 sdp_delete_all_media_field(sdp_media_t *media, const char field) argument
1232 sdp_delete_media(sdp_media_t **l_media, sdp_media_t *media) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfat.h46 __u8 media; /* media code (unused) */ member in struct:fat_bpb
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_menu.c123 struct dk_minfo media; local
158 gettext("Not a removable media device\n"));
163 if (ioctl(fd, DKIOCGMEDIAINFO, &media) < 0) {
165 gettext("No media in specified device\n"));
222 DPRINTF1("media type %x\n", med_info.sm_media_type);
223 DPRINTF1("media block size %x\n", med_info.sm_blocksize);
224 DPRINTF1("media capacity %u\n", (uint32_t)med_info.sm_capacity);
225 DPRINTF3("media cyl %d head %d sect %d\n",
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dllp.c72 uint32_t media; local
82 if (dladm_name2info(dld_handle, name, NULL, NULL, NULL, &media) !=
93 } else if (media == DL_WIFI) {
H A Dncu.c1160 uint32_t media; local
1167 &media)) != DLADM_STATUS_OK) {
1169 nlog(LOG_ERR, "failed to get media type for %s: %s", name,
1173 is_wireless = (media == DL_WIFI);
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_bpb.h102 uchar_t media; member in struct:_orig_bios_param_blk
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs_pcfs.h103 uchar_t media; member in struct:_orig_bios_param_blk
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c46 static dmgt_slice_t **get_disk_slices(dm_descriptor_t media,
48 static dmgt_slice_t **get_disk_usable_slices(dm_descriptor_t media,
50 static void get_disk_size(dm_descriptor_t media, char *name,
122 /* Get media */
123 dm_descriptor_t *media = local
126 if (*error != 0 || media == NULL ||
127 *media == NULL) {
129 "could not get media from disk %s",
134 get_disk_size(media[0], dp->name,
141 media[
258 get_disk_slices(dm_descriptor_t media, const char *name, uint32_t blocksize, int *error) argument
362 get_disk_usable_slices(dm_descriptor_t media, const char *name, uint32_t blocksize, int *in_use, int *error) argument
441 get_disk_size(dm_descriptor_t media, char *name, uint64_t *size, uint32_t *blocksize, int *error) argument
[all...]
/illumos-gate/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c724 uint32_t media; local
727 link, &linkid, &flags, &class, &media) !=
740 &class, &media, NULL, 0)) != DLADM_STATUS_OK) {
758 class != DATALINK_CLASS_VNIC) || media != DL_ETHER) {
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_door.c147 uint32_t media; local
162 media = create->ld_media;
213 if ((err = dlmgmt_create_common(create->ld_devname, class, media,
231 err = dlmgmt_create_common(link, class, media, zoneid, flags,
286 uint32_t media = update->ld_media; local
309 retvalp->lr_media = media;
310 if (linkp->ll_media != media && linkp->ll_media != DL_OTHER) {
319 * As ath0 and ce0 do not have the same media type, ath0
325 * Return the media type of the existing link to indicate the
343 if (linkp->ll_media != media) {
[all...]
H A Ddlmgmt_util.c441 dlmgmt_create_common(const char *name, datalink_class_t class, uint32_t media, argument
460 linkp->ll_media = media;
567 uint32_t media, zoneid_t zoneid, dlmgmt_dlconf_t **dlconfpp)
585 dlconfp->ld_media = media;
566 dlconf_create(const char *name, datalink_id_t linkid, datalink_class_t class, uint32_t media, zoneid_t zoneid, dlmgmt_dlconf_t **dlconfpp) argument
/illumos-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_main.c35 * - register the mac if this is a non-GLDv3 device and the media type is
530 uint32_t media; local
534 softmac->smac_flags & SOFTMAC_NOSUPP, &media, &linkid)) == 0) {
543 * different media type from of the given type.
551 if (media != softmac->smac_media) {
555 softmac->smac_devname, dl_mactypestr(media),
574 * 1. provides the link's media type to dlmgmtd.
575 * 2. creates the GLDv3 datalink if the media type is supported by GLDv3.
597 * Provide the media type of the physical link to dlmgmtd.
671 * 1. registers the MAC for the legacy devices whose media typ
[all...]
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c186 dm_descriptor_t *drive, *media, *slice; local
202 if ((media = dm_get_associated_descriptors(*drive, DM_MEDIA,
213 * It is possible that the user has specified a removable media drive,
214 * and the media is not present.
216 if (*media == NULL) {
217 dm_free_descriptors(media);
218 vdev_error(gettext("'%s' has no media in drive\n"), name);
222 if ((slice = dm_get_associated_descriptors(*media, DM_SLICE,
224 dm_free_descriptors(media);
230 dm_free_descriptors(media);
[all...]

Completed in 172 milliseconds

123