Home
last modified time | relevance | path

Searched refs:mem_ops (Results 1 – 25 of 41) sorted by relevance

12

/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c44 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 Duffd-unit-tests.c34 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 Dffa_abi.c276 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 Dvideobuf2-core.c67 (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 Dcore.c270 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 Dtw686x.h109 const struct vb2_mem_ops *mem_ops; member
/linux/drivers/spi/
H A Dspi-intel.c178 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 Dspi-gxp.c284 ctlr->mem_ops = &gxp_spi_mem_ops; in gxp_spifi_probe()
H A Dspi-ti-qspi.c781 host->mem_ops = &ti_qspi_mem_ops; in ti_qspi_probe()
886 host->mem_ops = NULL; in ti_qspi_probe()
H A Dspi-amlogic-spifc-a1.c364 ctrl->mem_ops = &amlogic_spifc_a1_mem_ops; in amlogic_spifc_a1_probe()
H A Dspi-cadence-xspi.c1168 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 Dspi-wpcm-fiu.c472 ctrl->mem_ops = &wpcm_fiu_mem_ops; in wpcm_fiu_probe()
H A Dspi-sn-f-ospi.c622 ctlr->mem_ops = &f_ospi_mem_ops; in f_ospi_probe()
H A Dspi-microchip-core-qspi.c722 ctlr->mem_ops = &mchp_coreqspi_mem_ops; in mchp_coreqspi_probe()
H A Dspi-rockchip-sfc.c623 host->mem_ops = &rockchip_sfc_mem_ops; in rockchip_sfc_probe()
H A Dspi-bcm63xx-hsspi.c806 host->mem_ops = &bcm63xx_hsspi_mem_ops; in bcm63xx_hsspi_probe()
H A Dspi-airoha-snfi.c1122 ctrl->mem_ops = dma_enable ? &airoha_snand_mem_ops in airoha_snand_probe()
H A Dspi-zynqmp-gqspi.c1320 ctlr->mem_ops = &zynqmp_qspi_mem_ops; in zynqmp_qspi_probe()
/linux/sound/soc/renesas/rcar/
H A Ddma.c58 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 Dvideobuf2-core.h632 const struct vb2_mem_ops *mem_ops; member
/linux/include/linux/
H A Darm_ffa.h510 const struct ffa_mem_ops *mem_ops; member
/linux/drivers/media/dvb-core/
H A Ddvb_vb2.c176 q->mem_ops = &vb2_vmalloc_memops; in dvb_vb2_init()
/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-stats.c167 q->mem_ops = &vb2_vmalloc_memops; in rkisp1_stats_init_vb2_queue()
/linux/drivers/media/usb/stk1160/
H A Dstk1160-v4l.c785 q->mem_ops = &vb2_vmalloc_memops; in stk1160_vb2_setup()
/linux/drivers/media/i2c/
H A Dvideo-i2c.c785 queue->mem_ops = &vb2_vmalloc_memops; in video_i2c_probe()

12