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

12

/freebsd-head/usr.sbin/bhyve/
H A Dbhyvegc.c48 struct bhyvegc *gc; local
51 gc = calloc(1, sizeof (struct bhyvegc));
58 gc->raw = 1;
61 gc->raw = 0;
64 gc->gc_image = gc_image;
66 return (gc);
70 bhyvegc_set_fbaddr(struct bhyvegc *gc, void *fbaddr) argument
72 gc->raw = 1;
73 if (gc->gc_image->data && gc
79 bhyvegc_resize(struct bhyvegc *gc, int width, int height) argument
97 bhyvegc_get_image(struct bhyvegc *gc) argument
[all...]
H A Dbhyvegc.h44 void bhyvegc_set_fbaddr(struct bhyvegc *gc, void *fbaddr);
45 void bhyvegc_resize(struct bhyvegc *gc, int width, int height);
46 struct bhyvegc_image *bhyvegc_get_image(struct bhyvegc *gc);
H A Dconsole.c38 struct bhyvegc *gc; member in struct:__anon47
55 console.gc = bhyvegc_init(w, h, fbaddr);
61 bhyvegc_set_fbaddr(console.gc, fbaddr);
69 bhyvegc_image = bhyvegc_get_image(console.gc);
85 (*console.fb_render_cb)(console.gc, console.fb_arg);
H A Dconsole.h36 typedef void (*fb_render_func_t)(struct bhyvegc *gc, void *arg);
H A Drfb.c313 rfb_send_rect(struct rfb_softc *rc, int cfd, struct bhyvegc_image *gc, argument
350 for (p = &gc->data[y * gc->width + x]; y < h; y++) {
367 p += gc->width;
386 for (p = &gc->data[y * gc->width + x]; y < h; y++) {
390 p += gc->width;
405 rfb_send_all(struct rfb_softc *rc, int cfd, struct bhyvegc_image *gc) argument
429 srect_hdr.width = htons(gc->width);
430 srect_hdr.height = htons(gc
[all...]
H A Dpci_fbuf.c327 extern void vga_render(struct bhyvegc *gc, void *arg);
330 pci_fbuf_render(struct bhyvegc *gc, void *arg) argument
340 vga_render(gc, sc->vgasc);
345 bhyvegc_resize(gc, sc->memregs.width, sc->memregs.height);
/freebsd-head/sys/gdb/
H A Dgdb_cons.c122 struct gdbcons *gc = arg; local
126 for (i = 0; i < gc->npending; i++)
127 gdb_tx_puthex(gc->buf[i]);
129 gc->npending = 0;
148 struct gdbcons *gc; local
151 gc = cp->cn_arg;
152 if (gc->npending != 0) {
158 callout_stop(&gc->flush);
159 if (gc->npending == sizeof(gc
[all...]
/freebsd-head/usr.sbin/bsdinstall/partedit/
H A Dgpart_ops.c311 struct gconfig *gc; local
321 LIST_FOREACH(gc, &pp->lg_geom->lg_config, lg_config) {
322 if (strcmp(gc->lg_name, "scheme") == 0) {
323 scheme = gc->lg_val;
333 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
334 if (strcmp(gc->lg_name, "index") == 0) {
335 idx = atoi(gc->lg_val);
378 struct gconfig *gc; local
389 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
390 if (strcmp(gc
431 struct gconfig *gc; local
510 struct gconfig *gc; local
800 struct gconfig *gc; local
825 struct gconfig *gc; local
911 struct gconfig *gc; local
998 struct gconfig *gc; local
1282 struct gconfig *gc; local
1358 struct gconfig *gc; local
1402 struct gconfig *gc; local
[all...]
H A Dpart_wizard.c98 struct gconfig *gc; local
119 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
120 if (strcmp(gc->lg_name, "type") == 0)
121 type = gc->lg_val;
122 if (strcmp(gc->lg_name, "descr") == 0)
123 desc = gc->lg_val;
203 struct gconfig *gc; local
220 LIST_FOREACH(gc, &gpart->lg_config, lg_config) {
221 if (strcmp(gc->lg_name, "scheme") == 0) {
222 scheme = gc
[all...]
H A Dpartedit.c418 struct gconfig *gc; local
432 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
433 if (strcmp(gc->lg_name, "scheme") == 0) {
434 scheme = gc->lg_val;
435 } else if (strcmp(gc->lg_name, "modified") == 0) {
436 modified = gc->lg_val;
483 struct gconfig *gc; local
487 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
488 if (strcmp(gc->lg_name, "scheme") == 0)
489 (*items)[*nitems-1].type = gc
[all...]
/freebsd-head/stand/usb/test/
H A DMakefile45 LDFLAGS+= -Wl,--gc-sections
/freebsd-head/contrib/elftoolchain/libelf/
H A Dgelf_cap.c96 gelf_update_cap(Elf_Data *ed, int ndx, GElf_Cap *gc) argument
109 if (d == NULL || ndx < 0 || gc == NULL ||
140 LIBELF_COPY_U32(cap32, gc, c_tag);
141 LIBELF_COPY_U32(cap32, gc, c_un.c_val);
145 *cap64 = *gc;
/freebsd-head/lib/librpcsec_gss/
H A Dsvc_rpcsec_gss.c121 time_t cl_expiration; /* when to gc */
596 struct rpc_gss_cred *gc)
682 client->cl_seq = gc->gc_seq;
720 client->cl_rawcred.service = gc->gc_svc;
964 struct rpc_gss_cred gc; local
982 memset(&gc, 0, sizeof(gc));
987 if (!xdr_rpc_gss_cred(&xdrs, &gc)) {
994 if (gc.gc_version != RPCSEC_GSS_VERSION) {
1000 if (gc
593 svc_rpc_gss_accept_sec_context(struct svc_rpc_gss_client *client, struct svc_req *rqst, struct rpc_gss_init_res *gr, struct rpc_gss_cred *gc) argument
[all...]
/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlobject.h153 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)
155 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
157 #define rawuvalue(o) check_exp(ttisuserdata(o), &val_(o).gc->u)
159 #define clvalue(o) check_exp(ttisclosure(o), &val_(o).gc->cl)
160 #define clLvalue(o) check_exp(ttisLclosure(o), &val_(o).gc->cl.l)
161 #define clCvalue(o) check_exp(ttisCclosure(o), &val_(o).gc->cl.c)
163 #define hvalue(o) check_exp(ttistable(o), &val_(o).gc->h)
165 #define thvalue(o) check_exp(ttisthread(o), &val_(o).gc->th)
166 /* a dead value may get the 'gc' field, but cannot access its contents */
167 #define deadvalue(o) check_exp(ttisdeadkey(o), cast(void *, val_(o).gc))
388 GCObject *gc; /* collectable objects */ member in union:Value
[all...]
/freebsd-head/contrib/lua/src/
H A Dlobject.h101 GCObject *gc; /* collectable objects */ member in union:Value
167 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)
169 #define tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc))
170 #define uvalue(o) check_exp(ttisfulluserdata(o), gco2u(val_(o).gc))
171 #define clvalue(o) check_exp(ttisclosure(o), gco2cl(val_(o).gc))
172 #define clLvalue(o) check_exp(ttisLclosure(o), gco2lcl(val_(o).gc))
173 #define clCvalue(o) check_exp(ttisCclosure(o), gco2ccl(val_(o).gc))
175 #define hvalue(o) check_exp(ttistable(o), gco2t(val_(o).gc))
177 #define thvalue(o) check_exp(ttisthread(o), gco2th(val_(o).gc))
178 /* a dead value may get the 'gc' fiel
[all...]
H A Dlstate.h73 #define KGC_EMERGENCY 1 /* gc was forced by an allocation failure */
212 GCObject gc; /* common header */ member in union:GCUnion
239 check_exp(novariant((v)->tt) < LUA_TDEADKEY, (&(cast_u(v)->gc)))
/freebsd-head/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c140 time_t cl_expiration; /* when to gc */
855 struct rpc_gss_cred *gc)
998 client->cl_rawcred.service = gc->gc_svc;
1265 struct rpc_gss_cred gc; local
1283 memset(&gc, 0, sizeof(gc));
1288 if (!xdr_rpc_gss_cred(&xdrs, &gc)) {
1297 if (gc.gc_version != RPCSEC_GSS_VERSION) {
1303 if (gc.gc_proc == RPCSEC_GSS_INIT) {
1304 if (gc
852 svc_rpc_gss_accept_sec_context(struct svc_rpc_gss_client *client, struct svc_req *rqst, struct rpc_gss_init_res *gr, struct rpc_gss_cred *gc) argument
[all...]
/freebsd-head/contrib/nvi/vi/
H A Dv_match.c42 int cnt, isempty, matchc, startc, (*gc)(SCR *, VCS *);
78 gc = cnt & 1 ? cs_prev : cs_next;
88 if (gc(sp, &cs))
/freebsd-head/crypto/openssl/crypto/perlasm/
H A Darm-xlate.pl112 if ($line =~ m/\G(@|\/\/|$)/gc) {
115 elsif ($line =~ m/\G\{/gc) {
121 elsif ($line =~ m/\G\"/gc) {
/freebsd-head/stand/mips/beri/loader/
H A DMakefile95 CFLAGS+= -Wl,--gc-sections
/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzcp_iter.c40 zcp_list_func_t *gc; member in struct:zcp_list_info
110 .gc = NULL,
199 .gc = NULL,
300 .gc = NULL,
380 .gc = zcp_props_list_gc,
511 if (info->gc != NULL) {
519 lua_pushcfunction(state, info->gc);
/freebsd-head/contrib/binutils/binutils/
H A Dresrc.c2442 const rc_group_cursor *gc;
2445 for (c = 0, gc = group_cursor; gc != NULL; gc = gc->next, c++)
2454 for (c = 1, gc = group_cursor; gc != NULL; gc = gc->next, c++)
2458 (int) gc
2439 const rc_group_cursor *gc; local
[all...]
/freebsd-head/lib/libgeom/
H A Dgeom_xml2tree.c192 struct gconfig *gc; local
274 gc = calloc(1, sizeof *gc);
275 if (gc == NULL) {
283 gc->lg_name = strdup(name);
284 if (gc->lg_name == NULL) {
289 free(gc);
293 gc->lg_val = p;
294 LIST_INSERT_HEAD(c, gc, lg_config);
/freebsd-head/lib/geom/part/
H A Dgeom_part.c234 struct gconfig *gc; local
236 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
237 if (!strcmp(gc->lg_name, "wither"))
246 struct gconfig *gc; local
248 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
249 if (!strcmp(gc->lg_name, cfg))
250 return (gc->lg_val);
258 struct gconfig *gc; local
260 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
261 if (!strcmp(gc
304 struct gconfig *gc; local
[all...]
/freebsd-head/crypto/openssh/
H A Dclientloop.c466 struct global_confirm *gc; local
468 if ((gc = TAILQ_FIRST(&global_confirms)) == NULL)
470 if (gc->cb != NULL)
471 gc->cb(ssh, type, seq, gc->ctx);
472 if (--gc->ref_count <= 0) {
473 TAILQ_REMOVE(&global_confirms, gc, entry);
474 explicit_bzero(gc, sizeof(*gc));
475 free(gc);
750 struct global_confirm *gc, *last_gc; local
[all...]

Completed in 128 milliseconds

12