Searched refs:mmap_len (Results 1 – 6 of 6) sorted by relevance
242 sst_drv_ctx->mmap_len = SST_MMAP_PAGES * PAGE_SIZE; in intel_sst_probe()243 while (sst_drv_ctx->mmap_len > 0) { in intel_sst_probe()245 kzalloc(sst_drv_ctx->mmap_len, GFP_KERNEL); in intel_sst_probe()249 sst_drv_ctx->mmap_len); in intel_sst_probe()252 if (sst_drv_ctx->mmap_len < (SST_MMAP_STEP*PAGE_SIZE)) { in intel_sst_probe()257 sst_drv_ctx->mmap_len -= (SST_MMAP_STEP * PAGE_SIZE); in intel_sst_probe()259 sst_drv_ctx->mmap_len); in intel_sst_probe()
234 if (length > sst_drv_ctx->mmap_len) in intel_sst_mmap()414 unsigned long index, mmap_len; in snd_sst_fill_kernel_list() local451 mmap_len = sst_drv_ctx->mmap_len; in snd_sst_fill_kernel_list()468 if ((copied_size + size) > mmap_len) in snd_sst_fill_kernel_list()469 size = mmap_len - copied_size; in snd_sst_fill_kernel_list()515 if ((copied_size >= mmap_len) || in snd_sst_fill_kernel_list()1267 info.buf_per_stream = sst_drv_ctx->mmap_len; in intel_sst_ioctl()
405 unsigned int mmap_len; member
813 if (str_info->decode_osize > sst_drv_ctx->mmap_len) in sst_allocate_decode_buf()814 str_info->decode_osize = sst_drv_ctx->mmap_len; in sst_allocate_decode_buf()
242 munmap(evlist->mmap[i].base, evlist->mmap_len); in perf_evlist__munmap()265 evlist->mmap[idx].base = mmap(NULL, evlist->mmap_len, prot, in __perf_evlist__mmap()312 munmap(evlist->mmap[cpu].base, evlist->mmap_len); in perf_evlist__mmap_per_cpu()351 munmap(evlist->mmap[thread].base, evlist->mmap_len); in perf_evlist__mmap_per_thread()389 evlist->mmap_len = (pages + 1) * page_size; in perf_evlist__mmap()
21 int mmap_len; member