Searched refs:pcms (Results 1 – 5 of 5) sorted by relevance
/xen/tools/libxl/ |
A D | libxl_vsnd.c | 259 vsnd->pcms = NULL; in libxl__vsnd_from_xenstore() 269 vsnd->pcms = libxl__realloc(NOGC, vsnd->pcms, sizeof(*vsnd->pcms) * in libxl__vsnd_from_xenstore() 272 libxl_vsnd_pcm_init(&vsnd->pcms[vsnd->num_vsnd_pcms - 1]); in libxl__vsnd_from_xenstore() 468 static int libxl__set_pcms_vsnd(libxl__gc *gc, libxl_vsnd_pcm *pcms, in libxl__set_pcms_vsnd() argument 475 if (pcms[i].name) { in libxl__set_pcms_vsnd() 478 pcms[i].name); in libxl__set_pcms_vsnd() 484 rc = libxl__set_params_vsnd(gc, path, &pcms[i].params, front); in libxl__set_pcms_vsnd() 487 rc = libxl__set_streams_vsnd(gc, path, pcms[i].streams, in libxl__set_pcms_vsnd() 573 info->pcms = libxl__malloc(NOGC, sizeof(*info->pcms) * info->num_vsnd_pcms); in libxl__device_pcm_getinfo() 577 libxl_pcminfo_init(&info->pcms[i]); in libxl__device_pcm_getinfo() [all …]
|
A D | libxl_types.idl | 934 ("pcms", Array(libxl_vsnd_pcm, "num_vsnd_pcms")) 1091 ("pcms", Array(libxl_pcminfo, "num_vsnd_pcms"))
|
/xen/tools/xl/ |
A D | xl_vsnd.c | 140 libxl_vsnd_pcm *pcm = &vsnds[i].pcms[j]; in main_vsndlist() 145 for(k = 0; k < vsnds[i].pcms[j].num_vsnd_streams; k++) { in main_vsndlist() 146 libxl_vsnd_stream *stream = &vsnds[i].pcms[j].streams[k]; in main_vsndlist() 147 libxl_streaminfo *info = &vsndinfo.pcms[j].streams[k]; in main_vsndlist()
|
A D | xl_parse.c | 918 libxl_vsnd_pcm *pcm = &vsnd->pcms[vsnd->num_vsnd_pcms - 1]; in parse_vsnd_pcm_stream() 953 libxl_vsnd_pcm *pcm = &vsnd->pcms[vsnd->num_vsnd_pcms - 1]; in parse_vsnd_pcm_param() 994 ARRAY_EXTEND_INIT_NODEVID(vsnd->pcms, vsnd->num_vsnd_pcms, in parse_vsnd_create_item() 998 ARRAY_EXTEND_INIT_NODEVID(vsnd->pcms, vsnd->num_vsnd_pcms, in parse_vsnd_create_item() 1002 libxl_vsnd_pcm *pcm = &vsnd->pcms[vsnd->num_vsnd_pcms - 1]; in parse_vsnd_create_item()
|
/xen/tools/golang/xenlight/ |
A D | helpers.gen.go | 2693 cPcms := (*[1<<28]C.libxl_vsnd_pcm)(unsafe.Pointer(xc.pcms))[:n:n] 2720 xc.pcms = (*C.libxl_vsnd_pcm)(C.malloc(C.ulong(numVsndPcms)*C.sizeof_libxl_vsnd_pcm)) 2722 cPcms := (*[1<<28]C.libxl_vsnd_pcm)(unsafe.Pointer(xc.pcms))[:numVsndPcms:numVsndPcms] 3589 cPcms := (*[1<<28]C.libxl_pcminfo)(unsafe.Pointer(xc.pcms))[:n:n] 3613 xc.pcms = (*C.libxl_pcminfo)(C.malloc(C.ulong(numVsndPcms)*C.sizeof_libxl_pcminfo)) 3615 cPcms := (*[1<<28]C.libxl_pcminfo)(unsafe.Pointer(xc.pcms))[:numVsndPcms:numVsndPcms]
|
Completed in 15 milliseconds