Home
last modified time | relevance | path

Searched refs:string_escape_mem (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
H A Dstring_helpers.h55 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz,
64 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, only); in string_escape_mem_any_np()
70 return string_escape_mem(src, strlen(src), dst, sz, flags, only); in string_escape_str()
/kernel/linux/linux-6.6/include/linux/
H A Dstring_helpers.h73 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz,
79 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, only); in string_escape_mem_any_np()
85 return string_escape_mem(src, strlen(src), dst, sz, flags, only); in string_escape_str()
/kernel/linux/linux-5.10/lib/
H A Dstring_helpers.c440 * string_escape_mem - quote characters in the given memory buffer
497 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz, in string_escape_mem() function
544 EXPORT_SYMBOL(string_escape_mem); variable
580 dlen = string_escape_mem(src, slen, NULL, 0, flags, esc); in kstrdup_quotable()
585 WARN_ON(string_escape_mem(src, slen, dst, dlen, flags, esc) != dlen); in kstrdup_quotable()
H A Dtest-string_helpers.c291 q_real = string_escape_mem(in, p, NULL, 0, flags, esc); in test_string_escape_overflow()
338 q_real = string_escape_mem(in, p, out_real, out_size, flags, esc); in test_string_escape()
H A Dvsprintf.c1673 * string_escape_mem() writes as many characters as it can to in escaped_string()
1677 buf += string_escape_mem(addr, len, buf, buf < end ? end - buf : 0, flags, NULL); in escaped_string()
2170 * of the following flags (see string_escape_mem() for the
/kernel/linux/linux-6.6/lib/
H A Dstring_helpers.c488 * string_escape_mem - quote characters in the given memory buffer
564 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz, in string_escape_mem() function
632 EXPORT_SYMBOL(string_escape_mem); variable
649 dlen = string_escape_mem(src, slen, NULL, 0, flags, esc); in kstrdup_quotable()
654 WARN_ON(string_escape_mem(src, slen, dst, dlen, flags, esc) != dlen); in kstrdup_quotable()
H A Dtest-string_helpers.c411 q_real = string_escape_mem(in, p, NULL, 0, flags, esc); in test_string_escape_overflow()
463 q_real = string_escape_mem(in, p, out_real, out_size, flags, esc); in test_string_escape()
H A Dvsprintf.c1664 * string_escape_mem() writes as many characters as it can to in escaped_string()
1668 buf += string_escape_mem(addr, len, buf, buf < end ? end - buf : 0, flags, NULL); in escaped_string()
2326 * of the following flags (see string_escape_mem() for the
/kernel/linux/linux-6.6/fs/
H A Dseq_file.c366 * @flags: flags to pass to string_escape_mem()
381 ret = string_escape_mem(src, len, buf, size, flags, esc); in seq_escape_mem()

Completed in 15 milliseconds