Home
last modified time | relevance | path

Searched refs:num_locks (Results 1 – 3 of 3) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
Drw_t2t_ndef.c340 UINT8 num_locks; in rw_t2t_handle_lock_read_rsp() local
349 num_locks = 0; in rw_t2t_handle_lock_read_rsp()
355 while (num_locks < p_t2t->num_lockbytes) in rw_t2t_handle_lock_read_rsp()
357 if (p_t2t->lockbyte[num_locks].b_lock_read == FALSE) in rw_t2t_handle_lock_read_rsp()
359 …lock_offset = p_t2t->lock_tlv[p_t2t->lockbyte[num_locks].tlv_index].offset + p_t2t->lockbyte[num_l… in rw_t2t_handle_lock_read_rsp()
367 p_t2t->lockbyte[num_locks].lock_byte = p_data[offset]; in rw_t2t_handle_lock_read_rsp()
368 p_t2t->lockbyte[num_locks].b_lock_read = TRUE; in rw_t2t_handle_lock_read_rsp()
377 … p_t2t->lockbyte[num_locks].lock_byte = p_data[lock_offset - base_lock_offset + offset]; in rw_t2t_handle_lock_read_rsp()
378 p_t2t->lockbyte[num_locks].b_lock_read = TRUE; in rw_t2t_handle_lock_read_rsp()
407 num_locks++; in rw_t2t_handle_lock_read_rsp()
[all …]
Drw_t1t_ndef.c184 UINT8 num_locks; in rw_t1t_extract_lock_bytes() local
190 num_locks = 0; in rw_t1t_extract_lock_bytes()
211 while (num_locks < p_t1t->num_lockbytes) in rw_t1t_extract_lock_bytes()
213 if (p_t1t->lockbyte[num_locks].b_lock_read == FALSE) in rw_t1t_extract_lock_bytes()
216 …offset = p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + p_t1t->lockbyte[num_locks]… in rw_t1t_extract_lock_bytes()
235 p_t1t->lockbyte[num_locks].lock_byte = p_data[lock_offset]; in rw_t1t_extract_lock_bytes()
236 p_t1t->lockbyte[num_locks].b_lock_read = TRUE; in rw_t1t_extract_lock_bytes()
241 num_locks++; in rw_t1t_extract_lock_bytes()
304 UINT8 num_locks = 0; in rw_t1t_read_locks() local
309 while (num_locks < p_t1t->num_lockbytes) in rw_t1t_read_locks()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dtdb.c242 unsigned int num_locks; /* number of chain locks held */ member
463 tdb->num_locks++; in _tdb_lock()
553 tdb->num_locks--; in tdb_unlock()
637 if (tdb->num_locks != 0) { in _tdb_lockall()
1598 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_transaction_start()
1718 if (tdb->num_locks != 0) { in tdb_transaction_cancel()
1724 tdb->num_locks = 0; in tdb_transaction_cancel()
2012 if (tdb->num_locks || tdb->global_lock.count) { in tdb_transaction_commit()
4069 if (tdb->num_locks != 0 || tdb->global_lock.count) { in tdb_reopen()