Home
last modified time | relevance | path

Searched refs:media (Results 1 – 25 of 118) sorted by relevance

12345

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dmedia.c85 descriptor_t **media; in media_get_assocs() local
103 if (media == NULL) { in media_get_assocs()
110 free(media); in media_get_assocs()
113 media[1] = NULL; in media_get_assocs()
116 return (media); in media_get_assocs()
163 medium = media[i]; in media_get_descriptor_by_name()
169 free(media); in media_get_descriptor_by_name()
193 media = NULL; in media_get_descriptors()
195 media = found; in media_get_descriptors()
199 return (media); in media_get_descriptors()
[all …]
H A Dentry.c502 dm_descriptor_t *media; in dm_get_slices() local
523 media = dm_get_associated_descriptors(*disk, in dm_get_slices()
526 if (media != NULL) { in dm_get_slices()
527 *slices = dm_get_associated_descriptors(*media, in dm_get_slices()
529 dm_free_descriptors(media); in dm_get_slices()
569 dm_descriptor_t *media = NULL; in dm_isoverlapping() local
589 media = dm_get_associated_descriptors(slice, DM_MEDIA, errp); in dm_isoverlapping()
590 if (media == NULL || *media == 0 || *errp != 0) in dm_isoverlapping()
597 media_attrs = dm_get_attributes(*media, errp); in dm_isoverlapping()
723 if (media) in dm_isoverlapping()
[all …]
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dsdp.c234 return (media); in sdp_find_media()
236 media = media->m_next; in sdp_find_media()
238 return (media); in sdp_find_media()
675 if (media != NULL) in sdp_add_media()
676 *media = NULL; in sdp_add_media()
818 media = media->m_next; in sdp_get_length()
921 media->m_port, media->m_portcount, media->m_proto, in sdp_clone_session()
941 media = media->m_next; in sdp_clone_session()
1088 media->m_port, media->m_proto); in sdp_session_to_str()
1091 m_name, media->m_port, media->m_portcount, media-> in sdp_session_to_str()
[all …]
H A Dsdp_parse_helper.c106 while (media != NULL) { in sdp_free_media()
108 if (media->m_name != NULL) in sdp_free_media()
109 free(media->m_name); in sdp_free_media()
111 free(media->m_proto); in sdp_free_media()
114 if (media->m_info != NULL) in sdp_free_media()
115 free(media->m_info); in sdp_free_media()
116 if (media->m_conn != NULL) in sdp_free_media()
118 if (media->m_bw != NULL) in sdp_free_media()
120 if (media->m_key != NULL) in sdp_free_media()
124 free(media); in sdp_free_media()
[all …]
/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,
123 dm_descriptor_t *media = in get_disk() local
126 if (*error != 0 || media == NULL || in get_disk()
127 *media == 0) { in get_disk()
134 get_disk_size(media[0], dp->name, in get_disk()
141 media[0], dp->name, in get_disk()
145 dm_free_descriptors(media); in get_disk()
362 get_disk_usable_slices(dm_descriptor_t media, const char *name, in get_disk_usable_slices() argument
[all …]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c1002 media, flags); in i_dladm_set_single_prop()
1026 media); in i_dladm_set_single_prop()
1099 uint32_t media; in dladm_set_linkprop() local
1129 &media, NULL, 0); in dladm_set_linkprop()
1178 uint_t media; in dladm_walk_linkprop() local
1219 uint_t media; in dladm_get_linkprop() local
1358 uint_t media; in dladm_get_linkprop_values() local
1547 uint32_t media; in dladm_init_linkprop() local
3331 switch (media) { in get_rate_mod()
3385 if (media != DL_WIFI) in set_rate()
[all …]
H A Dlibdliptun.c299 iptun_params_t *params, uint32_t media) in i_iptun_create_db() argument
306 DATALINK_CLASS_IPTUN, media, &conf); in i_iptun_create_db()
408 uint32_t media; in dladm_iptun_create() local
415 media = DL_IPV4; in dladm_iptun_create()
418 media = DL_IPV6; in dladm_iptun_create()
421 media = DL_6TO4; in dladm_iptun_create()
428 media, linkmgmt_flags, &params->iptun_param_linkid); in dladm_iptun_create()
433 status = i_iptun_create_db(handle, name, params, media); in dladm_iptun_create()
/illumos-gate/usr/src/pkg/manifests/
H A Dservice-storage-removable-media.p5m28 set name=pkg.fmri value=pkg:/service/storage/removable-media@$(PKGVERS)
29 set name=pkg.summary value="Storage media management library"
30 set name=pkg.description value="Storage media management library"
58 legacy pkg=SUNWsmedia desc="Storage media management library" \
59 name="Storage media management library"
60 legacy pkg=SUNWsmediar desc="Storage media management library (Root)" \
61 name="Storage media management library (Root)"
/illumos-gate/usr/src/cmd/diskinfo/
H A Ddiskinfo.c228 dm_descriptor_t *media; in enumerate_disks() local
249 if ((media = dm_get_descriptors(DM_MEDIA, filter, &err)) == NULL) { in enumerate_disks()
268 for (i = 0; media != NULL && media[i] != 0; i++) { in enumerate_disks()
269 if ((disk = dm_get_associated_descriptors(media[i], in enumerate_disks()
279 if ((mattrs = dm_get_attributes(media[i], &err)) == NULL) { in enumerate_disks()
419 dm_free_descriptors(media); in enumerate_disks()
/illumos-gate/usr/src/cmd/power/
H A Dpower.conf.i38628 # This entry keeps removable media from being powered down unless the
30 # (See removable-media(9P))
32 device-dependency-property removable-media /dev/fb
H A Dpower.conf.sparc28 # This entry keeps removable media from being powered down unless the
30 # (See removable-media(9P))
32 device-dependency-property removable-media /dev/fb
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dsvc-hal24 [ ! -d /media ] && /usr/bin/mkdir -m 755 /media
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dsundance.c110 static char media[] = "autosense"; variable
654 if (strcasecmp(media, "autosense") != 0) { in sundance_probe()
656 if (strcasecmp(media, "100mbps_fd") == 0 || in sundance_probe()
657 strcasecmp(media, "4") == 0) { in sundance_probe()
660 } else if (strcasecmp(media, "100mbps_hd") == 0 in sundance_probe()
661 || strcasecmp(media, "3") == 0) { in sundance_probe()
664 } else if (strcasecmp(media, "10mbps_fd") == 0 || in sundance_probe()
665 strcasecmp(media, "2") == 0) { in sundance_probe()
668 } else if (strcasecmp(media, "10mbps_hd") == 0 || in sundance_probe()
669 strcasecmp(media, "1") == 0) { in sundance_probe()
H A Dtulip.c321 u8 media; member
789 int media = get_u16(p); in parse_eeprom() local
794 tp->nic_name, media, in parse_eeprom()
795 media & 0x0800 ? "Autosense" : medianame[media & 15]); in parse_eeprom()
812 u16 media = get_u16(p); in parse_eeprom() local
821 mtable->defaultmedia = media; in parse_eeprom()
828 media & 0x0800 ? "Autosense" : medianame[media & MEDIA_MASK]); in parse_eeprom()
835 leaf->media = p[0] & 0x3f; in parse_eeprom()
848 leaf->media = 11; in parse_eeprom()
870 leaf->media = 19; in parse_eeprom()
[all …]
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_mem.c199 sda_mem_bd_mediainfo(void *arg, bd_media_t *media) in sda_mem_bd_mediainfo() argument
208 media->m_nblks = slot->s_nblks; in sda_mem_bd_mediainfo()
209 media->m_blksize = slot->s_blksz; in sda_mem_bd_mediainfo()
210 media->m_readonly = slot->s_flags & SLOTF_WRITABLE ? B_FALSE : B_TRUE; in sda_mem_bd_mediainfo()
211 media->m_solidstate = B_TRUE; in sda_mem_bd_mediainfo()
/illumos-gate/usr/src/cmd/login/
H A Dlogindevperm.sh65 /dev/vt/console_user 0400 /dev/removable-media/dsk/* # removable media
66 /dev/vt/console_user 0400 /dev/removable-media/rdsk/* # removable media
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_device.c216 uint32_t flag, media; in ldma_dev_validate_nic() local
255 &media) != DLADM_STATUS_OK) { in ldma_dev_validate_nic()
258 LDMA_DBG("VALIDATE_NIC(%s): media=0x%x", nic, media); in ldma_dev_validate_nic()
/illumos-gate/usr/src/uts/common/sys/
H A Ddls_mgmt.h71 #define DATALINK_MEDIA_ACCEPTED(dmedia, media) \ argument
73 B_TRUE : ((uint32_t)((dmedia) & 0xfffffffful) == (media)))
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c2003 bd_media_t media; in bd_update_state() local
2005 bzero(&media, sizeof (media)); in bd_update_state()
2014 if ((media.m_blksize < 512) || in bd_update_state()
2015 (!ISP2(media.m_blksize)) || in bd_update_state()
2018 media.m_blksize); in bd_update_state()
2035 bd->d_numblks = media.m_nblks; in bd_update_state()
2036 bd->d_rdonly = media.m_readonly; in bd_update_state()
2037 bd->d_ssd = media.m_solidstate; in bd_update_state()
2044 if ((media.m_pblksize != 0) && in bd_update_state()
2045 (media.m_pblksize >= media.m_blksize) && in bd_update_state()
[all …]
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_door.c147 uint32_t media; in dlmgmt_upcall_create() local
162 media = create->ld_media; in dlmgmt_upcall_create()
213 if ((err = dlmgmt_create_common(create->ld_devname, class, media, in dlmgmt_upcall_create()
231 err = dlmgmt_create_common(link, class, media, zoneid, flags, in dlmgmt_upcall_create()
286 uint32_t media = update->ld_media; in dlmgmt_upcall_update() local
309 retvalp->lr_media = media; in dlmgmt_upcall_update()
310 if (linkp->ll_media != media && linkp->ll_media != DL_OTHER) { in dlmgmt_upcall_update()
343 if (linkp->ll_media != media) { in dlmgmt_upcall_update()
344 linkp->ll_media = media; in dlmgmt_upcall_update()
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_mgmt.c395 uint32_t media, boolean_t persist, datalink_id_t *linkidp) in dls_mgmt_create() argument
403 create.ld_media = media; in dls_mgmt_create()
453 dls_mgmt_update(const char *devname, uint32_t media, boolean_t novanity, in dls_mgmt_update() argument
466 update.ld_media = media; in dls_mgmt_update()
1693 uint32_t media; in i_dls_devnet_create_iptun() local
1706 media = DL_IPV4; in i_dls_devnet_create_iptun()
1709 media = DL_6TO4; in i_dls_devnet_create_iptun()
1712 media = DL_IPV6; in i_dls_devnet_create_iptun()
1717 err = dls_mgmt_create((char *)linkname, 0, DATALINK_CLASS_IPTUN, media, in i_dls_devnet_create_iptun()
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnx_mm.c472 char *media; in bnx_display_link_msg() local
476 media = "Fiber"; in bnx_display_link_msg()
478 media = "Copper"; in bnx_display_link_msg()
529 cmn_err(CE_NOTE, "!%s: %s link is %s", umdevice->dev_name, media, in bnx_display_link_msg()
/illumos-gate/usr/src/lib/print/libprint/common/
H A DsunPrinter.oc.conf.txt59 printer-media-local-supported,
60 printer-media-supported,
H A DsunPrinter.at.conf.txt50 attribute printer-media-supported 1.3.18.0.2.4.1122 cis
51 attribute printer-media-local-supported 1.3.18.0.2.4.1117 cis
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dllp.c72 uint32_t media; in find_if_type() local
82 if (dladm_name2info(dld_handle, name, NULL, NULL, NULL, &media) != in find_if_type()
93 } else if (media == DL_WIFI) { in find_if_type()

12345