Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/arm64/mte/
Dmte_common_util.c22 #define INIT_BUFFER_SIZE 256 macro
183 char buffer[INIT_BUFFER_SIZE]; in mte_allocate_file_memory()
191 for (index = INIT_BUFFER_SIZE; index < size; index += INIT_BUFFER_SIZE) { in mte_allocate_file_memory()
192 if (write(fd, buffer, INIT_BUFFER_SIZE) != INIT_BUFFER_SIZE) { in mte_allocate_file_memory()
197 index -= INIT_BUFFER_SIZE; in mte_allocate_file_memory()
209 char buffer[INIT_BUFFER_SIZE]; in mte_allocate_file_memory_tag_range()
218 for (index = INIT_BUFFER_SIZE; index < map_size; index += INIT_BUFFER_SIZE) in mte_allocate_file_memory_tag_range()
219 if (write(fd, buffer, INIT_BUFFER_SIZE) != INIT_BUFFER_SIZE) { in mte_allocate_file_memory_tag_range()
223 index -= INIT_BUFFER_SIZE; in mte_allocate_file_memory_tag_range()
/linux-6.6.21/drivers/misc/ibmasm/
Ddot_command.c48 #define INIT_BUFFER_SIZE 32 macro
62 command = ibmasm_new_command(sp, INIT_BUFFER_SIZE); in ibmasm_send_driver_vpd()