| /linux/tools/testing/selftests/mm/ |
| H A D | khugepaged.c | 44 struct mem_ops { struct 52 static struct mem_ops *file_ops; argument 53 static struct mem_ops *anon_ops; 54 static struct mem_ops *shmem_ops; 58 struct mem_ops *ops, bool expect); 304 static void *alloc_hpage(struct mem_ops *ops) in alloc_hpage() 472 static struct mem_ops __anon_ops = { 480 static struct mem_ops __file_ops = { 488 static struct mem_ops __shmem_ops = { 497 struct mem_ops *ops, bool expect) in __madvise_collapse() [all …]
|
| H A D | uffd-unit-tests.c | 34 uffd_test_ops_t *mem_ops; member 43 .mem_ops = &anon_uffd_test_ops, 49 .mem_ops = &shmem_uffd_test_ops, 55 .mem_ops = &shmem_uffd_test_ops, 61 .mem_ops = &hugetlb_uffd_test_ops, 67 .mem_ops = &hugetlb_uffd_test_ops, 1758 uffd_test_ops = mem_type->mem_ops; in main()
|
| /linux/drivers/tee/optee/ |
| H A D | ffa_abi.c | 276 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_register() local 298 rc = mem_ops->memory_share(&args); in optee_ffa_shm_register() 305 mem_ops->memory_reclaim(args.g_handle, 0); in optee_ffa_shm_register() 320 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister() local 336 rc = mem_ops->memory_reclaim(global_handle, 0); in optee_ffa_shm_unregister() 347 const struct ffa_mem_ops *mem_ops; in optee_ffa_shm_unregister_supp() local 358 mem_ops = optee->ffa.ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister_supp() 359 rc = mem_ops->memory_reclaim(global_handle, 0); in optee_ffa_shm_unregister_supp() 687 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_lend_protmem() local 713 rc = mem_ops->memory_lend(&args); in optee_ffa_lend_protmem() [all …]
|
| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-core.c | 67 (vb)->vb2_queue->mem_ops->op ? "" : " (nop)") 75 err = _q->mem_ops->op ? _q->mem_ops->op(args) : 0; \ 87 ptr = _q->mem_ops->op ? _q->mem_ops->op(vb, args) : NULL; \ 98 if (_q->mem_ops->op) \ 99 _q->mem_ops->op(args); \ 154 ((vb)->vb2_queue->mem_ops->op ? \ 155 (vb)->vb2_queue->mem_ops->op(args) : 0) 158 ((vb)->vb2_queue->mem_ops->op ? \ 159 (vb)->vb2_queue->mem_ops->op(vb, args) : NULL) 163 if ((vb)->vb2_queue->mem_ops->op) \ [all …]
|
| /linux/drivers/tee/tstee/ |
| H A D | core.c | 270 rc = ffa_dev->ops->mem_ops->memory_share(&mem_args); in tstee_shm_register() 290 (void)ffa_dev->ops->mem_ops->memory_reclaim(shm->sec_world_id, in tstee_shm_register() 300 ffa_dev->ops->mem_ops->memory_reclaim(shm->sec_world_id, 0); in tstee_shm_register() 335 rc = ffa_dev->ops->mem_ops->memory_reclaim(shm->sec_world_id, 0); in tstee_shm_unregister()
|
| /linux/drivers/media/pci/tw686x/ |
| H A D | tw686x.h | 109 const struct vb2_mem_ops *mem_ops; member
|
| /linux/drivers/spi/ |
| H A D | spi-intel.c | 178 const struct intel_spi_mem_op *mem_ops; member 748 for (iop = ispi->mem_ops; iop->mem_op.cmd.opcode; iop++) { in intel_spi_match_mem_op() 1194 ispi->mem_ops = erase_64k_mem_ops; in intel_spi_init() 1197 ispi->mem_ops = generic_mem_ops; in intel_spi_init() 1500 host->mem_ops = &intel_spi_mem_ops; in intel_spi_probe()
|
| H A D | spi-gxp.c | 284 ctlr->mem_ops = &gxp_spi_mem_ops; in gxp_spifi_probe()
|
| H A D | spi-ti-qspi.c | 781 host->mem_ops = &ti_qspi_mem_ops; in ti_qspi_probe() 886 host->mem_ops = NULL; in ti_qspi_probe()
|
| H A D | spi-amlogic-spifc-a1.c | 364 ctrl->mem_ops = &amlogic_spifc_a1_mem_ops; in amlogic_spifc_a1_probe()
|
| H A D | spi-cadence-xspi.c | 1168 host->mem_ops = &marvell_xspi_mem_ops; in cdns_xspi_probe() 1173 host->mem_ops = &cadence_xspi_mem_ops; in cdns_xspi_probe()
|
| H A D | spi-wpcm-fiu.c | 472 ctrl->mem_ops = &wpcm_fiu_mem_ops; in wpcm_fiu_probe()
|
| H A D | spi-sn-f-ospi.c | 622 ctlr->mem_ops = &f_ospi_mem_ops; in f_ospi_probe()
|
| H A D | spi-microchip-core-qspi.c | 722 ctlr->mem_ops = &mchp_coreqspi_mem_ops; in mchp_coreqspi_probe()
|
| H A D | spi-rockchip-sfc.c | 623 host->mem_ops = &rockchip_sfc_mem_ops; in rockchip_sfc_probe()
|
| H A D | spi-bcm63xx-hsspi.c | 806 host->mem_ops = &bcm63xx_hsspi_mem_ops; in bcm63xx_hsspi_probe()
|
| H A D | spi-airoha-snfi.c | 1122 ctrl->mem_ops = dma_enable ? &airoha_snand_mem_ops in airoha_snand_probe()
|
| H A D | spi-zynqmp-gqspi.c | 1320 ctlr->mem_ops = &zynqmp_qspi_mem_ops; in zynqmp_qspi_probe()
|
| /linux/sound/soc/renesas/rcar/ |
| H A D | dma.c | 58 static struct rsnd_mod_ops mem_ops = { variable 882 return rsnd_mod_init(NULL, &mem, &mem_ops, NULL, 0, 0); in rsnd_dma_probe()
|
| /linux/include/media/ |
| H A D | videobuf2-core.h | 632 const struct vb2_mem_ops *mem_ops; member
|
| /linux/include/linux/ |
| H A D | arm_ffa.h | 510 const struct ffa_mem_ops *mem_ops; member
|
| /linux/drivers/media/dvb-core/ |
| H A D | dvb_vb2.c | 176 q->mem_ops = &vb2_vmalloc_memops; in dvb_vb2_init()
|
| /linux/drivers/media/platform/rockchip/rkisp1/ |
| H A D | rkisp1-stats.c | 167 q->mem_ops = &vb2_vmalloc_memops; in rkisp1_stats_init_vb2_queue()
|
| /linux/drivers/media/usb/stk1160/ |
| H A D | stk1160-v4l.c | 785 q->mem_ops = &vb2_vmalloc_memops; in stk1160_vb2_setup()
|
| /linux/drivers/media/i2c/ |
| H A D | video-i2c.c | 785 queue->mem_ops = &vb2_vmalloc_memops; in video_i2c_probe()
|