Home
last modified time | relevance | path

Searched refs:NSC_MAXPATH (Results 1 – 25 of 36) sorted by relevance

12

/titanic_50/usr/src/lib/librdc/common/
H A Dlibrdc.h42 #if !defined(NSC_MAXPATH)
43 #define NSC_MAXPATH 64 macro
49 char phost[NSC_MAXPATH];
50 char pfile[NSC_MAXPATH];
51 char pbmp[NSC_MAXPATH];
52 char shost[NSC_MAXPATH];
53 char sfile[NSC_MAXPATH];
54 char sbmp[NSC_MAXPATH];
55 char direct[NSC_MAXPATH];
56 char mode[NSC_MAXPATH];
[all …]
H A Drdcpersist.c184 char vol[NSC_MAXPATH]; in sv_enable_nocfg()
185 char bmp[NSC_MAXPATH]; in sv_enable_nocfg()
190 strncpy(vol, rdc->pfile, NSC_MAXPATH); in sv_enable_nocfg()
191 strncpy(bmp, rdc->pbmp, NSC_MAXPATH); in sv_enable_nocfg()
193 strncpy(vol, rdc->sfile, NSC_MAXPATH); in sv_enable_nocfg()
194 strncpy(bmp, rdc->sbmp, NSC_MAXPATH); in sv_enable_nocfg()
266 char vol[NSC_MAXPATH]; in do_autosv_enable()
267 char bmp[NSC_MAXPATH]; in do_autosv_enable()
275 strncpy(vol, rdc->pfile, NSC_MAXPATH); in do_autosv_enable()
276 strncpy(bmp, rdc->pbmp, NSC_MAXPATH); in do_autosv_enable()
[all …]
H A Drdcconfig.c135 strncpy(urdc.primary.file, rdc->pfile, NSC_MAXPATH); in config2set()
136 strncpy(urdc.primary.bitmap, rdc->pbmp, NSC_MAXPATH); 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()
179 strncpy(rc.set.pfile, set->primary.file, NSC_MAXPATH); in rdc_config()
181 strncpy(rc.set.sfile, set->secondary.file, NSC_MAXPATH); in rdc_config()
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()
218 strncpy(rc[0]->set.sfile, set->secondary.file, NSC_MAXPATH); in rdc_mtconfig()
[all …]
H A Drdcrules.c416 char target[NSC_MAXPATH]; in mounted()
426 for (s = target; i < NSC_MAXPATH && (*s = *device++); i++) { in mounted()
530 strncpy(rc->set.pfile, rdc->pfile, NSC_MAXPATH); in cant_rsync()
531 strncpy(rc->set.pbmp, rdc->pbmp, NSC_MAXPATH); in cant_rsync()
533 strncpy(rc->set.sfile, rdc->sfile, NSC_MAXPATH); in cant_rsync()
534 strncpy(rc->set.sbmp, rdc->sbmp, NSC_MAXPATH); in cant_rsync()
/titanic_50/usr/src/cmd/avs/rdc/
H A Dsndrboot.c71 char ffile[NSC_MAXPATH]; /* Primary device */
72 char fbitmap[NSC_MAXPATH]; /* Primary bitmap device */
75 char tfile[NSC_MAXPATH]; /* Secondary device */
76 char tbitmap[NSC_MAXPATH]; /* Secondary bitmap device */
77 char directfile[NSC_MAXPATH]; /* Local FCAL direct IO volume */
78 char diskqueue[NSC_MAXPATH]; /* Disk Queue volume */
79 char group[NSC_MAXPATH]; /* Group name */
126 char fromfile[NSC_MAXPATH]; in sndrboot_lintmain()
127 char tofile[NSC_MAXPATH]; in sndrboot_lintmain()
128 char frombitmap[NSC_MAXPATH]; in sndrboot_lintmain()
[all …]
H A Dsndradm.c106 char ffile[NSC_MAXPATH]; /* Primary device */
107 char fbitmap[NSC_MAXPATH]; /* Primary bitmap device */
110 char tfile[NSC_MAXPATH]; /* Secondary device */
111 char tbitmap[NSC_MAXPATH]; /* Secondary bitmap device */
112 char directfile[NSC_MAXPATH]; /* Local FCAL direct IO volume */
113 char group[NSC_MAXPATH]; /* Group name */
115 char diskqueue[NSC_MAXPATH]; /* Disk Queue volume */
323 strncmp(group_arg, group, NSC_MAXPATH) != 0) in rdc_print()
346 strncmp(group_arg, urdc->group_name, NSC_MAXPATH) != 0) in rdc_print()
425 NSC_MAXPATH); in parse_extras()
[all …]
H A Dsndrsyncd.c452 (void) strncpy(rdc_set[sets].primary.file, buf, NSC_MAXPATH); in rdc_sync()
458 (void) strncpy(rdc_set[sets].secondary.file, buf, NSC_MAXPATH); in rdc_sync()
634 char master[NSC_MAXPATH]; in wait_sync_event()
635 char group[NSC_MAXPATH]; in wait_sync_event()
786 char shadow[NSC_MAXPATH]; in sync_start()
787 char bitmap[NSC_MAXPATH]; in sync_start()
828 (void) strncpy(shadow, buf, NSC_MAXPATH); in sync_start()
834 (void) strncpy(bitmap, buf, NSC_MAXPATH); in sync_start()
1170 char primary[NSC_MAXPATH]; in group_complete()
1171 char secondary[NSC_MAXPATH]; in group_complete()
H A Dsndrsubr.c65 char target[NSC_MAXPATH]; in mounted()
74 for (s = target; i < NSC_MAXPATH && (*s = *device++); i++) { in mounted()
/titanic_50/usr/src/uts/common/avs/ns/rdc/
H A Drdc_ioctl.h151 char file[NSC_MAXPATH];
152 char bitmap[NSC_MAXPATH];
159 char file[NSC_MAXPATH];
160 char bitmap[NSC_MAXPATH];
187 char group_name[NSC_MAXPATH]; /* Group the set belongs to */
188 char direct_file[NSC_MAXPATH]; /* Local FCAL direct io file */
189 char disk_queue[NSC_MAXPATH]; /* Disk Queue for set|group */
213 char group_name[NSC_MAXPATH]; /* Group the set belongs to */
214 char direct_file[NSC_MAXPATH]; /* Local FCAL direct io file */
215 char disk_queue[NSC_MAXPATH]; /* Disk Queue for set|group */
[all …]
H A Drdc_io.c636 NSC_MAXPATH) != 0) in add_to_group()
680 (void) strncpy(urdc->disk_queue, utmp->disk_queue, NSC_MAXPATH); in add_to_group()
722 bzero(urdc->disk_queue, NSC_MAXPATH); in add_to_group()
742 char tmpq[NSC_MAXPATH]; in change_group()
762 (void) strncpy(tmpq, urdc->disk_queue, NSC_MAXPATH); in change_group()
779 NSC_MAXPATH) != 0) in change_group()
806 (void) strncpy(urdc->disk_queue, utmp->disk_queue, NSC_MAXPATH); in change_group()
884 (void) strncpy(urdc->disk_queue, tmpq, NSC_MAXPATH); in change_group()
1286 NSC_MAXPATH) != 0) { in rdc_check()
1305 NSC_MAXPATH) != 0) { in rdc_check()
[all …]
H A Drdc_bitmap.c215 (void) strncpy(header->primary.file, urdc->primary.file, NSC_MAXPATH); in rdc_fill_header()
217 NSC_MAXPATH); in rdc_fill_header()
219 NSC_MAXPATH); in rdc_fill_header()
221 NSC_MAXPATH); in rdc_fill_header()
1116 (void) strncpy(header.primary.bitmap, newbitmap, NSC_MAXPATH); in rdc_move_bitmap()
1117 (void) strncpy(urdc->primary.bitmap, newbitmap, NSC_MAXPATH); in rdc_move_bitmap()
1119 (void) strncpy(header.secondary.bitmap, newbitmap, NSC_MAXPATH); in rdc_move_bitmap()
1120 (void) strncpy(urdc->secondary.bitmap, newbitmap, NSC_MAXPATH); in rdc_move_bitmap()
1634 NSC_MAXPATH) != 0) { in rdc_resume_state()
1644 NSC_MAXPATH) != 0) { in rdc_resume_state()
[all …]
H A Drdc_io.h233 char bitmapname[NSC_MAXPATH];
234 char filename[NSC_MAXPATH];
247 char file[NSC_MAXPATH];
248 char bitmap[NSC_MAXPATH];
729 char master[NSC_MAXPATH];
730 char group[NSC_MAXPATH];
H A Drdc_diskq.c133 NSC_MAXPATH) == 0) in rdc_lookup_diskq()
237 bzero(&urdc->disk_queue, NSC_MAXPATH); in rdc_open_diskq()
604 char buf[NSC_MAXPATH]; in rdc_read_diskq_header()
605 (void) snprintf(buf, NSC_MAXPATH, "%s:%s", urdc->secondary.intf, in rdc_read_diskq_header()
624 char buf[NSC_MAXPATH]; in rdc_read_diskq_header()
625 (void) snprintf(buf, NSC_MAXPATH, "%s:%s", urdc->secondary.intf, in rdc_read_diskq_header()
2811 (void) strncpy(urdc->disk_queue, diskq, NSC_MAXPATH); in _rdc_add_diskq()
2829 (void) strncpy(up->disk_queue, diskq, NSC_MAXPATH); in _rdc_add_diskq()
3082 bzero(urdc->disk_queue, NSC_MAXPATH); in _rdc_kill_diskq()
3086 bzero(up->disk_queue, NSC_MAXPATH); in _rdc_kill_diskq()
/titanic_50/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_ncallio.h50 char path[NSC_MAXPATH]; /* pathname */
62 char path[NSC_MAXPATH];
79 char path[NSC_MAXPATH]; /* path of device */
H A Dnsc_ioctl.h67 char path[NSC_MAXPATH]; /* Pathname */
82 char char1[NSC_MAXPATH];
83 char char2[NSC_MAXPATH];
H A Dnsc_dev.h95 #if !defined(NSC_MAXPATH)
96 #define NSC_MAXPATH 64 macro
112 char dv_path[NSC_MAXPATH]; /* Path name of device */
119 char path[NSC_MAXPATH]; /* Path name of dev */
H A Dnsctl.c783 path = nsc_kmem_alloc(NSC_MAXPATH, KM_SLEEP, _nsc_local_mem); in nscioctl()
788 if (ddi_copyin((void *)arg, path, NSC_MAXPATH, mode) < 0) in nscioctl()
791 path[NSC_MAXPATH-1] = 0; in nscioctl()
797 path = nsc_kmem_alloc(NSC_MAXPATH, KM_SLEEP, _nsc_local_mem); in nscioctl()
802 if (ddi_copyin((void *)arg, path, NSC_MAXPATH, mode) < 0) in nscioctl()
805 path[NSC_MAXPATH-1] = 0; in nscioctl()
811 path = nsc_kmem_alloc(NSC_MAXPATH, KM_SLEEP, _nsc_local_mem); in nscioctl()
816 if (ddi_copyin((void *)arg, path, NSC_MAXPATH, mode) < 0) in nscioctl()
819 path[NSC_MAXPATH-1] = 0; in nscioctl()
899 nsc_kmem_free(path, NSC_MAXPATH); in nscioctl()
H A Dnsc_freeze.c60 char path[NSC_MAXPATH];
123 if (strlen(path) >= NSC_MAXPATH)
/titanic_50/usr/src/lib/libnsctl/common/
H A Dcache.c62 if (strlen(path) >= NSC_MAXPATH) {
103 if (strlen(path) >= NSC_MAXPATH) {
340 if (strlen(path) >= NSC_MAXPATH) {
364 if (strlen(path) >= NSC_MAXPATH) {
392 if (strlen(path) >= NSC_MAXPATH) {
H A Dlibnsctl.h55 char sf_path[NSC_MAXPATH]; /* Pathname */
/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A Dsafestore_impl.h121 char svi_volname[NSC_MAXPATH]; /* Filename in RMS for failover */
126 uchar_t svi_devid[NSC_MAXPATH]; /* wwn id - physical devs only */
H A Dsafestore.h161 char sv_volname[NSC_MAXPATH]; /* Filename */
163 uchar_t sv_devid[NSC_MAXPATH]; /* wwn id - physical devs only */
/titanic_50/usr/src/uts/common/avs/ns/
H A Dnsctl.h405 #if !defined(NSC_MAXPATH)
406 #define NSC_MAXPATH 64 macro
/titanic_50/usr/src/uts/common/avs/ns/sv/
H A Dsv.h41 #define SV_MAXPATH NSC_MAXPATH
/titanic_50/usr/src/cmd/avs/dsstat/
H A Dsndr_stats.c362 char vn[NSC_MAXPATH + 1]; in sndr_report()
367 (void) strncpy(vn, c, NSC_MAXPATH); in sndr_report()
368 vn[NSC_MAXPATH] = '\0'; in sndr_report()

12