/illumos-gate/usr/src/lib/librdc/common/ |
H A D | rdcpersist.c | 59 config2buf(char *buf, rdcconfig_t *rdc) argument 62 rdc->phost, rdc->pfile, rdc->pbmp, rdc->shost, rdc->sfile, 63 rdc->sbmp, rdc->direct, rdc->mode, rdc 178 sv_enable_nocfg(rdcconfig_t *rdc) argument 264 do_autosv_enable(CFGFILE *cfg, rdcconfig_t *rdc) argument 307 do_autosv_disable(CFGFILE *cfg, rdcconfig_t *rdc) argument 405 sv_reconfig(CFGFILE *cfg, rdcconfig_t *rdc, char *oldbmp, char *newbmp) argument 577 replace_cfgfield(rdcconfig_t *rdc, char *field, char *entry) argument 646 reverse_in_cfg(rdcconfig_t *rdc) argument [all...] |
H A D | rdcrules.c | 84 char pri[CFG_MAX_BUF]; /* rdc primary vol */ 85 char sec[CFG_MAX_BUF]; /* rdc secondary vol */ 86 char sbm[CFG_MAX_BUF]; /* rdc secondary bitmap */ 276 ctag_check(rdcconfig_t *rdc) argument 292 fromhost = rdc->phost; 293 fromfile = rdc->pfile; 294 frombitmap = rdc->pbmp; 295 tohost = rdc->shost; 296 tofile = rdc->sfile; 297 tobitmap = rdc 458 can_enable(rdcconfig_t *rdc) argument 503 can_reconfig_pbmp(rdcconfig_t *rdc, char *bmp) argument 512 can_reconfig_sbmp(rdcconfig_t *rdc, char *bmp) argument 521 cant_rsync(rdcconfig_t *rdc) argument [all...] |
H A D | rdcconfig.c | 72 extern int sv_enable(CFGFILE *cfg, rdcconfig_t *rdc); 129 config2set(rdcconfig_t *rdc) argument 134 strncpy(urdc.primary.intf, rdc->phost, MAX_RDC_HOST_SIZE); 135 strncpy(urdc.primary.file, rdc->pfile, NSC_MAXPATH); 136 strncpy(urdc.primary.bitmap, rdc->pbmp, NSC_MAXPATH); 137 strncpy(urdc.secondary.intf, rdc->shost, MAX_RDC_HOST_SIZE); 138 strncpy(urdc.secondary.file, rdc->sfile, NSC_MAXPATH); 139 strncpy(urdc.secondary.bitmap, rdc->sbmp, NSC_MAXPATH); 140 strncpy(urdc.group_name, rdc->group, NSC_MAXPATH); 194 rdc_mtconfig(void *rdc) argument 299 rdc_free_config(rdcconfig_t *rdc, int all) argument 388 rdc_enable(rdcconfig_t *rdc) argument 473 rdc_enable_clrbmp(rdcconfig_t *rdc) argument 549 rdc_disable(rdcconfig_t *rdc) argument 596 rdc_log(rdcconfig_t *rdc) argument 631 rdc_usync(rdcconfig_t *rdc) argument 675 rdc_fsync(rdcconfig_t *rdc) argument 724 rdc_rsync(rdcconfig_t *rdc) argument 784 rdc_ursync(rdcconfig_t *rdc) argument 840 rdc_wait(rdcconfig_t *rdc) argument 875 rdc_set_autosync(rdcconfig_t *rdc, int autosync) argument 913 rdc_set_maxqfbas(rdcconfig_t *rdc, int maxqfbas) argument 951 rdc_set_maxqitems(rdcconfig_t *rdc, int maxqitems) argument 990 rdc_status(rdcconfig_t *rdc) argument 1004 rdc_get_autosync(rdcconfig_t *rdc) argument 1013 rdc_get_maxqfbas(rdcconfig_t *rdc) argument 1023 rdc_get_maxqitems(rdcconfig_t *rdc) argument 1033 set_mode(rdcconfig_t *rdc) argument 1046 rdc_reconfig_pbmp(rdcconfig_t *rdc, char *pbmp) argument 1076 rdc_reconfig_sbmp(rdcconfig_t *rdc, char *sbmp) argument 1104 rdc_reconfig_group(rdcconfig_t *rdc, char *group) argument 1150 rdc_reconfig_ctag(rdcconfig_t *rdc, char *ctag) argument 1156 rdc_set_sync(rdcconfig_t *rdc) argument 1200 rdc_set_async(rdcconfig_t *rdc) argument 1243 rdc_health(rdcconfig_t *rdc) argument 1280 rdc_reverse_role(rdcconfig_t *rdc) argument [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_rxdma.c | 42 hpi_rxdma_cfg_logical_page_handle(hpi_handle_t handle, uint8_t rdc, argument 47 if (!RXDMA_CHANNEL_VALID(rdc)) { 50 " Illegal RDC number %d \n", rdc)); 57 RXDMA_REG_WRITE64(handle, RDC_PAGE_HANDLE, rdc, page_hdl.value); 63 hpi_rxdma_cfg_rdc_wait_for_qst(hpi_handle_t handle, uint8_t rdc) argument 69 RXDMA_REG_READ64(handle, RDC_RX_CFG1, rdc, &cfg.value); 73 RXDMA_REG_READ64(handle, RDC_RX_CFG1, rdc, &cfg.value); 84 hpi_rxdma_cfg_rdc_ctl(hpi_handle_t handle, uint8_t rdc, uint8_t op) argument 89 uint32_t error = HPI_RXDMA_ERROR_ENCODE(HPI_RXDMA_RESET_ERR, rdc); 91 if (!RXDMA_CHANNEL_VALID(rdc)) { 158 hpi_rxdma_cfg_rdc_enable(hpi_handle_t handle, uint8_t rdc) argument 164 hpi_rxdma_cfg_rdc_disable(hpi_handle_t handle, uint8_t rdc) argument 170 hpi_rxdma_cfg_rdc_reset(hpi_handle_t handle, uint8_t rdc) argument 176 hpi_rxdma_cfg_rdc_rcr_ctl(hpi_handle_t handle, uint8_t rdc, uint8_t op, uint16_t param) argument 214 hpi_rxdma_cfg_rdc_rcr_threshold(hpi_handle_t handle, uint8_t rdc, uint16_t rcr_threshold) argument 222 hpi_rxdma_cfg_rdc_rcr_timeout(hpi_handle_t handle, uint8_t rdc, uint8_t rcr_timeout) argument 233 hpi_rxdma_cfg_rdc_ring(hpi_handle_t handle, uint8_t rdc, rdc_desc_cfg_t *rdc_desc_cfg) argument 488 hpi_rxdma_rdc_rbr_stat_get(hpi_handle_t handle, uint8_t rdc, rdc_rbr_qlen_t *rbr_stat) argument 503 hpi_rxdma_rdc_rcr_qlen_get(hpi_handle_t handle, uint8_t rdc, uint16_t *rcr_qlen) argument [all...] |
H A D | hxge_virtual.c | 266 * add code for individual rdc properties 338 hxge_check_rxdma_port_member(p_hxge_t hxgep, uint8_t rdc) argument 350 if (rdc < p_cfgp->max_rdcs)
|
H A D | hxge_ndd.c | 323 /* now check if this rdc is in config */ 528 int rdc; local 568 for (rdc = 0; rdc < p_cfgp->max_rdcs; rdc++) { 571 rdc, hxgep->rdc[rdc], (void *)rbr_rings[rdc], 572 rbr_rings[rdc] 1180 int rdc, tdc, block; local [all...] |
H A D | hxge_rxdma.h | 329 uint16_t rdc; member in struct:_rx_rcr_ring_t 396 uint16_t rdc; member in struct:_rx_rbr_ring_t 453 uint16_t rdc; member in struct:_rx_mbox_t
|
/illumos-gate/usr/src/cmd/mdb/common/modules/rdc/ |
H A D | rdc.c | 43 #include <sys/nsctl/rdc.h> 419 if (mdb_walk_dcmd("rdc`rdc_if", 420 "rdc`rdc_if", argc, argv) == -1) { 570 if (mdb_walk_dcmd("rdc`rdc_kinfo", 571 "rdc`rdc_kinfo", argc, argv) == -1) { 691 if (mdb_walk_dcmd("rdc`rdc_uinfo", 692 "rdc`rdc_uinfo", argc, argv) == -1) { 886 rdc(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function 1512 { "rdc", NULL, "display sndr module info", rdc }, [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fzc.c | 1034 nxge_fzc_dmc_def_port_rdc(p_nxge_t nxgep, uint8_t port, uint16_t rdc) argument 1038 port, rdc);
|
H A D | nxge_ndd.c | 301 0, 15, 0, 0, "default-port-rdc", "default_port_rdc"}, 316 0, 8, 0, 0, "rx-rdc-grps-begin", "rx_rdc_grps_begin"}, 320 0, 8, 0, 0, "rx-rdc-grps", "rx_rdc_grps"}, 324 0, 15, 0, 0, "default-grp0-rdc", "default_grp0_rdc"}, 328 0, 15, 2, 0, "default-grp1-rdc", "default_grp1_rdc"}, 332 0, 15, 4, 0, "default-grp2-rdc", "default_grp2_rdc"}, 336 0, 15, 6, 0, "default-grp3-rdc", "default_grp3_rdc"}, 340 0, 15, 8, 0, "default-grp4-rdc", "default_grp4_rdc"}, 344 0, 15, 10, 0, "default-grp5-rdc", "default_grp5_rdc"}, 348 0, 15, 12, 0, "default-grp6-rdc", "default_grp6_rd 1039 int rdc; local 1109 int offset, rdc, i, rdc_grp; local 2071 int rdc; local 2174 int rdc; local 2308 int rdc, tdc, block; local [all...] |
H A D | nxge_virtual.c | 1974 " rdc start %d (#%d)", 1979 "#rdc %d (#%d)", ndmas, prop_len)); 1992 /* Hypervisor: rdc # and group # use the same # !! */ 2100 "rx-rdc-grps", p_cfgp->max_rdc_grpids); 2105 "rx-rdc-grps-begin", p_cfgp->def_mac_rxdma_grpid); 2108 "rx-rdc-grps"); 2112 "p_cfgp $%p # rdc groups %d start rdc group id %d", 2367 "rdc groups %d\n", nrxgp)); 2728 nxge_check_rxdma_port_member(p_nxge_t nxgep, uint8_t rdc) argument 2762 nxge_check_rxdma_rdcgrp_member(p_nxge_t nxgep, uint8_t rdc_grp, uint8_t rdc) argument [all...] |
H A D | nxge_kstats.c | 1203 "kstat_create failed for rdc channel %d", channel)); 2125 int rdc = set[i]; local 2129 val += statsp->rdc_stats[rdc].ierrors; 2133 val += statsp->rdc_stats[rdc].ibytes; 2137 val += statsp->rdc_stats[rdc].ipackets;
|
H A D | nxge_rxdma.c | 39 #define NXGE_ACTUAL_RDC(nxgep, rdc) \ 40 (rdc + nxgep->pt_config.hw_config.start_rdc) 248 int rdc; local 258 for (rdc = 0; rdc < NXGE_MAX_RDCS; rdc++) { 259 if ((1 << rdc) & set->owned.map) { 260 nxge_grp_dc_remove(nxgep, VP_BOUND_RX, rdc); 308 int rdc; local 330 for (rdc 425 nxge_rxdma_cfg_rdcgrp_default_rdc( p_nxge_t nxgep, uint8_t rdcgrp, uint8_t rdc) argument 464 nxge_rxdma_cfg_port_default_rdc(p_nxge_t nxgep, uint8_t port, uint8_t rdc) argument 1159 nxge_rxdma_regs_dump(p_nxge_t nxgep, int rdc) argument 1212 int rdc; local 1311 int rdc; local 1423 nxge_channel_t rdc; local 1466 nxge_channel_t rdc; local 4736 int rdc; local [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_rnode.c | 1361 bool_t rdc = FALSE; local 1369 rdc = TRUE; 1384 if (rdc == FALSE && contents == NULL && vsp == NULL && xattr == NULL) 1423 bool_t rdc = FALSE; local 1437 rdc = TRUE; 1461 if (contents == NULL && vsp == NULL && rdc == FALSE && xattr == NULL)
|
H A D | nfs4_subr.c | 2458 rddir4_cache *rdc = NULL; local 2477 rdc = rddir4_cache_alloc(KM_SLEEP); 2478 rdc->nfs4_cookie = cookie; 2479 rdc->buflen = count; 2481 return (rdc); 2561 rdc = &rdip->rc; 2562 rddir4_cache_hold(rdc); 2572 while (rdc->flags & RDDIR) { 2577 rdc->flags |= RDDIRWAIT; 2581 while (rdc 2673 rddir4_cache_rele(rnode4_t *rp, rddir4_cache *rdc) argument [all...] |
H A D | nfs_client.c | 255 rddir_cache *rdc; local 264 rdc = avl_first(&rp->r_dir); 265 while (rdc != NULL) { 266 nrdc = AVL_NEXT(&rp->r_dir, rdc); 267 avl_remove(&rp->r_dir, rdc); 268 rddir_cache_rele(rdc); 269 rdc = nrdc; 1711 nfs_async_readdir(vnode_t *vp, rddir_cache *rdc, cred_t *cr, argument 1741 args->a_nfs_rdc = rdc; 1788 rdc [all...] |
H A D | nfs_vnops.c | 2976 rddir_cache *rdc; local 3055 rdc = avl_find(&rp->r_dir, &srdc, &where); 3056 if (rdc != NULL) { 3057 rddir_cache_hold(rdc); 3067 if (rdc->flags & RDDIR) { 3069 rdc->flags |= RDDIRWAIT; 3073 if (!cv_wait_sig(&rdc->cv, &rp->r_statelock)) { 3083 rddir_cache_rele(rdc); 3091 rddir_cache_rele(rdc); 3100 if (rdc 3254 nfsreaddir(vnode_t *vp, rddir_cache *rdc, cred_t *cr) argument [all...] |
H A D | nfs4_xdr.c | 2138 rddir4_cache *rdc = aobjp->rdc; local 2151 ASSERT(rdc->entries == NULL); 2170 rdc->entries = kmem_alloc(aobjp->dircount, KM_SLEEP); 2172 dp = (dirent64_t *)rdc->entries; 2173 rdc->entlen = rdc->buflen = space_left = aobjp->dircount; 2176 if (rdc->nfs4_cookie == (nfs_cookie4) 0 || 2177 rdc->nfs4_cookie == (nfs_cookie4) 1) { 2179 if (rdc [all...] |
H A D | nfs4_client.c | 1963 nfs4_async_readdir(vnode_t *vp, rddir4_cache *rdc, cred_t *cr, argument 1992 args->a_nfs4_rdc = rdc; 2038 rdc->entries = NULL; 2043 rdc->flags &= ~RDDIR; 2044 rdc->flags |= RDDIRREQ; 2045 rddir4_cache_rele(rp, rdc);
|
H A D | nfs3_vnops.c | 3722 rddir_cache *rdc; local 3799 rdc = avl_find(&rp->r_dir, &srdc, &where); 3800 if (rdc != NULL) { 3801 rddir_cache_hold(rdc); 3811 if (rdc->flags & RDDIR) { 3813 rdc->flags |= RDDIRWAIT; 3817 if (!cv_wait_sig(&rdc->cv, &rp->r_statelock)) { 3827 rddir_cache_rele(rdc); 3835 rddir_cache_rele(rdc); 3844 if (rdc 4014 do_nfs3readdir(vnode_t *vp, rddir_cache *rdc, cred_t *cr) argument 4064 nfs3readdir(vnode_t *vp, rddir_cache *rdc, cred_t *cr) argument 4174 nfs3readdirplus(vnode_t *vp, rddir_cache *rdc, cred_t *cr) argument [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_rxdma.c | 111 npi_rxdma_cfg_rdc_ctl(npi_handle_t handle, uint8_t rdc, uint8_t op); 113 npi_rxdma_cfg_rdc_rcr_ctl(npi_handle_t handle, uint8_t rdc, uint8_t op, 119 * Dumps the contents of rdc csrs and fzc registers 123 * rdc: RX DMA number 131 npi_rxdma_dump_rdc_regs(npi_handle_t handle, uint8_t rdc) argument 140 ASSERT(RXDMA_CHANNEL_VALID(rdc)); 141 if (!RXDMA_CHANNEL_VALID(rdc)) { 145 rdc)); 154 rdc)); 156 RXDMA_REG_READ64(handle, rdc_dmc_offset[i], rdc, 214 npi_rxdma_cfg_logical_page_disable(npi_handle_t handle, uint8_t rdc, uint8_t page_num) argument 253 npi_rxdma_cfg_logical_page(npi_handle_t handle, uint8_t rdc, dma_log_page_t *pg_cfg) argument 332 npi_rxdma_cfg_logical_page_handle(npi_handle_t handle, uint8_t rdc, uint64_t page_handle) argument 359 npi_rxdma_cfg_rdc_ctl(npi_handle_t handle, uint8_t rdc, uint8_t op) argument 456 npi_rxdma_cfg_rdc_enable(npi_handle_t handle, uint8_t rdc) argument 462 npi_rxdma_cfg_rdc_disable(npi_handle_t handle, uint8_t rdc) argument 468 npi_rxdma_cfg_rdc_reset(npi_handle_t handle, uint8_t rdc) argument 488 npi_rxdma_cfg_default_port_rdc(npi_handle_t handle, uint8_t portnm, uint8_t rdc) argument 521 npi_rxdma_cfg_rdc_rcr_ctl(npi_handle_t handle, uint8_t rdc, uint8_t op, uint16_t param) argument 565 npi_rxdma_cfg_rdc_rcr_timeout_disable(npi_handle_t handle, uint8_t rdc) argument 572 npi_rxdma_cfg_rdc_rcr_threshold(npi_handle_t handle, uint8_t rdc, uint16_t rcr_threshold) argument 581 npi_rxdma_cfg_rdc_rcr_timeout(npi_handle_t handle, uint8_t rdc, uint8_t rcr_timeout) argument 594 npi_rxdma_cfg_rdc_ring(npi_handle_t handle, uint8_t rdc, rdc_desc_cfg_t *rdc_desc_cfg, boolean_t new_off) argument 857 npi_rxdma_red_discard_stat_get(npi_handle_t handle, uint8_t rdc, rx_disc_cnt_t *cnt) argument 901 npi_rxdma_red_discard_oflow_clear(npi_handle_t handle, uint8_t rdc) argument 947 npi_rxdma_misc_discard_stat_get(npi_handle_t handle, uint8_t rdc, rx_disc_cnt_t *cnt) argument 990 npi_rxdma_misc_discard_oflow_clear(npi_handle_t handle, uint8_t rdc) argument 1395 npi_rxdma_cfg_wred_param(npi_handle_t handle, uint8_t rdc, rdc_red_para_t *wred_params) argument 1530 npi_rxdma_cfg_rdc_table_default_rdc(npi_handle_t handle, uint8_t table, uint8_t rdc) argument 1588 npi_rxdma_rdc_rbr_stat_get(npi_handle_t handle, uint8_t rdc, rbr_stat_t *rbr_stat) argument 1619 npi_rxdma_rdc_rbr_head_get(npi_handle_t handle, uint8_t rdc, addr44_t *hdptr) argument 1644 npi_rxdma_rdc_rcr_qlen_get(npi_handle_t handle, uint8_t rdc, uint16_t *rcr_qlen) argument 1669 npi_rxdma_rdc_rcr_tail_get(npi_handle_t handle, uint8_t rdc, addr44_t *tail_addr) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_hio.h | 311 nxge_hio_dc_t rdc[NXGE_MAX_RDCS]; member in struct:__anon8302
|
H A D | nxge_common.h | 300 #define RDC_MAP_IN(map, rdc) \ 301 (map |= (1 << rdc)) 303 #define RDC_MAP_OUT(map, rdc) \ 304 (map &= (~(1 << rdc))) 348 uint32_t rdc:8; /* [23:16] rdc # */ member in struct:nxge_rcr_param 352 uint32_t rdc:8; /* [23:16] rdc # */ 388 uint32_t max_rdcs; /* max rdc in sequence */
|
H A D | nxge_rxdma.h | 219 uint16_t rdc; member in struct:_rx_rcr_ring_t 302 uint16_t rdc; member in struct:_rx_rbr_ring_t 368 uint16_t rdc; member in struct:_rx_mbox_t
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs_clnt.h | 115 struct rddir_cache *rdc; /* pointer to cache entry to fill */ member in struct:nfs_readdir_req 159 #define a_nfs_rdc a_args.a_readdir_args.rdc
|