Searched refs:tdb_lock (Results 1 – 2 of 2) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 264 static int tdb_lock(struct tdb_context *tdb, int list, int ltype); 483 int tdb_lock(struct tdb_context *tdb, int list, int ltype) in tdb_lock() function 755 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); in tdb_chainlock() 769 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); in tdb_chainlock_mark() 785 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); in tdb_chainlock_read() 1068 if (tdb_lock(tdb, -1, F_WRLCK) == -1) { in tdb_expand() 2344 if (tdb_lock(tdb, -1, F_WRLCK) != 0) in tdb_free() 2510 if (tdb_lock(tdb, -1, F_WRLCK) == -1) in tdb_allocate() 2611 if (tdb_lock(tdb, -1, F_WRLCK) == -1) { in tdb_validate_freelist() 2704 if (tdb_lock(tdb, tlock->hash, tlock->lock_rw) == -1) in tdb_next_lock() [all …]
|
/external/e2fsprogs/lib/ext2fs/tdb/patches/ |
D | static-prototypes | 11 -int tdb_lock(struct tdb_context *tdb, int list, int ltype); 35 +static int tdb_lock(struct tdb_context *tdb, int list, int ltype);
|