Lines Matching defs:db

277     struct kcm_ccdb *db;
285 struct kcm_ccdb *db,
297 state->db = db;
300 if (ev == NULL || db == NULL || client == NULL) {
305 subreq = state->db->ops->nextid_send(state, ev, state->db, client);
328 ret = state->db->ops->nextid_recv(subreq, &nextid);
363 struct kcm_ccdb *db;
373 struct kcm_ccdb *db,
385 state->db = db;
388 if (ev == NULL || db == NULL || client == NULL) {
393 subreq = state->db->ops->list_send(state,
395 state->db,
418 ret = state->db->ops->list_recv(subreq, state, &state->uuid_list);
443 struct kcm_ccdb *db;
451 struct kcm_ccdb *db,
463 state->db = db;
465 if (ev == NULL || db == NULL || client == NULL) {
470 subreq = db->ops->get_default_send(state, ev, db, client);
492 ret = state->db->ops->get_default_recv(subreq, state->uuid);
524 struct kcm_ccdb *db;
534 struct kcm_ccdb *db,
547 state->db = db;
552 if (ev == NULL || db == NULL || client == NULL) {
559 subreq = state->db->ops->set_default_send(state,
561 state->db,
573 subreq = db->ops->getbyuuid_send(state, ev, db, client, uuid);
599 ret = state->db->ops->getbyuuid_recv(subreq, state, &cc);
621 subreq = state->db->ops->set_default_send(state,
623 state->db,
641 ret = state->db->ops->set_default_recv(subreq);
661 struct kcm_ccdb *db;
671 struct kcm_ccdb *db,
684 state->db = db;
687 if (ev == NULL || db == NULL || client == NULL || name == NULL) {
692 subreq = db->ops->getbyname_send(state, ev, db, client, name);
715 ret = state->db->ops->getbyname_recv(subreq, state, &state->cc);
752 struct kcm_ccdb *db;
762 struct kcm_ccdb *db,
775 state->db = db;
778 if (ev == NULL || db == NULL || client == NULL) {
783 subreq = db->ops->getbyuuid_send(state, ev, db, client, uuid);
806 ret = state->db->ops->getbyuuid_recv(subreq, state, &state->cc);
843 struct kcm_ccdb *db;
853 struct kcm_ccdb *db,
868 state->db = db;
871 if (ev == NULL || db == NULL || client == NULL || uuid_is_null(uuid)) {
876 subreq = db->ops->name_by_uuid_send(state, ev, db, client, uuid);
898 ret = state->db->ops->name_by_uuid_recv(subreq, state, &state->name);
923 struct kcm_ccdb *db;
933 struct kcm_ccdb *db,
948 state->db = db;
951 if (ev == NULL || db == NULL || client == NULL || name == NULL) {
956 subreq = db->ops->uuid_by_name_send(state, ev, db, client, name);
978 ret = state->db->ops->uuid_by_name_recv(subreq, state, state->uuid);
1003 struct kcm_ccdb *db;
1010 struct kcm_ccdb *db,
1024 state->db = db;
1026 if (ev == NULL || db == NULL || client == NULL || cc == NULL) {
1037 subreq = state->db->ops->create_send(state,
1039 state->db,
1063 ret = state->db->ops->create_recv(subreq);
1104 struct kcm_ccdb *db;
1111 struct kcm_ccdb *db,
1125 state->db = db;
1127 if (ev == NULL || db == NULL || client == NULL || mod_cc == NULL) {
1132 subreq = state->db->ops->mod_send(state,
1134 state->db,
1159 ret = state->db->ops->mod_recv(subreq);
1179 struct kcm_ccdb *db;
1186 struct kcm_ccdb *db,
1200 state->db = db;
1202 if (ev == NULL || db == NULL || client == NULL || cred_blob == NULL) {
1207 subreq = state->db->ops->store_cred_send(state,
1209 state->db,
1234 ret = state->db->ops->store_cred_recv(subreq);
1255 struct kcm_ccdb *db;
1266 struct kcm_ccdb *db,
1279 state->db = db;
1284 if (ev == NULL || db == NULL || client == NULL) {
1289 subreq = state->db->ops->delete_send(state,
1291 state->db,
1316 ret = state->db->ops->delete_recv(subreq);
1329 subreq = state->db->ops->get_default_send(state,
1331 state->db,
1350 ret = state->db->ops->get_default_recv(subreq, dfl_uuid);
1369 subreq = state->db->ops->set_default_send(state,
1371 state->db,
1389 ret = state->db->ops->set_default_recv(subreq);