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

12

/freebsd-current/usr.sbin/bhyve/
H A Dbhyvegc.c45 struct bhyvegc *gc; local
48 gc = calloc(1, sizeof (struct bhyvegc));
55 gc->raw = 1;
58 gc->raw = 0;
61 gc->gc_image = gc_image;
63 return (gc);
67 bhyvegc_set_fbaddr(struct bhyvegc *gc, void *fbaddr) argument
69 gc->raw = 1;
70 if (gc->gc_image->data && gc
76 bhyvegc_resize(struct bhyvegc *gc, int width, int height) argument
94 bhyvegc_get_image(struct bhyvegc *gc) argument
[all...]
H A Dbhyvegc.h42 void bhyvegc_set_fbaddr(struct bhyvegc *gc, void *fbaddr);
43 void bhyvegc_resize(struct bhyvegc *gc, int width, int height);
44 struct bhyvegc_image *bhyvegc_get_image(struct bhyvegc *gc);
H A Dconsole.c35 struct bhyvegc *gc; member in struct:__anon949
52 console.gc = bhyvegc_init(w, h, fbaddr);
58 bhyvegc_set_fbaddr(console.gc, fbaddr);
66 bhyvegc_image = bhyvegc_get_image(console.gc);
82 (*console.fb_render_cb)(console.gc, console.fb_arg);
H A Dconsole.h34 typedef void (*fb_render_func_t)(struct bhyvegc *gc, void *arg);
H A Drfb.c392 rfb_send_rect(struct rfb_softc *rc, int cfd, struct bhyvegc_image *gc, argument
418 for (p = &gc->data[y * gc->width + x]; y < h; y++) {
435 p += gc->width;
454 for (p = &gc->data[y * gc->width + x]; y < h; y++) {
458 p += gc->width;
473 rfb_send_all(struct rfb_softc *rc, int cfd, struct bhyvegc_image *gc) argument
497 srect_hdr.width = htons(gc->width);
498 srect_hdr.height = htons(gc
[all...]
/freebsd-current/sys/gdb/
H A Dgdb_cons.c119 struct gdbcons *gc = arg; local
123 for (i = 0; i < gc->npending; i++)
124 gdb_tx_puthex(gc->buf[i]);
126 gc->npending = 0;
145 struct gdbcons *gc; local
148 gc = cp->cn_arg;
149 if (gc->npending != 0) {
155 callout_stop(&gc->flush);
156 if (gc->npending == sizeof(gc
[all...]
/freebsd-current/sys/dev/mana/
H A Dgdma_main.c102 struct gdma_context *gc = device_get_softc(dev); local
110 err = mana_gd_send_request(gc, sizeof(req), &req, sizeof(resp), &resp);
112 device_printf(gc->dev,
123 if (gc->num_msix_usable > resp.max_msix)
124 gc->num_msix_usable = resp.max_msix;
126 if (gc->num_msix_usable <= 1)
129 gc->max_num_queues = mp_ncpus;
130 if (gc->max_num_queues > MANA_MAX_NUM_QUEUES)
131 gc->max_num_queues = MANA_MAX_NUM_QUEUES;
133 if (gc
151 struct gdma_context *gc = device_get_softc(dev); local
193 mana_gd_send_request(struct gdma_context *gc, uint32_t req_len, const void *req, uint32_t resp_len, void *resp) argument
214 mana_gd_alloc_memory(struct gdma_context *gc, unsigned int length, struct gdma_mem_info *gmi) argument
285 mana_gd_destroy_doorbell_page(struct gdma_context *gc, int doorbell_page) argument
310 mana_gd_allocate_doorbell_page(struct gdma_context *gc, int *doorbell_page) argument
340 mana_gd_create_hw_eq(struct gdma_context *gc, struct gdma_queue *queue) argument
379 struct gdma_context *gc = queue->gdma_dev->gdma_context; local
413 mana_gd_ring_doorbell(struct gdma_context *gc, uint32_t db_index, enum gdma_queue_type q_type, uint32_t qid, uint32_t tail_ptr, uint8_t num_req) argument
471 mana_gd_wq_ring_doorbell(struct gdma_context *gc, struct gdma_queue *queue) argument
480 struct gdma_context *gc = cq->gdma_dev->gdma_context; local
494 struct gdma_context *gc = eq->gdma_dev->gdma_context; local
561 struct gdma_context *gc; local
634 struct gdma_context *gc; local
688 struct gdma_context *gc; local
715 mana_gd_test_eq(struct gdma_context *gc, struct gdma_queue *eq) argument
768 mana_gd_destroy_eq(struct gdma_context *gc, bool flush_evenets, struct gdma_queue *queue) argument
790 struct gdma_context *gc = gd->gdma_context; local
847 mana_gd_destroy_cq(struct gdma_context *gc, struct gdma_queue *queue) argument
865 struct gdma_context *gc = gd->gdma_context; local
905 mana_gd_destroy_dma_region(struct gdma_context *gc, gdma_obj_handle_t dma_region_handle) argument
938 struct gdma_context *gc = gd->gdma_context; local
1002 struct gdma_context *gc = gd->gdma_context; local
1049 struct gdma_context *gc = gd->gdma_context; local
1093 mana_gd_destroy_queue(struct gdma_context *gc, struct gdma_queue *queue) argument
1130 struct gdma_context *gc = device_get_softc(dev); local
1163 struct gdma_context *gc = gd->gdma_context; local
1198 struct gdma_context *gc = gd->gdma_context; local
1333 struct gdma_context *gc; local
1393 struct gdma_context *gc = queue->gdma_dev->gdma_context; local
1507 mana_gd_init_registers(struct gdma_context *gc) argument
1563 mana_gd_free_pci_res(struct gdma_context *gc) argument
1583 struct gdma_context *gc = device_get_softc(dev); local
1711 struct gdma_context *gc = device_get_softc(dev); local
1789 struct gdma_context *gc; local
1902 struct gdma_context *gc = device_get_softc(dev); local
[all...]
H A Dhw_channel.c382 mana_hwc_destroy_cq(struct gdma_context *gc, struct hwc_cq *hwc_cq) argument
388 mana_gd_destroy_queue(gc, hwc_cq->gdma_cq);
391 mana_gd_destroy_queue(gc, hwc_cq->gdma_eq);
466 struct gdma_context *gc = hwc->gdma_dev->gdma_context; local
487 err = mana_gd_alloc_memory(gc, buf_size, gmi);
655 struct gdma_context *gc = hwc->gdma_dev->gdma_context; local
680 return mana_gd_test_eq(gc, hwc->cq->gdma_eq);
684 mana_hwc_establish_channel(struct gdma_context *gc, uint16_t *q_depth, argument
688 struct hw_channel_context *hwc = gc->hwc.driver_data;
697 err = mana_smc_setup_hwc(&gc
776 mana_hwc_create_channel(struct gdma_context *gc) argument
836 mana_hwc_destroy_channel(struct gdma_context *gc) argument
[all...]
H A Dhw_channel.h214 int mana_hwc_create_channel(struct gdma_context *gc);
215 void mana_hwc_destroy_channel(struct gdma_context *gc);
H A Dmana_en.c938 struct gdma_context *gc = ac->gdma_dev->gdma_context; local
941 device_t dev = gc->dev;
945 req->dev_id = gc->mana.dev_id;
950 err = mana_gd_send_request(gc, in_len, in_buf, out_len,
992 struct gdma_context *gc = ac->gdma_dev->gdma_context; local
995 device_t dev = gc->dev;
1298 struct gdma_context *gc = ac->gdma_dev->gdma_context; local
1305 for (i = 0; i < gc->max_num_queues; i++) {
1310 mana_gd_destroy_queue(gc, eq);
1321 struct gdma_context *gc local
1849 struct gdma_context *gc = local
2036 struct gdma_context *gc; local
2223 struct gdma_context *gc = apc->ac->gdma_dev->gdma_context; local
2347 struct gdma_context *gc; local
2801 struct gdma_context *gc = ac->gdma_dev->gdma_context; local
2909 struct gdma_context *gc = gd->gdma_context; local
2961 struct gdma_context *gc = gd->gdma_context; local
[all...]
/freebsd-current/usr.sbin/bsdinstall/partedit/
H A Dgpart_ops.c345 struct gconfig *gc; local
355 LIST_FOREACH(gc, &pp->lg_geom->lg_config, lg_config) {
356 if (strcmp(gc->lg_name, "scheme") == 0) {
357 scheme = gc->lg_val;
367 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
368 if (strcmp(gc->lg_name, "index") == 0) {
369 idx = atoi(gc->lg_val);
412 struct gconfig *gc; local
424 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
425 if (strcmp(gc
467 struct gconfig *gc; local
550 struct gconfig *gc; local
831 struct gconfig *gc; local
856 struct gconfig *gc; local
942 struct gconfig *gc; local
1033 struct gconfig *gc; local
1359 struct gconfig *gc; local
1439 struct gconfig *gc; local
1486 struct gconfig *gc; local
[all...]
H A Dpart_wizard.c105 struct gconfig *gc; local
129 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
130 if (strcmp(gc->lg_name, "type") == 0)
131 type = gc->lg_val;
132 if (strcmp(gc->lg_name, "descr") == 0)
133 desc = gc->lg_val;
227 struct gconfig *gc; local
247 LIST_FOREACH(gc, &gpart->lg_config, lg_config) {
248 if (strcmp(gc->lg_name, "scheme") == 0) {
249 scheme = gc
[all...]
H A Dpartedit.c464 struct gconfig *gc; local
481 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
482 if (strcmp(gc->lg_name, "scheme") == 0) {
483 scheme = gc->lg_val;
484 } else if (strcmp(gc->lg_name, "modified") == 0) {
485 modified = gc->lg_val;
532 struct gconfig *gc; local
536 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
537 if (strcmp(gc->lg_name, "scheme") == 0)
538 (*items)[*nitems-1].type = gc
[all...]
/freebsd-current/stand/usb/test/
H A DMakefile44 LDFLAGS+= -Wl,--gc-sections
/freebsd-current/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-current/contrib/unifdef/scripts/
H A Dupload.sh6 git gc --aggressive
/freebsd-current/contrib/lua/src/
H A Dlobject.h50 struct GCObject *gc; /* collectable objects */ member in union:Value
266 #define thvalue(o) check_exp(ttisthread(o), gco2th(val_(o).gc))
270 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VTHREAD)); \
305 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)
307 #define gcvalueraw(v) ((v).gc)
311 val_(io).gc = i_g; settt_(io, ctb(i_g->tt)); }
367 #define tsvalueraw(v) (gco2ts((v).gc))
369 #define tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc))
373 val_(io).gc = obj2gco(x_); settt_(io, ctb(x_->tt)); \
437 #define uvalue(o) check_exp(ttisfulluserdata(o), gco2u(val_(o).gc))
[all...]
/freebsd-current/lib/librpcsec_gss/
H A Dsvc_rpcsec_gss.c119 time_t cl_expiration; /* when to gc */
594 struct rpc_gss_cred *gc)
680 client->cl_seq = gc->gc_seq;
718 client->cl_rawcred.service = gc->gc_svc;
962 struct rpc_gss_cred gc; local
980 memset(&gc, 0, sizeof(gc));
985 if (!xdr_rpc_gss_cred(&xdrs, &gc)) {
992 if (gc.gc_version != RPCSEC_GSS_VERSION) {
998 if (gc
591 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-current/sys/contrib/openzfs/module/lua/
H A Dlobject.h151 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)
153 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
155 #define rawuvalue(o) check_exp(ttisuserdata(o), &val_(o).gc->u)
157 #define clvalue(o) check_exp(ttisclosure(o), &val_(o).gc->cl)
158 #define clLvalue(o) check_exp(ttisLclosure(o), &val_(o).gc->cl.l)
159 #define clCvalue(o) check_exp(ttisCclosure(o), &val_(o).gc->cl.c)
161 #define hvalue(o) check_exp(ttistable(o), &val_(o).gc->h)
163 #define thvalue(o) check_exp(ttisthread(o), &val_(o).gc->th)
164 /* a dead value may get the 'gc' field, but cannot access its contents */
165 #define deadvalue(o) check_exp(ttisdeadkey(o), cast(void *, val_(o).gc))
386 GCObject *gc; /* collectable objects */ member in union:Value
[all...]
/freebsd-current/stand/i386/
H A DMakefile.inc29 LD_FLAGS_BIN= -static -N --gc-sections
/freebsd-current/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c139 time_t cl_expiration; /* when to gc */
921 struct rpc_gss_cred *gc)
1065 client->cl_rawcred.service = gc->gc_svc;
1332 struct rpc_gss_cred gc; local
1353 memset(&gc, 0, sizeof(gc));
1358 if (!xdr_rpc_gss_cred(&xdrs, &gc)) {
1368 if (gc.gc_version != RPCSEC_GSS_VERSION) {
1374 if (gc.gc_proc == RPCSEC_GSS_INIT) {
1375 if (gc
918 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-current/contrib/nvi/vi/
H A Dv_match.c38 int cnt, isempty, matchc, startc, (*gc)(SCR *, VCS *);
74 gc = cnt & 1 ? cs_prev : cs_next;
84 if (gc(sp, &cs))
/freebsd-current/crypto/openssl/crypto/perlasm/
H A Darm-xlate.pl125 if ($line =~ m/\G(@|\/\/|$)/gc) {
128 elsif ($line =~ m/\G\{/gc) {
134 elsif ($line =~ m/\G\"/gc) {
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dzcp_iter.c43 zcp_list_func_t *gc; member in struct:zcp_list_info
113 .gc = NULL,
200 .gc = NULL,
287 .gc = NULL,
367 .gc = zcp_user_props_list_gc,
389 .gc = zcp_user_props_list_gc,
660 .gc = NULL,
730 if (info->gc != NULL) {
738 lua_pushcfunction(state, info->gc);
/freebsd-current/lib/libgeom/
H A Dgeom_xml2tree.c191 struct gconfig *gc; local
273 gc = calloc(1, sizeof *gc);
274 if (gc == NULL) {
282 gc->lg_name = strdup(name);
283 if (gc->lg_name == NULL) {
288 free(gc);
292 gc->lg_val = p;
293 LIST_INSERT_HEAD(c, gc, lg_config);

Completed in 200 milliseconds

12