Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 44) sorted by relevance

12

/lib/
Dtest_kasan.c128 char *ptr; in kmalloc_oob_right() local
157 char *ptr; in kmalloc_oob_left() local
170 char *ptr; in kmalloc_node_oob_right() local
189 char *ptr; in kmalloc_pagealloc_oob_right() local
205 char *ptr; in kmalloc_pagealloc_uaf() local
219 char *ptr; in kmalloc_pagealloc_invalid_free() local
232 char *ptr; in pagealloc_oob_right() local
254 char *ptr; in pagealloc_uaf() local
268 char *ptr; in kmalloc_large_oob_right() local
450 char *ptr; in kmalloc_oob_memset_2() local
[all …]
Dubsan.c197 unsigned long ptr) in handle_misaligned_access()
213 unsigned long ptr) in handle_object_size_mismatch()
227 unsigned long ptr) in ubsan_type_mismatch_common()
242 void *ptr) in __ubsan_handle_type_mismatch()
255 void __ubsan_handle_type_mismatch_v1(void *_data, void *ptr) in __ubsan_handle_type_mismatch_v1()
360 void __ubsan_handle_alignment_assumption(void *_data, unsigned long ptr, in __ubsan_handle_alignment_assumption()
Dassoc_array.c27 const struct assoc_array_ptr *cursor, *ptr, *parent; in assoc_array_subtree_iterate() local
177 struct assoc_array_ptr *cursor, *ptr; in assoc_array_walk() local
310 const struct assoc_array_ptr *ptr; in assoc_array_find() local
382 struct assoc_array_ptr *ptr = node->slots[slot]; in assoc_array_destroy_subtree() local
481 struct assoc_array_ptr *ptr; in assoc_array_insert_into_terminal_node() local
1087 struct assoc_array_ptr *ptr; in assoc_array_delete() local
1160 struct assoc_array_ptr *ptr; in assoc_array_delete() local
1350 struct assoc_array_ptr *ptr; in assoc_array_apply_edit() local
1412 struct assoc_array_ptr *ptr; in assoc_array_cancel_edit() local
1462 struct assoc_array_ptr *cursor, *ptr; in assoc_array_gc() local
Dtest_vmalloc.c78 void *ptr; in random_size_align_alloc_test() local
111 void *ptr; in align_shift_alloc_test() local
130 void *ptr; in fix_align_alloc_test() local
171 void **ptr; in long_busy_list_alloc_test() local
213 void **ptr, **junk_ptr, *tmp; in full_fit_alloc_test() local
264 void *ptr; in fix_size_alloc_test() local
Didr.c33 int idr_alloc_u32(struct idr *idr, void *ptr, u32 *nextid, in idr_alloc_u32()
79 int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc()
117 int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc_cyclic()
290 void *idr_replace(struct idr *idr, void *ptr, unsigned long id) in idr_replace()
Dmemweight.c11 size_t memweight(const void *ptr, size_t bytes) in memweight()
Dtest_ubsan.c61 bool val, val2, *ptr; in test_ubsan_load_invalid_value() local
85 volatile int *ptr, val = 6; in test_ubsan_misaligned_access() local
Dhexdump.c138 const u8 *ptr = buf; in hex_dump_to_buffer() local
273 const u8 *ptr = buf; in print_hex_dump() local
Ddecompress_unxz.c158 #define kfree(ptr) free(ptr) argument
160 #define vfree(ptr) do { if (ptr != NULL) free(ptr); } while (0) argument
Dtest_meminit.c29 static int __init count_nonzero_bytes(void *ptr, size_t size) in count_nonzero_bytes()
41 static void __init fill_with_garbage_skip(void *ptr, int size, size_t skip) in fill_with_garbage_skip()
58 static void __init fill_with_garbage(void *ptr, size_t size) in fill_with_garbage()
Dvsprintf.c653 static char *err_ptr(char *buf, char *end, void *ptr, in err_ptr()
692 static const char *check_pointer_msg(const void *ptr) in check_pointer_msg()
703 static int check_pointer(char **buf, char *end, const void *ptr, in check_pointer()
728 const void *ptr, in pointer_string()
801 static inline int __ptr_to_hashval(const void *ptr, unsigned long *hashval_out) in __ptr_to_hashval()
822 int ptr_to_hashval(const void *ptr, unsigned long *hashval_out) in ptr_to_hashval()
827 static char *ptr_to_id(char *buf, char *end, const void *ptr, in ptr_to_id()
857 static char *default_pointer(char *buf, char *end, const void *ptr, in default_pointer()
873 char *restricted_pointer(char *buf, char *end, const void *ptr, in restricted_pointer()
1002 char *symbol_string(char *buf, char *end, void *ptr, in symbol_string()
[all …]
Dtest_hmm_uapi.h25 __u64 ptr; member
Dtest_kasan_module.c81 struct kasan_rcu_info *ptr; in kasan_rcu_uaf() local
Dtest_lockup.c413 void *ptr = (void *)addr; in test_kernel_ptr() local
439 void *ptr = (void *)addr + offset; in test_magic() local
Dtest_overflow.c495 #define free0(free, arg, ptr) free(ptr) argument
496 #define free1(free, arg, ptr) free(arg, ptr) argument
Dcmdline.c150 unsigned long long memparse(const char *ptr, char **retptr) in memparse()
Ddevres.c30 void __iomem **ptr, *addr = NULL; in __devm_ioremap() local
293 void __iomem **ptr, *addr; in devm_ioport_map() local
Drandom32.c77 u8 *ptr = buf; in prandom_bytes_state() local
403 u8 *ptr = buf; in prandom_bytes() local
/lib/lz4/
Dlz4defs.h105 static FORCE_INLINE U16 LZ4_read16(const void *ptr) in LZ4_read16()
110 static FORCE_INLINE U32 LZ4_read32(const void *ptr) in LZ4_read32()
115 static FORCE_INLINE size_t LZ4_read_ARCH(const void *ptr) in LZ4_read_ARCH()
/lib/zstd/
Dfse_decompress.c165 void *ptr = dt; in FSE_buildDTable_rle() local
182 void *ptr = dt; in FSE_buildDTable_raw() local
277 const void *ptr = dt; in FSE_decompress_usingDTable() local
Dzstd_common.c71 void ZSTD_free(void *ptr, ZSTD_customMem customMem) in ZSTD_free()
Dbitstream.h74 char *ptr; member
106 const char *ptr; member
Dhuf_decompress.c166 #define HUF_DECODE_SYMBOLX2_0(ptr, DStreamPtr) *ptr++ = HUF_decodeSymbolX2(DStreamPtr, dt, dtLog) argument
168 #define HUF_DECODE_SYMBOLX2_1(ptr, DStreamPtr) \ argument
172 #define HUF_DECODE_SYMBOLX2_2(ptr, DStreamPtr) \ argument
620 #define HUF_DECODE_SYMBOLX4_0(ptr, DStreamPtr) ptr += HUF_decodeSymbolX4(ptr, DStreamPtr, dt, dtLog) argument
622 #define HUF_DECODE_SYMBOLX4_1(ptr, DStreamPtr) \ argument
626 #define HUF_DECODE_SYMBOLX4_2(ptr, DStreamPtr) \ argument
Dfse.h429 const void *ptr = ct; in FSE_initCState() local
483 const void *ptr = dt; in FSE_initDState() local
/lib/livepatch/
Dtest_klp_shadow_vars.c20 void *ptr; member
35 static int ptr_id(void *ptr) in ptr_id()

12