/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 227 ctx->shm.size = buf_size->shm; in s5p_mfc_alloc_instance_buffer_v5() 228 ret = s5p_mfc_alloc_priv_buf(dev->mem_dev_l, &ctx->shm); in s5p_mfc_alloc_instance_buffer_v5() 236 ctx->shm.ofs = ctx->shm.dma - dev->bank1; in s5p_mfc_alloc_instance_buffer_v5() 237 BUG_ON(ctx->shm.ofs & ((1 << MFC_BANK1_ALIGN_ORDER) - 1)); in s5p_mfc_alloc_instance_buffer_v5() 239 memset(ctx->shm.virt, 0, buf_size->shm); in s5p_mfc_alloc_instance_buffer_v5() 248 s5p_mfc_release_priv_buf(ctx->dev->mem_dev_l, &ctx->shm); in s5p_mfc_release_instance_buffer_v5() 266 writel(data, (void *)(ctx->shm.virt + ofs)); in s5p_mfc_write_info_v5() 274 return readl((void *)(ctx->shm.virt + ofs)); in s5p_mfc_read_info_v5() 361 mfc_write(dev, ctx->shm.ofs, S5P_FIMV_SI_CH0_HOST_WR_ADR); in s5p_mfc_set_shared_buffer() 682 unsigned int shm; in s5p_mfc_set_enc_params() local [all …]
|
D | s5p_mfc_common.h | 208 unsigned int shm; member 635 struct s5p_mfc_priv_buf shm; member
|
D | s5p_mfc.c | 1358 .shm = SHARED_BUF_SIZE,
|
/linux-4.1.27/sound/usb/usx2y/ |
D | usx2yhwdeppcm.c | 115 struct snd_usX2Y_hwdep_pcm_shm *shm = usX2Y->hwdep_pcm_shm; in usX2Y_hwdep_urb_play_prepare() local 118 if (0 > shm->playback_iso_start) { in usX2Y_hwdep_urb_play_prepare() 119 shm->playback_iso_start = shm->captured_iso_head - in usX2Y_hwdep_urb_play_prepare() 121 if (0 > shm->playback_iso_start) in usX2Y_hwdep_urb_play_prepare() 122 shm->playback_iso_start += ARRAY_SIZE(shm->captured_iso); in usX2Y_hwdep_urb_play_prepare() 123 shm->playback_iso_head = shm->playback_iso_start; in usX2Y_hwdep_urb_play_prepare() 129 counts = shm->captured_iso[shm->playback_iso_head].length / usX2Y->stride; in usX2Y_hwdep_urb_play_prepare() 135 urb->iso_frame_desc[pack].offset = shm->captured_iso[shm->playback_iso_head].offset; in usX2Y_hwdep_urb_play_prepare() 136 urb->iso_frame_desc[pack].length = shm->captured_iso[shm->playback_iso_head].length; in usX2Y_hwdep_urb_play_prepare() 140 if (++shm->playback_iso_head >= ARRAY_SIZE(shm->captured_iso)) in usX2Y_hwdep_urb_play_prepare() [all …]
|
D | usX2Yhwdep.c | 94 struct us428ctls_sharedmem *shm = us428->us428ctls_sharedmem; in snd_us428ctls_poll() local 100 if (shm != NULL && shm->CtlSnapShotLast != shm->CtlSnapShotRed) in snd_us428ctls_poll()
|
/linux-4.1.27/tools/testing/selftests/vm/ |
D | .gitignore | 2 hugepage-shm
|
D | Makefile | 4 BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest
|
D | run_vmtests | 57 ./hugepage-shm
|
/linux-4.1.27/ipc/ |
D | Makefile | 6 obj-$(CONFIG_SYSVIPC) += util.o msgutil.o msg.o sem.o shm.o syscall.o
|
/linux-4.1.27/drivers/block/ |
D | sx8.c | 270 void *shm; member 1167 struct carm_response *resp = (struct carm_response *) host->shm; in carm_handle_responses() 1401 struct carm_response *resp = (struct carm_response *) host->shm; in carm_init_responses() 1554 host->shm = pci_alloc_consistent(host->pdev, CARM_SHM_SIZE, in carm_init_shm() 1556 if (!host->shm) in carm_init_shm() 1559 host->msg_base = host->shm + RBUF_LEN; in carm_init_shm() 1562 memset(host->shm, 0xff, RBUF_LEN); in carm_init_shm() 1712 pci_free_consistent(pdev, CARM_SHM_SIZE, host->shm, host->shm_dma); in carm_init_one() 1742 pci_free_consistent(pdev, CARM_SHM_SIZE, host->shm, host->shm_dma); in carm_remove_one()
|
/linux-4.1.27/Documentation/filesystems/ |
D | tmpfs.txt | 35 2) glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 39 tmpfs /dev/shm tmpfs defaults 0 0 46 necessary to mount the predecessor of tmpfs (shm fs) to use SYSV
|
D | proc.txt | 592 sysvipc Info of SysVIPC Resources (msg, sem, shm) (2.4)
|
/linux-4.1.27/tools/testing/selftests/rcutorture/doc/ |
D | rcu-test-image.txt | 23 tmpfs /dev/shm tmpfs defaults 0 0
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
D | debugfs.c | 340 B43legacy_DEBUGFS_FOPS(shm, shm_read_file, NULL, 1); 437 ADD_FILE(shm, 0400); in b43legacy_debugfs_add_device()
|
/linux-4.1.27/Documentation/ |
D | dontdiff | 139 hugepage-shm
|
D | unshare.txt | 280 an address in the shm segment to synchronize execution of
|
D | devices.txt | 3246 /dev/shm tmpfs POSIX shared memory maintenance access
|
/linux-4.1.27/Documentation/ia64/ |
D | err_inject.txt | 103 #include <sys/shm.h> 830 /* Create a shm segment which will be used to inject/consume errors on.*/ 832 printf("Error to create shm...exit\n"); 864 /* Allocate two memory areas va1 and va2 in shm */
|
D | xen.txt | 68 none /dev/shm tmpfs defaults 0 0
|
/linux-4.1.27/Documentation/vm/ |
D | hugetlbpage.txt | 313 applications to use any combination of mmaps and shm* calls, though the mount of 328 2) hugepage-shm: see tools/testing/selftests/vm/hugepage-shm.c
|
D | balance | 74 Page stealing from process memory and shm is done if stealing the page would
|
/linux-4.1.27/fs/ |
D | Kconfig | 113 bool "Tmpfs virtual memory file system support (former shm fs)"
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_bufs.c | 77 unsigned long user_token, int hashed_handle, int shm) in drm_map_handle() argument 100 if (shm && (SHMLBA > PAGE_SIZE)) { in drm_map_handle()
|
/linux-4.1.27/include/uapi/linux/ |
D | Kbuild | 366 header-y += shm.h
|
/linux-4.1.27/ |
D | CREDITS | 130 D: Fixed the shm swap deallocation at swapoff time (try_to_unuse message) 1394 D: SysV FS, shm swapping, memory management fixes 3099 D: shm fs, SYSV semaphores, af_unix
|