/lib/ |
D | test_kasan.c | 33 size_t size = 123; in kmalloc_oob_right() local 49 size_t size = 15; in kmalloc_oob_left() local 65 size_t size = 4096; in kmalloc_node_oob_right() local 82 size_t size = KMALLOC_MAX_CACHE_SIZE + 10; in kmalloc_pagealloc_oob_right() local 101 size_t size = KMALLOC_MAX_CACHE_SIZE + 10; in kmalloc_pagealloc_uaf() local 117 size_t size = KMALLOC_MAX_CACHE_SIZE + 10; in kmalloc_pagealloc_invalid_free() local 133 size_t size = KMALLOC_MAX_CACHE_SIZE - 256; in kmalloc_large_oob_right() local 208 size_t size = 8; in kmalloc_oob_memset_2() local 224 size_t size = 8; in kmalloc_oob_memset_4() local 241 size_t size = 8; in kmalloc_oob_memset_8() local [all …]
|
D | find_bit.c | 67 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() 76 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit() 86 const unsigned long *addr2, unsigned long size, in find_next_and_bit() 98 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit() 116 unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size) in find_first_zero_bit() 131 unsigned long find_last_bit(const unsigned long *addr, unsigned long size) in find_last_bit() 200 long size, unsigned long offset) in find_next_zero_bit_le() 209 long size, unsigned long offset) in find_next_bit_le()
|
D | test_meminit.c | 29 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() 67 size_t size = PAGE_SIZE << order; in do_alloc_pages_order() local 98 static int __init do_kmalloc_size(size_t size, int *total_failures) in do_kmalloc_size() 115 static int __init do_vmalloc_size(size_t size, int *total_failures) in do_vmalloc_size() 135 int i, size; in test_kvmalloc() local 166 static bool __init check_buf(void *buf, int size, bool want_ctor, in check_buf() 192 static int __init do_kmem_cache_size(size_t size, bool want_ctor, in do_kmem_cache_size() 253 static int __init do_kmem_cache_rcu_persistent(int size, int *total_failures) in do_kmem_cache_rcu_persistent() [all …]
|
D | decompress_unxz.c | 157 #define kmalloc(size, flags) malloc(size) argument 159 #define vmalloc(size) malloc(size) argument 177 static bool memeq(const void *a, const void *b, size_t size) in memeq() 192 static void memzero(void *buf, size_t size) in memzero() 204 void *memmove(void *dest, const void *src, size_t size) in memmove() 252 long (*fill)(void *dest, unsigned long size), in unxz()
|
D | sort.c | 33 static bool is_aligned(const void *base, size_t size, unsigned char align) in is_aligned() 135 static void do_swap(void *a, void *b, size_t size, swap_func_t swap_func) in do_swap() 178 static size_t parent(size_t i, unsigned int lsbit, size_t size) in parent() 204 void sort_r(void *base, size_t num, size_t size, in sort_r() 206 void (*swap_func)(void *, void *, int size), in sort_r() 271 void sort(void *base, size_t num, size_t size, in sort() 273 void (*swap_func)(void *, void *, int size)) in sort()
|
D | genalloc.c | 87 const int size = start + nr; in bitmap_set_ll() local 122 const int size = start + nr; in bitmap_clear_ll() local 183 size_t size, int nid, void *owner) in gen_pool_add_owner() 275 unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo_owner() 339 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc() 360 void *gen_pool_dma_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_algo() 393 void *gen_pool_dma_alloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_align() 417 void *gen_pool_dma_zalloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_zalloc() 438 void *gen_pool_dma_zalloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_zalloc_algo() 464 void *gen_pool_dma_zalloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_zalloc_align() [all …]
|
D | test_user_copy.c | 42 static bool is_zeroed(void *from, size_t size) in is_zeroed() 47 static int test_check_nonzero_user(char *kmem, char __user *umem, size_t size) in test_check_nonzero_user() 106 size_t size) in test_copy_struct_from_user() 222 #define test_legit(size, check) \ in test_user_copy_init() argument 287 #define test_illegal(size, check) \ in test_user_copy_init() argument
|
D | test_static_keys.c | 55 static void invert_keys(struct test_key *keys, int size) in invert_keys() 68 static int verify_keys(struct test_key *keys, int size, bool invert) in verify_keys() 112 int size; in test_key_func() local
|
D | devres.c | 26 resource_size_t size, in __devm_ioremap() 65 resource_size_t size) in devm_ioremap() 81 resource_size_t size) in devm_ioremap_nocache() 96 resource_size_t size) in devm_ioremap_wc() 137 resource_size_t size; in devm_ioremap_resource() local 188 resource_size_t *size) in devm_of_iomap()
|
D | rhashtable.c | 66 static void nested_table_free(union nested_table *ntbl, unsigned int size) in nested_table_free() 87 unsigned int size = tbl->size >> tbl->nest; in nested_bucket_table_free() local 144 size_t size; in nested_bucket_table_alloc() local 171 size_t size; in bucket_table_alloc() local 344 unsigned int size) in rhashtable_rehash_alloc() 382 unsigned int size = 0; in rhashtable_shrink() local 435 unsigned int size; in rhashtable_insert_rehash() local 1012 size_t size; in rhashtable_init() local 1172 unsigned int size = tbl->size >> tbl->nest; in __rht_bucket_nested() local 1213 unsigned int size = tbl->size >> tbl->nest; in rht_bucket_nested_insert() local
|
D | stackdepot.c | 62 u32 size; /* Number of frames in the stack */ member 99 static struct stack_record *depot_alloc_stack(unsigned long *entries, int size, in depot_alloc_stack() 150 static inline u32 hash_stack(unsigned long *entries, unsigned int size) in hash_stack() 174 unsigned long *entries, int size, in find_stack()
|
D | kfifo.c | 24 int __kfifo_alloc(struct __kfifo *fifo, unsigned int size, in __kfifo_alloc() 67 unsigned int size, size_t esize) in __kfifo_init() 92 unsigned int size = fifo->mask + 1; in kfifo_copy_in() local 131 unsigned int size = fifo->mask + 1; in kfifo_copy_out() local 179 unsigned int size = fifo->mask + 1; in kfifo_copy_from_user() local 241 unsigned int size = fifo->mask + 1; in kfifo_copy_to_user() local 337 unsigned int size = fifo->mask + 1; in setup_sgl() local
|
D | iommu-helper.c | 9 unsigned long iommu_area_alloc(unsigned long *map, unsigned long size, in iommu_area_alloc()
|
D | bsearch.c | 31 void *bsearch(const void *key, const void *base, size_t num, size_t size, in bsearch()
|
D | sg_pool.c | 11 size_t size; member 147 int size = sgp->size * sizeof(struct scatterlist); in sg_pool_init() local
|
/lib/zstd/ |
D | zstd_common.c | 28 #define stack_push(stack, size) \ argument 51 void *ZSTD_stackAllocAll(void *opaque, size_t *size) in ZSTD_stackAllocAll() 58 void *ZSTD_stackAlloc(void *opaque, size_t size) in ZSTD_stackAlloc() 69 void *ZSTD_malloc(size_t size, ZSTD_customMem customMem) { return customMem.customAlloc(customMem.o… in ZSTD_malloc()
|
D | huf.h | 78 #define HUF_BLOCKBOUND(size) (size + (size >> 8) + 8) /* only true if incompressible pre-filtere… argument 79 #define HUF_COMPRESSBOUND(size) (HUF_CTABLEBOUND + HUF_BLOCKBOUND(size)) /* Macro version, useful f… argument
|
/lib/mpi/ |
D | mpih-mul.c | 21 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \ argument 29 #define MPN_SQR_N_RECURSE(prodp, up, size, tspace) \ argument 55 mul_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) in mul_n_basecase() 96 mpi_size_t size, mpi_ptr_t tspace) in mul_n() 207 void mpih_sqr_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size) in mpih_sqr_n_basecase() 245 mpih_sqr_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size, mpi_ptr_t tspace) in mpih_sqr_n()
|
D | mpih-cmp.c | 25 int mpihelp_cmp(mpi_ptr_t op1_ptr, mpi_ptr_t op2_ptr, mpi_size_t size) in mpihelp_cmp()
|
D | generic_mpih-sub1.c | 21 mpi_ptr_t s2_ptr, mpi_size_t size) in mpihelp_sub_n()
|
D | generic_mpih-add1.c | 22 mpi_ptr_t s2_ptr, mpi_size_t size) in mpihelp_add_n()
|
/lib/xz/ |
D | xz_dec_bcj.c | 60 size_t size; member 88 static size_t bcj_x86(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86() 160 static size_t bcj_powerpc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_powerpc() 181 static size_t bcj_ia64(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_ia64() 265 static size_t bcj_arm(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_arm() 288 static size_t bcj_armthumb(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_armthumb() 316 static size_t bcj_sparc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_sparc() 346 uint8_t *buf, size_t *pos, size_t size) in bcj_apply()
|
D | xz_private.h | 40 # define memeq(a, b, size) (memcmp(a, b, size) == 0) argument 41 # define memzero(buf, size) memset(buf, 0, size) argument
|
D | xz_crc32.c | 49 XZ_EXTERN uint32_t xz_crc32(const uint8_t *buf, size_t size, uint32_t crc) in xz_crc32()
|
/lib/livepatch/ |
D | test_klp_shadow_vars.c | 71 static void *shadow_alloc(void *obj, unsigned long id, size_t size, in shadow_alloc() 83 static void *shadow_get_or_alloc(void *obj, unsigned long id, size_t size, in shadow_get_or_alloc() 131 size_t size = sizeof(int *); in test_klp_shadow_vars_init() local
|