Lines Matching refs:fsm
91 IWFS_FSM fsm; in test_stress() local
104 iwrc rc = iwfs_fsmfile_open(&fsm, &opts); in test_stress()
123 rc = fsm.deallocate(&fsm, pr->alc_addr, pr->alc_len); in test_stress()
132 rc = fsm.reallocate(&fsm, nlen, &pr->alc_addr, &pr->alc_len, IWFSM_SOLID_ALLOCATED_SPACE); in test_stress()
135 rc = fsm.read(&fsm, pr->alc_addr, buf, pr->rsz, &sp); in test_stress()
141 rc = fsm.write(&fsm, pr->alc_addr + pr->alc_len - wsz, buf, wc, &sp); in test_stress()
158 rc = fsm.allocate(&fsm, r->rsz, &r->alc_addr, &r->alc_len, aflags); in test_stress()
162 rc = fsm.write(&fsm, r->alc_addr, buf, r->rsz, &sp); in test_stress()
170 rc = fsm.write(&fsm, r->alc_addr + r->alc_len - wsz, buf, wc, &sp); in test_stress()
177 CU_ASSERT_FALSE_FATAL(fsm.close(&fsm)); in test_stress()
181 rc = iwfs_fsmfile_open(&fsm, &opts); in test_stress()
203 rc = fsm.read(&fsm, r->alc_addr, buf2, rn, &sp); in test_stress()
212 rc = fsm.read(&fsm, r->alc_addr + rn, buf2, rz, &sp); in test_stress()
222 CU_ASSERT_FALSE_FATAL(fsm.close(&fsm)); in test_stress()