/arch/s390/include/asm/ |
D | string.h | 22 void *memcpy(void *dest, const void *src, size_t n); 23 void *memset(void *s, int c, size_t n); 24 void *memmove(void *dest, const void *src, size_t n); 41 int memcmp(const void *s1, const void *s2, size_t n); 43 size_t strlcat(char *dest, const char *src, size_t n); 44 char *strncat(char *dest, const char *src, size_t n); 45 char *strncpy(char *dest, const char *src, size_t n); 70 void *__memcpy(void *dest, const void *src, size_t n); 71 void *__memset(void *s, int c, size_t n); 72 void *__memmove(void *dest, const void *src, size_t n); [all …]
|
/arch/alpha/include/asm/ |
D | string.h | 15 extern void * memcpy(void *, const void *, size_t); 17 extern void * memmove(void *, const void *, size_t); 20 extern void * __memcpy(void *, const void *, size_t); 25 extern void * __constant_c_memset(void *, unsigned long, size_t); 26 extern void * ___memset(void *, int, size_t); 27 extern void * __memset(void *, int, size_t); 28 extern void * memset(void *, int, size_t); 33 extern inline void *__memset(void *s, int c, size_t n) in __memset() 51 extern char * strncpy(char *, const char *, size_t); 55 extern char * strncat(char *, const char *, size_t); [all …]
|
/arch/x86/include/asm/ |
D | string_64.h | 18 extern void *memcpy(void *to, const void *from, size_t len); 19 extern void *__memcpy(void *to, const void *from, size_t len); 22 void *memset(void *s, int c, size_t n); 23 void *__memset(void *s, int c, size_t n); 31 static inline void *memset16(uint16_t *s, uint16_t v, size_t n) in memset16() 43 static inline void *memset32(uint32_t *s, uint32_t v, size_t n) in memset32() 55 static inline void *memset64(uint64_t *s, uint64_t v, size_t n) in memset64() 68 void *memmove(void *dest, const void *src, size_t count); 69 void *__memmove(void *dest, const void *src, size_t count); 71 int memcmp(const void *cs, const void *ct, size_t count); [all …]
|
D | string_32.h | 13 extern char *strncpy(char *dest, const char *src, size_t count); 19 extern char *strncat(char *dest, const char *src, size_t count); 25 extern int strncmp(const char *cs, const char *ct, size_t count); 31 extern size_t strlen(const char *s); 33 static __always_inline void *__memcpy(void *to, const void *from, size_t n) in __memcpy() 53 size_t n) in __constant_memcpy() 146 extern void *memcpy(void *, const void *, size_t); 155 void *memmove(void *dest, const void *src, size_t n); 157 extern int memcmp(const void *, const void *, size_t); 163 extern void *memchr(const void *cs, int c, size_t count); [all …]
|
D | intel_scu_ipc.h | 47 u8 *data, size_t len); 49 u8 *data, size_t len); 57 int sub, const void *in, size_t inlen, 58 size_t size, void *out, size_t outlen); 61 int sub, const void *in, size_t inlen, in intel_scu_ipc_dev_command() 62 void *out, size_t outlen) in intel_scu_ipc_dev_command()
|
/arch/powerpc/boot/ |
D | string.h | 7 extern char *strncpy(char *dest, const char *src, size_t n); 12 extern int strncmp(const char *s1, const char *s2, size_t n); 13 extern size_t strlen(const char *s); 14 extern size_t strnlen(const char *s, size_t count); 16 extern void *memset(void *s, int c, size_t n); 19 extern void *memchr(const void *s, int c, size_t n); 20 extern int memcmp(const void *s1, const void *s2, size_t n);
|
/arch/x86/boot/ |
D | string.h | 10 void *memcpy(void *dst, const void *src, size_t len); 11 void *memmove(void *dst, const void *src, size_t len); 12 void *memset(void *dst, int c, size_t len); 13 int memcmp(const void *s1, const void *s2, size_t len); 14 int bcmp(const void *s1, const void *s2, size_t len); 22 extern int strncmp(const char *cs, const char *ct, size_t count); 23 extern size_t strlen(const char *s); 26 extern size_t strnlen(const char *s, size_t maxlen);
|
/arch/s390/lib/ |
D | string.c | 36 static inline char *__strnend(const char *s, size_t n) in __strnend() 57 size_t strlen(const char *s) in strlen() 72 size_t strnlen(const char *s, size_t n) in strnlen() 113 char *strncpy(char *dest, const char *src, size_t n) in strncpy() 115 size_t len = __strnend(src, n) - src; in strncpy() 157 size_t strlcat(char *dest, const char *src, size_t n) in strlcat() 159 size_t dsize = __strend(dest) - dest; in strlcat() 160 size_t len = __strend(src) - src; in strlcat() 161 size_t res = dsize + len; in strlcat() 188 char *strncat(char *dest, const char *src, size_t n) in strncat() [all …]
|
/arch/arm64/kvm/hyp/include/nvhe/ |
D | iommu.h | 43 size_t kvm_iommu_map_pages(pkvm_handle_t domain_id, 44 unsigned long iova, phys_addr_t paddr, size_t pgsize, 45 size_t pgcount, int prot); 46 size_t kvm_iommu_unmap_pages(pkvm_handle_t domain_id, 47 unsigned long iova, size_t pgsize, size_t pgcount); 53 size_t size); 58 #define KVM_IOMMU_PADDR_CACHE_MAX ((size_t)511) 71 size_t pgsize[KVM_IOMMU_PADDR_CACHE_MAX]; 134 phys_addr_t paddr, size_t pgsize, 135 size_t pgcount, int prot, size_t *total_mapped); [all …]
|
/arch/powerpc/mm/ |
D | dma-noncoherent.c | 22 static void __dma_sync(void *vaddr, size_t size, int direction) in __dma_sync() 60 unsigned long offset, size_t size, int direction) in __dma_sync_page_highmem() 62 size_t seg_size = min((size_t)(PAGE_SIZE - offset), size); in __dma_sync_page_highmem() 63 size_t cur_size = seg_size; in __dma_sync_page_highmem() 79 seg_size = min((size_t)PAGE_SIZE, size - cur_size); in __dma_sync_page_highmem() 94 static void __dma_sync_page(phys_addr_t paddr, size_t size, int dir) in __dma_sync_page() 107 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 113 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() 119 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
|
/arch/riscv/include/asm/ |
D | string.h | 13 extern asmlinkage void *memset(void *, int, size_t); 14 extern asmlinkage void *__memset(void *, int, size_t); 16 extern asmlinkage void *memcpy(void *, const void *, size_t); 17 extern asmlinkage void *__memcpy(void *, const void *, size_t); 19 extern asmlinkage void *memmove(void *, const void *, size_t); 20 extern asmlinkage void *__memmove(void *, const void *, size_t); 29 extern asmlinkage int strncmp(const char *cs, const char *ct, size_t count);
|
/arch/arm/boot/compressed/ |
D | string.c | 25 void *__memcpy(void *__dest, __const void *__src, size_t __n) __alias(memcpy); 26 void *__memmove(void *__dest, __const void *__src, size_t count) __alias(memmove); 27 void *__memset(void *s, int c, size_t count) __alias(memset); 30 void *memcpy(void *__dest, __const void *__src, size_t __n) in memcpy() 64 void *memmove(void *__dest, __const void *__src, size_t count) in memmove() 80 size_t strlen(const char *s) in strlen() 89 size_t strnlen(const char *s, size_t count) in strnlen() 98 int memcmp(const void *cs, const void *ct, size_t count) in memcmp() 126 void *memchr(const void *s, int c, size_t count) in memchr() 156 void *memset(void *s, int c, size_t count) in memset()
|
/arch/x86/boot/compressed/ |
D | string.c | 14 static void *____memcpy(void *dest, const void *src, size_t n) in ____memcpy() 28 static void *____memcpy(void *dest, const void *src, size_t n) in ____memcpy() 43 void *memset(void *s, int c, size_t n) in memset() 53 void *memmove(void *dest, const void *src, size_t n) in memmove() 68 void *memcpy(void *dest, const void *src, size_t n) in memcpy() 78 extern void *__memset(void *s, int c, size_t n) __alias(memset); 79 extern void *__memmove(void *dest, const void *src, size_t n) __alias(memmove); 80 extern void *__memcpy(void *dest, const void *src, size_t n) __alias(memcpy);
|
/arch/mips/mm/ |
D | dma-noncoherent.c | 47 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent() 52 void *arch_dma_set_uncached(void *addr, size_t size) in arch_dma_set_uncached() 57 static inline void dma_sync_virt_for_device(void *addr, size_t size, in dma_sync_virt_for_device() 75 static inline void dma_sync_virt_for_cpu(void *addr, size_t size, in dma_sync_virt_for_cpu() 95 static inline void dma_sync_phys(phys_addr_t paddr, size_t size, in dma_sync_phys() 100 size_t left = size; in dma_sync_phys() 103 size_t len = left; in dma_sync_phys() 124 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 131 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
|
/arch/xtensa/kernel/ |
D | pci-dma.c | 24 static void do_cache_op(phys_addr_t paddr, size_t size, in do_cache_op() 35 size_t sz = min_t(size_t, size, PAGE_SIZE - off); in do_cache_op() 46 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() 64 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 83 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent() 94 void *arch_dma_set_uncached(void *p, size_t size) in arch_dma_set_uncached()
|
/arch/um/include/asm/ |
D | archrandom.h | 8 ssize_t os_getrandom(void *buf, size_t len, unsigned int flags); 10 static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) in arch_get_random_longs() 20 static inline size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs) in arch_get_random_seed_longs()
|
/arch/loongarch/include/asm/ |
D | string.h | 9 extern void *memset(void *__s, int __c, size_t __count); 10 extern void *__memset(void *__s, int __c, size_t __count); 13 extern void *memcpy(void *__to, __const__ void *__from, size_t __n); 14 extern void *__memcpy(void *__to, __const__ void *__from, size_t __n); 17 extern void *memmove(void *__dest, __const__ void *__src, size_t __n); 18 extern void *__memmove(void *__dest, __const__ void *__src, size_t __n);
|
/arch/sparc/include/asm/ |
D | asm-prototypes.h | 16 void *__memscan_zero(void *, size_t); 17 void *__memscan_generic(void *, int, size_t); 18 void *__bzero(void *, size_t); 22 void *memcpy(void *dest, const void *src, size_t n); 23 void *memset(void *s, int c, size_t n);
|
/arch/x86/lib/ |
D | string_32.c | 34 char *strncpy(char *dest, const char *src, size_t count) in strncpy() 72 char *strncat(char *dest, const char *src, size_t count) in strncat() 119 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() 166 size_t strlen(const char *s) in strlen() 169 size_t res; in strlen() 181 void *memchr(const void *cs, int c, size_t count) in memchr() 201 void *memscan(void *addr, int c, size_t size) in memscan() 218 size_t strnlen(const char *s, size_t count) in strnlen()
|
D | iomem.c | 10 static __always_inline void rep_movs(void *to, const void *from, size_t n) in rep_movs() 26 static void string_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) in string_memcpy_fromio() 45 static void string_memcpy_toio(volatile void __iomem *to, const void *from, size_t n) in string_memcpy_toio() 64 static void unrolled_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) in unrolled_memcpy_fromio() 74 static void unrolled_memcpy_toio(volatile void __iomem *to, const void *from, size_t n) in unrolled_memcpy_toio() 84 static void unrolled_memset_io(volatile void __iomem *a, int b, size_t c) in unrolled_memset_io() 93 void memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) in memcpy_fromio() 102 void memcpy_toio(volatile void __iomem *to, const void *from, size_t n) in memcpy_toio() 111 void memset_io(volatile void __iomem *a, int b, size_t c) in memset_io()
|
/arch/xtensa/include/asm/ |
D | string.h | 38 static inline char *strncpy(char *__dest, const char *__src, size_t __n) in strncpy() 85 static inline int strncmp(const char *__cs, const char *__ct, size_t __n) in strncmp() 110 extern void *memset(void *__s, int __c, size_t __count); 111 extern void *__memset(void *__s, int __c, size_t __count); 114 extern void *memcpy(void *__to, __const__ void *__from, size_t __n); 115 extern void *__memcpy(void *__to, __const__ void *__from, size_t __n); 118 extern void *memmove(void *__dest, __const__ void *__src, size_t __n); 119 extern void *__memmove(void *__dest, __const__ void *__src, size_t __n);
|
/arch/riscv/kernel/vdso/ |
D | hwprobe.c | 10 extern int riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count, 11 size_t cpu_count, unsigned long *cpus, 15 int __vdso_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count, 16 size_t cpu_count, unsigned long *cpus, 19 int __vdso_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count, in __vdso_riscv_hwprobe() 20 size_t cpu_count, unsigned long *cpus, in __vdso_riscv_hwprobe()
|
/arch/riscv/kernel/ |
D | patch.c | 66 static int __patch_insn_set(void *addr, u8 c, size_t len) in __patch_insn_set() 103 static int __patch_insn_write(void *addr, const void *insn, size_t len) in __patch_insn_write() 149 static int __patch_insn_set(void *addr, u8 c, size_t len) in __patch_insn_set() 157 static int __patch_insn_write(void *addr, const void *insn, size_t len) in __patch_insn_write() 164 static int patch_insn_set(void *addr, u8 c, size_t len) in patch_insn_set() 166 size_t patched = 0; in patch_insn_set() 167 size_t size; in patch_insn_set() 175 size = min_t(size_t, PAGE_SIZE * 2 - offset_in_page(addr + patched), len - patched); in patch_insn_set() 185 int patch_text_set_nosync(void *addr, u8 c, size_t len) in patch_text_set_nosync() 199 static int patch_insn_write(void *addr, const void *insn, size_t len) in patch_insn_write() [all …]
|
/arch/sh/include/asm/ |
D | string_32.h | 56 static inline int strncmp(const char *__cs, const char *__ct, size_t __n) in strncmp() 88 extern void *memset(void *__s, int __c, size_t __count); 91 extern void *memcpy(void *__to, __const__ void *__from, size_t __n); 94 extern void *memmove(void *__dest, __const__ void *__src, size_t __n); 97 extern void *memchr(const void *__s, int __c, size_t __n); 100 extern size_t strlen(const char *);
|
/arch/arm/include/asm/ |
D | io.h | 137 extern void __iomem *__arm_ioremap_caller(phys_addr_t, size_t, unsigned int, 139 extern void __iomem *__arm_ioremap_pfn(unsigned long, unsigned long, size_t, unsigned int); 140 extern void __iomem *__arm_ioremap_exec(phys_addr_t, size_t, bool cached); 141 void __arm_iomem_set_ro(void __iomem *ptr, size_t size); 143 extern void __iomem * (*arch_ioremap_caller)(phys_addr_t, size_t, 195 void __iomem *pci_remap_cfgspace(resource_size_t res_cookie, size_t size); 259 extern void _memcpy_fromio(void *, const volatile void __iomem *, size_t); 260 extern void _memcpy_toio(volatile void __iomem *, const void *, size_t); 261 extern void _memset_io(volatile void __iomem *, int, size_t); 302 size_t count) in memset_io() [all …]
|