• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/lock/

Lines Matching refs:ndx

114 	u_int32_t ndx;
204 ndx = sh_obj->indx;
205 OBJECT_LOCK_NDX(lt, region, ndx);
221 OBJECT_UNLOCK(lt, region, ndx);
274 OBJECT_LOCK(lt, region, list[i].obj, ndx);
276 ndx, 0, &sh_obj)) != 0 || sh_obj == NULL) {
279 OBJECT_UNLOCK(lt, region, ndx);
292 ret = __lock_put_internal(lt, lp, ndx,
305 ret = __lock_put_internal(lt, lp, ndx,
309 OBJECT_UNLOCK(lt, region, ndx);
539 u_int32_t ndx, part_id;
582 ndx = sh_obj->indx;
583 OBJECT_LOCK_NDX(lt, region, ndx);
586 OBJECT_LOCK(lt, region, obj, lock->ndx);
587 ndx = lock->ndx;
588 if ((ret = __lock_getobj(lt, obj, lock->ndx, 1, &sh_obj)) != 0)
594 lt->obj_stat[ndx].st_nupgrade++;
596 lt->obj_stat[ndx].st_nrequests++;
758 part_id = LOCK_PART(region, ndx);
776 if (++lt->obj_stat[ndx].st_nlocks >
777 lt->obj_stat[ndx].st_maxnlocks)
778 lt->obj_stat[ndx].st_maxnlocks =
779 lt->obj_stat[ndx].st_nlocks;
914 STAT(lt->obj_stat[ndx].st_lock_wait++);
942 OBJECT_LOCK_NDX(lt, region, ndx);
951 OBJECT_LOCK_NDX(lt, region, ndx);
963 ndx, DB_LOCK_UNLINK | DB_LOCK_FREE);
970 lt->obj_stat[ndx].st_ntxntimeouts++;
972 lt->obj_stat[ndx].st_nlocktimeouts++;
1017 OBJECT_UNLOCK(lt, region, ndx);
1027 OBJECT_UNLOCK(lt, region, ndx);
1119 OBJECT_LOCK_NDX(lt, region, lock->ndx);
1121 lockp, lock->ndx, flags | DB_LOCK_UNLINK | DB_LOCK_FREE);
1122 OBJECT_UNLOCK(lt, region, lock->ndx);
1424 __lock_getobj(lt, obj, ndx, create, retp)
1427 u_int32_t ndx;
1443 retry: SH_TAILQ_FOREACH(sh_obj, &lt->obj_tab[ndx], links, __db_lockobj) {
1457 part_id = LOCK_PART(region, ndx);
1500 if (++lt->obj_stat[ndx].st_nobjects >
1501 lt->obj_stat[ndx].st_maxnobjects)
1502 lt->obj_stat[ndx].st_maxnobjects =
1503 lt->obj_stat[ndx].st_nobjects;
1510 sh_obj->indx = ndx;
1517 &lt->obj_tab[ndx], sh_obj, links, __db_lockobj);
1521 if (len > lt->obj_stat[ndx].st_hash_len)
1522 lt->obj_stat[ndx].st_hash_len = len;
1526 if (len > lt->obj_stat[ndx].st_hash_len)
1527 lt->obj_stat[ndx].st_hash_len = len;