/lib/ |
D | find_bit.c | 76 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() 85 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit() 95 const unsigned long *addr2, unsigned long size, in find_next_and_bit() 107 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit() 125 unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size) in find_first_zero_bit() 140 unsigned long find_last_bit(const unsigned long *addr, unsigned long size) in find_last_bit() 163 long size, unsigned long offset) in find_next_zero_bit_le() 172 long size, unsigned long offset) in find_next_bit_le() 182 unsigned long size, unsigned long offset) in find_next_clump8()
|
D | test_kasan.c | 127 size_t size = 123; in kmalloc_oob_right() local 139 size_t size = 15; in kmalloc_oob_left() local 151 size_t size = 4096; in kmalloc_node_oob_right() local 169 size_t size = KMALLOC_MAX_CACHE_SIZE + 10; in kmalloc_pagealloc_oob_right() local 184 size_t size = KMALLOC_MAX_CACHE_SIZE + 10; in kmalloc_pagealloc_uaf() local 198 size_t size = KMALLOC_MAX_CACHE_SIZE + 10; in kmalloc_pagealloc_invalid_free() local 213 size_t size = (1UL << (PAGE_SHIFT + order)); in pagealloc_oob_right() local 247 size_t size = KMALLOC_MAX_CACHE_SIZE - 256; in kmalloc_large_oob_right() local 420 size_t size = 8; in kmalloc_oob_memset_2() local 432 size_t size = 8; in kmalloc_oob_memset_4() local [all …]
|
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() 195 static int __init do_kmem_cache_size(size_t size, bool want_ctor, in do_kmem_cache_size() 271 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 | genalloc.c | 87 const unsigned long size = start + nr; in bitmap_set_ll() local 123 const unsigned long size = start + nr; in bitmap_clear_ll() local 184 size_t size, int nid, void *owner) in gen_pool_add_owner() 276 unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo_owner() 340 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc() 361 void *gen_pool_dma_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_algo() 394 void *gen_pool_dma_alloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_align() 418 void *gen_pool_dma_zalloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_zalloc() 439 void *gen_pool_dma_zalloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_zalloc_algo() 465 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 | sort.c | 33 static bool is_aligned(const void *base, size_t size, unsigned char align) in is_aligned() 133 static void do_swap(void *a, void *b, size_t size, swap_func_t swap_func) in do_swap() 173 static size_t parent(size_t i, unsigned int lsbit, size_t size) in parent() 199 void sort_r(void *base, size_t num, size_t size, in sort_r() 266 void sort(void *base, size_t num, size_t size, in sort()
|
D | memneq.c | 68 __crypto_memneq_generic(const void *a, const void *b, size_t size) in __crypto_memneq_generic() 157 size_t size) in __crypto_memneq()
|
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() 80 resource_size_t size) in devm_ioremap_uc() 95 resource_size_t size) in devm_ioremap_wc() 120 resource_size_t size; in __devm_ioremap_resource() local 228 resource_size_t *size) in devm_of_iomap()
|
D | stackdepot.c | 64 u32 size; /* Number of frames in the stack */ member 105 static struct stack_record *depot_alloc_stack(unsigned long *entries, int size, in depot_alloc_stack() 168 size_t size = (STACK_HASH_SIZE * sizeof(struct stack_record *)); in stack_depot_init() local 179 static inline u32 hash_stack(unsigned long *entries, unsigned int size) in hash_stack() 203 unsigned long *entries, int size, in find_stack()
|
D | rhashtable.c | 75 static void nested_table_free(union nested_table *ntbl, unsigned int size) in nested_table_free() 96 unsigned int size = tbl->size >> tbl->nest; in nested_bucket_table_free() local 153 size_t size; in nested_bucket_table_alloc() local 180 size_t size; in bucket_table_alloc() local 353 unsigned int size) in rhashtable_rehash_alloc() 391 unsigned int size = 0; in rhashtable_shrink() local 444 unsigned int size; in rhashtable_insert_rehash() local 1019 size_t size; in rhashtable_init() local 1179 unsigned int size = tbl->size >> tbl->nest; in __rht_bucket_nested() local 1219 unsigned int size = tbl->size >> tbl->nest; in rht_bucket_nested_insert() local
|
D | bsearch.c | 31 void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp) in bsearch()
|
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 | 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() 322 mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) in mpihelp_mul_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
|
/lib/zlib_dfltcc/ |
D | dfltcc.c | 28 uInt size in dfltcc_reset()
|