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

/freebsd-13-stable/sys/kern/
H A Dsubr_smr.c194 * case poll needs to attempt to forward the sequence number if the goal is
216 * This returns the goal write sequence number.
275 smr_seq_t goal, s_rd_seq; local
282 * Load the current read seq before incrementing the goal so
283 * we are guaranteed it is always < goal.
286 goal = smr_shared_advance(s);
289 * Force a synchronization here if the goal is getting too
293 if (SMR_SEQ_DELTA(goal, s_rd_seq) >= SMR_SEQ_MAX_DELTA) {
295 smr_wait(smr, goal - SMR_SEQ_MAX_ADVANCE);
299 return (goal);
334 smr_seq_t goal; local
370 smr_poll_cpu(smr_t c, smr_seq_t s_rd_seq, smr_seq_t goal, bool wait) argument
421 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
478 smr_poll(smr_t smr, smr_seq_t goal, bool wait) argument
[all...]
/freebsd-13-stable/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-13-stable/sys/sys/
H A Dsmr.h88 * current goal which may be in the future.
222 * Returns true if a goal sequence has been reached. If
225 bool smr_poll(smr_t smr, smr_seq_t goal, bool wait);
234 * Blocking wait for all readers to observe 'goal'.
237 smr_wait(smr_t smr, smr_seq_t goal) argument
240 return (smr_poll(smr, goal, true));
/freebsd-13-stable/sys/cam/
H A Dcam_iosched.h104 void cam_iosched_set_trim_goal(struct cam_iosched_softc *isc, int goal);
H A Dcam_iosched.c1237 * Client drivers can set two parameters. "goal" is the number of BIO_DELETEs
1258 cam_iosched_set_trim_goal(struct cam_iosched_softc *isc, int goal) argument
1261 isc->trim_goal = goal;
/freebsd-13-stable/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-13-stable/sys/dev/esp/
H A Dncr53c9x.c658 * settings so we'll renegotiate their goal settings with the next
671 ti->curr.period = ti->goal.period = 0;
672 ti->curr.offset = ti->goal.offset = 0;
673 ti->curr.width = ti->goal.width =
865 if (ti->curr.period != ti->goal.period ||
866 ti->curr.offset != ti->goal.offset ||
867 ti->curr.width != ti->goal.width) {
1153 ti->goal.width = spi->bus_width;
1159 ti->goal.period = spi->sync_period;
1165 ti->goal
[all...]
H A Dncr53c9xvar.h198 struct ncr53c9x_xinfo goal; member in struct:ncr53c9x_tinfo
/freebsd-13-stable/contrib/byacc/
H A Dmkpar.c173 int goal, i; local
180 goal = ritem[1];
184 if (accessing_symbol[final_state] == goal)
H A Dreader.c43 static bucket *goal; variable
1603 if (bp == goal)
1787 if (goal && goal != bp)
1789 goal = bp;
2412 if (goal == 0)
2416 goal = bp;
3404 if (goal->args > 0)
3405 start_requires_args(goal->name);
3457 if (goal
[all...]
/freebsd-13-stable/sys/dev/aic7xxx/
H A Daic79xx_osm.c749 tinfo->goal.protocol_version = cts->protocol_version;
750 tinfo->goal.transport_version = cts->transport_version;
787 spi->ppr_options = tinfo->goal.ppr_options;
794 spi->sync_offset = tinfo->goal.offset;
801 spi->sync_period = tinfo->goal.period;
1026 && (tinfo->goal.width != 0
1027 || tinfo->goal.period != 0
1028 || tinfo->goal.ppr_options != 0)) {
H A Daic7xxx_osm.c627 tinfo->goal.protocol_version =
629 tinfo->goal.transport_version =
670 spi->ppr_options = tinfo->goal.ppr_options;
677 spi->sync_offset = tinfo->goal.offset;
684 spi->sync_period = tinfo->goal.period;
1064 && (tinfo->goal.width != 0
1065 || tinfo->goal.offset != 0
1066 || tinfo->goal.ppr_options != 0)) {
H A Daic7xxx.c1322 tinfo->goal.transport_version = 2;
1323 tinfo->goal.ppr_options = 0;
1595 * channel, but reset our current and goal settings to async/narrow
1605 memset(&tstate->transinfo[i].goal, 0,
1606 sizeof(tstate->transinfo[i].goal));
1671 * Never allow a value higher than our current goal
1683 transinfo = &tinfo->goal;
1822 *offset = MIN(*offset, tinfo->goal.offset);
1850 *bus_width = MIN(tinfo->goal.width, *bus_width);
1880 if (tinfo->curr.period != tinfo->goal
[all...]
H A Daic79xx.c2310 tinfo->goal.transport_version = 2;
2311 tinfo->goal.ppr_options = 0;
2817 * channel, but reset our current and goal settings to async/narrow
2826 memset(&tstate->transinfo[i].goal, 0,
2827 sizeof(tstate->transinfo[i].goal));
2883 * Never allow a value higher than our current goal
2895 transinfo = &tinfo->goal;
2977 *offset = MIN(*offset, tinfo->goal.offset);
3005 *bus_width = MIN(tinfo->goal.width, *bus_width);
3035 if (tinfo->curr.period != tinfo->goal
[all...]
H A Daic79xx.h589 SCB_AUTO_NEGOTIATE = 0x00040,/* Negotiate to achieve goal. */
758 #define AHD_TRANS_GOAL 0x04 /* Modify negotiation goal */
780 * Per-initiator current, goal and user transfer negotiation information. */
783 struct ahd_transinfo goal; member in struct:ahd_initiator_tinfo
1512 * even if our goal and current transport parameters are identical.
1515 AHD_NEG_TO_GOAL, /* Renegotiate only if goal and curr differ. */
1516 AHD_NEG_IF_NON_ASYNC, /* Renegotiate so long as goal is non-async. */
1517 AHD_NEG_ALWAYS /* Renegotiat even if goal is async. */
H A Daic7xxx.h554 SCB_AUTO_NEGOTIATE = 0x0040,/* Negotiate to achieve goal. */
706 #define AHC_TRANS_GOAL 0x04 /* Modify negotiation goal */
727 * Per-initiator current, goal and user transfer negotiation information. */
731 struct ahc_transinfo goal; member in struct:ahc_initiator_tinfo
1302 * even if our goal and current transport parameters are identical.
1305 AHC_NEG_TO_GOAL, /* Renegotiate only if goal and curr differ. */
1306 AHC_NEG_IF_NON_ASYNC, /* Renegotiate so long as goal is non-async. */
1307 AHC_NEG_ALWAYS /* Renegotiat even if goal is async. */
/freebsd-13-stable/sys/dev/sym/
H A Dsym_hipd.c1046 struct sym_trans goal; member in struct:sym_tinfo
2818 tp->tinfo.goal.options = 0;
2822 if (tp->tinfo.goal.options & PPR_OPT_MASK)
2827 else if (tp->tinfo.current.width != tp->tinfo.goal.width)
2832 else if (tp->tinfo.current.period != tp->tinfo.goal.period ||
2833 tp->tinfo.current.offset != tp->tinfo.goal.offset)
2841 msgptr[msglen++] = tp->tinfo.goal.period;
2842 msgptr[msglen++] = tp->tinfo.goal.offset;
2848 msgptr[msglen++] = tp->tinfo.goal.width;
2854 msgptr[msglen++] = tp->tinfo.goal
[all...]
/freebsd-13-stable/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-13-stable/contrib/bmake/
H A Dbsd.after-import.mk9 # The goal is to allow the benefits of autoconf without
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp1986 kmp_uint64 goal = __kmp_hardware_timestamp() + delay; local
1987 while ((now = __kmp_hardware_timestamp()) < goal)
1992 kmp_uint64 tpms = (kmp_uint64)(1e6 * (delay + (now - goal)) / diff);
H A Dkmp.h1052 #define KMP_BLOCKING(goal, count) ((goal) > KMP_NOW())
1060 #define KMP_BLOCKING(goal, count) ((count) % 1000 != 0 || (goal) > KMP_NOW())
H A Dkmp_lock.cpp2690 kmp_uint64 goal = __kmp_tsc() + boff->min_tick; local
2693 } while (before(__kmp_tsc(), goal));
/freebsd-13-stable/contrib/flex/src/
H A Dparse.y118 goal : initlex sect1 sect1end sect2 initforrule label
/freebsd-13-stable/sys/netpfil/pf/
H A Dpf_norm.c267 int goal; local
271 goal = uma_zone_get_cur(V_pf_frent_z) * 9 / 10;
272 DPFPRINTF(("trying to free %d frag entriess\n", goal));
273 while (goal < uma_zone_get_cur(V_pf_frent_z)) {
/freebsd-13-stable/sys/amd64/amd64/
H A Dpmap.c2855 smr_seq_t goal; local
2882 * the goal has observed the new counter value.
2886 goal = smr_advance(pmap->pm_eptsmr);
2899 smr_wait(pmap->pm_eptsmr, goal);

Completed in 481 milliseconds