Searched refs:goal (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-current/tools/test/stress2/misc/
H A Dnuma.sh40 goal=$((real - (real / doms) + 2 * 1024 * 1024 * 1024))
41 mb=$((goal / 1024 / 1024))
42 [ $phys -gt $goal ] &&
H A Dsendfile26.sh238 * writer thread to a local TCP port. The goal is always try to send
/freebsd-current/sys/kern/
H A Dsubr_smr.c191 * case poll needs to attempt to forward the sequence number if the goal is
213 * This returns the goal write sequence number.
272 smr_seq_t goal, s_rd_seq; local
279 * Load the current read seq before incrementing the goal so
280 * we are guaranteed it is always < goal.
283 goal = smr_shared_advance(s);
286 * Force a synchronization here if the goal is getting too
290 if (SMR_SEQ_DELTA(goal, s_rd_seq) >= SMR_SEQ_MAX_DELTA) {
292 smr_wait(smr, goal - SMR_SEQ_MAX_ADVANCE);
296 return (goal);
331 smr_seq_t goal; local
367 smr_poll_cpu(smr_t c, smr_seq_t s_rd_seq, smr_seq_t goal, bool wait) argument
418 smr_poll_scan(smr_t smr, smr_shared_t s, smr_seq_t s_rd_seq, smr_seq_t s_wr_seq, smr_seq_t goal, bool wait) argument
475 smr_poll(smr_t smr, smr_seq_t goal, bool wait) argument
[all...]
/freebsd-current/sys/contrib/ck/include/
H A Dck_tflock.h59 uint32_t goal; local
62 goal = (snapshot & ~mask) + delta;
63 if (ck_pr_cas_32_value(target, snapshot, goal, &snapshot) == true)
/freebsd-current/sys/sys/
H A Dsmr.h86 * current goal which may be in the future.
228 * Returns true if a goal sequence has been reached. If
231 bool smr_poll(smr_t smr, smr_seq_t goal, bool wait);
240 * Blocking wait for all readers to observe 'goal'.
243 smr_wait(smr_t smr, smr_seq_t goal) argument
246 (void)smr_poll(smr, goal, true);
/freebsd-current/sys/cam/
H A Dcam_iosched.h102 void cam_iosched_set_trim_goal(struct cam_iosched_softc *isc, int goal);
H A Dcam_iosched.c1280 * Client drivers can set two parameters. "goal" is the number of BIO_DELETEs
1301 cam_iosched_set_trim_goal(struct cam_iosched_softc *isc, int goal) argument
1304 isc->trim_goal = goal;
/freebsd-current/sys/contrib/ck/src/
H A Dck_epoch.c429 unsigned int delta, epoch, goal, i; local
444 goal = epoch + CK_EPOCH_GRACE;
471 * met our goal.
474 if ((goal > epoch) & (delta >= goal))
/freebsd-current/crypto/openssl/test/
H A Dkeymgmt_internal_test.c89 static int get_ulong_via_BN(const OSSL_PARAM *p, unsigned long *goal) argument
95 || !TEST_int_ge(BN_bn2nativepad(n, (unsigned char *)goal, sizeof(*goal)), 0))
/freebsd-current/contrib/byacc/
H A Dmkpar.c180 int goal = ritem[1]; local
186 if (accessing_symbol[final_state] == goal)
H A Dreader.c50 static bucket *goal; variable
1622 if (bp == goal)
1806 if (goal && goal != bp)
1808 goal = bp;
2436 if (goal == 0)
2440 goal = bp;
3438 if (goal->args > 0)
3439 start_requires_args(goal->name);
3493 if (goal
[all...]
/freebsd-current/sys/dev/aic7xxx/
H A Daic7xxx_osm.c636 tinfo->goal.protocol_version =
638 tinfo->goal.transport_version =
679 spi->ppr_options = tinfo->goal.ppr_options;
686 spi->sync_offset = tinfo->goal.offset;
693 spi->sync_period = tinfo->goal.period;
1067 && (tinfo->goal.width != 0
1068 || tinfo->goal.offset != 0
1069 || tinfo->goal.ppr_options != 0)) {
H A Daic79xx_osm.c760 tinfo->goal.protocol_version = cts->protocol_version;
761 tinfo->goal.transport_version = cts->transport_version;
798 spi->ppr_options = tinfo->goal.ppr_options;
805 spi->sync_offset = tinfo->goal.offset;
812 spi->sync_period = tinfo->goal.period;
1031 && (tinfo->goal.width != 0
1032 || tinfo->goal.period != 0
1033 || tinfo->goal.ppr_options != 0)) {
H A Daic7xxx.c1312 tinfo->goal.transport_version = 2;
1313 tinfo->goal.ppr_options = 0;
1585 * channel, but reset our current and goal settings to async/narrow
1595 memset(&tstate->transinfo[i].goal, 0,
1596 sizeof(tstate->transinfo[i].goal));
1661 * Never allow a value higher than our current goal
1673 transinfo = &tinfo->goal;
1812 *offset = MIN(*offset, tinfo->goal.offset);
1840 *bus_width = MIN(tinfo->goal.width, *bus_width);
1870 if (tinfo->curr.period != tinfo->goal
[all...]
H A Daic79xx.c2300 tinfo->goal.transport_version = 2;
2301 tinfo->goal.ppr_options = 0;
2807 * channel, but reset our current and goal settings to async/narrow
2816 memset(&tstate->transinfo[i].goal, 0,
2817 sizeof(tstate->transinfo[i].goal));
2873 * Never allow a value higher than our current goal
2885 transinfo = &tinfo->goal;
2967 *offset = MIN(*offset, tinfo->goal.offset);
2995 *bus_width = MIN(tinfo->goal.width, *bus_width);
3025 if (tinfo->curr.period != tinfo->goal
[all...]
H A Daic7xxx.h552 SCB_AUTO_NEGOTIATE = 0x0040,/* Negotiate to achieve goal. */
702 #define AHC_TRANS_GOAL 0x04 /* Modify negotiation goal */
723 * Per-initiator current, goal and user transfer negotiation information. */
727 struct ahc_transinfo goal; member in struct:ahc_initiator_tinfo
1296 * even if our goal and current transport parameters are identical.
1299 AHC_NEG_TO_GOAL, /* Renegotiate only if goal and curr differ. */
1300 AHC_NEG_IF_NON_ASYNC, /* Renegotiate so long as goal is non-async. */
1301 AHC_NEG_ALWAYS /* Renegotiat even if goal is async. */
H A Daic79xx.h587 SCB_AUTO_NEGOTIATE = 0x00040,/* Negotiate to achieve goal. */
754 #define AHD_TRANS_GOAL 0x04 /* Modify negotiation goal */
776 * Per-initiator current, goal and user transfer negotiation information. */
779 struct ahd_transinfo goal; member in struct:ahd_initiator_tinfo
1506 * even if our goal and current transport parameters are identical.
1509 AHD_NEG_TO_GOAL, /* Renegotiate only if goal and curr differ. */
1510 AHD_NEG_IF_NON_ASYNC, /* Renegotiate so long as goal is non-async. */
1511 AHD_NEG_ALWAYS /* Renegotiat even if goal is async. */
/freebsd-current/sys/dev/sym/
H A Dsym_hipd.c1045 struct sym_trans goal; member in struct:sym_tinfo
2817 tp->tinfo.goal.options = 0;
2821 if (tp->tinfo.goal.options & PPR_OPT_MASK)
2826 else if (tp->tinfo.current.width != tp->tinfo.goal.width)
2831 else if (tp->tinfo.current.period != tp->tinfo.goal.period ||
2832 tp->tinfo.current.offset != tp->tinfo.goal.offset)
2840 msgptr[msglen++] = tp->tinfo.goal.period;
2841 msgptr[msglen++] = tp->tinfo.goal.offset;
2847 msgptr[msglen++] = tp->tinfo.goal.width;
2853 msgptr[msglen++] = tp->tinfo.goal
[all...]
/freebsd-current/contrib/tcsh/
H A Dsh.func.c749 search(int type, int level, Char *goal) argument
758 Sgoal = goal;
851 if (type == TC_GOTO && getword(&word) && eq(word.s, goal))
861 if ((type == TC_GOTO && eq(word.s, goal)) ||
874 if (Gmatch(goal, cp))
/freebsd-current/contrib/bmake/
H A Dbsd.after-import.mk9 # The goal is to allow the benefits of autoconf without
/freebsd-current/contrib/flex/src/
H A Dparse.y118 goal : initlex sect1 sect1end sect2 initforrule label
/freebsd-current/sys/netpfil/pf/
H A Dpf_norm.c265 int goal; local
269 goal = uma_zone_get_cur(V_pf_frent_z) * 9 / 10;
270 DPFPRINTF(("trying to free %d frag entriess\n", goal));
271 while (goal < uma_zone_get_cur(V_pf_frent_z)) {
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp2061 kmp_uint64 goal = __kmp_hardware_timestamp() + delay; local
2062 while ((now = __kmp_hardware_timestamp()) < goal)
2067 double tpus = 1000.0 * (double)(delay + (now - goal)) / (double)diff;
H A Dkmp.h1266 #define KMP_BLOCKING(goal, count) ((goal) > KMP_NOW())
1273 #define KMP_BLOCKING(goal, count) ((count) % 1000 != 0 || (goal) > KMP_NOW())
H A Dkmp_lock.cpp2670 kmp_uint64 goal = __kmp_tsc() + boff->min_tick; local
2678 } while (before(__kmp_tsc(), goal));

Completed in 273 milliseconds

12