Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
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()
/Linux-v6.6/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.c1668 buf += string_escape_mem(addr, len, buf, buf < end ? end - buf : 0, flags, NULL); in escaped_string()
/Linux-v6.6/Documentation/translations/zh_CN/core-api/
Dprintk-formats.rst245 转换规则是根据可选的标志组合来应用的(详见:c:func:`string_escape_mem` 内核文档):
/Linux-v6.6/fs/
Dseq_file.c381 ret = string_escape_mem(src, len, buf, size, flags, esc); in seq_escape_mem()
/Linux-v6.6/Documentation/core-api/
Dprintk-formats.rst265 of flags (see :c:func:`string_escape_mem` kernel documentation for the