Home
last modified time | relevance | path

Searched refs:prinfo (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/audio/utilities/
H A Ddevice_ctl.c82 struct audio_prinfo *prinfo; in audio__setplayhdr() local
86 prinfo = &info.play; in audio__setplayhdr()
88 prinfo = &info.record; in audio__setplayhdr()
95 prinfo->sample_rate = hdrp->sample_rate; in audio__setplayhdr()
96 prinfo->channels = hdrp->channels; in audio__setplayhdr()
97 prinfo->encoding = hdrp->encoding; in audio__setplayhdr()
98 prinfo->precision = hdrp->bytes_per_unit * 8; in audio__setplayhdr()
109 hdrp->sample_rate = prinfo->sample_rate; in audio__setplayhdr()
110 hdrp->channels = prinfo->channels; in audio__setplayhdr()
112 hdrp->encoding = prinfo->encoding; in audio__setplayhdr()
[all …]
/titanic_41/usr/src/cmd/priocntl/
H A Dpriocntl.c481 static psinfo_t prinfo; local
570 if (read(procfd, &prinfo, sizeof (prinfo)) !=
571 sizeof (prinfo)) {
606 if (prinfo.pr_lwp.pr_state == 0 || prinfo.pr_nlwp == 0)
613 itoa((long)prinfo.pr_pid, idstr);
619 itoa((long)prinfo.pr_ppid, idstr);
625 itoa((long)prinfo.pr_pgid, idstr);
631 itoa((long)prinfo.pr_sid, idstr);
637 procinset = idmatch(prinfo.pr_lwp.pr_clname,
654 itoa((long)prinfo.pr_projid, idstr);
[all …]
H A Dsubr.c306 psinfo_t prinfo; in verifyupri() local
352 if (read(procfd, &prinfo, sizeof (prinfo)) != sizeof (prinfo)) { in verifyupri()
375 if (prinfo.pr_lwp.pr_state == 0 || prinfo.pr_nlwp == 0) in verifyupri()
381 if (strncmp(clname, prinfo.pr_lwp.pr_clname, PC_CLNMSZ) != 0) in verifyupri()
388 if (id == (id_t)prinfo.pr_ppid) in verifyupri()
393 if (id == (id_t)prinfo.pr_pgid) in verifyupri()
398 if (id == (id_t)prinfo.pr_sid) in verifyupri()
413 if (id == (id_t)prinfo.pr_projid) in verifyupri()
418 if (id == (id_t)prinfo.pr_taskid) in verifyupri()
423 if (id == (id_t)prinfo.pr_zoneid) in verifyupri()
[all …]
/titanic_41/usr/src/uts/common/io/audio/impl/
H A Daudio_sun.c145 devaudio_compose_format(audio_prinfo_t *prinfo) in devaudio_compose_format() argument
147 switch (prinfo->precision) { in devaudio_compose_format()
149 switch (prinfo->encoding) { in devaudio_compose_format()
161 if (prinfo->encoding == AUDIO_ENCODING_LINEAR) in devaudio_compose_format()
165 if (prinfo->encoding == AUDIO_ENCODING_LINEAR) in devaudio_compose_format()
174 devaudio_decompose_format(audio_prinfo_t *prinfo, int afmt) in devaudio_decompose_format() argument
236 prinfo->encoding = e; in devaudio_decompose_format()
237 prinfo->precision = p; in devaudio_decompose_format()
244 audio_prinfo_t *prinfo; in devaudio_proc_alloc() local
258 prinfo = &info->play; in devaudio_proc_alloc()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c109 static priv_impl_info_t prinfo; variable
1650 prinfo.priv_infosize; in Ppriv_gcore()
1665 pp->pr_infosize = prinfo.priv_infosize; in Ppriv_gcore()
2062 if (mdb_vread(&prinfo, sizeof (prinfo), priv_info_addr) == -1) { in gcore_init()
/titanic_41/usr/src/uts/common/exec/elf/
H A Delf_notes.c183 priv_impl_info_t prinfo; in write_elfnotes() member