Searched refs:extmem (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/lib/libnetmap/
H A Dnmport.c119 if (d->extmem == NULL)
122 nmreq_remove_option(&d->hdr, &d->extmem->nro_opt);
123 nmctx_free(d->ctx, d->extmem);
124 d->extmem = NULL;
135 nmctx_ferror(ctx, "%s: cannot set extmem of an already registered port", d->hdr.nr_name);
140 if (d->extmem != NULL) {
141 nmctx_ferror(ctx, "%s: extmem already in use", d->hdr.nr_name);
153 d->extmem = nmctx_malloc(ctx, sizeof(*d->extmem));
154 if (d->extmem
354 NPOPT_PARSER(extmem)(struct nmreq_parse_ctx *p) function
[all...]
H A Dlibnetmap.h136 * extmem (multi-key)
178 /* pointer to the extmem option contained in the hdr options, if any */
179 struct nmreq_opt_extmem *extmem; member in struct:nmport_d
261 * fields. It may need to allocate a list of options. If an extmem option is
288 * Note that if extmem is used (either via an option or by calling an
347 * If extmem was used for @d, then @d cannot be nmport_clone()d until it has
355 /* nmport_extmem - use extmem for this port
356 * @d the port we want to use the extmem for
357 * @base the base address of the extmem region
358 * @size the size in bytes of the extmem regio
[all...]
/freebsd-13-stable/sys/i386/i386/
H A Dmachdep.c1824 u_int extmem; local
1925 * physical address of 1MB and that both basemem and extmem
1932 extmem = vmf.vmf_cx + vmf.vmf_dx * 64;
1942 extmem = vmf.vmf_ax;
1944 extmem = rtcin(RTC_EXTLO) + (rtcin(RTC_EXTHI) << 8);
1958 if ((extmem > 15 * 1024) && (extmem < 16 * 1024))
1959 extmem = 15 * 1024;
1965 physmap[physmap_idx + 1] = physmap[physmap_idx] + extmem * 1024;

Completed in 92 milliseconds