Home
last modified time | relevance | path

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

123456

/titanic_50/usr/src/lib/libdiskmgt/common/
H A Dmedia.c47 static descriptor_t **apply_filter(descriptor_t **media, int filter[],
85 descriptor_t **media; in media_get_assocs() local
102 media = (descriptor_t **)calloc(2, sizeof (descriptor_t *)); in media_get_assocs()
103 if (media == NULL) { in media_get_assocs()
108 media[0] = cache_get_desc(DM_MEDIA, dp->p.disk, mname, NULL, errp); 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()
152 descriptor_t **media; in media_get_descriptor_by_name() local
156 media = cache_get_descriptors(DM_MEDIA, errp); in media_get_descriptor_by_name()
[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()
570 dm_descriptor_t *media = NULL; in dm_isoverlapping() local
590 media = dm_get_associated_descriptors(slice, DM_MEDIA, errp); in dm_isoverlapping()
591 if (media == NULL || *media == NULL || *errp != 0) in dm_isoverlapping()
594 slices = dm_get_associated_descriptors(*media, DM_SLICE, errp); in dm_isoverlapping()
598 media_attrs = dm_get_attributes(*media, errp); in dm_isoverlapping()
[all …]
/titanic_50/usr/src/lib/libcommputil/common/
H A Dsdp.c226 sdp_find_media(sdp_media_t *media, const char *name) in sdp_find_media() argument
228 if (media == NULL || name == NULL || (strlen(name) == 0)) { in sdp_find_media()
231 while (media != NULL) { in sdp_find_media()
232 if (media->m_name != NULL) { in sdp_find_media()
233 if (strcasecmp(name, media->m_name) == 0) in sdp_find_media()
234 return (media); in sdp_find_media()
236 media = media->m_next; in sdp_find_media()
238 return (media); in sdp_find_media()
266 sdp_find_media_rtpmap(sdp_media_t *media, const char *format) in sdp_find_media_rtpmap() argument
271 if (media == NULL || format == NULL || (strlen(format) == 0)) { in sdp_find_media_rtpmap()
[all …]
H A Dsdp_parse_helper.c102 sdp_free_media(sdp_media_t *media) in sdp_free_media() argument
106 while (media != NULL) { in sdp_free_media()
107 next_media = media->m_next; in sdp_free_media()
108 if (media->m_name != NULL) in sdp_free_media()
109 free(media->m_name); in sdp_free_media()
110 if (media->m_proto != NULL) in sdp_free_media()
111 free(media->m_proto); in sdp_free_media()
112 if (media->m_format != NULL) in sdp_free_media()
113 sdp_free_list(media->m_format); in sdp_free_media()
114 if (media->m_info != NULL) in sdp_free_media()
[all …]
/titanic_50/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,
121 dm_descriptor_t *media = in get_disk() local
124 if (*error != 0 || media == NULL || in get_disk()
125 *media == NULL) { in get_disk()
132 get_disk_size(media[0], dp->name, in get_disk()
139 media[0], dp->name, in get_disk()
143 dm_free_descriptors(media); in get_disk()
255 get_disk_slices(dm_descriptor_t media, const char *name, uint32_t blocksize, in get_disk_slices() argument
[all …]
/titanic_50/usr/src/lib/libdladm/common/
H A Dlinkprop.c905 datalink_media_t media) in check_prop() argument
928 datalink_class_t class, uint32_t media, prop_desc_t *pdp, char **prop_val, in i_dladm_set_single_prop() argument
939 if (!DATALINK_MEDIA_ACCEPTED(pdp->pd_dmedia, media)) in i_dladm_set_single_prop()
959 &val_cnt, flags, &vdp, media); in i_dladm_set_single_prop()
962 &val_cnt, flags, &vdp, media); in i_dladm_set_single_prop()
981 media, flags); in i_dladm_set_single_prop()
995 &cnt, flags, &vdp, media); in i_dladm_set_single_prop()
1005 media); in i_dladm_set_single_prop()
1018 datalink_class_t class, uint32_t media) in i_dladm_set_linkprop() argument
1032 s = i_dladm_set_single_prop(handle, linkid, class, media, pdp, in i_dladm_set_linkprop()
[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()
/titanic_50/usr/src/pkg/manifests/
H A Dservice-storage-removable-media.mf27 set name=pkg.fmri value=pkg:/service/storage/removable-media@$(PKGVERS)
28 set name=pkg.description value="Storage media management library"
29 set name=pkg.summary 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)"
/titanic_50/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
/titanic_50/usr/src/cmd/hal/hald/solaris/
H A Dsvc-hal24 [ ! -d /media ] && /usr/bin/mkdir -m 755 /media
/titanic_50/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()
844 leaf->media = p[2] & 0x0f; in parse_eeprom()
848 leaf->media = 11; in parse_eeprom()
[all …]
/titanic_50/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()
/titanic_50/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
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/blkdev/
H A Dblkdev.c1606 bd_media_t media; in bd_update_state() local
1608 bzero(&media, sizeof (media)); in bd_update_state()
1611 if (bd->d_ops.o_media_info(bd->d_private, &media) != 0) { in bd_update_state()
1617 if ((media.m_blksize < 512) || in bd_update_state()
1618 (!ISP2(media.m_blksize)) || in bd_update_state()
1619 (P2PHASE(bd->d_maxxfer, media.m_blksize))) { in bd_update_state()
1622 media.m_blksize); in bd_update_state()
1631 if (((1U << bd->d_blkshift) != media.m_blksize) || in bd_update_state()
1632 (bd->d_numblks != media.m_nblks)) { in bd_update_state()
1637 bd->d_blkshift = ddi_ffs(media.m_blksize) - 1; in bd_update_state()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Ddls_mgmt.h68 #define DATALINK_MEDIA_ACCEPTED(dmedia, media) \ argument
70 B_TRUE : ((uint32_t)((dmedia) & 0xfffffffful) == (media)))
/titanic_50/usr/src/uts/common/io/dls/
H A Ddls_mgmt.c392 uint32_t media, boolean_t persist, datalink_id_t *linkidp) in dls_mgmt_create() argument
400 create.ld_media = media; in dls_mgmt_create()
450 dls_mgmt_update(const char *devname, uint32_t media, boolean_t novanity, in dls_mgmt_update() argument
463 update.ld_media = media; in dls_mgmt_update()
1707 uint32_t media; in i_dls_devnet_create_iptun() local
1720 media = DL_IPV4; in i_dls_devnet_create_iptun()
1723 media = DL_6TO4; in i_dls_devnet_create_iptun()
1726 media = DL_IPV6; in i_dls_devnet_create_iptun()
1731 err = dls_mgmt_create((char *)linkname, 0, DATALINK_CLASS_IPTUN, media, in i_dls_devnet_create_iptun()
/titanic_50/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()
/titanic_50/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
/titanic_50/usr/src/cmd/zpool/
H A Dzpool_vdev.c188 dm_descriptor_t *drive, *media, *slice; in check_disk() local
204 if ((media = dm_get_associated_descriptors(*drive, DM_MEDIA, in check_disk()
218 if (*media == NULL) { in check_disk()
219 dm_free_descriptors(media); in check_disk()
224 if ((slice = dm_get_associated_descriptors(*media, DM_SLICE, in check_disk()
226 dm_free_descriptors(media); in check_disk()
232 dm_free_descriptors(media); in check_disk()
/titanic_50/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()
/titanic_50/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c997 wbpb->bpb.media = 0xF9; in prepare_image_file()
1007 wbpb->bpb.media = 0xF0; in prepare_image_file()
1102 wbpb->bpb.media = 0xF9; in floppy_bpb_fillin()
1108 wbpb->bpb.media = 0xF0; in floppy_bpb_fillin()
1114 wbpb->bpb.media = 0xF0; in floppy_bpb_fillin()
1140 wbpb->bpb.media = 0xF9; in floppy_bpb_fillin()
1146 wbpb->bpb.media = 0xFD; in floppy_bpb_fillin()
1152 wbpb->bpb.media = 0xFF; in floppy_bpb_fillin()
1168 wbpb->bpb.media = 0xFC; in floppy_bpb_fillin()
1174 wbpb->bpb.media = 0xFE; in floppy_bpb_fillin()
[all …]

123456