/lib/ |
A D | iomem_copy.c | 21 void memset_io(volatile void __iomem *addr, int val, size_t count) in memset_io() 62 void memcpy_fromio(void *dst, const volatile void __iomem *src, size_t count) in memcpy_fromio() 104 void memcpy_toio(volatile void __iomem *dst, const void *src, size_t count) in memcpy_toio()
|
A D | string.c | 92 char *strncpy(char *dest, const char *src, size_t count) in strncpy() 232 char *strncat(char *dest, const char *src, size_t count) in strncat() 252 size_t strlcat(char *dest, const char *src, size_t count) in strlcat() 367 char *strnchrnul(const char *s, size_t count, int c) in strnchrnul() 402 char *strnchr(const char *s, size_t count, int c) in strnchr() 428 size_t strnlen(const char *s, size_t count) in strnlen() 534 void *memset(void *s, int c, size_t count) in memset() 556 void *memset16(uint16_t *s, uint16_t v, size_t count) in memset16() 578 void *memset32(uint32_t *s, uint32_t v, size_t count) in memset32() 600 void *memset64(uint64_t *s, uint64_t v, size_t count) in memset64() [all …]
|
A D | iomap.c | 42 static int count = 10; in bad_io_access() local 310 static inline void mmio_insb(const void __iomem *addr, u8 *dst, int count) in mmio_insb() 318 static inline void mmio_insw(const void __iomem *addr, u16 *dst, int count) in mmio_insw() 326 static inline void mmio_insl(const void __iomem *addr, u32 *dst, int count) in mmio_insl() 337 static inline void mmio_outsb(void __iomem *addr, const u8 *src, int count) in mmio_outsb() 344 static inline void mmio_outsw(void __iomem *addr, const u16 *src, int count) in mmio_outsw() 351 static inline void mmio_outsl(void __iomem *addr, const u32 *src, int count) in mmio_outsl() 360 void ioread8_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread8_rep() 366 void ioread16_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread16_rep() 372 void ioread32_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread32_rep() [all …]
|
A D | iomap_copy.c | 20 void __iowrite32_copy(void __iomem *to, const void *from, size_t count) in __iowrite32_copy() 42 void __ioread32_copy(void *to, const void __iomem *from, size_t count) in __ioread32_copy() 64 void __iowrite64_copy(void __iomem *to, const void *from, size_t count) in __iowrite64_copy()
|
A D | strnlen_user.c | 23 static __always_inline long do_strnlen_user(const char __user *src, unsigned long count, unsigned l… in do_strnlen_user() 92 long strnlen_user(const char __user *str, long count) in strnlen_user()
|
A D | test_firmware.c | 251 const char *buf, size_t count) in reset_store() 336 const char *buf, size_t count) in config_name_store() 462 const char *buf, size_t count) in config_upload_name_store() 488 const char *buf, size_t count) in config_num_requests_store() 565 const char *buf, size_t count) in config_file_offset_store() 595 const char *buf, size_t count) in config_partial_store() 612 const char *buf, size_t count) in config_sync_direct_store() 634 const char *buf, size_t count) in config_send_uevent_store() 650 const char *buf, size_t count) in config_read_fw_idx_store() 768 const char *buf, size_t count) in trigger_async_request_store() [all …]
|
A D | percpu_counter.c | 95 s64 count; in percpu_counter_add_batch() local 122 s64 count; in percpu_counter_add_batch() local 149 s64 count; in percpu_counter_sync() local 294 s64 count; in __percpu_counter_compare() local 330 s64 count; in __percpu_counter_limited_add() local
|
A D | strncpy_from_user.c | 29 unsigned long count, unsigned long max) in do_strncpy_from_user() 113 long strncpy_from_user(char *dst, const char __user *src, long count) in strncpy_from_user()
|
A D | list_sort.c | 53 u8 count = 0; in merge_final() local 192 size_t count = 0; /* Count of pending */ in list_sort() local
|
A D | fault-inject.c | 295 static ssize_t fault_uint_attr_store(unsigned int *val, const char *page, size_t count) in fault_uint_attr_store() 308 static ssize_t fault_ulong_attr_store(unsigned long *val, const char *page, size_t count) in fault_ulong_attr_store() 321 static ssize_t fault_bool_attr_store(bool *val, const char *page, size_t count) in fault_bool_attr_store() 334 static ssize_t fault_atomic_t_attr_store(atomic_t *val, const char *page, size_t count) in fault_atomic_t_attr_store() 395 size_t count) in fault_stacktrace_depth_store() 418 static ssize_t fault_xul_attr_store(unsigned long *val, const char *page, size_t count) in fault_xul_attr_store()
|
A D | test_kmod.c | 570 const char *buf, size_t count) in trigger_config_store() 608 static int __kstrncpy(char **dst, const char *name, size_t count, gfp_t gfp) in __kstrncpy() 618 size_t count) in config_copy_test_driver_name() 625 size_t count) in config_copy_test_fs() 658 const char *buf, size_t count) in config_test_driver_store() 705 const char *buf, size_t count) in config_test_fs_store() 845 const char *buf, size_t count) in reset_store() 976 const char *buf, size_t count) in test_result_store() 987 const char *buf, size_t count) in config_num_threads_store() 1010 const char *buf, size_t count) in config_test_case_store()
|
A D | rbtree_test.c | 166 int count; in black_path_count() local 175 int count = 0; in check_postorder_foreach() local 185 int count = 0; in check_postorder() local 195 int count = 0, blacks = 0; in check() local
|
A D | hexdump.c | 63 int hex2bin(u8 *dst, const char *src, size_t count) in hex2bin() 87 char *bin2hex(char *dst, const void *src, size_t count) in bin2hex()
|
A D | test_maple_tree.c | 390 unsigned long count; in check_find() local 1569 int count; in check_deficient_node() local 1802 int i, brk = 105, max = 1040, brk_start = 100, count = 20000000; in bench_slot_store() local 1818 int i, overwrite = 76, max = 240, count = 20000000; in bench_node_store() local 1837 int i, max = 2500, count = 50000000; in bench_awalk() local 1854 int i, max = 2500, count = 550000000; in bench_walk() local 1871 int i, max = 2500, count = 550000000; in bench_load() local 1884 int i, count = 1000000; in bench_mt_for_each() local 1908 int i, count = 1000000; in bench_mas_for_each() local 1938 int i, count = 1000000; in bench_mas_prev() local [all …]
|
A D | argv_split.c | 14 int count = 0; in count_argc() local
|
A D | bitmap-str.c | 80 int nmaskbits, loff_t off, size_t count) in bitmap_print_to_buf() 181 int nmaskbits, loff_t off, size_t count) in bitmap_print_bitmask_to_buf() 199 int nmaskbits, loff_t off, size_t count) in bitmap_print_list_to_buf()
|
A D | percpu-refcount.c | 174 unsigned long count = 0; in percpu_ref_switch_to_atomic_rcu() local 413 unsigned long count, flags; in percpu_ref_is_zero() local
|
A D | iov_iter.c | 97 size_t count = min(size, iov_iter_count(i)); in fault_in_iov_iter_readable() local 140 size_t count = min(size, iov_iter_count(i)); in fault_in_iov_iter_writeable() local 164 size_t count) in iov_iter_init() 678 size_t count) in iov_iter_kvec() 694 size_t count) in iov_iter_bvec() 724 unsigned int offset, size_t count) in iov_iter_folio_queue() 752 struct xarray *xarray, loff_t start, size_t count) in iov_iter_xarray() 775 void iov_iter_discard(struct iov_iter *i, unsigned int direction, size_t count) in iov_iter_discard() 983 unsigned int count = DIV_ROUND_UP(size + start, PAGE_SIZE); in want_pages_array() local 1003 size_t extracted = 0, count = iter->count, iov_offset = iter->iov_offset; in iter_folioq_get_pages() local [all …]
|
/lib/zstd/compress/ |
A D | hist.c | 30 void HIST_add(unsigned* count, const void* src, size_t srcSize) in HIST_add() 40 unsigned HIST_count_simple(unsigned* count, unsigned* maxSymbolValuePtr, in HIST_count_simple() 78 unsigned* count, unsigned* maxSymbolValuePtr, in HIST_count_parallel_wksp() 151 size_t HIST_countFast_wksp(unsigned* count, unsigned* maxSymbolValuePtr, in HIST_countFast_wksp() 165 size_t HIST_count_wksp(unsigned* count, unsigned* maxSymbolValuePtr, in HIST_count_wksp()
|
A D | zstd_compress_sequences.c | 71 static size_t ZSTD_NCountCost(unsigned const* count, unsigned const max, in ZSTD_NCountCost() 85 static size_t ZSTD_entropyCost(unsigned const* count, unsigned const max, size_t const total) in ZSTD_entropyCost() 107 unsigned const* count, in ZSTD_fseBitCost() 141 unsigned const* count, unsigned const max) in ZSTD_crossEntropyCost() 159 FSE_repeat* repeatMode, unsigned const* count, unsigned const max, in ZSTD_selectEncodingType() 246 unsigned* count, U32 max, in ZSTD_buildCTable()
|
/lib/zstd/common/ |
A D | bits.h | 130 U64 ZSTD_rotateRight_U64(U64 const value, U32 count) { in ZSTD_rotateRight_U64() 137 U32 ZSTD_rotateRight_U32(U32 const value, U32 count) { in ZSTD_rotateRight_U32() 144 U16 ZSTD_rotateRight_U16(U16 const value, U32 count) { in ZSTD_rotateRight_U16()
|
/lib/tests/ |
A D | overflow_kunit.c | 420 int count = 0; in shift_sane_test() local 469 int count = 0; in shift_overflow_test() local 523 int count = 0; in shift_truncate_test() local 561 int count = 0; in shift_nonsense_test() local 672 int count = 0; in overflow_allocation_test() local 702 size_t count; member 711 int count = 0; in overflow_size_helpers_test() local 798 int count = 0; in overflows_type_test() local 1010 int count = 0; in same_type_test() local 1085 int count = 0; in castable_to_type_test() local
|
A D | hashtable_test.c | 127 int bkt, i, j, count; in hashtable_test_hash_for_each() local 157 int bkt, i, j, count; in hashtable_test_hash_for_each_safe() local 190 int bkt, i, j, count; in hashtable_test_hash_for_each_possible() local 245 int bkt, i, j, count; in hashtable_test_hash_for_each_possible_safe() local
|
A D | memcpy_kunit.c | 76 int count; in memcpy_test() local 150 int count; in memmove_test() local 253 int count, value; in memset_test() local
|
/lib/pldmfw/ |
A D | pldmfw_private.h | 165 #define pldm_for_each_desc_tlv(i, desc, start, count) \ argument 199 #define pldm_for_each_record(i, record, start, count) \ argument 233 #define pldm_for_each_component(i, component, start, count) \ argument
|