Lines Matching defs:mode

28 static int check_buffer_by_byte(int mem_type, int mode)
34 mte_switch_mode(mode, MTE_ALLOW_NON_ZERO_TAG);
41 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[i]);
63 static int check_buffer_underflow_by_byte(int mem_type, int mode,
71 mte_switch_mode(mode, MTE_ALLOW_NON_ZERO_TAG);
80 mte_initialize_current_context(mode, (uintptr_t)ptr, -underflow_range);
102 switch (mode) {
158 static int check_buffer_overflow_by_byte(int mem_type, int mode,
167 mte_switch_mode(mode, MTE_ALLOW_NON_ZERO_TAG);
178 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[i] + overflow_range);
202 switch (mode) {
261 static int check_buffer_by_block_iterate(int mem_type, int mode, size_t size)
309 mte_initialize_current_context(mode, (uintptr_t)dst, size);
336 static int check_buffer_by_block(int mem_type, int mode)
340 mte_switch_mode(mode, MTE_ALLOW_NON_ZERO_TAG);
344 result = check_buffer_by_block_iterate(mem_type, mode, sizes[i]);
365 static int check_memory_initial_tags(int mem_type, int mode, int mapping)
371 mte_switch_mode(mode, MTE_ALLOW_NON_ZERO_TAG);
425 "Check buffer correctness by byte with sync err mode and mmap memory\n");
427 "Check buffer correctness by byte with async err mode and mmap memory\n");
429 "Check buffer correctness by byte with sync err mode and mmap/mprotect memory\n");
431 "Check buffer correctness by byte with async err mode and mmap/mprotect memory\n");
435 "Check buffer write underflow by byte with sync mode and mmap memory\n");
437 "Check buffer write underflow by byte with async mode and mmap memory\n");
443 "Check buffer write underflow by byte with sync mode and mmap memory\n");
445 "Check buffer write underflow by byte with async mode and mmap memory\n");
451 "Check buffer write overflow by byte with sync mode and mmap memory\n");
453 "Check buffer write overflow by byte with async mode and mmap memory\n");
455 "Check buffer write overflow by byte with tag fault ignore mode and mmap memory\n");
459 "Check buffer write correctness by block with sync mode and mmap memory\n");
461 "Check buffer write correctness by block with async mode and mmap memory\n");
467 "Check initial tags with private mapping, sync error mode and mmap memory\n");
469 "Check initial tags with private mapping, sync error mode and mmap/mprotect memory\n");
471 "Check initial tags with shared mapping, sync error mode and mmap memory\n");
473 "Check initial tags with shared mapping, sync error mode and mmap/mprotect memory\n");