int f3s_v2islock (f3s_dbase_t *dbase,
f3s_access_t *access,
uint32_t flags,
uint32_t text_offset);
This function determines whether the block containing the address text_offset can be written to (we term it as success) or not.
On success, it should return EOK. If the block cannot be written to, it should return EROFS. Otherwise, an error has occurred and it should return one of the following: