Lines Matching refs:fcb
12 struct fcb *fcb; in ZTEST() local
19 fcb = &test_fcb; in ZTEST()
22 rc = fcb_walk(fcb, 0, fcb_test_data_walk_cb, &var_cnt); in ZTEST()
27 rc = fcb_append(fcb, 32, &loc); in ZTEST()
34 rc = fcb_walk(fcb, 0, fcb_test_data_walk_cb, &var_cnt); in ZTEST()
42 rc = flash_area_write(fcb->fap, FCB_ENTRY_FA_DATA_OFF(loc), test_data, in ZTEST()
46 rc = fcb_append_finish(fcb, &loc); in ZTEST()
53 rc = fcb_walk(fcb, 0, fcb_test_data_walk_cb, &var_cnt); in ZTEST()
61 (void)memset(fcb, 0, sizeof(*fcb)); in ZTEST()
62 fcb->f_sector_cnt = 2U; in ZTEST()
63 fcb->f_sectors = test_fcb_sector; in ZTEST()
65 rc = fcb_init(TEST_FCB_FLASH_AREA_ID, fcb); in ZTEST()
69 rc = fcb_walk(fcb, 0, fcb_test_data_walk_cb, &var_cnt); in ZTEST()
74 rc = fcb_append(fcb, 33, &loc); in ZTEST()
80 rc = flash_area_write(fcb->fap, FCB_ENTRY_FA_DATA_OFF(loc), test_data, in ZTEST()
84 rc = fcb_append_finish(fcb, &loc); in ZTEST()
88 rc = fcb_walk(fcb, 0, fcb_test_data_walk_cb, &var_cnt); in ZTEST()
96 rc = fcb_append(fcb, 34, &loc); in ZTEST()
99 (void)memset(fcb, 0, sizeof(*fcb)); in ZTEST()
100 fcb->f_sector_cnt = 2U; in ZTEST()
101 fcb->f_sectors = test_fcb_sector; in ZTEST()
103 rc = fcb_init(TEST_FCB_FLASH_AREA_ID, fcb); in ZTEST()
110 rc = fcb_walk(fcb, 0, fcb_test_data_walk_cb, &var_cnt); in ZTEST()
116 rc = fcb_append(fcb, 34, &loc); in ZTEST()
122 rc = flash_area_write(fcb->fap, FCB_ENTRY_FA_DATA_OFF(loc), test_data, in ZTEST()
126 rc = fcb_append_finish(fcb, &loc); in ZTEST()
133 rc = fcb_walk(fcb, 0, fcb_test_data_walk_cb, &var_cnt); in ZTEST()