Home
last modified time | relevance | path

Searched refs:tolen (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/fs/udf/
H A Dsymlink.c33 int fromlen, unsigned char *to, int tolen) in udf_pc_to_char()
41 tolen--; in udf_pc_to_char()
57 if (tolen == 0) in udf_pc_to_char()
61 tolen--; in udf_pc_to_char()
64 if (tolen < 3) in udf_pc_to_char()
68 tolen -= 3; in udf_pc_to_char()
71 if (tolen < 2) in udf_pc_to_char()
75 tolen -= 2; in udf_pc_to_char()
84 p, tolen); in udf_pc_to_char()
89 tolen in udf_pc_to_char()
32 udf_pc_to_char(struct super_block *sb, unsigned char *from, int fromlen, unsigned char *to, int tolen) udf_pc_to_char() argument
[all...]
/kernel/linux/linux-6.6/fs/udf/
H A Dsymlink.c29 int fromlen, unsigned char *to, int tolen) in udf_pc_to_char()
37 tolen--; in udf_pc_to_char()
53 if (tolen == 0) in udf_pc_to_char()
57 tolen--; in udf_pc_to_char()
60 if (tolen < 3) in udf_pc_to_char()
64 tolen -= 3; in udf_pc_to_char()
67 if (tolen < 2) in udf_pc_to_char()
71 tolen -= 2; in udf_pc_to_char()
80 p, tolen); in udf_pc_to_char()
85 tolen in udf_pc_to_char()
28 udf_pc_to_char(struct super_block *sb, unsigned char *from, int fromlen, unsigned char *to, int tolen) udf_pc_to_char() argument
[all...]
/kernel/liteos_a/compat/posix/src/
H A Dsocket.c141 const struct sockaddr *to, socklen_t tolen) in sendto()
144 if (to && tolen < sizeof(*to)) { in sendto()
148 return lwip_sendto(s, dataptr, size, flags, to, tolen); in sendto()
140 sendto(int s, const void *dataptr, size_t size, int flags, const struct sockaddr *to, socklen_t tolen) sendto() argument
/kernel/linux/linux-5.10/fs/cifs/
H A Dcifs_unicode.c160 * @tolen - destination buffer size (in bytes)
166 * in the provided codepage. The tolen and fromlen parameters are to ensure
179 cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, in cifs_from_utf16() argument
195 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in cifs_from_utf16()
216 if ((outlen + charlen) > (tolen - nullsize)) in cifs_from_utf16()
H A Dcifs_unicode.h93 int cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen,
/kernel/linux/linux-6.6/fs/smb/client/
H A Dcifs_unicode.c158 * @tolen - destination buffer size (in bytes)
164 * in the provided codepage. The tolen and fromlen parameters are to ensure
177 cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, in cifs_from_utf16() argument
193 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in cifs_from_utf16()
214 if ((outlen + charlen) > (tolen - nullsize)) in cifs_from_utf16()
H A Dcifs_unicode.h58 int cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen,
/kernel/linux/linux-6.6/fs/smb/server/
H A Dunicode.c140 * @tolen: destination buffer size (in bytes)
146 * in the provided codepage. The tolen and fromlen parameters are to ensure
160 static int smb_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, in smb_from_utf16() argument
176 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in smb_from_utf16()
195 if ((outlen + charlen) > (tolen - nullsize)) in smb_from_utf16()
/kernel/liteos_a/syscall/
H A Dnet_syscall.c246 const struct sockaddr *to, socklen_t tolen) in SysSendTo()
252 CHECK_ASPACE(to, tolen); in SysSendTo()
255 DUP_FROM_USER(to, tolen, FREE_DUP(dataptr)); in SysSendTo()
261 ret = sendto(s, dataptr, size, flags, to, tolen); in SysSendTo()
245 SysSendTo(int s, const void *dataptr, size_t size, int flags, const struct sockaddr *to, socklen_t tolen) SysSendTo() argument
H A Dlos_syscall.h157 const struct sockaddr *to, socklen_t tolen);
/kernel/liteos_a/net/lwip-2.1/porting/src/
H A Dsockets.c88 const struct sockaddr *to, socklen_t tolen);
89 ssize_t lwip_sendto(int s, const void *dataptr, size_t size, int flags, const struct sockaddr *to, socklen_t tolen) in lwip_sendto() argument
91 return lwip_sendto_wrap(s, dataptr, size, flags, to, tolen); in lwip_sendto()
116 ssize_t lwip_sendto2(int s, const void *dataptr, size_t size, int flags, const struct sockaddr *to, socklen_t tolen);
233 const struct sockaddr *to, socklen_t tolen) in lwip_sendto_wrap()
237 ((to->sa_family == AF_INET && tolen >= sizeof(struct sockaddr_in)) || in lwip_sendto_wrap()
238 (to->sa_family == AF_INET6 && tolen >= sizeof(struct sockaddr_in6)))) { in lwip_sendto_wrap()
252 return lwip_sendto2(s, dataptr, size, flags, to, tolen); in lwip_sendto_wrap()
232 lwip_sendto_wrap(int s, const void *dataptr, size_t size, int flags, const struct sockaddr *to, socklen_t tolen) lwip_sendto_wrap() argument
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
H A Dsockets_porting.c142 const struct sockaddr *to, socklen_t tolen) in sendto()
145 if (to && tolen < sizeof(*to)) { in sendto()
149 return lwip_sendto(s, dataptr, size, flags, to, tolen); in sendto()
141 sendto(int s, const void *dataptr, size_t size, int flags, const struct sockaddr *to, socklen_t tolen) sendto() argument
/kernel/uniproton/src/net/lwip-2.1/src/
H A Dsockets.c138 const struct sockaddr *to, socklen_t tolen) in sendto()
141 if (to && tolen < sizeof(*to)) { in sendto()
145 return lwip_sendto(s, dataptr, size, flags, to, tolen); in sendto()
137 sendto(int s, const void *dataptr, size_t size, int flags, const struct sockaddr *to, socklen_t tolen) sendto() argument
/kernel/linux/linux-5.10/include/linux/
H A Dnfs_xdr.h828 unsigned int tolen; member
931 unsigned int tolen; member
/kernel/linux/linux-6.6/include/linux/
H A Dnfs_xdr.h852 unsigned int tolen; member
955 unsigned int tolen; member
/kernel/linux/linux-5.10/fs/nfs/
H A Dnfs2xdr.c738 encode_diropargs(xdr, args->tofh, args->toname, args->tolen); in nfs2_xdr_enc_linkargs()
H A Dproc.c382 .tolen = name->len in nfs_proc_link()
H A Dnfs3proc.c495 .tolen = name->len in nfs3_proc_link()
H A Dnfs3xdr.c1210 encode_diropargs3(xdr, args->tofh, args->toname, args->tolen); in nfs3_xdr_enc_link3args()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs2xdr.c739 encode_diropargs(xdr, args->tofh, args->toname, args->tolen); in nfs2_xdr_enc_linkargs()
H A Dproc.c382 .tolen = name->len in nfs_proc_link()
H A Dnfs3proc.c519 .tolen = name->len in nfs3_proc_link()
H A Dnfs3xdr.c1213 encode_diropargs3(xdr, args->tofh, args->toname, args->tolen); in nfs3_xdr_enc_link3args()

Completed in 33 milliseconds