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

/linux-master/include/linux/
H A Dstring_helpers.h77 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz,
83 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, only);
89 return string_escape_mem(src, strlen(src), dst, sz, flags, only);
/linux-master/lib/
H A Dstring_helpers.c495 * string_escape_mem - quote characters in the given memory buffer
571 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz, function
639 EXPORT_SYMBOL(string_escape_mem); variable
656 dlen = string_escape_mem(src, slen, NULL, 0, flags, esc);
661 WARN_ON(string_escape_mem(src, slen, dst, dlen, flags, esc) != dlen);
H A Dstring_helpers_kunit.c401 q_real = string_escape_mem(in, p, NULL, 0, flags, esc);
452 q_real = string_escape_mem(in, p, out_real, out_size, flags, esc);
H A Dvsprintf.c1665 * string_escape_mem() writes as many characters as it can to
1669 buf += string_escape_mem(addr, len, buf, buf < end ? end - buf : 0, flags, NULL);
2327 * of the following flags (see string_escape_mem() for the
/linux-master/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);

Completed in 158 milliseconds