Lines Matching refs:cnt
15 fcb_new_sector(struct fcb *fcb, int cnt) in fcb_new_sector() argument
32 } while (i++ < cnt); in fcb_new_sector()
64 int cnt; in fcb_append() local
71 cnt = fcb_put_len(fcb, tmp_str, len); in fcb_append()
72 if (cnt < 0) { in fcb_append()
73 return cnt; in fcb_append()
75 cnt = fcb_len_in_flash(fcb, cnt); in fcb_append()
78 __ASSERT_NO_MSG(cnt <= sizeof(tmp_str)); in fcb_append()
85 if (active->fe_elem_off + len + cnt > active->fe_sector->fs_size) { in fcb_append()
88 fcb_len_in_flash(fcb, sizeof(struct fcb_disk_area)) + len + cnt)) { in fcb_append()
101 rc = fcb_flash_write(fcb, active->fe_sector, active->fe_elem_off, tmp_str, cnt); in fcb_append()
108 append_loc->fe_data_off = active->fe_elem_off + cnt; in fcb_append()