Lines Matching refs:strncpy

134 	strncpy(urdc.primary.intf, rdc->phost, MAX_RDC_HOST_SIZE);  in config2set()
135 strncpy(urdc.primary.file, rdc->pfile, NSC_MAXPATH); in config2set()
136 strncpy(urdc.primary.bitmap, rdc->pbmp, NSC_MAXPATH); in config2set()
137 strncpy(urdc.secondary.intf, rdc->shost, MAX_RDC_HOST_SIZE); in config2set()
138 strncpy(urdc.secondary.file, rdc->sfile, NSC_MAXPATH); in config2set()
139 strncpy(urdc.secondary.bitmap, rdc->sbmp, NSC_MAXPATH); in config2set()
140 strncpy(urdc.group_name, rdc->group, NSC_MAXPATH); in config2set()
178 strncpy(rc.set.phost, set->primary.intf, MAX_RDC_HOST_SIZE); in rdc_config()
179 strncpy(rc.set.pfile, set->primary.file, NSC_MAXPATH); in rdc_config()
180 strncpy(rc.set.shost, set->secondary.intf, MAX_RDC_HOST_SIZE); in rdc_config()
181 strncpy(rc.set.sfile, set->secondary.file, NSC_MAXPATH); in rdc_config()
187 strncpy(rc.msg, rdc_error(NULL), RDC_ERR_SIZE); in rdc_config()
214 strncpy(rc[0]->set.phost, set->primary.intf, MAX_RDC_HOST_SIZE); in rdc_mtconfig()
215 strncpy(rc[0]->set.pfile, set->primary.file, NSC_MAXPATH); in rdc_mtconfig()
216 strncpy(rc[0]->set.pbmp, set->primary.bitmap, NSC_MAXPATH); in rdc_mtconfig()
217 strncpy(rc[0]->set.shost, set->secondary.intf, MAX_RDC_HOST_SIZE); in rdc_mtconfig()
218 strncpy(rc[0]->set.sfile, set->secondary.file, NSC_MAXPATH); in rdc_mtconfig()
219 strncpy(rc[0]->set.sbmp, set->secondary.bitmap, NSC_MAXPATH); in rdc_mtconfig()
225 strncpy(rc[0]->msg, rdc_error(NULL), RDC_ERR_SIZE); in rdc_mtconfig()
241 strncpy(fromname, urdc->primary.intf, MAX_RDC_HOST_SIZE); in populate_addrs()
242 strncpy(toname, urdc->secondary.intf, MAX_RDC_HOST_SIZE); in populate_addrs()
251 strncpy(fromname, hp->h_name, MAX_RDC_HOST_SIZE); in populate_addrs()
253 strncpy(toname, hp->h_name, MAX_RDC_HOST_SIZE); in populate_addrs()
342 strncpy(rc->phost, phost, NSC_MAXPATH); in rdc_alloc_config()
344 strncpy(rc->pfile, pfile, NSC_MAXPATH); in rdc_alloc_config()
346 strncpy(rc->pbmp, pbmp, NSC_MAXPATH); in rdc_alloc_config()
348 strncpy(rc->shost, shost, NSC_MAXPATH); in rdc_alloc_config()
350 strncpy(rc->sfile, sfile, NSC_MAXPATH); in rdc_alloc_config()
352 strncpy(rc->sbmp, sbmp, NSC_MAXPATH); in rdc_alloc_config()
354 strncpy(rc->direct, "ip", 2); in rdc_alloc_config()
357 strncpy(rc->mode, mode, NSC_MAXPATH); in rdc_alloc_config()
359 strncpy(rc->ctag, ctag, NSC_MAXPATH); in rdc_alloc_config()
361 strncpy(rc->options, options, NSC_MAXPATH); in rdc_alloc_config()
374 strncpy(rcp->msg, rdc_error(NULL), RDC_ERR_SIZE); in populate_rc()
375 strncpy(rcp->set.phost, rdcp->phost, NSC_MAXPATH); in populate_rc()
376 strncpy(rcp->set.pfile, rdcp->pfile, NSC_MAXPATH); in populate_rc()
377 strncpy(rcp->set.shost, rdcp->shost, NSC_MAXPATH); in populate_rc()
378 strncpy(rcp->set.sfile, rdcp->sfile, NSC_MAXPATH); in populate_rc()
1057 strncpy(rdccfg.rdc_set[0].primary.bitmap, pbmp, NSC_MAXPATH); in rdc_reconfig_pbmp()
1070 strncpy(rc->msg, rdc_error(NULL), RDC_ERR_SIZE); in rdc_reconfig_pbmp()
1087 strncpy(rdccfg.rdc_set[0].secondary.bitmap, sbmp, NSC_MAXPATH); in rdc_reconfig_sbmp()
1122 strncpy(rdcp->group, group, NSC_MAXPATH); in rdc_reconfig_group()