Searched refs:csb (Results 1 - 6 of 6) sorted by relevance
/freebsd-11-stable/sys/net/ |
H A D | paravirt.h | 36 The guest allocates the shared Communication Status Block (csb) and 38 csb->csb_on enables the mode. If disabled, the device acts a regular one. 41 if possible. In particular (only mentioning csb mode below), 152 void paravirt_configure_csb(struct paravirt_csb** csb, uint32_t csbbal,
|
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_file.c | 540 convert_stat(const struct stat *sb, cloudabi_filestat_t *csb) argument 552 *csb = res; 560 cloudabi_filestat_t csb; local 579 convert_stat(&sb, &csb); 580 csb.st_filetype = filetype; 581 return (copyout(&csb, uap->buf, sizeof(csb))); 649 cloudabi_filestat_t csb; local 665 convert_stat(&sb, &csb); 667 csb [all...] |
/freebsd-11-stable/sys/dev/e1000/ |
H A D | if_lem.c | 558 tsize = 4096; // XXX one page for the csb 560 device_printf(dev, "Unable to allocate csb memory\n"); 565 adapter->csb = (struct paravirt_csb *)adapter->csb_mem.dma_vaddr; 567 adapter->csb->host_need_txkick = 1; /* txring empty */ 568 adapter->csb->guest_need_rxkick = 1; /* no rx packets */ 571 "enable paravirt.", &adapter->csb->guest_csb_on, 0); 573 "txc_lim", &adapter->csb->host_txcycles_lim, 1); 578 PA_SC("host_need_txkick",&adapter->csb->host_need_txkick, 1); 579 PA_SC("host_rxkick_at",&adapter->csb->host_rxkick_at, ~0); 580 PA_SC("guest_need_txkick",&adapter->csb 3586 struct paravirt_csb* csb = adapter->csb; local [all...] |
H A D | if_lem.h | 268 #define E1000_CSBAL 0x02830 /* csb phys. addr. low */ 269 #define E1000_CSBAH 0x02834 /* csb phys. addr. hi */ 455 struct paravirt_csb *csb; /* virtual addr */ member in struct:adapter
|
/freebsd-11-stable/tests/sys/netmap/ |
H A D | ctrl-api-test.c | 157 void *csb; /* CSB entries (atok and ktoa) */ member in struct:TestContext 1186 if (ctx->csb) { 1187 free(ctx->csb); 1189 ret = posix_memalign(&ctx->csb, sizeof(struct nm_csb_atok), csb_size); 1197 opt->csb_atok = (uintptr_t)ctx->csb; 1198 opt->csb_ktoa = (uintptr_t)(((uint8_t *)ctx->csb) + 1706 if (ctx->csb) { 1707 free(ctx->csb); 1708 ctx->csb = NULL;
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_kern.h | 2397 #define CSB_READ(csb, field, r) (get_user(r, &csb->field)) 2398 #define CSB_WRITE(csb, field, v) (put_user(v, &csb->field)) 2400 #define CSB_READ(csb, field, r) (r = fuword32(&csb->field)) 2401 #define CSB_WRITE(csb, field, v) (suword32(&csb->field, v))
|
Completed in 102 milliseconds