Home
last modified time | relevance | path

Searched full:gc (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/freebsd/sys/dev/mana/
H A Dgdma_main.c102 struct gdma_context *gc = device_get_softc(dev); in mana_gd_query_max_resources() local
110 err = mana_gd_send_request(gc, sizeof(req), &req, sizeof(resp), &resp); in mana_gd_query_max_resources()
112 device_printf(gc->dev, in mana_gd_query_max_resources()
123 if (gc->num_msix_usable > resp.max_msix) in mana_gd_query_max_resources()
124 gc->num_msix_usable = resp.max_msix; in mana_gd_query_max_resources()
126 if (gc->num_msix_usable <= 1) in mana_gd_query_max_resources()
129 gc->max_num_queues = mp_ncpus; in mana_gd_query_max_resources()
130 if (gc->max_num_queues > MANA_MAX_NUM_QUEUES) in mana_gd_query_max_resources()
131 gc->max_num_queues = MANA_MAX_NUM_QUEUES; in mana_gd_query_max_resources()
133 if (gc->max_num_queues > resp.max_eq) in mana_gd_query_max_resources()
[all …]
H A Dhw_channel.c382 mana_hwc_destroy_cq(struct gdma_context *gc, struct hwc_cq *hwc_cq) in mana_hwc_destroy_cq() argument
388 mana_gd_destroy_queue(gc, hwc_cq->gdma_cq); in mana_hwc_destroy_cq()
391 mana_gd_destroy_queue(gc, hwc_cq->gdma_eq); in mana_hwc_destroy_cq()
460 struct gdma_context *gc = hwc->gdma_dev->gdma_context; in mana_hwc_alloc_dma_buf() local
479 err = mana_gd_alloc_memory(gc, buf_size, gmi); in mana_hwc_alloc_dma_buf()
645 struct gdma_context *gc = hwc->gdma_dev->gdma_context; in mana_hwc_test_channel() local
668 return mana_gd_test_eq(gc, hwc->cq->gdma_eq); in mana_hwc_test_channel()
672 mana_hwc_establish_channel(struct gdma_context *gc, uint16_t *q_depth, in mana_hwc_establish_channel() argument
676 struct hw_channel_context *hwc = gc->hwc.driver_data; in mana_hwc_establish_channel()
685 err = mana_smc_setup_hwc(&gc->shm_channel, false, in mana_hwc_establish_channel()
[all …]
/freebsd/usr.sbin/bhyve/
H A Dbhyvegc.c45 struct bhyvegc *gc; in bhyvegc_init() local
48 gc = calloc(1, sizeof (struct bhyvegc)); in bhyvegc_init()
55 gc->raw = 1; in bhyvegc_init()
58 gc->raw = 0; in bhyvegc_init()
61 gc->gc_image = gc_image; in bhyvegc_init()
63 return (gc); in bhyvegc_init()
67 bhyvegc_set_fbaddr(struct bhyvegc *gc, void *fbaddr) in bhyvegc_set_fbaddr() argument
69 gc->raw = 1; in bhyvegc_set_fbaddr()
70 if (gc->gc_image->data && gc->gc_image->data != fbaddr) in bhyvegc_set_fbaddr()
71 free(gc->gc_image->data); in bhyvegc_set_fbaddr()
[all …]
H A Dconsole.c35 struct bhyvegc *gc; member
52 console.gc = bhyvegc_init(w, h, fbaddr); in console_init()
58 bhyvegc_set_fbaddr(console.gc, fbaddr); in console_set_fbaddr()
66 bhyvegc_image = bhyvegc_get_image(console.gc); in console_get_image()
82 (*console.fb_render_cb)(console.gc, console.fb_arg); in console_refresh()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DBuiltinGCs.cpp1 //===- BuiltinGCs.cpp - Boilerplate for our built in GC types -------------===//
10 // gc lowering strategies.
23 /// An example GC which attempts to be compatible with Erlang/OTP garbage
35 /// An example GC which attempts to be compatible with Objective Caml 3.10.0
46 /// A GC strategy for uncooperative targets. This implements lowering for the
47 /// llvm.gc* intrinsics for targets that do not natively support them (which
63 /// distinguish between gc managed and non-gc managed pointers, and has
70 // These options are all gc.root specific, we specify them so that the in StatepointGC()
71 // gc.root lowering code doesn't run. in StatepointGC()
79 // For the sake of this example GC, we arbitrarily pick addrspace(1) as our in isGCManagedPointer()
[all …]
/freebsd/contrib/llvm-project/lld/docs/ELF/
H A Dstart-stop-gc.rst1 -z start-stop-gc
4 If your ``-Wl,--gc-sections`` build fail with a linker error like this:
8 …ol needs to be retained under --gc-sections properly; consider -z nostart-stop-gc (see https://lld…
11 suffice under ``--gc-sections``.
16 conservative behavior works for existing code which does not take GC into fair
18 usage which desires precise GC.
20 GNU ld 2.37 added ``-z start-stop-gc`` to restore the traditional behavior
21 ld.lld 13.0.0 defaults to ``-z start-stop-gc`` and supports ``-z nostart-stop-gc``
25 allowed GC (like ``-z start-stop-gc``).
53 linker ``--gc-sections``.
/freebsd/sys/gdb/
H A Dgdb_cons.c119 struct gdbcons *gc = arg; in gdb_cnflush() local
123 for (i = 0; i < gc->npending; i++) in gdb_cnflush()
124 gdb_tx_puthex(gc->buf[i]); in gdb_cnflush()
126 gc->npending = 0; in gdb_cnflush()
145 struct gdbcons *gc; in gdb_cnputc() local
148 gc = cp->cn_arg; in gdb_cnputc()
149 if (gc->npending != 0) { in gdb_cnputc()
155 callout_stop(&gc->flush); in gdb_cnputc()
156 if (gc->npending == sizeof(gc->buf)) in gdb_cnputc()
157 gdb_cnflush(gc); in gdb_cnputc()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGCStrategy.h11 // specified in a function's 'gc' attribute. Algorithms are enabled by setting
15 // GCStrategy is relevant for implementations using either gc.root or
16 // gc.statepoint based lowering strategies, but is currently focused mostly on
17 // options for gc.root. This will change over time.
19 // When requested by a subclass of GCStrategy, the gc.root implementation will
32 // When a reference to a GC-allocated object exists on the stack, it must be
38 // When used with gc.statepoint, information about safepoint and roots can be
70 bool UseStatepoints = false; /// Uses gc.statepoints as opposed to gc.roots,
86 /// Return the name of the GC strategy. This is the value of the collector
90 /// Returns true if this strategy is expecting the use of gc.statepoints,
[all …]
H A DStatepoint.h1 //===- llvm/IR/Statepoint.h - gc.statepoint utilities -----------*- C++ -*-===//
10 // CallBase for accessing the fields of gc.statepoint, gc.relocate,
11 // gc.result intrinsics; and some general utilities helpful when dealing with
12 // gc.statepoint.
42 ///< GC-aware code to code that is not GC-aware.
58 /// Represents a gc.statepoint intrinsic call. This extends directly from
59 /// CallBase as the IntrinsicInst only supports calls and gc.statepoint is
157 /// range adapter for GC transition arguments
178 /// Returns an iterator to the begining of the argument range describing gc
186 /// Return an end iterator for the gc argument range
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_rwcohort.h45 #define CK_RWCOHORT_WP_READ_LOCK(N, RW, C, GC, LC) \ argument
46 ck_rwcohort_wp_##N##_read_lock(RW, C, GC, LC)
47 #define CK_RWCOHORT_WP_READ_UNLOCK(N, RW, C, GC, LC) \ argument
49 #define CK_RWCOHORT_WP_WRITE_LOCK(N, RW, C, GC, LC) \ argument
50 ck_rwcohort_wp_##N##_write_lock(RW, C, GC, LC)
51 #define CK_RWCOHORT_WP_WRITE_UNLOCK(N, RW, C, GC, LC) \ argument
52 ck_rwcohort_wp_##N##_write_unlock(RW, C, GC, LC)
149 #define CK_RWCOHORT_RP_READ_LOCK(N, RW, C, GC, LC) \ argument
150 ck_rwcohort_rp_##N##_read_lock(RW, C, GC, LC)
151 #define CK_RWCOHORT_RP_READ_UNLOCK(N, RW, C, GC, LC) \ argument
[all …]
/freebsd/usr.sbin/bsdinstall/partedit/
H A Dgpart_ops.c345 struct gconfig *gc; in gpart_activate() local
355 LIST_FOREACH(gc, &pp->lg_geom->lg_config, lg_config) { in gpart_activate()
356 if (strcmp(gc->lg_name, "scheme") == 0) { in gpart_activate()
357 scheme = gc->lg_val; in gpart_activate()
367 LIST_FOREACH(gc, &pp->lg_config, lg_config) { in gpart_activate()
368 if (strcmp(gc->lg_name, "index") == 0) { in gpart_activate()
369 idx = atoi(gc->lg_val); in gpart_activate()
412 struct gconfig *gc; in gpart_bootcode() local
424 LIST_FOREACH(gc, &gp->lg_config, lg_config) { in gpart_bootcode()
425 if (strcmp(gc->lg_name, "scheme") == 0) { in gpart_bootcode()
[all …]
/freebsd/crypto/krb5/src/lib/rpc/
H A Dauth_gss.c152 struct rpc_gss_cred gc; /* client credentials */ member
199 gd->gc.gc_v = RPCSEC_GSS_VERSION; in authgss_create()
200 gd->gc.gc_proc = RPCSEC_GSS_INIT; in authgss_create()
201 gd->gc.gc_svc = gd->sec.svc; in authgss_create()
267 pd->pd_ctx_hndl = gd->gc.gc_ctx; in authgss_get_private_data()
295 gd->gc.gc_seq++; in authgss_marshal()
299 if (!xdr_rpc_gss_cred(&tmpxdrs, &gd->gc)) { in authgss_marshal()
312 if (gd->gc.gc_proc == RPCSEC_GSS_INIT || in authgss_marshal()
313 gd->gc.gc_proc == RPCSEC_GSS_CONTINUE_INIT) { in authgss_marshal()
356 /* would like to do this only on NULL rpc - gc->established is good enough. in authgss_validate()
[all …]
H A Dsvc_auth_gss.c182 struct rpc_gss_cred *gc; in svcauth_gss_accept_sec_context() local
190 gc = (struct rpc_gss_cred *)rqst->rq_clntcred; in svcauth_gss_accept_sec_context()
231 gd->sec.svc = gc->gc_svc; in svcauth_gss_accept_sec_context()
232 gd->seq = gc->gc_seq; in svcauth_gss_accept_sec_context()
394 struct rpc_gss_cred *gc; in gssrpc__svcauth_gss() local
427 gc = (struct rpc_gss_cred *)rqst->rq_clntcred; in gssrpc__svcauth_gss()
428 memset(gc, 0, sizeof(*gc)); in gssrpc__svcauth_gss()
437 if (!xdr_rpc_gss_cred(&xdrs, gc)) { in gssrpc__svcauth_gss()
449 if (gc->gc_v != RPCSEC_GSS_VERSION) in gssrpc__svcauth_gss()
453 if (gc->gc_svc != RPCSEC_GSS_SVC_NONE && in gssrpc__svcauth_gss()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DStripGCRelocates.cpp1 //===- StripGCRelocates.cpp - Remove gc.relocates inserted by RewriteStatePoints===//
9 // This is a little utility pass that removes the gc.relocates inserted by
12 // the GC.relocates. The statepoint and gc.result intrinsics would still be
29 // TODO: We currently do not handle gc.relocates that are in landing pads, in stripGCRelocates()
36 // All gc.relocates are bound to a single statepoint token. The order of in stripGCRelocates()
37 // visiting gc.relocates for deletion does not matter. in stripGCRelocates()
47 // Replace all uses of gc.relocate and delete the gc.relocate in stripGCRelocates()
61 // Removing gc.relocate preserves the CFG, but most other analysis probably in run()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_heath.c2 * refclock_heath - clock driver for Heath GC-1000
3 * (but no longer the GC-1001 Model II, which apparently never worked)
25 * This driver supports the Heath GC-1000 Most Accurate Clock, with
37 * There were two GC-1000 versions supported by this driver. The original
38 * GC-1000 with RS-232 output first appeared in 1983, but dissapeared
39 * from the market a few years later. The GC-1001 II with RS-232 output
42 * The GC-1000 has a pseudo-bipolar timecode output triggered by a RTS
44 * day. The GC-1001 II has a true bipolar output and a complement of
48 * The GC-1001 II was apparently never tested and, based on a Coverity
51 * GC
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1 //===- RewriteStatepointsForGC.cpp - Make GC relocations explicit ---------===//
78 #define DEBUG_TYPE "rewrite-statepoints-for-gc"
118 /// RewriteStatepointsForGC runs, all calls to gc.statepoint "free" the entire
122 /// attributes and metadata. gc.statepoint can touch the entire heap including
128 // Find the GC strategy for a function, or null if it doesn't have one.
206 /// The *new* gc.statepoint instruction itself. This produces the token
207 /// that normal path gc.relocates and the gc.result are tied to.
210 /// Instruction to which exceptional gc relocates are attached
247 GCPtrLivenessData &Data, GCStrategy *GC);
252 StatepointLiveSetTy &out, GCStrategy *GC);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DStackMaps.h151 /// <StackMaps::ConstantOp>, <num gc pointer args>, [gc pointer args...],
152 /// <StackMaps::ConstantOp>, <num gc allocas>, [gc allocas args...],
153 /// <StackMaps::ConstantOp>, <num entries in gc map>, [base/derived pairs]
154 /// base/derived pairs in gc map are logical indices into <gc pointer args>
156 /// All gc pointers assigned to VRegs produce new value (in form of MI Def
161 // gc operands all prefixed by their length and a type code. This would be
187 /// (calling convention, statepoint flags, vm state and gc stat
[all...]
/freebsd/lib/librpcsec_gss/
H A Dsvc_rpcsec_gss.c119 time_t cl_expiration; /* when to gc */
594 struct rpc_gss_cred *gc) in svc_rpc_gss_accept_sec_context() argument
680 client->cl_seq = gc->gc_seq; in svc_rpc_gss_accept_sec_context()
718 client->cl_rawcred.service = gc->gc_svc; in svc_rpc_gss_accept_sec_context()
962 struct rpc_gss_cred gc; in svc_rpc_gss() local
980 memset(&gc, 0, sizeof(gc)); in svc_rpc_gss()
985 if (!xdr_rpc_gss_cred(&xdrs, &gc)) { in svc_rpc_gss()
992 if (gc.gc_version != RPCSEC_GSS_VERSION) { in svc_rpc_gss()
998 if (gc.gc_proc == RPCSEC_GSS_INIT) { in svc_rpc_gss()
999 if (gc.gc_handle.length != 0) { in svc_rpc_gss()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp70 "use-registers-for-gc-values-in-landing-pad", cl::Hidden, cl::init(false),
71 cl::desc("Allow using registers for gc pointer in landing pad"));
74 "max-registers-for-gc-values", cl::Hidden, cl::init(0),
75 cl::desc("Max number of VRegs allowed to pass GC pointer meta args in"));
168 // Spill location is known for gc relocates in findPreviousSpillSlot()
299 // TODO: currently we reserve space for gc arguments after doing in reservePreviousStackSlotForValue()
301 // _all_ deopt and gc arguments, then start allocating. This in reservePreviousStackSlotForValue()
303 // but gc state doesn't between two calls. in reservePreviousStackSlotForValue()
422 /// either a deopt value or a gc value, the handling is the same. We special
433 // really meaningful for a deopt value. For GC, we'd be trying to in lowerIncomingStatepointValue()
[all …]
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlobject.h152 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)
154 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
156 #define rawuvalue(o) check_exp(ttisuserdata(o), &val_(o).gc->u)
158 #define clvalue(o) check_exp(ttisclosure(o), &val_(o).gc->cl)
159 #define clLvalue(o) check_exp(ttisLclosure(o), &val_(o).gc->cl.l)
160 #define clCvalue(o) check_exp(ttisCclosure(o), &val_(o).gc->cl.c)
162 #define hvalue(o) check_exp(ttistable(o), &val_(o).gc->h)
164 #define thvalue(o) check_exp(ttisthread(o), &val_(o).gc->th)
165 /* a dead value may get the 'gc' field, but cannot access its contents */
166 #define deadvalue(o) check_exp(ttisdeadkey(o), cast(void *, val_(o).gc))
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DPlaceSafepoints.h1 //===- PlaceSafepoints.h - Place GC Safepoints ----------------------------===//
16 // deopt arguments and (after RewriteStatepointsForGC) gc arguments are located
18 // point is represented by a call wrapped in an gc.statepoint intrinsic.
22 // routine will be parseable. The (gc & runtime specific) logic of a poll is
23 // assumed to be provided in a function of the name "gc.safepoint_poll".
35 // poll (or otherwise be inspected by the GC). If so, the entire stack
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DOcamlGCPrinter.cpp96 /// either condition is detected in a function which uses the GC.
118 // this function is managed by some other GC in finishAssembly()
125 report_fatal_error(" Too much descriptor for ocaml GC"); in finishAssembly()
133 // this function is managed by some other GC in finishAssembly()
140 "' is too large for the ocaml GC! " in finishAssembly()
158 "' is too large for the ocaml GC! " in finishAssembly()
173 "GC root stack offset is outside of fixed stack frame and out " in finishAssembly()
174 "of range for ocaml GC!"); in finishAssembly()
/freebsd/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c139 time_t cl_expiration; /* when to gc */
921 struct rpc_gss_cred *gc) in svc_rpc_gss_accept_sec_context() argument
1128 client->cl_rawcred.service = gc->gc_svc; in svc_rpc_gss_accept_sec_context()
1396 struct rpc_gss_cred gc; in svc_rpc_gss() local
1417 memset(&gc, 0, sizeof(gc)); in svc_rpc_gss()
1422 if (!xdr_rpc_gss_cred(&xdrs, &gc)) { in svc_rpc_gss()
1432 if (gc.gc_version != RPCSEC_GSS_VERSION) { in svc_rpc_gss()
1438 if (gc.gc_proc == RPCSEC_GSS_INIT) { in svc_rpc_gss()
1439 if (gc.gc_handle.length != 0) { in svc_rpc_gss()
1446 if (gc.gc_handle.length != sizeof(*p)) { in svc_rpc_gss()
[all …]
/freebsd/contrib/lua/src/
H A Dlgc.h124 /* Default Values for GC parameters */
132 ** some gc parameters are stored divided by 4 to allow a maximum value
140 /* how much to allocate before next GC step (log2) */
145 ** Check whether the declared GC mode is generational. While in
153 ** Control when GC is running:
155 #define GCSTPUSR 1 /* bit true when GC stopped by user */
156 #define GCSTPGC 2 /* bit true when GC stopped by itself */
165 ** GC cycle on every opportunity)
/freebsd/share/doc/papers/sysperf/
H A Da1.t176 argc--, argv++;
178 argc--, argv++;
214 argc--, argv++;
216 argc--, argv++;
257 argc--, argv++;
259 argc--, argv++;
451 argc--, argv++;
511 argc--, argv++;
585 argc--, argv++;

12345678910>>...14