projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
trace: Fix trace_context_transfer_unmap methods.
[mesa.git]
/
src
/
gallium
/
auxiliary
/
util
/
u_mm.h
diff --git
a/src/gallium/auxiliary/util/u_mm.h
b/src/gallium/auxiliary/util/u_mm.h
index b226b101cbe84affe0aaf3a2d730004c29ddc138..6b158aae6e4585b86f9935cc804e619c4bdf763b 100644
(file)
--- a/
src/gallium/auxiliary/util/u_mm.h
+++ b/
src/gallium/auxiliary/util/u_mm.h
@@
-49,7
+49,7
@@
struct mem_block {
* input: total size in bytes
* return: a heap pointer if OK, NULL if error
*/
* input: total size in bytes
* return: a heap pointer if OK, NULL if error
*/
-extern struct mem_block *mmInit(int ofs, int size);
+extern struct mem_block *
u_
mmInit(int ofs, int size);
/**
* Allocate 'size' bytes with 2^align2 bytes alignment,
/**
* Allocate 'size' bytes with 2^align2 bytes alignment,
@@
-61,7
+61,7
@@
extern struct mem_block *mmInit(int ofs, int size);
* startSearch = linear offset from start of heap to begin search
* return: pointer to the allocated block, 0 if error
*/
* startSearch = linear offset from start of heap to begin search
* return: pointer to the allocated block, 0 if error
*/
-extern struct mem_block *mmAllocMem(struct mem_block *heap, int size, int align2,
+extern struct mem_block *
u_
mmAllocMem(struct mem_block *heap, int size, int align2,
int startSearch);
/**
int startSearch);
/**
@@
-69,23
+69,23
@@
extern struct mem_block *mmAllocMem(struct mem_block *heap, int size, int align2
* input: pointer to a block
* return: 0 if OK, -1 if error
*/
* input: pointer to a block
* return: 0 if OK, -1 if error
*/
-extern int mmFreeMem(struct mem_block *b);
+extern int
u_
mmFreeMem(struct mem_block *b);
/**
* Free block starts at offset
* input: pointer to a heap, start offset
* return: pointer to a block
*/
/**
* Free block starts at offset
* input: pointer to a heap, start offset
* return: pointer to a block
*/
-extern struct mem_block *mmFindBlock(struct mem_block *heap, int start);
+extern struct mem_block *
u_
mmFindBlock(struct mem_block *heap, int start);
/**
* destroy MM
*/
/**
* destroy MM
*/
-extern void mmDestroy(struct mem_block *mmInit);
+extern void
u_
mmDestroy(struct mem_block *mmInit);
/**
/**
- * For debug
ing purpose
.
+ * For debug
ging purposes
.
*/
*/
-extern void mmDumpMemInfo(const struct mem_block *mmInit);
+extern void
u_
mmDumpMemInfo(const struct mem_block *mmInit);
#endif
#endif