Searched refs:rw_length (Results 1 – 3 of 3) sorted by relevance
2171 if (p_i93->rw_length == 0) { in rw_i93_sm_read_ndef()2197 p_i93->rw_length += p_resp->len; in rw_i93_sm_read_ndef()2204 if (p_i93->rw_length >= p_i93->ndef_length) { in rw_i93_sm_read_ndef()2206 p_resp->len -= (p_i93->rw_length - p_i93->ndef_length); in rw_i93_sm_read_ndef()2307 if (xx > length || p_i93->rw_length > p_i93->ndef_length) { in rw_i93_sm_update_ndef()2312 if (p_i93->rw_length < p_i93->ndef_length) { in rw_i93_sm_update_ndef()2313 *(p + xx) = *(p_i93->p_update_data + p_i93->rw_length++); in rw_i93_sm_update_ndef()2342 if (p_i93->rw_length < p_i93->ndef_length) { in rw_i93_sm_update_ndef()2343 p = p_i93->p_update_data + p_i93->rw_length; in rw_i93_sm_update_ndef()2346 p_i93->rw_length += p_i93->block_size; in rw_i93_sm_update_ndef()[all …]
679 p_t4t->rw_length = length; in rw_t4t_read_file()761 "rw_offset:%d, rw_length:%d", p_t4t->rw_offset, p_t4t->rw_length); in rw_t4t_update_file()771 length = p_t4t->rw_length; in rw_t4t_update_file()797 p_t4t->rw_length -= length; in rw_t4t_update_file()1500 if ((p_r_apdu->len > 0) && (p_r_apdu->len <= p_t4t->rw_length)) { in rw_t4t_sm_read_ndef()1501 p_t4t->rw_length -= p_r_apdu->len; in rw_t4t_sm_read_ndef()1509 if (p_t4t->rw_length > 0) { in rw_t4t_sm_read_ndef()1512 if (!rw_t4t_read_file(p_t4t->rw_offset, p_t4t->rw_length, true)) { in rw_t4t_sm_read_ndef()1526 p_t4t->rw_length = 0; in rw_t4t_sm_read_ndef()1533 p_r_apdu->len, p_t4t->rw_length); in rw_t4t_sm_read_ndef()[all …]
574 uint16_t rw_length; /* remaining bytes to read/write */ member634 uint16_t rw_length; /* remaining bytes to read/write */ member735 uint16_t rw_length; /* bytes to read/write */ member