Lines Matching defs:ptr
137 static int execmem_force_rw(void *ptr, size_t size) in execmem_force_rw()
150 int execmem_restore_rox(void *ptr, size_t size) in execmem_restore_rox()
183 static int execmem_cache_add_locked(void *ptr, size_t size, gfp_t gfp_mask) in execmem_cache_add_locked()
206 static int execmem_cache_add(void *ptr, size_t size, gfp_t gfp_mask) in execmem_cache_add()
236 void *area, *ptr = NULL; in __execmem_cache_alloc() local
261 void *ptr = (void *)(addr + size); in __execmem_cache_alloc() local
339 static inline bool is_pending_free(void *ptr) in is_pending_free()
344 static inline void *pending_free_set(void *ptr) in pending_free_set()
349 static inline void *pending_free_clear(void *ptr) in pending_free_clear()
354 static int __execmem_cache_free(struct ma_state *mas, void *ptr, gfp_t gfp_mask) in __execmem_cache_free()
405 static bool execmem_cache_free(void *ptr) in execmem_cache_free()
445 static inline int execmem_force_rw(void *ptr, size_t size) in execmem_force_rw()
455 static bool execmem_cache_free(void *ptr) in execmem_cache_free()
494 void execmem_free(void *ptr) in execmem_free()