Home
last modified time | relevance | path

Searched refs:buffer_size_bytes (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/common/
Dbyte_buffer.h20 static inline struct byte_buffer *byte_buffer_create(size_t buffer_size_bytes) in byte_buffer_create() argument
24 calloc(1, sizeof(struct byte_buffer) + buffer_size_bytes); in byte_buffer_create()
27 buf->max_size = buffer_size_bytes; in byte_buffer_create()
28 buf->used_size = buffer_size_bytes; in byte_buffer_create()
/external/linux-kselftest/tools/testing/selftests/x86/
Dmpx-dig.c364 long buffer_size_bytes, void *buffer) in fill_bounds_dir_buf_other() argument
373 read_ret = read(proc_pid_mem_fd, buffer, buffer_size_bytes); in fill_bounds_dir_buf_other()
375 if (read_ret != buffer_size_bytes) in fill_bounds_dir_buf_other()
381 long buffer_size_bytes, void *buffer) in fill_bounds_dir_buf_self() argument
384 unsigned char vec[buffer_size_bytes / PAGE_SIZE]; in fill_bounds_dir_buf_self()
398 incore_ret = mincore(dig_bounds_dir_ptr, buffer_size_bytes, &vec[0]); in fill_bounds_dir_buf_self()