Home
last modified time | relevance | path

Searched refs:string_escape_mem (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/include/linux/
Dstring_helpers.h67 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz,
73 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, only); in string_escape_mem_any_np()
79 return string_escape_mem(src, strlen(src), dst, sz, flags, only); in string_escape_str()
/linux-6.1.9/lib/
Dstring_helpers.c564 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);
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()
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()
Dvsprintf.c1671 buf += string_escape_mem(addr, len, buf, buf < end ? end - buf : 0, flags, NULL); in escaped_string()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dprintk-formats.rst245 转换规则是根据可选的标志组合来应用的(详见:c:func:`string_escape_mem` 内核文档):
/linux-6.1.9/fs/
Dseq_file.c381 ret = string_escape_mem(src, len, buf, size, flags, esc); in seq_escape_mem()
/linux-6.1.9/Documentation/core-api/
Dprintk-formats.rst264 of flags (see :c:func:`string_escape_mem` kernel documentation for the