Searched refs:suballoc (Results 1 - 11 of 11) sorted by relevance

/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_cmdbuf.c36 struct etnaviv_cmdbuf_suballoc *suballoc; local
39 suballoc = kzalloc(sizeof(*suballoc), GFP_KERNEL);
40 if (!suballoc)
43 suballoc->dev = dev;
44 mutex_init(&suballoc->lock);
45 init_waitqueue_head(&suballoc->free_event);
48 suballoc->vaddr = dma_alloc_wc(dev, SUBALLOC_SIZE,
49 &suballoc->paddr, GFP_KERNEL);
50 if (!suballoc
63 etnaviv_cmdbuf_suballoc_map(struct etnaviv_cmdbuf_suballoc *suballoc, struct etnaviv_iommu_context *context, struct etnaviv_vram_mapping *mapping, u32 memory_base) argument
78 etnaviv_cmdbuf_suballoc_destroy(struct etnaviv_cmdbuf_suballoc *suballoc) argument
85 etnaviv_cmdbuf_init(struct etnaviv_cmdbuf_suballoc *suballoc, struct etnaviv_cmdbuf *cmdbuf, u32 size) argument
120 struct etnaviv_cmdbuf_suballoc *suballoc = cmdbuf->suballoc; local
[all...]
H A Detnaviv_cmdbuf.h19 struct etnaviv_cmdbuf_suballoc *suballoc; member in struct:etnaviv_cmdbuf
29 void etnaviv_cmdbuf_suballoc_destroy(struct etnaviv_cmdbuf_suballoc *suballoc);
30 int etnaviv_cmdbuf_suballoc_map(struct etnaviv_cmdbuf_suballoc *suballoc,
38 int etnaviv_cmdbuf_init(struct etnaviv_cmdbuf_suballoc *suballoc,
H A Detnaviv_mmu.h108 struct etnaviv_cmdbuf_suballoc *suballoc);
H A Detnaviv_mmu.c371 struct etnaviv_cmdbuf_suballoc *suballoc)
384 ret = etnaviv_cmdbuf_suballoc_map(suballoc, ctx, &ctx->cmdbuf_mapping,
425 * For MMUv1 we don't add the suballoc region to the pagetables, as
370 etnaviv_iommu_context_init(struct etnaviv_iommu_global *global, struct etnaviv_cmdbuf_suballoc *suballoc) argument
H A Detnaviv_gem_submit.c365 if (submit->cmdbuf.suballoc)
/linux-master/drivers/gpu/drm/
H A Ddrm_suballoc.c393 * @suballoc: pointer to the suballocation
398 void drm_suballoc_free(struct drm_suballoc *suballoc, argument
403 if (!suballoc)
406 sa_manager = suballoc->manager;
412 suballoc->fence = dma_fence_get(fence);
414 list_add_tail(&suballoc->flist, &sa_manager->flist[idx]);
416 drm_suballoc_remove_locked(suballoc);
/linux-master/fs/ocfs2/
H A DMakefile35 suballoc.o \
H A Dalloc.h199 int type, int slot, u64 suballoc, u64 blkno,
H A 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,
778 /* Trace events for fs/ocfs2/suballoc.c. */
882 /* End of trace events for fs/ocfs2/suballoc.c. */
H A Dsuballoc.c3 * suballoc.c
26 #include "suballoc.h"
2445 * expects the suballoc inode to already be locked.
2723 mlog(ML_ERROR, "inode %llu has invalid suballoc slot %u\n",
2749 * cluster locked against suballoc, or you may get a result based on
2753 struct inode *suballoc,
2769 mlog(ML_ERROR, "suballoc bit %u out of range of %u\n",
2778 status = ocfs2_read_group_descriptor(suballoc, alloc_di, bg_blkno,
2855 mlog(ML_ERROR, "test suballoc bit failed %d\n", status);
2752 ocfs2_test_suballoc_bit(struct ocfs2_super *osb, struct inode *suballoc, struct buffer_head *alloc_bh, u64 group_blkno, u64 blkno, u16 bit, int *res) argument
H A Dalloc.c31 #include "suballoc.h"
6365 * out of their own suballoc inode.
6757 int type, int slot, u64 suballoc,
6779 (unsigned long long)suballoc,
6782 item->free_bg = suballoc;
6756 ocfs2_cache_block_dealloc(struct ocfs2_cached_dealloc_ctxt *ctxt, int type, int slot, u64 suballoc, u64 blkno, unsigned int bit) argument

Completed in 274 milliseconds