Lines Matching refs:dst
75 * The 2 argument style can only be used when dst is an array with a
78 #define __strscpy0(dst, src, ...) \
79 sized_strscpy(dst, src, sizeof(dst) + __must_be_array(dst))
80 #define __strscpy1(dst, src, size) sized_strscpy(dst, src, size)
82 #define __strscpy_pad0(dst, src, ...) \
83 sized_strscpy_pad(dst, src, sizeof(dst) + __must_be_array(dst))
84 #define __strscpy_pad1(dst, src, size) sized_strscpy_pad(dst, src, size)
88 * @dst: Where to copy the string to
93 * destination @dst buffer. The behavior is undefined if the string
94 * buffers overlap. The destination @dst buffer is always NUL terminated,
97 * The size argument @... is only required when @dst is not an array, or
98 * when the copy needs to be smaller than sizeof(@dst).
104 * Returns the number of characters copied in @dst (not including the
108 #define strscpy(dst, src, ...) \
109 CONCATENATE(__strscpy, COUNT_ARGS(__VA_ARGS__))(dst, src, __VA_ARGS__)
125 * @dst: Where to copy the string to
143 #define strscpy_pad(dst, src, ...) \
144 CONCATENATE(__strscpy_pad, COUNT_ARGS(__VA_ARGS__))(dst, src, __VA_ARGS__)
273 static inline void memcpy_flushcache(void *dst, const void *src, size_t cnt)
275 memcpy(dst, src, cnt);
375 #define unsafe_memcpy(dst, src, bytes, justification) \
376 memcpy(dst, src, bytes)