Lines Matching +full:max +full:- +full:len
2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
43 * @param len The number of bytes to copy.
47 size_t LOS_ArchCopyFromUser(void *dst, const void *src, size_t len);
57 * @param len The number of bytes to copy.
61 size_t LOS_ArchCopyToUser(void *dst, const void *src, size_t len);
70 * @param max The maxsimum number of bytes to copy.
72 * @param len The number of bytes to copy.
74 * @return zero on success; non-zero on failure.
76 INT32 LOS_CopyFromKernel(VOID *dest, UINT32 max, const VOID *src, UINT32 count);
85 * @param max The maxsimum number of bytes to copy.
87 * @param len The number of bytes to copy.
89 * @return zero on success; non-zero on failure.
91 INT32 LOS_CopyToKernel(VOID *dest, UINT32 max, const VOID *src, UINT32 count);
96 * This function will clear buf from buf to buf + len.
99 * @param len The number of bytes to clear.
101 * @return zero on success; non-zero on failure.
103 INT32 LOS_UserMemClear(unsigned char *buf, UINT32 len);