#define HASHLOOKUP ( begin,
ndx,
type,
field,
elt,
res,
cmp   ) 

Value:

do {            \
        DB_HASHTAB *__bucket;                                           \
                                                                        \
        __bucket = &begin[ndx];                                         \
        for (res = SH_TAILQ_FIRST(__bucket, type);                      \
            res != NULL; res = SH_TAILQ_NEXT(res, field, type))         \
                if (cmp(elt, res))                                      \
                        break;                                          \
} while(0)

Definition at line 62 of file db_shash.h.

Referenced by CDB___lock_getlocker(), and CDB___lock_getobj().


Generated on Sun Jun 8 10:56:49 2008 for GNUmifluz by  doxygen 1.5.5