Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 80) sorted by relevance

1234

/lib/
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()
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 …]
Dbuildid.c17 __u32 *size, in parse_build_id_buf()
53 __u32 *size, in parse_build_id()
70 __u32 *size) in get_build_id_32()
95 __u32 *size) in get_build_id_64()
127 __u32 *size) in build_id_parse()
187 unsigned int size = &__stop_notes - &__start_notes; in init_vmlinux_build_id() local
Ddecompress_unxz.c157 #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()
Dfind_bit.c78 unsigned long _find_first_bit(const unsigned long *addr, unsigned long size) in _find_first_bit()
96 unsigned long _find_first_zero_bit(const unsigned long *addr, unsigned long size) in _find_first_zero_bit()
111 unsigned long _find_last_bit(const unsigned long *addr, unsigned long size) in _find_last_bit()
131 unsigned long size, unsigned long offset) in find_next_clump8()
Dgenalloc.c88 const unsigned long size = start + nr; in bitmap_set_ll() local
124 const unsigned long size = start + nr; in bitmap_clear_ll() local
185 size_t size, int nid, void *owner) in gen_pool_add_owner()
277 unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo_owner()
341 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc()
362 void *gen_pool_dma_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_algo()
395 void *gen_pool_dma_alloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_align()
419 void *gen_pool_dma_zalloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_zalloc()
440 void *gen_pool_dma_zalloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_zalloc_algo()
466 void *gen_pool_dma_zalloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_zalloc_align()
[all …]
Dlogic_iomem.c72 static void __iomem *real_ioremap(phys_addr_t offset, size_t size) in real_ioremap()
86 void __iomem *ioremap(phys_addr_t offset, size_t size) in ioremap()
195 static void real_memset_io(volatile void __iomem *addr, int value, size_t size) in real_memset_io()
202 size_t size) in real_memcpy_fromio()
211 size_t size) in real_memcpy_toio()
254 void memset_io(volatile void __iomem *addr, int value, size_t size) in memset_io()
277 size_t size) in memcpy_fromio()
300 void memcpy_toio(volatile void __iomem *addr, const void *buffer, size_t size) in memcpy_toio()
Dtest_user_copy.c42 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
Dsort.c33 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()
Dmemneq.c68 __crypto_memneq_generic(const void *a, const void *b, size_t size) in __crypto_memneq_generic()
157 size_t size) in __crypto_memneq()
Ddevres.c27 resource_size_t size, in __devm_ioremap()
69 resource_size_t size) in devm_ioremap()
84 resource_size_t size) in devm_ioremap_uc()
99 resource_size_t size) in devm_ioremap_wc()
114 resource_size_t size) in devm_ioremap_np()
139 resource_size_t size; in __devm_ioremap_resource() local
252 resource_size_t *size) in devm_of_iomap()
Dtest_static_keys.c55 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
Dstackdepot.c63 u32 size; /* Number of frames in the stack */ member
105 depot_alloc_stack(unsigned long *entries, int size, u32 hash, void **prealloc) in depot_alloc_stack()
167 size_t size = (STACK_HASH_SIZE * sizeof(struct stack_record *)); in stack_depot_init() local
178 static inline u32 hash_stack(unsigned long *entries, unsigned int size) in hash_stack()
202 unsigned long *entries, int size, in find_stack()
Drhashtable.c75 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
Dbsearch.c31 void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp) in bsearch()
Dkfifo.c24 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
Diov_iter.c446 size_t fault_in_iov_iter_readable(const struct iov_iter *i, size_t size) in fault_in_iov_iter_readable()
485 size_t fault_in_iov_iter_writeable(const struct iov_iter *i, size_t size) in fault_in_iov_iter_writeable()
548 static size_t push_pipe(struct iov_iter *i, size_t size, in push_pipe()
1013 static void pipe_advance(struct iov_iter *i, size_t size) in pipe_advance()
1039 static void iov_iter_bvec_advance(struct iov_iter *i, size_t size) in iov_iter_bvec_advance()
1054 static void iov_iter_iovec_advance(struct iov_iter *i, size_t size) in iov_iter_iovec_advance()
1073 void iov_iter_advance(struct iov_iter *i, size_t size) in iov_iter_advance()
1283 size_t size = i->count; in iov_iter_alignment_iovec() local
1305 size_t size = i->count; in iov_iter_alignment_bvec() local
1333 size_t size = i->count; in iov_iter_alignment() local
[all …]
Diommu-helper.c9 unsigned long iommu_area_alloc(unsigned long *map, unsigned long size, in iommu_area_alloc()
/lib/zstd/
Dzstd_common.c28 #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()
Dhuf.h78 #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/
Dmpih-mul.c21 #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()
Dmpih-cmp.c25 int mpihelp_cmp(mpi_ptr_t op1_ptr, mpi_ptr_t op2_ptr, mpi_size_t size) in mpihelp_cmp()
Dgeneric_mpih-add1.c22 mpi_ptr_t s2_ptr, mpi_size_t size) in mpihelp_add_n()
/lib/xz/
Dxz_dec_bcj.c60 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()
Dxz_private.h43 # define memeq(a, b, size) (memcmp(a, b, size) == 0) argument
44 # define memzero(buf, size) memset(buf, 0, size) argument
/lib/zlib_dfltcc/
Ddfltcc.c28 uInt size in dfltcc_reset()

1234