Home
last modified time | relevance | path

Searched refs:buflen (Results 1 – 8 of 8) sorted by relevance

/system/extras/ioshark/
Dioshark_bench_mmap.c107 char **bufp, int *buflen, u_int64_t *op_counts, in mmap_do_io() argument
115 p = get_buf(bufp, buflen, len, 0); in mmap_do_io()
131 p = get_buf(bufp, buflen, len, 1); in mmap_do_io()
146 p = get_buf(bufp, buflen, len, 0); in mmap_do_io()
167 char **bufp, int *buflen, u_int64_t *op_counts, in ioshark_handle_mmap() argument
189 bufp, buflen, op_counts, in ioshark_handle_mmap()
198 mmap_do_io(db_node, prot, offset, len, bufp, buflen, in ioshark_handle_mmap()
Dioshark_bench.c217 char **bufp, int *buflen) in do_one_io() argument
241 p = get_buf(bufp, buflen, file_op->prw_len, 0); in do_one_io()
256 p = get_buf(bufp, buflen, file_op->prw_len, 1); in do_one_io()
271 p = get_buf(bufp, buflen, file_op->rw_len, 0); in do_one_io()
286 p = get_buf(bufp, buflen, file_op->rw_len, 1); in do_one_io()
303 bufp, buflen, op_counts, in do_one_io()
403 int buflen = 0; in do_io() local
477 op_counts, &rw_bytes, &buf, &buflen); in do_io()
Dioshark_bench.h140 char *get_buf(char **buf, int *buflen, int len, int do_fill);
146 char **bufp, int *buflen, u_int64_t *op_counts,
Dioshark_bench_subr.c239 get_buf(char **buf, int *buflen, int len, int do_fill __attribute__((unused))) in get_buf() argument
249 if (*buflen < len) { in get_buf()
250 *buflen = MAX(MINBUFLEN, len * 2); in get_buf()
253 *buf = malloc(*buflen); in get_buf()
259 count = *buflen / sizeof(u_int32_t); in get_buf()
275 int buflen = 0; in create_file() local
284 buf = get_buf(&buf, &buflen, n, 1); in create_file()
/system/core/libkeyutils/
Dkeyutils.cpp67 long keyctl_get_security(key_serial_t id, char* buffer, size_t buflen) { in keyctl_get_security() argument
68 return syscall(__NR_keyctl, KEYCTL_GET_SECURITY, id, buffer, buflen); in keyctl_get_security()
/system/core/libkeyutils/include/
Dkeyutils.h56 long keyctl_get_security(key_serial_t key, char* buffer, size_t buflen);
/system/logging/logcat/tests/
Dlogcat_test.cpp218 static char* fgetLongTime(char* buffer, size_t buflen, FILE* fp) { in fgetLongTime() argument
219 while (fgets(buffer, buflen, fp)) { in fgetLongTime()
/system/netd/tests/
Dbinder_test.cpp859 int netmaskToPrefixLength(const uint8_t *buf, size_t buflen) { in netmaskToPrefixLength() argument
864 for (unsigned int i = 0; i < buflen; i++) { in netmaskToPrefixLength()