Lines Matching defs:pairs
82 * rdc_islocal is only pertinent while creating the pairs array.
83 * after all the pairs are set, its value is useless, retaining
1728 int pairs;
2273 pairs = read_libcfg(flag, group_arg, ctag_arg);
2274 if (pairs == 0) {
2694 pairs = 1;
2696 pairs = read_config(flag, config_file, group_arg, ctag_arg);
2697 if (pairs == 0) {
2706 while (pairs--) {
2709 (void) strncpy(fromfile, pair_list[pairs].ffile,
2711 (void) strncpy(tofile, pair_list[pairs].tfile,
2713 (void) strncpy(frombitmap, pair_list[pairs].fbitmap,
2716 pair_list[pairs].fhost, MAX_RDC_HOST_SIZE);
2717 (void) strncpy(tohost, pair_list[pairs].thost,
2719 (void) strncpy(tobitmap, pair_list[pairs].tbitmap,
2721 (void) strncpy(directfile, pair_list[pairs].directfile,
2723 (void) strncpy(group, pair_list[pairs].group,
2725 (void) strncpy(ctag, pair_list[pairs].ctag,
2727 (void) strncpy(diskqueue, pair_list[pairs].diskqueue,
2730 bcopy(pair_list[pairs].fnetaddr, fromnetaddr,
2732 bcopy(pair_list[pairs].tnetaddr, tonetaddr,
2735 doasync = pair_list[pairs].doasync;
2756 if (pairs == 0) {
3178 * a list of rdcconfig_t's after the pairs--
3234 &pair_list[pairs], diskqueue);
4833 * pairs of devices to be mirrored/enabled/disabled/updated.
4848 * int i Number of pairs of devices
5074 * int i Number of pairs of devices