/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/env/ |
H A D | env_register.c | 21 #define REGISTRY_LOCK(env, pos, nowait) \ 22 __os_fdlock(env, (env)->dbenv->registry, (off_t)(pos), 1, nowait) 23 #define REGISTRY_UNLOCK(env, pos) \ 24 __os_fdlock(env, (env)->dbenv->registry, (off_t)(pos), 0, 0) 25 #define REGISTRY_EXCL_LOCK(env, nowait) \ 26 REGISTRY_LOCK(env, 1, nowait) 27 #define REGISTRY_EXCL_UNLOCK(env) \ 28 REGISTRY_UNLOCK(env, [all...] |
H A D | env_file.c | 20 __db_file_extend(env, fhp, size) 21 ENV *env; 40 if ((ret = __os_calloc(env, FILE_EXTEND_IO_SIZE, 1, &buf)) != 0) 45 if ((ret = __os_seek(env, fhp, pages, MEGABYTE, relative)) != 0) 47 if ((ret = __os_write(env, fhp, buf, FILE_EXTEND_IO_SIZE, &nw)) != 0) 50 err: __os_free(env, buf); 62 __db_file_multi_write(env, path) 63 ENV *env; 70 if ((ret = __os_open(env, path, 0, DB_OSO_REGION, 0, &fhp)) == 0 && 71 (ret = __os_ioinfo(env, pat [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/rep/ |
H A D | rep_region.c | 26 __rep_open(env) 27 ENV *env; 35 db_rep = env->rep_handle; 36 infop = env->reginfo; 52 env, MTX_REP_REGION, 0, &rep->mtx_region)) != 0) 62 env, MTX_REP_DATABASE, 0, &rep->mtx_clientdb)) != 0) 66 env, MTX_REP_CHKPT, 0, &rep->mtx_ckp)) != 0) 70 env, MTX_REP_EVENT, 0, &rep->mtx_event)) != 0) 82 if ((ret = __rep_gen_init(env, rep)) != 0) 84 if ((ret = __rep_egen_init(env, re [all...] |
H A D | rep_record.c | 35 RPRINT(env, DB_VERB_REP_MSGS, \ 36 (env, "Master record received on client")); \ 37 REP_PRINT_MESSAGE(env, \ 46 RPRINT(env, DB_VERB_REP_MSGS, \ 47 (env, "Client record received on master")); \ 54 if (IS_USING_LEASES(env)) \ 55 DB_ASSERT(env, \ 56 __rep_lease_check(env, 0) == \ 59 REP_PRINT_MESSAGE(env, \ 61 (void)__rep_send_message(env, DB_EID_BROADCAS 149 ENV *env; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/os_windows/ |
H A D | os_handle.c | 18 __os_openhandle(env, name, flags, mode, fhpp) 19 ENV *env; 43 if ((ret = __os_calloc(env, 1, sizeof(DB_FH), &fhp)) != 0) 45 if ((ret = __os_strdup(env, name, &fhp->name)) != 0) 47 if (env != NULL) { 48 MUTEX_LOCK(env, env->mtx_env); 49 TAILQ_INSERT_TAIL(&env->fdlist, fhp, q); 50 MUTEX_UNLOCK(env, env [all...] |
H A D | os_fsync.c | 18 __os_fsync(env, fhp) 19 ENV *env; 25 dbenv = env == NULL ? NULL : env->dbenv; 35 __db_msg(env, "fileops: flush %s", fhp->name); 39 __db_syserr(env, ret, "FlushFileBuffers");
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/repmgr/ |
H A D | repmgr_elect.c | 30 __repmgr_init_election(env, initial_operation) 31 ENV *env; 37 db_rep = env->rep_handle; 39 RPRINT(env, DB_VERB_REPMGR_MISC, (env, 47 ret = start_election_thread(env); 49 RPRINT(env, DB_VERB_REPMGR_MISC, 50 (env, "join dead elect thread")); 53 __os_free(env, db_rep->elect_thread); 55 ret = start_election_thread(env); 97 ENV *env = args; local [all...] |
H A D | repmgr_auto.c | 13 __repmgr_handshake_marshal(env, argp, bp) 14 ENV *env; 18 DB_HTONS_COPYOUT(env, bp, argp->port); 19 DB_HTONL_COPYOUT(env, bp, argp->priority); 27 __repmgr_handshake_unmarshal(env, argp, bp, max, nextp) 28 ENV *env; 36 DB_NTOHS_COPYIN(env, argp->port, bp); 37 DB_NTOHL_COPYIN(env, argp->priority, bp); 44 __db_errx(env, 54 __repmgr_ack_marshal(env, arg [all...] |
H A D | repmgr_msg.c | 26 ENV *env = args; local 29 if ((ret = message_loop(env)) != 0) { 30 __db_err(env, ret, "message thread failed"); 31 __repmgr_thread_failure(env, ret); 37 message_loop(env) 38 ENV *env; 43 while ((ret = __repmgr_queue_get(env, &msg)) == 0) { 44 while ((ret = process_message(env, &msg->control, &msg->rec, 46 RPRINT(env, DB_VERB_REPMGR_MISC, 47 (env, "repmg [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/txn/ |
H A D | txn_chkpt.c | 60 ENV *env; local 63 env = dbenv->env; 65 ENV_REQUIRES_CONFIG(env, 66 env->tx_handle, "txn_checkpoint", DB_INIT_TXN); 77 if (IS_REP_CLIENT(env)) 80 ENV_ENTER(env, ip); 81 REPLICATION_WRAP(env, 82 (__txn_checkpoint(env, kbytes, minutes, flags)), 0, ret); 83 ENV_LEAVE(env, i [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/log/ |
H A D | log_stat.c | 34 ENV *env; local 37 env = dbenv->env; 39 ENV_REQUIRES_CONFIG(env, 40 env->lg_handle, "DB_ENV->log_stat", DB_INIT_LOG); 42 if ((ret = __db_fchk(env, 46 ENV_ENTER(env, ip); 47 REPLICATION_WRAP(env, (__log_stat(env, statp, flags)), 0, ret); 48 ENV_LEAVE(env, i 116 ENV *env; local [all...] |
H A D | log_compare.c | 34 __log_check_page_lsn(env, dbp, lsnp) 35 ENV *env; 42 lp = env->lg_handle->reginfo.primary; 43 LOG_SYSTEM_LOCK(env); 47 LOG_SYSTEM_UNLOCK(env); 52 __db_errx(env, 57 __db_errx(env, "%s", 59 __db_errx(env, "%s", 61 __db_errx(env, "%s",
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/mutex/ |
H A D | mut_failchk.c | 21 __mut_failchk(env) 22 ENV *env; 32 dbenv = env->dbenv; 33 mtxmgr = env->mutex_handle; 37 MUTEX_SYSTEM_LOCK(env); 57 __db_msg(env, "Freeing mutex for process: %s", 62 MUTEX_UNLOCK(env, i); 64 if ((ret = __mutex_free_int(env, 0, &i)) != 0) 67 MUTEX_SYSTEM_UNLOCK(env);
|
H A D | mut_stub.c | 27 __db_nomutex(env) 28 ENV *env; 30 __db_errx(env, "library build did not include support for mutexes"); 42 return (__db_nomutex(dbenv->env)); 46 __mutex_alloc(env, alloc_id, flags, indxp) 47 ENV *env; 52 COMPQUIET(env, NULL); 60 __mutex_clear(env, mutex) 61 ENV *env; 64 COMPQUIET(env, NUL [all...] |
H A D | mut_fcntl.c | 21 __db_fcntl_mutex_init(env, mutex, flags) 22 ENV *env; 26 COMPQUIET(env, NULL); 40 __db_fcntl_mutex_lock(env, mutex) 41 ENV *env; 51 dbenv = env->dbenv; 53 if (!MUTEX_ON(env) || F_ISSET(dbenv, DB_ENV_NOLOCKING)) 56 mtxmgr = env->mutex_handle; 60 CHECK_MTX_THREAD(env, mutexp); 87 if (fcntl(env [all...] |
H A D | mut_tas.c | 26 __db_tas_mutex_init(env, mutex, flags) 27 ENV *env; 39 dbenv = env->dbenv; 40 mtxmgr = env->mutex_handle; 46 __db_errx(env, "TAS: mutex not appropriately aligned"); 52 __db_syserr(env, ret, "TAS: mutex initialize"); 56 if ((ret = __db_pthread_mutex_init(env, 70 __db_tas_mutex_lock(env, mutex) 71 ENV *env; 84 dbenv = env [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/libtest/ |
H A D | first.c | 68 char *env; local 70 env = curl_getenv("CURL_MEMDEBUG"); 71 if(env) { 74 if(strlen(env) >= CURL_MT_LOGFNAME_BUFSIZE) 75 env[CURL_MT_LOGFNAME_BUFSIZE-1] = '\0'; 76 strcpy(fname, env); 77 curl_free(env); 84 env = curl_getenv("CURL_MEMLIMIT"); 85 if(env) { 87 long num = strtol(env, [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/mp/ |
H A D | mp_method.c | 72 ENV *env; local 75 env = dbenv->env; 77 ENV_NOT_CONFIGURED(env, 78 env->mp_handle, "DB_ENV->get_cachesize", DB_INIT_MPOOL); 80 if (MPOOL_ON(env)) { 82 mp = env->mp_handle->reginfo[0].primary; 112 ENV *env; local 115 env = dbenv->env; 193 ENV *env; local 232 ENV *env; local 266 ENV *env; local 299 ENV *env; local 331 ENV *env; local 369 ENV *env; local 403 ENV *env; local 437 ENV *env; local 663 ENV *env; local 743 ENV *env; local 787 ENV *env; local 824 ENV *env; local 856 ENV *env; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/test/ |
H A D | txn010.tcl | 17 set env [berkdb_env -create -home $testdir -txn] 18 error_check_good envopen [is_valid_env $env] TRUE 20 -env $env -create -mode 0644 -btree -auto_commit a.db] 25 set t [$env txn] 31 error_check_good checkpoint [$env txn_checkpoint] 0 35 set chkpt [txn010_stat $env "Time of last checkpoint"] 38 error_check_good checkpoint [$env txn_checkpoint] 0 39 set test_chkpt [txn010_stat $env "Time of last checkpoint"] 45 set chkpt [txn010_stat $env "Tim [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/db/ |
H A D | db_cds.c | 21 static int __cdsgroup_notsup __P((ENV *env, const char *meth)); 32 __cdsgroup_notsup(env, meth) 33 ENV *env; 36 __db_errx(env, "CDS groups do not support %s", meth); 44 return (__cdsgroup_notsup(txn->mgrp->env, "abort")); 54 ENV *env; local 58 env = txn->mgrp->env; 62 __db_errx(env, "CDS group has active cursors"); 69 ret = __lock_vec(env, tx 133 ENV *env; local [all...] |
H A D | db_iface.c | 79 ENV *env; local 82 env = dbp->env; 87 ENV_ENTER(env, ip); 90 handle_check = IS_ENV_REPLICATED(env); 104 __db_errx(env, 119 if ((ret = __txn_begin(env, ip, NULL, &txn, 0)) != 0) 135 (t_ret = __db_txn_auto_resolve(env, txn, 0, ret)) && ret == 0) 139 if (handle_check && (t_ret = __env_db_rep_exit(env)) != 0 && ret == 0) 141 ENV_LEAVE(env, i 155 ENV *env; local 227 ENV *env; local 278 ENV *env; local 342 ENV *env; local 403 ENV *env; local 452 ENV *env; local 513 ENV *env; local 584 ENV *env; local 640 ENV *env; local 778 ENV *env; local 893 ENV *env; local 930 ENV *env; local 977 ENV *env; local 1070 ENV *env; local 1199 ENV *env; local 1339 ENV *env; local 1459 ENV *env; local 1523 ENV *env; local 1581 ENV *env; local 1673 ENV *env; local 1753 ENV *env; local 1793 ENV *env; local 1842 ENV *env; local 1888 ENV *env; local 1933 ENV *env; local 1971 ENV *env; local 2003 ENV *env; local 2046 ENV *env; local 2080 ENV *env; local 2120 ENV *env; local 2276 ENV *env; local 2327 ENV *env; local 2365 ENV *env; local 2437 ENV *env; local 2474 ENV *env; local 2588 ENV *env; local [all...] |
H A D | db_setlsn.c | 31 ENV *env; local 34 env = dbenv->env; 36 ENV_ILLEGAL_BEFORE_OPEN(env, "DB_ENV->lsn_reset"); 44 return (__db_ferr(env, "DB_ENV->lsn_reset", 0)); 46 ENV_ENTER(env, ip); 47 REPLICATION_WRAP(env, 48 (__env_lsn_reset(env, ip, name, LF_ISSET(DB_ENCRYPT) ? 1 : 0)), 50 ENV_LEAVE(env, ip); 59 __env_lsn_reset(env, i [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/os/ |
H A D | os_tmpdir.c | 29 __os_tmpdir(env, flags) 30 ENV *env; 37 dbenv = env->dbenv; 45 env, "TMPDIR", &tdir, sizeof(tdir_buf))) != 0) 55 env, "TEMP", &tdir, sizeof(tdir_buf))) != 0) 62 env, "TMP", &tdir, sizeof(tdir_buf))) != 0) 70 env, "TempFolder", &tdir, sizeof(tdir_buf))) != 0) 74 found: return (__os_strdup(env, tdir, &dbenv->db_tmp_dir)); 83 return (__os_strdup(env, 94 FROM_TSTRING(env, tpat [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/os_qnx/ |
H A D | os_qnx_open.c | 23 __os_qnx_region_open(env, name, oflags, mode, fhpp) 24 ENV *env; 41 if ((ret = __os_calloc(env, 1, sizeof(DB_FH), &fhp)) != 0) 43 if ((ret = __os_strdup(env, name, &fhp->name)) != 0) 45 if (env != NULL) { 46 MUTEX_LOCK(env, env->mtx_env); 47 TAILQ_INSERT_TAIL(&env->fdlist, fhp, q); 48 MUTEX_UNLOCK(env, env [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/os_vxworks/ |
H A D | os_vx_map.c | 58 __os_attach(env, infop, rp) 59 ENV *env; 66 dbenv = env->dbenv; 69 __os_segdata_init(env); 74 ret = __os_segdata_find_byname(env, infop->name, infop, rp); 83 __db_errx(env, "segment %s does not exist", 104 __db_errx(env, "no base shared memory ID specified"); 108 if (ret == 0 && __os_segdata_release(env, rp, 1) != 0) { 109 __db_errx(env, 116 ret = __os_segdata_allocate(env, info [all...] |