Searched refs:DB_LOCKOBJ (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/cmd/sendmail/db/include/ |
H A D | lock_ext.h | 8 u_int32_t, const DBT *, u_int32_t type, DB_LOCKOBJ **)); 15 int __lock_cmp __P((const DBT *, DB_LOCKOBJ *)); 16 int __lock_locker_cmp __P((u_int32_t, DB_LOCKOBJ *)); 18 u_int32_t __lock_lhash __P((DB_LOCKOBJ *));
|
H A D | lock.h | 10 typedef struct __db_lockobj DB_LOCKOBJ; typedef 171 ((DB_LOCKOBJ *)((u_int8_t *)((lt)->region) + (off))) 194 ALIGN((N) * sizeof(DB_LOCKOBJ), sizeof(size_t)) + \
|
/titanic_50/usr/src/cmd/sendmail/db/lock/ |
H A D | lock_region.c | 32 static void __lock_dump_locker __P((DB_LOCKTAB *, DB_LOCKOBJ *, FILE *)); 33 static void __lock_dump_object __P((DB_LOCKTAB *, DB_LOCKOBJ *, FILE *)); 183 DB_LOCKOBJ *op; 251 for (i = 0; i++ < lrp->maxlocks; curaddr += sizeof(DB_LOCKOBJ)) { 252 op = (DB_LOCKOBJ *)curaddr; 348 DB_LOCKOBJ *op; 372 usedobjs * sizeof(DB_LOCKOBJ); 376 obj_ratio = usedobjs * sizeof(DB_LOCKOBJ) / (float)used; 380 newobjs = (u_int32_t)(obj_ratio * incr / sizeof(DB_LOCKOBJ)); 382 (newobjs * sizeof(DB_LOCKOBJ) + [all …]
|
H A D | lock.c | 32 static void __lock_freeobj __P((DB_LOCKTAB *, DB_LOCKOBJ *)); 36 static int __lock_promote __P((DB_LOCKTAB *, DB_LOCKOBJ *)); 39 __P((DB_LOCKTAB *, DB_LOCKOBJ *, struct __db_lock *, db_status_t)); 95 DB_LOCKOBJ *sh_obj, *sh_locker, *sh_parent; 374 DB_LOCKOBJ *sh_obj; 394 sh_obj = (DB_LOCKOBJ *)((u_int8_t *)lockp + lockp->obj); 443 DB_LOCKOBJ *sh_obj, *sh_locker; 677 DB_LOCKOBJ *sh_obj; 709 DB_LOCKOBJ *lockobj; 767 lockobj = (DB_LOCKOBJ *)((u_int8_t *)lp + lp->obj); [all …]
|
H A D | lock_util.c | 40 DB_LOCKOBJ *lock_obj; 58 DB_LOCKOBJ *lock_obj; 123 DB_LOCKOBJ *lock_obj; in __lock_lhash()
|
H A D | lock_deadlock.c | 199 DB_LOCKOBJ *op, *lo, *lockerp; 362 lo = (DB_LOCKOBJ *)((u_int8_t *)lp + lp->obj); 422 DB_LOCKOBJ *lockerp, *sh_obj; 455 sh_obj = (DB_LOCKOBJ *)((u_int8_t *)lockp + lockp->obj);
|