Home
last modified time | relevance | path

Searched refs:suballoc (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/etnaviv/
Detnaviv_cmdbuf.c37 struct etnaviv_cmdbuf_suballoc *suballoc; in etnaviv_cmdbuf_suballoc_new() local
40 suballoc = kzalloc(sizeof(*suballoc), GFP_KERNEL); in etnaviv_cmdbuf_suballoc_new()
41 if (!suballoc) in etnaviv_cmdbuf_suballoc_new()
44 suballoc->gpu = gpu; in etnaviv_cmdbuf_suballoc_new()
45 mutex_init(&suballoc->lock); in etnaviv_cmdbuf_suballoc_new()
46 init_waitqueue_head(&suballoc->free_event); in etnaviv_cmdbuf_suballoc_new()
48 suballoc->vaddr = dma_alloc_wc(gpu->dev, SUBALLOC_SIZE, in etnaviv_cmdbuf_suballoc_new()
49 &suballoc->paddr, GFP_KERNEL); in etnaviv_cmdbuf_suballoc_new()
50 if (!suballoc->vaddr) in etnaviv_cmdbuf_suballoc_new()
53 ret = etnaviv_iommu_get_suballoc_va(gpu, suballoc->paddr, in etnaviv_cmdbuf_suballoc_new()
[all …]
Detnaviv_cmdbuf.h17 struct etnaviv_cmdbuf_suballoc *suballoc; member
29 void etnaviv_cmdbuf_suballoc_destroy(struct etnaviv_cmdbuf_suballoc *suballoc);
32 int etnaviv_cmdbuf_init(struct etnaviv_cmdbuf_suballoc *suballoc,
Detnaviv_gpu.c802 gpu->buffer.suballoc = NULL; in etnaviv_gpu_init()
1523 if (gpu->buffer.suballoc) { in etnaviv_gpu_hw_suspend()
1683 if (gpu->buffer.suballoc) in etnaviv_gpu_unbind()
1832 if (gpu->drm && gpu->buffer.suballoc) { in etnaviv_gpu_rpm_resume()
Detnaviv_gem_submit.c366 if (submit->cmdbuf.suballoc) in submit_cleanup()
/Linux-v4.19/fs/ocfs2/
DMakefile35 suballoc.o \
Dalloc.h215 int type, int slot, u64 suballoc, u64 blkno,
Docfs2_trace.h670 TP_PROTO(int type, int slot, unsigned long long suballoc,
672 TP_ARGS(type, slot, suballoc, blkno, bit),
676 __field(unsigned long long, suballoc)
683 __entry->suballoc = suballoc;
688 __entry->type, __entry->slot, __entry->suballoc,
Dsuballoc.c2770 struct inode *suballoc, in ocfs2_test_suballoc_bit() argument
2795 status = ocfs2_read_group_descriptor(suballoc, alloc_di, bg_blkno, in ocfs2_test_suballoc_bit()
Dalloc.c6754 int type, int slot, u64 suballoc, in ocfs2_cache_block_dealloc() argument
6776 (unsigned long long)suballoc, in ocfs2_cache_block_dealloc()
6779 item->free_bg = suballoc; in ocfs2_cache_block_dealloc()