Lines Matching refs:dbkey
50 struct dbkey struct
306 struct dbkey key; in do_one_request()
307 DBT dbkey, dbdat; in do_one_request() local
341 dbkey.data = &key; in do_one_request()
342 dbkey.size = sizeof(key); in do_one_request()
344 if (dbase->get(dbase, &dbkey, &dbdat, 0) != 0) { in do_one_request()
368 dbase->del(dbase, &dbkey, 0); in do_one_request()
394 dbase->put(dbase, &dbkey, &dbdat, 0); in do_one_request()
412 dbase->put(dbase, &dbkey, &dbdat, 0); in do_one_request()
424 dbase->put(dbase, &dbkey, &dbdat, 0); in do_one_request()
491 struct dbkey key; in get_arp_pkt()
492 DBT dbkey, dbdat; in get_arp_pkt() local
524 dbkey.data = &key; in get_arp_pkt()
525 dbkey.size = sizeof(key); in get_arp_pkt()
527 if (dbase->get(dbase, &dbkey, &dbdat, 0) == 0 && !IS_NEG(dbdat.data)) { in get_arp_pkt()
537 dbase->put(dbase, &dbkey, &dbdat, 0); in get_arp_pkt()
692 struct dbkey k; in main()
693 DBT dbkey, dbdat; in main() local
695 dbkey.data = &k; in main()
696 dbkey.size = sizeof(k); in main()
729 if (dbase->put(dbase, &dbkey, &dbdat, 0)) { in main()
740 DBT dbkey, dbdat; in main() local
742 while (dbase->seq(dbase, &dbkey, &dbdat, R_NEXT) == 0) { in main()
743 struct dbkey *key = dbkey.data; in main()