Home
last modified time | relevance | path

Searched refs:MAXPATHLEN (Results 1 – 25 of 945) sorted by relevance

12345678910>>...38

/illumos-gate/usr/src/cmd/tsol/updatehome/
H A Dsetupfiles.c97 char zoneroot[MAXPATHLEN]; in __setupfiles()
146 (void) snprintf(min_home, MAXPATHLEN, "%s%s", in __setupfiles()
155 dprintf("greater than %d\n", MAXPATHLEN); in __setupfiles()
208 dprintf("greater than %d\n", MAXPATHLEN); in __setupfiles()
277 char path[MAXPATHLEN]; in mkdirs()
278 char dir[MAXPATHLEN]; in mkdirs()
285 dprintf("greater than %d\n", MAXPATHLEN); in mkdirs()
345 char src[MAXPATHLEN]; in copyfile()
346 char dest[MAXPATHLEN]; in copyfile()
456 char src[MAXPATHLEN]; in linkfile()
[all …]
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dreport.cc44 static char sfile[MAXPATHLEN];
94 char line[MAXPATHLEN+2]; in close_file()
95 char buf[MAXPATHLEN+2]; in close_file()
98 char nse_depinfo_file[MAXPATHLEN]; in close_file()
99 char merge_file[MAXPATHLEN]; in close_file()
100 char lock_file[MAXPATHLEN]; in close_file()
236 char filename[MAXPATHLEN]; in report_libdep()
253 char curdir[MAXPATHLEN]; in report_search_path()
256 char filename[MAXPATHLEN]; in report_search_path()
287 char buffer[MAXPATHLEN+1]; in report_dependency()
[all …]
H A Dvroot.cc46 char full_path[MAXPATHLEN+1];
199 if(flen >= MAXPATHLEN) { in translate_with_thunk()
214 if((1 + flen + vp->length) >= MAXPATHLEN) { in translate_with_thunk()
233 if((1 + flen + pp1->length) >= MAXPATHLEN) { in translate_with_thunk()
266 if(vp->length >= MAXPATHLEN) { in translate_with_thunk()
275 if(1 + len + pp->length >= MAXPATHLEN) { in translate_with_thunk()
286 if(1 + len + pp->length >= MAXPATHLEN) { in translate_with_thunk()
306 if(vp->length >= MAXPATHLEN) { in translate_with_thunk()
315 if(1 + len + pp->length >= MAXPATHLEN) { in translate_with_thunk()
325 if(1 + len + pp->length >= MAXPATHLEN) { in translate_with_thunk()
/illumos-gate/usr/src/tools/findunref/
H A Dfindunref.c64 char metapath[MAXPATHLEN];
65 char root[MAXPATHLEN];
113 char path[MAXPATHLEN]; in main()
114 char subtree[MAXPATHLEN] = "./"; in main()
205 char path[MAXPATHLEN]; in hg_manifest()
247 char path[MAXPATHLEN]; in git_manifest()
286 char scmpath[MAXPATHLEN]; in chdir_scmdata()
287 char basepath[MAXPATHLEN]; in chdir_scmdata()
311 (void) strlcpy(basepath, path, MAXPATHLEN); in chdir_scmdata()
385 char sccspath[MAXPATHLEN]; in check_tw()
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c818 char buf[MAXPATHLEN]; in lookup_in_conf_file()
994 char buf[MAXPATHLEN]; in compare_controller()
1054 char buf[MAXPATHLEN]; in is_root_controller()
1298 char name[MAXPATHLEN]; in add_to_phci_list()
1485 char buf[MAXPATHLEN]; in is_dev_in_vfstab()
1505 MAXPATHLEN)) > 0 && linksize < (MAXPATHLEN - 1)) { in is_dev_in_vfstab()
1515 MAXPATHLEN); in is_dev_in_vfstab()
1749 MAXPATHLEN) != 0) in devfs_target2install()
1769 MAXPATHLEN); in devfs_target2install()
1913 MAXPATHLEN) >= MAXPATHLEN) in devfs_parse_binding_file()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Ddacf_clnt.c92 dev_path = kmem_alloc(MAXPATHLEN, KM_SLEEP); in dacfc_match_create_minor()
127 kmem_free(dev_path, MAXPATHLEN); in dacfc_match_create_minor()
129 kmem_free(drv_mname, MAXPATHLEN); in dacfc_match_create_minor()
199 kmem_free(dev_path, MAXPATHLEN); in dacfc_match_create_minor()
201 kmem_free(drv_mname, MAXPATHLEN); in dacfc_match_create_minor()
246 path = kmem_alloc(MAXPATHLEN, KM_SLEEP); in dacfc_postattach()
251 kmem_free(path, MAXPATHLEN); in dacfc_postattach()
300 path = kmem_alloc(MAXPATHLEN, KM_SLEEP); in dacfc_predetach()
305 kmem_free(path, MAXPATHLEN); in dacfc_predetach()
311 path = kmem_alloc(MAXPATHLEN, KM_SLEEP); in dacfc_predetach()
[all …]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c263 char mntopts[MAXPATHLEN]; in getnfspathbyautofs()
301 char p[MAXPATHLEN]; in getnfspathbyautofs()
329 (void) strncpy(p, globalpath, MAXPATHLEN); in getnfspathbyautofs()
354 char lofspath[MAXPATHLEN]; in getglobalpath()
355 char zonepath[MAXPATHLEN]; in getglobalpath()
365 (void) strncpy(zonepath, prefix, MAXPATHLEN); in getglobalpath()
367 (void) strlcat(globalpath, path, MAXPATHLEN); in getglobalpath()
370 (void) strlcpy(globalpath, path, MAXPATHLEN); in getglobalpath()
417 MAXPATHLEN); in getglobalpath()
420 MAXPATHLEN); in getglobalpath()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/ddi_ufm/
H A Dufm-test.c364 uint8_t not_ascii[MAXPATHLEN]; in do_negative_ioctl_tests()
365 char no_nul[MAXPATHLEN]; in do_negative_ioctl_tests()
367 for (uint_t i = 0; i < MAXPATHLEN; i++) in do_negative_ioctl_tests()
370 CTASSERT(MAXPATHLEN > 129); in do_negative_ioctl_tests()
389 (void) strlcpy(ubz.ufbz_devpath, UFMTEST_DEV, MAXPATHLEN); in do_negative_ioctl_tests()
406 (void) strlcpy(ugc.ufmg_devpath, UFMTEST_DEV, MAXPATHLEN); in do_negative_ioctl_tests()
417 (void) strlcpy(ugc.ufmg_devpath, UFMTEST_DEV, MAXPATHLEN); in do_negative_ioctl_tests()
463 (void) strncpy(ugc.ufmg_devpath, no_nul, MAXPATHLEN); in do_negative_ioctl_tests()
488 (void) strlcpy(ubz.ufbz_devpath, UFMTEST_DEV, MAXPATHLEN); in do_negative_ioctl_tests()
549 (void) strncpy(ubz.ufbz_devpath, no_nul, MAXPATHLEN); in do_negative_ioctl_tests()
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Dbootdev.c84 (strlen(prom_name) >= MAXPATHLEN)) { in i_promname_to_devname()
224 (strlen(dev_name) > MAXPATHLEN)) { in i_devname_to_promname()
235 kmem_free(dev_path, MAXPATHLEN); in i_devname_to_promname()
245 kmem_free(dev_path, MAXPATHLEN); in i_devname_to_promname()
257 kmem_free(dev_path, MAXPATHLEN); in i_devname_to_promname()
290 bzero(prom_path, MAXPATHLEN); in i_devname_to_promname()
382 kmem_free(dev_path, MAXPATHLEN); in i_devname_to_promname()
383 kmem_free(prom_path, MAXPATHLEN); in i_devname_to_promname()
450 kmem_free(fullname, MAXPATHLEN); in resolve_devfs_name()
462 kmem_free(fullname, MAXPATHLEN); in resolve_devfs_name()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Drctlsys.c246 kmem_free(kname, MAXPATHLEN); in rctlsys_get()
252 kmem_free(kname, MAXPATHLEN); in rctlsys_get()
258 kmem_free(kname, MAXPATHLEN); in rctlsys_get()
263 kmem_free(kname, MAXPATHLEN); in rctlsys_get()
417 kmem_free(kname, MAXPATHLEN); in rctlsys_set()
422 kmem_free(kname, MAXPATHLEN); in rctlsys_set()
426 kmem_free(kname, MAXPATHLEN); in rctlsys_set()
804 kmem_free(kname, MAXPATHLEN); in rctlsys_ctl()
831 kmem_free(kname, MAXPATHLEN); in rctlsys_ctl()
867 kmem_free(kname, MAXPATHLEN); in rctlsys_ctl()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c51 #define MAXPATHLEN 1024 macro
313 char pub_obj_path[MAXPATHLEN], pri_obj_path[MAXPATHLEN], in create_keystore()
331 char keystore[MAXPATHLEN]; in create_keystore()
680 char obj_fname[MAXPATHLEN]; in open_and_lock_object_file()
1438 char pri_obj_path[MAXPATHLEN], ks_desc_file[MAXPATHLEN], in soft_keystore_setpin()
2196 char obj_name[MAXPATHLEN], tmp_ks_desc_name[MAXPATHLEN]; in soft_keystore_put_new_obj()
2198 char pub_obj_path[MAXPATHLEN], pri_obj_path[MAXPATHLEN], in soft_keystore_put_new_obj()
2474 char orig_name[MAXPATHLEN], tmp_name[MAXPATHLEN], in soft_keystore_modify_obj()
2477 char pub_obj_path[MAXPATHLEN], pri_obj_path[MAXPATHLEN], in soft_keystore_modify_obj()
2710 char objname[MAXPATHLEN], tmp_ks_name[MAXPATHLEN]; in soft_keystore_del_obj()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dufm.c199 char devpath[MAXPATHLEN]; in ufm_do_getcaps()
205 if (strlcpy(devpath, ugc.ufmg_devpath, MAXPATHLEN) >= MAXPATHLEN) in ufm_do_getcaps()
259 char devpath[MAXPATHLEN]; in ufm_do_reportsz()
275 MAXPATHLEN) >= MAXPATHLEN) { in ufm_do_reportsz()
287 if (strlcpy(devpath, ufbz.ufbz_devpath, MAXPATHLEN) >= MAXPATHLEN) in ufm_do_reportsz()
356 char devpath[MAXPATHLEN]; in ufm_do_report()
372 MAXPATHLEN) >= MAXPATHLEN) { in ufm_do_report()
386 if (strlcpy(devpath, ufmr.ufmr_devpath, MAXPATHLEN) >= MAXPATHLEN) in ufm_do_report()
467 char devpath[MAXPATHLEN]; in ufm_do_readimg()
490 MAXPATHLEN) >= MAXPATHLEN) { in ufm_do_readimg()
[all …]
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vtops.c119 (void) vt_getactive(link, MAXPATHLEN); in devvt_validate()
122 kmem_free(link, MAXPATHLEN); in devvt_validate()
128 (void) vt_getconsuser(link, MAXPATHLEN); in devvt_validate()
131 kmem_free(link, MAXPATHLEN); in devvt_validate()
162 (void) vt_getactive((char *)*arg, MAXPATHLEN); in devvt_create_rvp()
266 (void) vt_getactive(link, MAXPATHLEN); in devvt_create_snode()
272 kmem_free(link, MAXPATHLEN); in devvt_create_snode()
296 link = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in devvt_rebuild_stale_link()
298 (void) vt_getactive(link, MAXPATHLEN); in devvt_rebuild_stale_link()
300 (void) vt_getconsuser(link, MAXPATHLEN); in devvt_rebuild_stale_link()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dddi_ufm.h67 char ufmg_devpath[MAXPATHLEN];
80 char ufbz_devpath[MAXPATHLEN];
87 char ufbz_devpath[MAXPATHLEN];
102 char ufmr_devpath[MAXPATHLEN];
110 char ufmr_devpath[MAXPATHLEN];
126 char ufri_devpath[MAXPATHLEN];
139 char ufri_devpath[MAXPATHLEN];
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c549 char checkctrl[MAXPATHLEN]; in list_devs()
573 bzero(checkctrl, MAXPATHLEN); in list_devs()
1250 char realpath[MAXPATHLEN]; in get_devid()
1254 bzero(realpath, MAXPATHLEN); in get_devid()
1329 char nodename[MAXPATHLEN]; in vhci_to_phci()
1439 char fname[MAXPATHLEN]; in update_vfstab()
1441 char cdev[MAXPATHLEN]; in update_vfstab()
1442 char bdev[MAXPATHLEN]; in update_vfstab()
1443 char mntpt[MAXPATHLEN]; in update_vfstab()
1447 char mntopt[MAXPATHLEN]; in update_vfstab()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_vss.c94 root_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in smb_vss_enum_snapshots()
96 MAXPATHLEN) != 0) in smb_vss_enum_snapshots()
117 kmem_free(root_path, MAXPATHLEN); in smb_vss_enum_snapshots()
158 path = smb_srm_alloc(sr, MAXPATHLEN); in smb_vss_lookup_nodes()
159 snapname = smb_srm_alloc(sr, MAXPATHLEN); in smb_vss_lookup_nodes()
161 err = smb_node_getmntpath(cur_node, path, MAXPATHLEN); in smb_vss_lookup_nodes()
206 path = kmem_alloc(MAXPATHLEN, KM_SLEEP); in smb_vss_lookup_node()
207 (void) snprintf(path, MAXPATHLEN, ".zfs/snapshot/%s/", snapname); in smb_vss_lookup_node()
211 err = smb_node_getpath(node, fsrootvp, p, MAXPATHLEN - len); in smb_vss_lookup_node()
221 kmem_free(path, MAXPATHLEN); in smb_vss_lookup_node()
H A Dsmb_nt_transact_quota.c133 request.qq_root_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in smb_nt_transact_query_quota()
134 if (smb_node_getmntpath(tnode, request.qq_root_path, MAXPATHLEN) != 0) { in smb_nt_transact_query_quota()
138 kmem_free(request.qq_root_path, MAXPATHLEN); in smb_nt_transact_query_quota()
171 kmem_free(request.qq_root_path, MAXPATHLEN); in smb_nt_transact_query_quota()
269 root_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in smb_nt_transact_set_quota()
270 if (smb_node_getmntpath(tnode, root_path, MAXPATHLEN) != 0) { in smb_nt_transact_set_quota()
274 kmem_free(root_path, MAXPATHLEN); in smb_nt_transact_set_quota()
293 kmem_free(root_path, MAXPATHLEN); in smb_nt_transact_set_quota()
H A Dsmb2_setinfo_quota.c62 root_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in smb2_setinfo_quota()
63 if (smb_node_getmntpath(tnode, root_path, MAXPATHLEN) != 0) { in smb2_setinfo_quota()
65 kmem_free(root_path, MAXPATHLEN); in smb2_setinfo_quota()
84 kmem_free(root_path, MAXPATHLEN); in smb2_setinfo_quota()
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dinstall.c52 char realpath[MAXPATHLEN]; in kc_install()
56 char tmpfile_name[MAXPATHLEN]; in kc_install()
151 (void) snprintf(realpath, MAXPATHLEN, "%s%s", in kc_install()
160 (void) strlcat(realpath, isa, MAXPATHLEN); in kc_install()
162 (void) strlcpy(realpath, modulepath, MAXPATHLEN); in kc_install()
258 char buf[MAXPATHLEN]; in kc_install()
264 (void) snprintf(buf, MAXPATHLEN, "%s:%s%s\n", in kc_install()
267 (void) snprintf(buf, MAXPATHLEN, "%s:%s%s;%s%s\n", in kc_install()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_vss.c105 char dataset[MAXPATHLEN]; in smbd_vss_get_count()
116 if (smb_getdataset(libhd, path, dataset, MAXPATHLEN) != 0) { in smbd_vss_get_count()
151 char dataset[MAXPATHLEN]; in smbd_vss_get_snapshots()
179 if (smb_getdataset(libhd, path, dataset, MAXPATHLEN) != 0) { in smbd_vss_get_snapshots()
241 char dataset[MAXPATHLEN]; in smbd_vss_map_gmttoken()
261 if (smb_getdataset(libhd, path, dataset, MAXPATHLEN) != 0) { in smbd_vss_map_gmttoken()
285 (void) strlcpy(snapname, zsnap, MAXPATHLEN); in smbd_vss_map_gmttoken()
375 MAXPATHLEN); in smbd_vss_iterate_map_gmttoken()
/illumos-gate/usr/src/lib/pam_modules/timestamp/
H A Dpam_timestamp.c84 (void) strlcpy(user_tty, ttyn, MAXPATHLEN); in validate_basic()
95 (void) snprintf(timestampfile, MAXPATHLEN, "%s/%s/%s:%s", TIMESTAMP_DIR, in validate_basic()
193 char user_tty[MAXPATHLEN]; in pam_sm_authenticate()
194 char timestampdir[MAXPATHLEN]; in pam_sm_authenticate()
195 char timestampfile[MAXPATHLEN]; in pam_sm_authenticate()
219 (void) strlcpy(timestampdir, timestampfile, MAXPATHLEN); in pam_sm_authenticate()
340 char user_tty[MAXPATHLEN]; in pam_sm_setcred()
341 char timestampdir[MAXPATHLEN]; in pam_sm_setcred()
342 char timestampfile[MAXPATHLEN]; in pam_sm_setcred()
376 (void) strlcpy(timestampdir, timestampfile, MAXPATHLEN); in pam_sm_setcred()
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_mount.c255 char obe_root_ds[MAXPATHLEN]; in _be_mount()
425 char obe_root_ds[MAXPATHLEN]; in _be_unmount()
426 char mountpoint[MAXPATHLEN]; in _be_unmount()
576 char mountpoint[MAXPATHLEN]; in be_mount_zone_root()
649 char mountpoint[MAXPATHLEN]; in be_unmount_zone_root()
1000 char mountpoint[MAXPATHLEN]; in be_mount_pool()
1153 char mountpoint[MAXPATHLEN]; in be_mount_callback()
1560 char tmp_name[MAXPATHLEN]; in iter_shared_fs_callback()
2207 char mountpoint[MAXPATHLEN]; in fix_mountpoint()
2494 char zoneroot[MAXPATHLEN]; in be_mount_one_zone()
[all …]
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm.c57 char namebuf[MAXPATHLEN]; in rcm_alloc_handle()
806 char infobuf[MAXPATHLEN]; in rcm_dir()
820 infobuf) >= MAXPATHLEN || in rcm_dir()
835 infobuf) >= MAXPATHLEN || in rcm_dir()
846 MAXPATHLEN || in rcm_dir()
848 MAXPATHLEN) >= MAXPATHLEN || in rcm_dir()
850 MAXPATHLEN) >= MAXPATHLEN) { in rcm_dir()
873 char path[MAXPATHLEN]; in rcm_get_script_dir()
878 >= MAXPATHLEN) { in rcm_get_script_dir()
913 char modpath[MAXPATHLEN]; in rcm_module_open()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c133 char phys[MAXPATHLEN]; in adjust_dynamic_ap()
134 char dev_phys[MAXPATHLEN]; in adjust_dynamic_ap()
156 (void) snprintf(dev_phys, MAXPATHLEN, "/devices%s", phys); in adjust_dynamic_ap()
190 char adj_app[MAXPATHLEN]; in disk_ap_state_to_hotplug_state()
354 (void) strncpy(device, ap_path, MAXPATHLEN); in disk_split_ap_path_sata()
372 (void) strncpy(device, ap_path, MAXPATHLEN); in disk_split_ap_path_scsi()
409 (void) strncpy(device, dev_path, MAXPATHLEN); in disk_split_device_path()
431 char dev_device[MAXPATHLEN]; in disk_match_by_device_path()
433 char ap_device[MAXPATHLEN]; in disk_match_by_device_path()
502 char match_device[MAXPATHLEN]; in disk_match_by_target_id()
[all …]
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_share.h210 char shr_path[MAXPATHLEN];
212 char shr_container[MAXPATHLEN];
219 char shr_access_none[MAXPATHLEN];
220 char shr_access_ro[MAXPATHLEN];
221 char shr_access_rw[MAXPATHLEN];

12345678910>>...38