Home
last modified time | relevance | path

Searched refs:rdc_set (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc_io.c1275 rdc_check(rdc_k_info_t *krdc, rdc_set_t *rdc_set) in rdc_check() argument
1284 if (strncmp(urdc->primary.file, rdc_set->primary.file, in rdc_check()
1288 urdc->primary.file, rdc_set->primary.file); in rdc_check()
1293 if (rdc_set->primary.addr.len != 0 && in rdc_check()
1294 bcmp(urdc->primary.addr.buf, rdc_set->primary.addr.buf, in rdc_check()
1303 if (strncmp(urdc->secondary.file, rdc_set->secondary.file, in rdc_check()
1307 urdc->secondary.file, rdc_set->secondary.file); in rdc_check()
1312 if (rdc_set->secondary.addr.len != 0 && in rdc_check()
1313 bcmp(urdc->secondary.addr.buf, rdc_set->secondary.addr.buf, in rdc_check()
1463 rdc_lookup_many2one(rdc_set_t *rdc_set) in rdc_lookup_many2one() argument
[all …]
H A Drdc_svc.c1471 rdc_set_t rdc_set; in r_net_state4() local
1481 init_rdc_netbuf(&(rdc_set.primary.addr)); in r_net_state4()
1482 init_rdc_netbuf(&(rdc_set.secondary.addr)); in r_net_state4()
1483 bcopy(state.netaddr, rdc_set.primary.addr.buf, in r_net_state4()
1485 bcopy(state.rnetaddr, rdc_set.secondary.addr.buf, in r_net_state4()
1487 rdc_set.primary.addr.len = state.netaddrlen; in r_net_state4()
1488 rdc_set.secondary.addr.len = state.rnetaddrlen; in r_net_state4()
1489 (void) strncpy(rdc_set.primary.file, state.pfile, in r_net_state4()
1491 (void) strncpy(rdc_set.secondary.file, state.sfile, in r_net_state4()
1494 index = rdc_lookup_byaddr(&rdc_set); in r_net_state4()
[all …]
H A Drdc_ioctl.h167 typedef struct rdc_set { struct
227 rdc_set_t rdc_set[1]; /* The rdc sets */ member
235 struct rdc_set32 rdc_set[1]; /* The rdc sets */ member
440 rdc_set_t rdc_set[1]; member
447 struct rdc_set32 rdc_set[1]; member
H A Drdc_diskq.c2855 index = rdc_lookup_byname(uparms->rdc_set); in rdc_add_diskq()
2858 spcs_s_add(kstatus, RDC_EALREADY, uparms->rdc_set->primary.file, in rdc_add_diskq()
2859 uparms->rdc_set->secondary.file); in rdc_add_diskq()
2867 diskq = uparms->rdc_set->disk_queue; in rdc_add_diskq()
2880 uparms->rdc_set->disk_queue); in rdc_add_diskq()
2930 if (rdc_diskq_inuse(uparms->rdc_set, uparms->rdc_set->disk_queue)) { in rdc_add_diskq()
2932 uparms->rdc_set->disk_queue); in rdc_add_diskq()
2944 spcs_s_add(kstatus, RDC_EQNOADD, uparms->rdc_set->disk_queue); in rdc_add_diskq()
2984 uset = uparms->rdc_set; in rdc_init_diskq()
3110 rdc_set_t *rdc_set = uparms->rdc_set; in rdc_kill_diskq() local
[all …]
H A Drdc.c560 tailsize = sizeof (struct rdc_set) - offsetof(struct rdc_set, flags); in rdc_status_copy32()
602 offsetof(struct rdc_status32, rdc_set); in rdcstatus()
618 offsetof(struct rdc_status, rdc_set); in rdcstatus()
623 size = sizeof (struct rdc_set); in rdcstatus()
H A Drdc_dev.c332 rdc_dev_open(rdc_set_t *rdc_set, int options) in rdc_dev_open() argument
342 pathname = rdc_set->primary.file; in rdc_dev_open()
344 pathname = rdc_set->secondary.file; in rdc_dev_open()
/titanic_41/usr/src/lib/librdc/common/
H A Drdcconfig.c168 if (self_check(rdccfg->rdc_set->primary.intf)) { in rdc_config()
171 rdccfg->rdc_set->direct_file[0] = 0; in rdc_config()
177 set = &rdccfg->rdc_set[0]; in rdc_config()
203 if (self_check(rdccfg->rdc_set->primary.intf)) { in rdc_mtconfig()
206 rdccfg->rdc_set->direct_file[0] = 0; in rdc_mtconfig()
211 set = &rdccfg->rdc_set[0]; in rdc_mtconfig()
409 rdccfg.rdc_set[0] = config2set(rdcp); in rdc_enable()
422 populate_addrs(&rdccfg.rdc_set[0], 1); in rdc_enable()
495 rdccfg.rdc_set[0] = config2set(rdcp); in rdc_enable_clrbmp()
508 populate_addrs(&rdccfg.rdc_set[0], 1); in rdc_enable_clrbmp()
[all …]
/titanic_41/usr/src/cmd/avs/rdc/
H A Dsndrsyncd.c254 if (!(rdc_info->rdc_set[i].flags & RDC_ENABLED))
257 if (isnewhost(rdc_info->rdc_set[i].secondary.intf)) {
275 rdc_info->rdc_set[i].secondary.intf);
278 (void *) rdc_info->rdc_set[i].\
348 rdc_set_t *rdc_set = NULL; in rdc_sync() local
369 rdc_set = malloc(size); in rdc_sync()
370 if (rdc_set == NULL) { in rdc_sync()
378 bzero(rdc_set, size); in rdc_sync()
436 (void) strncpy(rdc_set[sets].secondary.intf, buf, in rdc_sync()
445 (void) strncpy(rdc_set[sets].primary.intf, buf, in rdc_sync()
[all …]
H A Dsndrboot.c354 parms.rdc_set->secondary.addr.len = svaddr.len;
355 parms.rdc_set->secondary.addr.maxlen = svaddr.maxlen;
356 parms.rdc_set->secondary.addr.buf = (void *)svaddr.buf;
382 parms.rdc_set->primary.addr.len = svaddr.len;
383 parms.rdc_set->primary.addr.maxlen = svaddr.maxlen;
384 parms.rdc_set->primary.addr.buf =
401 parms.rdc_set->netconfig = &knconf;
403 parms.rdc_set->netconfig = NULL;
412 (void) strncpy(parms.rdc_set->primary.intf, fromhost,
414 (void) strncpy(parms.rdc_set->primary.file, fromfile, NSC_MAXPATH);
[all …]
H A Dsndradm.c278 urdc = &rdc_status->rdc_set[i]; in rdc_print()
1635 (void) strncpy(parms.rdc_set->primary.intf, phost, MAX_RDC_HOST_SIZE); in rdc_force_disable()
1636 (void) strncpy(parms.rdc_set->primary.file, pvol, NSC_MAXPATH); in rdc_force_disable()
1637 (void) strncpy(parms.rdc_set->secondary.intf, shost, MAX_RDC_HOST_SIZE); in rdc_force_disable()
1638 (void) strncpy(parms.rdc_set->secondary.file, svol, NSC_MAXPATH); in rdc_force_disable()
2778 parms.rdc_set->netconfig = NULL;
2779 (void) strncpy(parms.rdc_set->primary.intf, fromhost,
2781 (void) strncpy(parms.rdc_set->secondary.intf, tohost,
2783 (void) strncpy(parms.rdc_set->primary.file, fromfile,
2785 (void) strncpy(parms.rdc_set->secondary.file, tofile,
[all …]
/titanic_41/usr/src/cmd/avs/sdbc/
H A Dsd_trace.c566 rdc_info = rdc_status->rdc_set; in dual_stats()