|
Motr
M0
|
#include <openssl/md5.h>#include "ut/ut.h"#include "motr/client.h"#include "motr/client_internal.h"#include "motr/ut/client.h"#include "lib/cksum.h"#include "lib/trace.h"
Go to the source code of this file.
Macros | |
| #define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CLIENT |
| #define | DATA_UNIT_COUNT 10 |
| #define | OBJ_CONTAINER 0x123 |
| #define | OBJ_KEY 0x456 |
Enumerations | |
| enum | { BUFFER_SIZE = 4096, SEGS_NR = 16, BIG_BUFFER_SIZE = 4096*16, BIG_SEGS_NR = 10 } |
Functions | |
| M0_INTERNAL int | pi_init (void) |
| M0_INTERNAL int | pi_fini (void) |
| void | verify_case_one_two (void) |
| static void | ut_test_pi_api_case_one_two (void) |
| static void | ut_test_pi_api_case_third (void) |
Variables | |
| struct m0_ut_suite | ut_suite_pi |
| struct m0_bufvec * | user_data |
| unsigned char * | curr_context [DATA_UNIT_COUNT] |
| unsigned char * | seeded_sum [DATA_UNIT_COUNT] |
| unsigned char * | final_sum |
| struct m0_bufvec * | big_user_data |
| unsigned char * | big_curr_context |
| unsigned char * | big_final_sum |
| #define DATA_UNIT_COUNT 10 |
Definition at line 45 of file protection_info_checks.c.
| #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CLIENT |
Definition at line 32 of file protection_info_checks.c.
| #define OBJ_CONTAINER 0x123 |
Definition at line 46 of file protection_info_checks.c.
| #define OBJ_KEY 0x456 |
Definition at line 47 of file protection_info_checks.c.
| anonymous enum |
| Enumerator | |
|---|---|
| BUFFER_SIZE | |
| SEGS_NR | |
| BIG_BUFFER_SIZE | |
| BIG_SEGS_NR | |
Definition at line 37 of file protection_info_checks.c.
| M0_INTERNAL int pi_fini | ( | void | ) |
| M0_INTERNAL int pi_init | ( | void | ) |
|
static |
|
static |
| void verify_case_one_two | ( | void | ) |
Definition at line 122 of file protection_info_checks.c.


| unsigned char* big_curr_context |
Definition at line 55 of file protection_info_checks.c.
| unsigned char* big_final_sum |
Definition at line 56 of file protection_info_checks.c.
| struct m0_bufvec* big_user_data |
Definition at line 54 of file protection_info_checks.c.
| unsigned char* curr_context[DATA_UNIT_COUNT] |
Definition at line 50 of file protection_info_checks.c.
| unsigned char* final_sum |
Definition at line 52 of file protection_info_checks.c.
| unsigned char* seeded_sum[DATA_UNIT_COUNT] |
Definition at line 51 of file protection_info_checks.c.
| struct m0_bufvec* user_data |
Definition at line 49 of file protection_info_checks.c.
| struct m0_ut_suite ut_suite_pi |
Definition at line 35 of file protection_info_checks.c.