Home
last modified time | relevance | path

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

12345

/lib/
A Dfind_bit.c29 #define FIND_FIRST_BIT(FETCH, MUNGE, size) \ argument
51 #define FIND_NEXT_BIT(FETCH, MUNGE, size, start) \ argument
72 #define FIND_NTH_BIT(FETCH, size, num) \ argument
113 unsigned long size) in _find_first_and_bit()
125 unsigned long size) in _find_first_andnot_bit()
137 unsigned long size) in _find_first_and_and_bit()
169 unsigned long size, unsigned long n) in __find_nth_and_bit()
176 unsigned long size, unsigned long n) in __find_nth_andnot_bit()
185 unsigned long size, unsigned long n) in __find_nth_and_andnot_bit()
277 unsigned long size, unsigned long offset) in _find_next_zero_bit_le()
[all …]
A Ddecompress_unxz.c164 #define kmalloc(size, flags) malloc(size) argument
166 #define vmalloc(size) malloc(size) argument
184 static bool memeq(const void *a, const void *b, size_t size) in memeq()
199 static void memzero(void *buf, size_t size) in memzero()
211 void *memmove(void *dest, const void *src, size_t size) in memmove()
259 long (*fill)(void *dest, unsigned long size), in unxz()
406 long (*fill)(void *dest, unsigned long size), in __decompress()
A 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
105 static int __init do_kmalloc_size(size_t size, int *total_failures) in do_kmalloc_size()
129 static int __init do_vmalloc_size(size_t size, int *total_failures) in do_vmalloc_size()
156 int i, size; in test_kvmalloc() local
187 static bool __init check_buf(void *buf, int size, bool want_ctor, in check_buf()
216 static int __init do_kmem_cache_size(size_t size, bool want_ctor, in do_kmem_cache_size()
381 int i, flags, size; in test_kmemcache() local
[all …]
A Ddevres.c30 resource_size_t size, in __devm_ioremap()
73 resource_size_t size) in devm_ioremap()
88 resource_size_t size) in devm_ioremap_uc()
103 resource_size_t size) in devm_ioremap_wc()
127 resource_size_t size; in __devm_ioremap_resource() local
242 resource_size_t *size) in devm_of_iomap()
331 int devm_arch_phys_wc_add(struct device *dev, unsigned long base, unsigned long size) in devm_arch_phys_wc_add()
356 resource_size_t size; member
377 resource_size_t size) in devm_arch_io_reserve_memtype_wc()
A 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()
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()
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()
554 size_t size) in gen_pool_has_addr()
602 size_t size = 0; in gen_pool_size() local
730 unsigned long size, unsigned long start, in gen_pool_first_fit_order_align()
[all …]
A Dsort.c31 static bool is_aligned(const void *base, size_t size, unsigned char align) in is_aligned()
137 static void do_swap(void *a, void *b, size_t size, swap_r_func_t swap_func, const void *priv) in do_swap()
182 static size_t parent(size_t i, unsigned int lsbit, size_t size) in parent()
191 static void __sort_r(void *base, size_t num, size_t size, in __sort_r()
303 void sort_r(void *base, size_t num, size_t size, in sort_r()
324 void sort_r_nonatomic(void *base, size_t num, size_t size, in sort_r_nonatomic()
333 void sort(void *base, size_t num, size_t size, in sort()
346 void sort_nonatomic(void *base, size_t num, size_t size, in sort_nonatomic()
A 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()
A Dbuildid.c163 static int parse_build_id(struct freader *r, unsigned char *build_id, __u32 *size, in parse_build_id()
214 static int get_build_id_32(struct freader *r, unsigned char *build_id, __u32 *size) in get_build_id_32()
250 static int get_build_id_64(struct freader *r, unsigned char *build_id, __u32 *size) in get_build_id_64()
291 __u32 *size, bool may_fault) in __build_id_parse()
341 int build_id_parse_nofault(struct vm_area_struct *vma, unsigned char *build_id, __u32 *size) in build_id_parse_nofault()
357 int build_id_parse(struct vm_area_struct *vma, unsigned char *build_id, __u32 *size) in build_id_parse()
393 unsigned int size = &__stop_notes - &__start_notes; in init_vmlinux_build_id() local
A 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
A 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
154 size_t size; in nested_bucket_table_alloc() local
182 size_t size; in bucket_table_alloc() local
360 unsigned int size) in rhashtable_rehash_alloc()
398 unsigned int size = 0; in rhashtable_shrink() local
451 unsigned int size; in rhashtable_insert_rehash() local
1031 size_t size; in rhashtable_init_noprof() local
1193 unsigned int size = tbl->size >> tbl->nest; in __rht_bucket_nested() local
1233 unsigned int size = tbl->size >> tbl->nest; in rht_bucket_nested_insert() local
A Dbootconfig.c29 const char * __init xbc_get_embedded_bootconfig(size_t *size) in xbc_get_embedded_bootconfig()
57 static inline void * __init xbc_alloc_mem(size_t size) in xbc_alloc_mem()
62 static inline void __init xbc_free_mem(void *addr, size_t size, bool early) in xbc_free_mem()
72 static inline void *xbc_alloc_mem(size_t size) in xbc_alloc_mem()
77 static inline void xbc_free_mem(void *addr, size_t size, bool early) in xbc_free_mem()
293 char *buf, size_t size) in xbc_node_compose_key_after()
935 int __init xbc_init(const char *data, size_t size, const char **emsg, int *epos) in xbc_init()
A Diov_iter.c791 size_t size = i->count; in iov_iter_aligned_iovec() local
817 size_t size = i->count; in iov_iter_aligned_bvec() local
886 size_t size = i->count; in iov_iter_alignment_iovec() local
908 size_t size = i->count; in iov_iter_alignment_bvec() local
928 size_t size = i->count; in iov_iter_alignment() local
955 size_t size = i->count; in iov_iter_gap_alignment() local
1132 size_t *size, size_t *start) in first_bvec_segment()
1242 size_t skip = i->iov_offset, size = i->count; in iov_npages() local
1262 size_t skip = i->iov_offset, size = i->count; in bvec_npages() local
1696 size_t skip = i->iov_offset, size = 0; in iov_iter_extract_bvec_pages() local
[all …]
A Dkfifo.c25 int __kfifo_alloc(struct __kfifo *fifo, unsigned int size, in __kfifo_alloc()
68 unsigned int size, size_t esize) in __kfifo_init()
93 unsigned int size = fifo->mask + 1; in kfifo_copy_in() local
132 unsigned int size = fifo->mask + 1; in kfifo_copy_out() local
170 unsigned int size = fifo->mask + 1; in __kfifo_out_linear() local
193 unsigned int size = fifo->mask + 1; in kfifo_copy_from_user() local
255 unsigned int size = fifo->mask + 1; in kfifo_copy_to_user() local
331 unsigned int size = fifo->mask + 1; in setup_sgl() local
A Dbsearch.c31 void *bsearch(const void *key, const void *base, size_t num, size_t size, cmp_func_t cmp) in bsearch()
A Dsg_pool.c11 size_t size; member
148 int size = sgp->size * sizeof(struct scatterlist); in sg_pool_init() local
/lib/tests/
A Dusercopy_kunit.c38 size_t size; member
41 static bool is_zeroed(void *from, size_t size) in is_zeroed()
53 size_t size = priv->size; in usercopy_test_check_nonzero_user() local
112 size_t size = priv->size; in usercopy_test_copy_struct_from_user() local
192 #define test_legit(size, check) \ in usercopy_test_valid() argument
264 #define test_illegal(size, check) \ in usercopy_test_invalid() argument
A Dkunit_iov_iter.c79 size_t size = 0; in iov_kunit_load_kvec() local
106 size_t bufsize, npages, size, copied; in iov_kunit_copy_to_kvec() local
156 size_t bufsize, npages, size, copied; in iov_kunit_copy_from_kvec() local
225 size_t size = 0; in iov_kunit_load_bvec() local
265 size_t bufsize, npages, size, copied; in iov_kunit_copy_to_bvec() local
385 size_t size = 0; in iov_kunit_load_folioq() local
552 size_t size = 0; in iov_kunit_load_xarray() local
707 size_t bufsize, size = 0, npages; in iov_kunit_extract_pages_kvec() local
786 size_t bufsize, size = 0, npages; in iov_kunit_extract_pages_bvec() local
864 size_t bufsize, size = 0, npages; in iov_kunit_extract_pages_folioq() local
[all …]
/lib/crc/s390/
A Dcrc32le-vx.c92 static u32 crc32_le_vgfm_generic(u32 crc, unsigned char const *buf, size_t size, unsigned long *con… in crc32_le_vgfm_generic()
232 u32 crc32_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size) in crc32_le_vgfm_16()
237 u32 crc32c_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size) in crc32c_le_vgfm_16()
/lib/xz/
A Dxz_dec_bcj.c61 size_t size; member
89 static size_t bcj_x86(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86()
161 static size_t bcj_powerpc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_powerpc()
184 static size_t bcj_ia64(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_ia64()
270 static size_t bcj_arm(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_arm()
295 static size_t bcj_armthumb(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_armthumb()
328 static size_t bcj_sparc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_sparc()
352 static size_t bcj_arm64(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_arm64()
393 static size_t bcj_riscv(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_riscv()
494 uint8_t *buf, size_t *pos, size_t size) in bcj_apply()
/lib/crypto/mpi/
A 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()
A Dmpih-cmp.c25 int mpihelp_cmp(mpi_ptr_t op1_ptr, mpi_ptr_t op2_ptr, mpi_size_t size) in mpihelp_cmp()
/lib/crypto/
A Dmemneq.c69 __crypto_memneq_generic(const void *a, const void *b, size_t size) in __crypto_memneq_generic()
165 size_t size) in __crypto_memneq()
/lib/zstd/common/
A Dallocations.h27 MEM_STATIC void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customMalloc()
34 MEM_STATIC void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customCalloc()
/lib/crc/loongarch/
A Dcrc32.h15 #define _CRC32(crc, value, size, type) \ argument
24 #define CRC32(crc, value, size) _CRC32(crc, value, size, crc) argument
25 #define CRC32C(crc, value, size) _CRC32(crc, value, size, crcc) argument
/lib/zstd/compress/
A Dzstd_cwksp.h194 MEM_STATIC size_t ZSTD_cwksp_align(size_t size, size_t align) { in ZSTD_cwksp_align()
212 MEM_STATIC size_t ZSTD_cwksp_alloc_size(size_t size) { in ZSTD_cwksp_alloc_size()
218 MEM_STATIC size_t ZSTD_cwksp_aligned_alloc_size(size_t size, size_t alignment) { in ZSTD_cwksp_aligned_alloc_size()
226 MEM_STATIC size_t ZSTD_cwksp_aligned64_alloc_size(size_t size) { in ZSTD_cwksp_aligned64_alloc_size()
571 MEM_STATIC void ZSTD_cwksp_init(ZSTD_cwksp* ws, void* start, size_t size, ZSTD_cwksp_static_alloc_e… in ZSTD_cwksp_init()
586 MEM_STATIC size_t ZSTD_cwksp_create(ZSTD_cwksp* ws, size_t size, ZSTD_customMem customMem) { in ZSTD_cwksp_create()

Completed in 38 milliseconds

12345