/kernel/linux/linux-5.10/include/linux/ |
H A D | string_helpers.h | 55 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 D | string_helpers.h | 73 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 D | string_helpers.c | 440 * 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 D | test-string_helpers.c | 291 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 D | vsprintf.c | 1673 * 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 D | string_helpers.c | 488 * 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 D | test-string_helpers.c | 411 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 D | vsprintf.c | 1664 * 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 D | seq_file.c | 366 * @flags: flags to pass to string_escape_mem() 381 ret = string_escape_mem(src, len, buf, size, flags, esc); in seq_escape_mem()
|