Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/intel_sst/
Dintel_sst.c242 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()
Dintel_sst_app_interface.c234 if (length > sst_drv_ctx->mmap_len) in intel_sst_mmap()
414 unsigned long index, mmap_len; in snd_sst_fill_kernel_list() local
451 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()
Dintel_sst_common.h405 unsigned int mmap_len; member
Dintel_sst_stream_encoded.c813 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()
/linux-2.6.39/tools/perf/util/
Devlist.c242 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()
Devlist.h21 int mmap_len; member