/asus-wl-520gu-7.0.1.45/src/router/samba/source/tdb/ |
H A 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);
|
H A D | spinlock.c | 369 int tdb_spinlock(TDB_CONTEXT *tdb, int list, int rw_type) argument 376 switch(rw_type) { 392 int tdb_spinunlock(TDB_CONTEXT *tdb, int list, int rw_type) argument 399 switch(rw_type) { 458 int tdb_spinlock(TDB_CONTEXT *tdb, int list, int rw_type) { return -1; } argument 459 int tdb_spinunlock(TDB_CONTEXT *tdb, int list, int rw_type) { return -1; } argument
|
H A D | tdb.c | 205 int rw_type, int lck_type, int probe) 212 if ((rw_type == F_WRLCK) && (tdb->read_only)) { 217 fl.l_type = rw_type; 236 TDB_LOG((tdb, 5,"tdb_brlock failed (fd=%d) at offset %d rw_type=%d lck_type=%d\n", 237 tdb->fd, offset, rw_type, lck_type)); 241 TDB_LOG((tdb, 5, "tdb_brlock timed out (fd=%d) at offset %d rw_type=%d lck_type=%d\n", 242 tdb->fd, offset, rw_type, lck_type)); 247 TDB_LOG((tdb, 5, "tdb_brlock failed (fd=%d) at offset %d rw_type=%d lck_type=%d: %s\n", 248 tdb->fd, offset, rw_type, lck_type, strerror(errno))); 204 tdb_brlock(TDB_CONTEXT *tdb, tdb_off offset, int rw_type, int lck_type, int probe) argument
|
H A D | tdbutil.c | 54 static int tdb_chainlock_with_timeout_internal( TDB_CONTEXT *tdb, TDB_DATA key, unsigned int timeout, int rw_type) argument 66 if (rw_type == F_RDLCK)
|
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/ |
H A D | tdb.c | 82 int set, int rw_type, int lck_type) 93 fl.l_type = set==LOCK_SET?rw_type:F_UNLCK; 81 tdb_brlock(TDB_CONTEXT *tdb, tdb_off offset, int set, int rw_type, int lck_type) argument
|
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/ |
H A D | tdb.c | 82 int set, int rw_type, int lck_type) 93 fl.l_type = set==LOCK_SET?rw_type:F_UNLCK; 81 tdb_brlock(TDB_CONTEXT *tdb, tdb_off offset, int set, int rw_type, int lck_type) argument
|
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/ |
H A D | tdb.c | 82 int set, int rw_type, int lck_type) 93 fl.l_type = set==LOCK_SET?rw_type:F_UNLCK; 81 tdb_brlock(TDB_CONTEXT *tdb, tdb_off offset, int set, int rw_type, int lck_type) argument
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/ext2fs/ |
H A D | tdb.c | 260 static int tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, size_t len); 335 int rw_type, int lck_type, int probe, size_t len) 344 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { 349 fl.l_type = rw_type; 366 TDB_LOG((tdb, TDB_DEBUG_TRACE,"tdb_brlock failed (fd=%d) at offset %d rw_type=%d lck_type=%d len=%d\n", 367 tdb->fd, offset, rw_type, lck_type, (int)len)); 1564 int rw_type, int lck_type, int probe, size_t len) 334 tdb_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, size_t len) argument 1563 transaction_brlock(struct tdb_context *tdb, tdb_off_t offset, int rw_type, int lck_type, int probe, size_t len) argument
|