Searched refs:nthreads (Results 1 - 19 of 19) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/platforms/pseries/
H A Dhotplug-cpu.c142 int err = -ENOSPC, len, nthreads, i; local
149 nthreads = len / sizeof(u32);
150 for (i = 0; i < nthreads; i++)
174 cpus_shift_left(tmp, tmp, nthreads);
179 nthreads);
202 int len, nthreads, i; local
209 nthreads = len / sizeof(u32);
212 for (i = 0; i < nthreads; i++) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/repmgr/
H A Drepmgr_stub.c136 __repmgr_start(dbenv, nthreads, flags)
138 int nthreads;
141 COMPQUIET(nthreads, 0);
H A Drepmgr_method.c20 __repmgr_start(dbenv, nthreads, flags)
22 int nthreads;
64 if (nthreads <= 0) {
66 "repmgr_start: nthreads parameter must be >= 1");
70 if ((ret = __os_calloc(env, (u_int)nthreads,
73 db_rep->nthreads = nthreads;
113 for (i=0; i<nthreads; i++) {
305 for (i=0; i<db_rep->nthreads && db_rep->messengers[i] != NULL; i++) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/nfsd/
H A Dnfssvc.c268 int nfsd_get_nrthreads(int n, int *nthreads) argument
274 nthreads[i] = nfsd_serv->sv_pools[i].sp_nrthreads;
280 int nfsd_set_nrthreads(int n, int *nthreads) argument
295 if (nthreads[i] > NFSD_MAXSERVS)
296 nthreads[i] = NFSD_MAXSERVS;
297 tot += nthreads[i];
302 int new = nthreads[i] * NFSD_MAXSERVS / tot;
303 tot -= (nthreads[i] - new);
304 nthreads[i] = new;
307 nthreads[
[all...]
H A Dnfsctl.c386 int *nthreads; local
398 nthreads = kcalloc(npools, sizeof(int), GFP_KERNEL);
399 if (nthreads == NULL)
404 rv = get_int(&mesg, &nthreads[i]);
410 if (nthreads[i] < 0)
413 rv = nfsd_set_nrthreads(i, nthreads);
418 rv = nfsd_get_nrthreads(npools, nthreads);
425 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' '));
434 kfree(nthreads);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/mutex/
H A Dtest_mutex.c66 * TM[nthreads] per-thread mutex array
90 u_int nthreads = 20; /* -t: Threads. */ variable
93 u_int nthreads = 4; /* -t: Threads. */ variable
96 u_int nthreads = 1; /* -t: Threads. */ variable
158 if ((nthreads = (u_int)atoi(optarg)) == 0)
159 nthreads = 1;
161 if (nthreads != 1) {
195 if (nprocs == 1 && nthreads == 1) {
202 len = sizeof(TM) * (1 + nthreads * nprocs + maxlocks);
248 progname, nprocs, nthreads, nlock
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_c/
H A Dex_thread.c78 int nthreads; /* Total threads. */ variable
175 nthreads = nreaders + nwriters + 2;
184 if ((tids = malloc(nthreads * sizeof(pthread_t))) == NULL)
203 for (i = 0; i < nthreads; ++i)
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/kernel/
H A Dposix-cpu-timers.c494 unsigned int nthreads = atomic_read(&p->signal->live); local
496 if (!nthreads)
505 nthreads);
520 nthreads);
535 do_div(nsleft, nthreads);
1174 const unsigned int nthreads = atomic_read(&sig->live); local
1176 if (!nthreads)
1181 prof_left = cputime_div_non_zero(prof_left, nthreads);
1183 virt_left = cputime_div_non_zero(virt_left, nthreads);
1186 do_div(sched_left, nthreads);
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dsetup-common.c352 int j, len = sizeof(u32), nthreads = 1; local
357 nthreads = len / sizeof(int);
364 for (j = 0; j < nthreads && cpu < NR_CPUS; j++) {
H A Dprom.c622 int i, nthreads; local
633 nthreads = len / sizeof(int);
636 nthreads = 1;
643 for (i = 0; i < nthreads; i++) {
702 if (nthreads > 1)
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/db/
H A DEnvironment.java952 @param nthreads
963 int nthreads, ReplicationManagerStartPolicy policy)
966 dbenv.repmgr_start(nthreads, policy.getId());
962 replicationManagerStart( int nthreads, ReplicationManagerStartPolicy policy) argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/dbinc/
H A Drep.h480 int nthreads; member in struct:__db_rep
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/db/internal/
H A DDbEnv.java586 public void repmgr_start(int nthreads, int flags) throws com.sleepycat.db.DatabaseException { db_javaJNI.DbEnv_repmgr_start(swigCPtr, this, nthreads, flags); } argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/cxx/
H A Dcxx_env.cpp1113 DBENV_METHOD(repmgr_start, (int nthreads, u_int32_t flags),
1114 (dbenv, nthreads, flags))
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/libdb_java/
H A Ddb.i1414 db_ret_t repmgr_start(int nthreads, u_int32_t flags) {
1415 return self->repmgr_start(self, nthreads, flags);
H A Ddb_java_wrap.c3338 SWIGINTERN db_ret_t DbEnv_repmgr_start(struct DbEnv *self,int nthreads,u_int32_t flags){ argument
3339 return self->repmgr_start(self, nthreads, flags);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/build_unix/
H A Ddb_cxx.h630 virtual int repmgr_start(int nthreads, u_int32_t flags);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/build_vxworks/
H A Ddb_cxx.h631 virtual int repmgr_start(int nthreads, u_int32_t flags);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/build_windows/
H A Ddb_cxx.h631 virtual int repmgr_start(int nthreads, u_int32_t flags);

Completed in 142 milliseconds