Home
last modified time | relevance | path

Searched refs:bufp (Results 1 – 5 of 5) sorted by relevance

/kernel/trace/
Dtrace_boot.c176 append_printf(char **bufp, char *end, const char *fmt, ...) in append_printf() argument
181 if (*bufp == end) in append_printf()
185 ret = vsnprintf(*bufp, end - *bufp, fmt, args); in append_printf()
186 if (ret < end - *bufp) { in append_printf()
187 *bufp += ret; in append_printf()
189 *bufp = end; in append_printf()
198 append_str_nospace(char **bufp, char *end, const char *str) in append_str_nospace() argument
200 char *p = *bufp; in append_str_nospace()
210 *bufp = end; in append_str_nospace()
213 len = p - *bufp; in append_str_nospace()
[all …]
/kernel/
Dauditfilter.c127 char *audit_unpack_string(void **bufp, size_t *remain, size_t len) in audit_unpack_string() argument
131 if (!*bufp || (len == 0) || (len > *remain)) in audit_unpack_string()
144 memcpy(str, *bufp, len); in audit_unpack_string()
146 *bufp += len; in audit_unpack_string()
454 void *bufp; in audit_data_to_entry() local
464 bufp = data->buf; in audit_data_to_entry()
524 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
543 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
556 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
576 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
[all …]
Daudit.c1438 void *bufp = data; in audit_receive_msg() local
1446 memcpy(sizes, bufp, 2 * sizeof(u32)); in audit_receive_msg()
1447 bufp += 2 * sizeof(u32); in audit_receive_msg()
1449 old = audit_unpack_string(&bufp, &msglen, sizes[0]); in audit_receive_msg()
1454 new = audit_unpack_string(&bufp, &msglen, sizes[1]); in audit_receive_msg()
Daudit.h340 extern char *audit_unpack_string(void **bufp, size_t *remain, size_t len);
/kernel/bpf/
Dcgroup.c2001 static ssize_t sysctl_cpy_dir(const struct ctl_dir *dir, char **bufp, in sysctl_cpy_dir() argument
2007 tmp_ret = sysctl_cpy_dir(dir->header.parent, bufp, lenp); in sysctl_cpy_dir()
2012 ret = strscpy(*bufp, dir->header.ctl_table[0].procname, *lenp); in sysctl_cpy_dir()
2015 *bufp += ret; in sysctl_cpy_dir()
2023 tmp_ret = strscpy(*bufp, "/", *lenp); in sysctl_cpy_dir()
2026 *bufp += tmp_ret; in sysctl_cpy_dir()