Searched refs:rw_type (Results 1 – 5 of 5) sorted by relevance
/external/ppp/pppd/ |
D | spinlock.h | 37 int tdb_spinlock(TDB_CONTEXT *tdb, int list, int rw_type); 38 int tdb_spinunlock(TDB_CONTEXT *tdb, int list, int rw_type); 47 #define tdb_spinlock(tdb, list, rw_type) (-1) 48 #define tdb_spinunlock(tdb, list, rw_type) (-1) 50 int tdb_spinlock(TDB_CONTEXT *tdb, int list, int rw_type); 51 int tdb_spinunlock(TDB_CONTEXT *tdb, int list, int rw_type);
|
D | spinlock.c | 367 int tdb_spinlock(TDB_CONTEXT *tdb, int list, int rw_type) in tdb_spinlock() argument 374 switch(rw_type) { in tdb_spinlock() 390 int tdb_spinunlock(TDB_CONTEXT *tdb, int list, int rw_type) in tdb_spinunlock() argument 397 switch(rw_type) { in tdb_spinunlock() 456 int tdb_spinlock(TDB_CONTEXT *tdb, int list, int rw_type) { return -1; } in tdb_spinlock() argument 457 int tdb_spinunlock(TDB_CONTEXT *tdb, int list, int rw_type) { return -1; } in tdb_spinunlock() argument
|
D | tdb.c | 202 int rw_type, int lck_type, int probe) in tdb_brlock() argument 209 if ((rw_type == F_WRLCK) && (tdb->read_only)) { in tdb_brlock() 214 fl.l_type = rw_type; in tdb_brlock() 234 tdb->fd, offset, rw_type, lck_type)); in tdb_brlock() 239 tdb->fd, offset, rw_type, lck_type)); in tdb_brlock() 247 tdb->fd, offset, rw_type, lck_type, in tdb_brlock()
|
/external/e2fsprogs/lib/ext2fs/tdb/patches/ |
D | static-prototypes | 13 -int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, si… 37 +static int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int pr…
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 260 static int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int pro… 335 int rw_type, int lck_type, int probe, size_t len) in tdb_brlock() argument 344 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { in tdb_brlock() 349 fl.l_type = rw_type; in tdb_brlock() 367 tdb->fd, offset, rw_type, lck_type, (int)len)); in tdb_brlock() 1564 int rw_type, int lck_type, int probe, size_t len) in transaction_brlock() argument
|