/freebsd-src/contrib/ntp/ntpd/ |
H A D | refclock_irig.c | 116 * x40 Codec error (overrun). The machine is not fast enough to keep up 130 * probably chew up too much CPU time anyway. 292 irig_start, /* start up driver */ 312 struct irigunit *up; in irig_start() local 335 up = emalloc_zero(sizeof(*up)); in irig_start() 344 free(up); in irig_start() 347 pp->unitptr = up; in irig_start() 355 up->tc = MINTC; in irig_start() 356 up->decim = 1; in irig_start() 357 up->gain = 127; in irig_start() [all …]
|
H A D | refclock_chu.c | 264 * offsets vary up to 0.3 ms due to ionospheric layer height variations. 448 chu_start, /* start up driver */ 467 struct chuunit *up; in chu_start() local 513 up = emalloc_zero(sizeof(*up)); in chu_start() 515 pp->unitptr = up; in chu_start() 523 free(up); in chu_start() 533 strlcpy(up->ident, "CHU", sizeof(up->ident)); in chu_start() 534 memcpy(&pp->refid, up->ident, 4); in chu_start() 535 DTOLFP(CHAR, &up->charstamp); in chu_start() 543 up->fd_audio = fd_audio; in chu_start() [all …]
|
H A D | refclock_jjy.c | 88 /* Code clean up ( Remove unreachable codes ) in */ 100 /* [Change] Split the start up routine into each JJY receivers. */ 177 /* Set up by the function "jjy_start_xxxxxxxx" */ 366 jjy_start, /* start up driver */ 376 * Start up driver return code 441 …%d iTimestampCount=%d iLen=%d\n", sFunc, up->iProcessState, up->bLineError, up->iCommandSeq, up->i… 454 struct jjyunit *up ; in jjy_start() local 467 up = emalloc( sizeof(*up) ) ; in jjy_start() 468 if ( up == NULL ) { in jjy_start() 472 memset ( up, 0, sizeof(*up) ) ; in jjy_start() [all …]
|
H A D | refclock_jupiter.c | 160 jupiter_start, /* start up driver */ 179 struct instance * up; in jupiter_start() local 195 up = emalloc_zero(sizeof(*up)); in jupiter_start() 196 up->peer = peer; in jupiter_start() 204 free(up); in jupiter_start() 207 pp->unitptr = up; in jupiter_start() 216 up->assert = 1; in jupiter_start() 217 up->hardpps = 0; in jupiter_start() 222 if (time_pps_create(fd, &up->pps_handle) < 0) { in jupiter_start() 223 up->pps_handle = 0; in jupiter_start() [all …]
|
H A D | refclock_gpsdjson.c | 268 gpsd_start, /* start up driver */ 372 static int syslogok(clockprocT * const pp, gpsd_unitT * const up); 418 gpsd_unitT * const up) in syslogok() argument 421 || (0 == up->logthrottle ) in syslogok() 422 || (LOGTHROTTLE == up->logthrottle ); in syslogok() 424 up->logthrottle = LOGTHROTTLE; in syslogok() 481 "GPSD_JSON: failed to get socket address, giving up."); in gpsd_init_check() 496 * Start: allocate a unit pointer and set up the runtime data 504 gpsd_unitT * up; in gpsd_start() local 516 while ((up = *uscan) != NULL && up->unit != (unit & 0x7F)) in gpsd_start() [all …]
|
H A D | refclock_wwv.c | 244 * offsets vary up to 0.3 ms due to ionosperhic layer height variations. 509 * WWV unit control structure (up) 616 wwv_start, /* start up driver */ 636 struct wwvunit *up; in wwv_start() local 662 up = emalloc_zero(sizeof(*up)); in wwv_start() 670 free(up); in wwv_start() 673 pp->unitptr = up; in wwv_start() 685 up->comp[0] = up->comp[OFFSET] = 0.; in wwv_start() 686 up->comp[1] = 1.; up->comp[OFFSET + 1] = -1.; in wwv_start() 687 up->comp[2] = 3.; up->comp[OFFSET + 2] = -3.; in wwv_start() [all …]
|
H A D | refclock_palisade.c | 101 palisade_start, /* start up driver */ 302 struct palisade_unit *up; in palisade_start() local 342 up = emalloc_zero(sizeof(*up)); in palisade_start() 344 up->type = CLK_TYPE(peer); in palisade_start() 345 switch (up->type) { in palisade_start() 391 free(up); in palisade_start() 406 free(up); in palisade_start() 413 pp->unitptr = up; in palisade_start() 422 up->leap_status = 0; in palisade_start() 423 up->unit = (short) unit; in palisade_start() [all …]
|
H A D | refclock_acts.c | 124 * call it up and retrieve the time in one of two formats. As this 168 * &D2 hang up and return to command mode on DTR transition 229 acts_start, /* start up driver */ 247 struct actsunit *up; in acts_start() local 254 up = emalloc_zero(sizeof(struct actsunit)); in acts_start() 255 up->unit = unit; in acts_start() 257 pp->unitptr = up; in acts_start() 270 up->bufptr = up->buf; in acts_start() 290 struct actsunit *up; in acts_shutdown() local 297 up = pp->unitptr; in acts_shutdown() [all …]
|
H A D | refclock_mx4200.c | 191 mx4200_start, /* start up driver */ 211 register struct mx4200unit *up; in mx4200_start() local 227 up = emalloc_zero(sizeof(*up)); in mx4200_start() 236 free(up); in mx4200_start() 239 pp->unitptr = up; in mx4200_start() 262 register struct mx4200unit *up; in mx4200_shutdown() local 266 up = pp->unitptr; in mx4200_shutdown() 269 if (NULL != up) in mx4200_shutdown() 270 free(up); in mx4200_shutdown() 284 register struct mx4200unit *up; in mx4200_config() local [all …]
|
H A D | refclock_neoclock4x.c | 151 neoclock4x_start, /* start up driver */ 164 struct neoclock4x_unit *up; in neoclock4x_start() local 286 up = (struct neoclock4x_unit *) emalloc(sizeof(struct neoclock4x_unit)); in neoclock4x_start() 287 if(!(up)) in neoclock4x_start() 294 memset((char *)up, 0, sizeof(struct neoclock4x_unit)); in neoclock4x_start() 297 pp->unitptr = up; in neoclock4x_start() 317 up->leap_status = 0; in neoclock4x_start() 318 up->unit = unit; in neoclock4x_start() 319 strlcpy(up->firmware, "?", sizeof(up->firmware)); in neoclock4x_start() 320 up->firmwaretag = '?'; in neoclock4x_start() [all …]
|
H A D | refclock_as2201.c | 141 as2201_start, /* start up driver */ 160 register struct as2201unit *up; in as2201_start() local 176 up = emalloc_zero(sizeof(*up)); in as2201_start() 185 free(up); in as2201_start() 188 pp->unitptr = up; in as2201_start() 196 up->lastptr = up->stats; in as2201_start() 197 up->index = 0; in as2201_start() 211 register struct as2201unit *up; in as2201_shutdown() local 215 up = pp->unitptr; in as2201_shutdown() 218 if (NULL != up) in as2201_shutdown() [all …]
|
H A D | refclock_true.c | 199 true_start, /* start up driver */ 219 struct true_unit *up; in true_debug() local 223 up = pp->unitptr; in true_debug() 226 now_debugging = (up->debug != NULL); in true_debug() 234 "/tmp/true%d.debug", up->unit); in true_debug() 237 if (fd >= 0 && (up->debug = fdopen(fd, "w"))) { in true_debug() 241 setvbuf(up->debug, buf, _IOLBF, BUFSIZ); in true_debug() 243 setlinebuf(up->debug); in true_debug() 247 fclose(up->debug); in true_debug() 248 up->debug = NULL; in true_debug() [all …]
|
/freebsd-src/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_uar.c | 82 struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count); in up_rel_func() local 84 list_del(&up->list); in up_rel_func() 85 iounmap(up->map); in up_rel_func() 86 if (mlx5_cmd_free_uar(up->mdev, up->index)) in up_rel_func() 87 mlx5_core_warn(up->mdev, "failed to free uar index %d\n", up->index); in up_rel_func() 88 bitmap_free(up->reg_bitmap); in up_rel_func() 89 bitmap_free(up->fp_bitmap); in up_rel_func() 90 kfree(up); in up_rel_func() 96 struct mlx5_uars_page *up; in alloc_uars_page() local 103 up = kzalloc(sizeof(*up), GFP_KERNEL); in alloc_uars_page() [all …]
|
/freebsd-src/sys/dev/usb/ |
H A D | usb_process.c | 90 struct usb_process *up = arg; in usb_process() local 100 sched_prio(td, up->up_prio); in usb_process() 103 USB_MTX_LOCK(up->up_mtx); in usb_process() 105 up->up_curtd = td; in usb_process() 108 if (up->up_gone) in usb_process() 138 * first one is sleeping, we end up enabling transmission in usb_process() 154 pm = TAILQ_FIRST(&up->up_qhead); in usb_process() 162 if (pm == TAILQ_FIRST(&up->up_qhead)) { in usb_process() 164 TAILQ_REMOVE(&up->up_qhead, pm, pm_qentry); in usb_process() 172 if (up in usb_process() 204 usb_proc_create(struct usb_process * up,struct mtx * p_mtx,const char * pmesg,uint8_t prio) usb_proc_create() argument 239 usb_proc_free(struct usb_process * up) usb_proc_free() argument 266 usb_proc_msignal(struct usb_process * up,void * _pm0,void * _pm1) usb_proc_msignal() argument 350 usb_proc_is_gone(struct usb_process * up) usb_proc_is_gone() argument 372 usb_proc_mwait(struct usb_process * up,void * _pm0,void * _pm1) usb_proc_mwait() argument 414 usb_proc_drain(struct usb_process * up) usb_proc_drain() argument 468 usb_proc_rewakeup(struct usb_process * up) usb_proc_rewakeup() argument 492 usb_proc_is_called_from(struct usb_process * up) usb_proc_is_called_from() argument [all...] |
/freebsd-src/sys/kern/ |
H A D | subr_unit.c | 202 is_bitmap(struct unrhdr *uh, struct unr *up) in is_bitmap() argument 204 return (up->ptr != uh && up->ptr != NULL); in is_bitmap() 253 struct unr *up; in next_iter_unrl() local 263 up = TAILQ_FIRST(&uh->head); in next_iter_unrl() 264 if (up == NULL) { in next_iter_unrl() 268 iter->upos = up; in next_iter_unrl() 269 if (up->ptr == NULL) in next_iter_unrl() 278 up = iter->upos; in next_iter_unrl() 281 if (up == NULL) { in next_iter_unrl() 286 up = iter->upos = TAILQ_FIRST(&uh->head); in next_iter_unrl() [all …]
|
/freebsd-src/tests/sys/mac/ipacl/ |
H A D | ipacl_test.sh | 57 jexec A ifconfig ${epairA}b 192.0.2.2/24 up 59 jexec A ifconfig ${epairA}b 203.0.113.254/24 up 67 jexec A ifconfig ${epairA}b 192.0.2.2/24 up 69 jexec A ifconfig ${epairA}b 203.0.113.254/24 up 79 jexec A ifconfig ${epairA}b 192.0.2.42/24 up 81 jexec A ifconfig ${epairA}b 192.0.2.43/24 up 83 jexec B ifconfig ${epairB}b 198.51.100.12/24 up 85 jexec B ifconfig ${epairC}b 198.51.100.12/24 up 89 jexec B ifconfig ${epairB}b 203.0.113.19/24 up 91 jexec B ifconfig ${epairB}b 203.0.113.241/24 up [all …]
|
/freebsd-src/tests/sys/netpfil/pf/ |
H A D | pfsync.sh | 56 jexec one ifconfig ${epair_sync}a 192.0.2.1/24 up 57 jexec one ifconfig ${epair_one}a 198.51.100.1/24 up 62 up 63 jexec two ifconfig ${epair_two}a 198.51.100.2/24 up 64 jexec two ifconfig ${epair_sync}b 192.0.2.2/24 up 69 up 83 ifconfig ${epair_one}b 198.51.100.254/24 up 142 jexec alcatraz ifconfig ${epair_sync}a 192.0.2.1/24 up 143 jexec alcatraz ifconfig ${epair_out}a 198.51.100.1/24 up 144 jexec alcatraz ifconfig ${epair_in}a 203.0.113.1/24 up [all...] |
/freebsd-src/contrib/sendmail/src/ |
H A D | udb.c | 70 /* type UE_FETCH -- look up in local database */ 84 # define UDB_REMOTE 2 /* look up in remote database */ 85 # define UDB_DBFETCH 3 /* look up in local database */ 87 # define UDB_HESIOD 5 /* look up via hesiod */ 105 ** UDBEXPAND -- look up user in database and expand 136 register struct udbent *up; local 185 for (up = UdbEnts; !breakout; up++) 214 switch (up->udb_type) 224 i = (*up->udb_dbp->seq)(up->udb_dbp, &key, &info, R_CURSOR); 229 (errno = (*up->udb_dbp->cursor)(up->udb_dbp, [all …]
|
/freebsd-src/contrib/libfido2/tools/ |
H A D | test.sh | 116 ! get_assert no.tld "-u -t up=false" u2f-cred /dev/null /dev/null 129 get_assert no.tld "-t up=true" wrap-cred /dev/null wrap-assert 131 get_assert no.tld "-t up=true -t pin=true" wrap-cred /dev/null wrap-assert 136 get_assert no.tld "-t up=true -t pin=false" wrap-cred /dev/null wrap-assert 139 get_assert no.tld "-t up=false" wrap-cred /dev/null wrap-assert 142 get_assert no.tld "-t up=false -t pin=true" wrap-cred /dev/null wrap-assert 146 get_assert no.tld "-t up=false -t pin=false" wrap-cred /dev/null wrap-assert 158 get_assert no.tld "-h -t up=true" wrap-cred hmac-salt wrap-assert 162 get_assert no.tld "-h -t up=true -t pin=true" wrap-cred hmac-salt wrap-assert 168 get_assert no.tld "-h -t up=true -t pin=false" wrap-cred hmac-salt wrap-assert [all …]
|
/freebsd-src/contrib/bmake/ |
H A D | ChangeLog | 23 Merge with NetBSD make, pick up 32 Merge with NetBSD make, pick up 39 Merge with NetBSD make, pick up 49 Merge with NetBSD make, pick up 60 Merge with NetBSD make, pick up 69 Merge with NetBSD make, pick up 78 Merge with NetBSD make, pick up 87 Merge with NetBSD make, pick up 93 Merge with NetBSD make, pick up 94 o clean up collectio [all...] |
/freebsd-src/tests/sys/net/ |
H A D | if_vlan.sh | 22 jexec alcatraz ifconfig ${epair_vlan}a up 23 jexec alcatraz ifconfig ${vlan0} 10.0.0.1/24 up 31 jexec singsing ifconfig ${epair_vlan}b up 32 jexec singsing ifconfig ${vlan1} 10.0.0.2/24 up 75 jexec jqinq0 ifconfig ${epair_qinq}a up 76 jexec jqinq0 ifconfig ${vlan5a} up 77 jexec jqinq0 ifconfig ${vlan42a} 10.5.42.1/24 up 83 jexec jqinq1 ifconfig ${epair_qinq}b up 84 jexec jqinq1 ifconfig ${vlan5b} up 85 jexec jqinq1 ifconfig ${vlan42b} 10.5.42.2/24 up [all …]
|
H A D | if_lagg_test.sh | 52 ifconfig $TAP0 up 53 ifconfig $TAP1 up 54 atf_check ifconfig $LAGG up laggport $TAP0 laggport $TAP1 \ 96 # Up the lagg's children 97 ifconfig $TAP0 inet6 ifdisabled up 98 ifconfig $TAP1 inet6 ifdisabled up 99 ifconfig $TAP2 inet6 ifdisabled up 100 ifconfig $TAP3 inet6 ifdisabled up 107 ifconfig $LAGG up laggport $TAP0 laggport $TAP1 laggport $TAP2\ 147 # Up the lagg's children [all …]
|
H A D | if_bridge_test.sh | 50 jexec alcatraz ifconfig ${epair_alcatraz}b 192.0.2.1/24 up 51 jexec singsing ifconfig ${epair_singsing}b 192.0.2.2/24 up 55 ifconfig ${bridge} up 56 ifconfig ${epair_alcatraz}a up 57 ifconfig ${epair_singsing}a up 90 jexec a ifconfig ${epair_one}a up 91 jexec a ifconfig ${epair_two}a up 95 jexec b ifconfig ${epair_one}b up 96 jexec b ifconfig ${epair_two}b up 108 jexec b ifconfig ${bridge_b} up [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 197 TargetTransformInfo::UnrollingPreferences UP; in gatherUnrollingPreferences() 199 // Set up the defaults in gatherUnrollingPreferences() 200 UP.Threshold = in gatherUnrollingPreferences() 202 UP.MaxPercentThresholdBoost = 400; in gatherUnrollingPreferences() 203 UP.OptSizeThreshold = UnrollOptSizeThreshold; in gatherUnrollingPreferences() 204 UP.PartialThreshold = 150; in gatherUnrollingPreferences() 205 UP.PartialOptSizeThreshold = UnrollOptSizeThreshold; in gatherUnrollingPreferences() 206 UP.Count = 0; in gatherUnrollingPreferences() 207 UP.DefaultUnrollRuntimeCount = 8; in gatherUnrollingPreferences() 208 UP in gatherUnrollingPreferences() 191 TargetTransformInfo::UnrollingPreferences UP; gatherUnrollingPreferences() local 691 getUnrolledLoopSize(const TargetTransformInfo::UnrollingPreferences & UP,unsigned CountOverwrite) const getUnrolledLoopSize() argument 762 shouldPragmaUnroll(Loop * L,const PragmaInfo & PInfo,const unsigned TripMultiple,const unsigned TripCount,unsigned MaxTripCount,const UnrollCostEstimator UCE,const TargetTransformInfo::UnrollingPreferences & UP) shouldPragmaUnroll() argument 794 shouldFullUnroll(Loop * L,const TargetTransformInfo & TTI,DominatorTree & DT,ScalarEvolution & SE,const SmallPtrSetImpl<const Value * > & EphValues,const unsigned FullUnrollTripCount,const UnrollCostEstimator UCE,const TargetTransformInfo::UnrollingPreferences & UP) shouldFullUnroll() argument 823 shouldPartialUnroll(const unsigned LoopSize,const unsigned TripCount,const UnrollCostEstimator UCE,const TargetTransformInfo::UnrollingPreferences & UP) shouldPartialUnroll() argument 882 computeUnrollCount(Loop * L,const TargetTransformInfo & TTI,DominatorTree & DT,LoopInfo * LI,AssumptionCache * AC,ScalarEvolution & SE,const SmallPtrSetImpl<const Value * > & EphValues,OptimizationRemarkEmitter * ORE,unsigned TripCount,unsigned MaxTripCount,bool MaxOrZero,unsigned TripMultiple,const UnrollCostEstimator & UCE,TargetTransformInfo::UnrollingPreferences & UP,TargetTransformInfo::PeelingPreferences & PP,bool & UseUpperBound) computeUnrollCount() argument 1167 TargetTransformInfo::UnrollingPreferences UP = gatherUnrollingPreferences( tryToUnrollLoop() local [all...] |
H A D | LoopUnrollAndJamPass.cpp | 144 TargetTransformInfo::UnrollingPreferences &UP) { in getUnrollAndJammedLoopSize() argument 145 assert(LoopSize >= UP.BEInsns && "LoopSize should not be less than BEInsns!"); in getUnrollAndJammedLoopSize() 146 return static_cast<uint64_t>(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns; in getUnrollAndJammedLoopSize() 149 // Calculates unroll and jam count and writes it to UP.Count. Returns true if 158 TargetTransformInfo::UnrollingPreferences &UP, in computeUnrollAndJamCount() argument 161 // First up use computeUnrollCount from the loop unroller to get a count in computeUnrollAndJamCount() 163 // unrolling we leave to the unroller. This uses UP.Threshold / in computeUnrollAndJamCount() 164 // UP in computeUnrollAndJamCount() 283 TargetTransformInfo::UnrollingPreferences UP = gatherUnrollingPreferences( tryToUnrollAndJamLoop() local [all...] |