Home
last modified time | relevance | path

Searched refs:fullpath (Results 1 – 25 of 51) sorted by relevance

123

/freebsd-13.1/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_mod.c287 (void) snprintf(fullpath, sizeof (fullpath), "%llu", in zfs_process_add()
293 (void) strlcpy(fullpath, path, sizeof (fullpath)); in zfs_process_add()
302 (void) strlcpy(fullpath, spath, sizeof (fullpath)); in zfs_process_add()
310 if (zpool_vdev_online(zhp, fullpath, in zfs_process_add()
402 (void) zpool_vdev_online(zhp, fullpath, in zfs_process_add()
442 fullpath); in zfs_process_add()
443 (void) zpool_vdev_online(zhp, fullpath, in zfs_process_add()
910 char *path, fullpath[MAXPATHLEN]; in zfsdle_vdev_online() local
937 (void) strlcpy(fullpath, path, sizeof (fullpath)); in zfsdle_vdev_online()
949 (void) strlcpy(fullpath, path, sizeof (fullpath)); in zfsdle_vdev_online()
[all …]
/freebsd-13.1/tools/tools/nanobsd/
H A Dfill_pkg.sh51 local outputfile dumpdir type fullpath pkgname p
59 fullpath=$p
64 fullpath=${PORTSDIR}/$p
69 fullpath=$p
74 fullpath=$dumpdir/$p
79 fullpath=$dumpdir/$p.txz
89 cd "$fullpath"
108 deps=`pkg info -dF "$fullpath" | grep -v "$pkgname:"`
/freebsd-13.1/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.c89 char fullpath[MAXPATHLEN]; in parse_pathname() local
91 compress_slashes(inpath, fullpath); in parse_pathname()
93 if (fullpath[0] != '/') { in parse_pathname()
95 "path\n", fullpath); in parse_pathname()
100 if (getextmntent(fullpath, &mp, statbuf) != 0) { in parse_pathname()
102 fullpath); in parse_pathname()
108 "filesystem\n", fullpath); in parse_pathname()
112 if (strncmp(fullpath, mp.mnt_mountp, strlen(mp.mnt_mountp)) != 0) { in parse_pathname()
114 "doesn't match path\n", fullpath); in parse_pathname()
120 rel = fullpath + strlen(mp.mnt_mountp); in parse_pathname()
/freebsd-13.1/contrib/libarchive/libarchive/test/
H A Dtest_write_disk.c243 wchar_t *fullpath; in DEFINE_TEST() local
325 assert((fullpath = malloc((l + 20) * sizeof(wchar_t))) != NULL); in DEFINE_TEST()
326 assert((l = GetCurrentDirectoryW(l, fullpath)) != 0); in DEFINE_TEST()
327 wcscat(fullpath, L"\\f:i*l?e\"f<i>l|e"); in DEFINE_TEST()
329 archive_entry_copy_pathname_w(ae, fullpath); in DEFINE_TEST()
334 free(fullpath); in DEFINE_TEST()
338 assert((fullpath = malloc((l + 30) * sizeof(wchar_t))) != NULL); in DEFINE_TEST()
339 assert((l = GetCurrentDirectoryW(l, fullpath)) != 0); in DEFINE_TEST()
340 wcscat(fullpath, L"\\d:i*r?e\"c<t>o|ry/file1"); in DEFINE_TEST()
342 archive_entry_copy_pathname_w(ae, fullpath); in DEFINE_TEST()
[all …]
H A Dtest_read_disk_directory_traversals.c93 wchar_t *wcwd, *wp, *fullpath; in test_basic() local
438 wcscpy(fullpath, L"//?/"); in test_basic()
439 wcscat(fullpath, wcwd); in test_basic()
440 wcscat(fullpath, L"/dir1/file1"); in test_basic()
443 while ((wcwd = wcschr(fullpath, L'\\')) != NULL) in test_basic()
463 free(fullpath); in test_basic()
470 wcscpy(fullpath, L"//?/"); in test_basic()
471 wcscat(fullpath, wcwd); in test_basic()
472 wcscat(fullpath, L"/dir1/*1"); in test_basic()
479 wp = wcsrchr(fullpath, L'/'); in test_basic()
[all …]
/freebsd-13.1/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_util_os.c171 char fullpath[MAXPATHLEN]; in find_shares_object() local
174 (void) strlcpy(fullpath, di->dsmnt, MAXPATHLEN); in find_shares_object()
175 (void) strlcat(fullpath, ZDIFF_SHARESDIR, MAXPATHLEN); in find_shares_object()
177 if (stat64(fullpath, &sb) != 0) { in find_shares_object()
179 dgettext(TEXT_DOMAIN, "Cannot stat %s"), fullpath); in find_shares_object()
/freebsd-13.1/usr.sbin/pmcstat/
H A Dpmcpl_gprof.c186 char fullpath[PATH_MAX]; in pmcstat_gmon_create_name() local
192 (void) snprintf(fullpath, sizeof(fullpath), in pmcstat_gmon_create_name()
196 return (pmcstat_string_intern(fullpath)); in pmcstat_gmon_create_name()
388 char fullpath[PATH_MAX]; in pmcpl_gmon_newpmc() local
396 (void) snprintf(fullpath, sizeof(fullpath), "%s/%s", args.pa_samplesdir, in pmcpl_gmon_newpmc()
400 if (stat(fullpath, &st) == 0 && S_ISDIR(st.st_mode)) in pmcpl_gmon_newpmc()
403 if (mkdir(fullpath, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH) < 0) in pmcpl_gmon_newpmc()
405 fullpath); in pmcpl_gmon_newpmc()
/freebsd-13.1/usr.sbin/fmtree/
H A Dmtree.c58 char fullpath[MAXPATHLEN]; variable
168 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath))) in main()
169 errx(1, "%s", fullpath); in main()
H A Dextern.h58 extern char fullpath[MAXPATHLEN];
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_write_open_filename.c138 wchar_t *fullpath; in file_open() local
161 fullpath = __la_win_permissive_name_w(wcs); in file_open()
162 if (fullpath != NULL) { in file_open()
163 mine->fd = _wopen(fullpath, flags, 0666); in file_open()
164 free(fullpath); in file_open()
H A Darchive_read_open_filename.c267 wchar_t *fullpath; in file_open() local
268 fullpath = __la_win_permissive_name_w(wfilename); in file_open()
269 if (fullpath != NULL) { in file_open()
270 fd = _wopen(fullpath, O_RDONLY | O_BINARY); in file_open()
271 free(fullpath); in file_open()
/freebsd-13.1/sys/fs/procfs/
H A Dprocfs_map.c86 char *fullpath, *freepath, *type; in procfs_doprocmap() local
158 fullpath = "-"; in procfs_doprocmap()
194 vn_fullpath(vp, &fullpath, &freepath); in procfs_doprocmap()
224 type, fullpath, in procfs_doprocmap()
H A Dprocfs.c72 char *fullpath, *freepath, *binpath; in procfs_doprocfile() local
78 error = proc_get_binpath(p, binpath, &fullpath, &freepath); in procfs_doprocfile()
80 sbuf_cat(sb, fullpath); in procfs_doprocfile()
/freebsd-13.1/sbin/fsck_msdosfs/
H A Ddir.c164 fullpath(struct dosDirEntry *dir) in fullpath() function
438 fullpath(dir)); in checksize()
625 fullpath(dir)); in readDosDirSection()
762 fullpath(dir), 2); in readDosDirSection()
842 fullpath(&dirent), in readDosDirSection()
846 fullpath(&dirent)); in readDosDirSection()
878 fullpath(&dirent)); in readDosDirSection()
892 fullpath(dir)); in readDosDirSection()
911 fullpath(dir)); in readDosDirSection()
923 fullpath(dir)); in readDosDirSection()
[all …]
/freebsd-13.1/contrib/sendmail/makemap/
H A Dmakemap.c93 readcf(cfile, mapfile, fullpath) in readcf() argument
96 bool fullpath;
115 if (!fullpath && mapfile != NULL)
195 if (!fullpath)
209 if (!isspace(*b) && fullpath)
211 if (!fullpath && !(SM_IS_DIR_DELIM(*b) || isspace(*b)))
/freebsd-13.1/contrib/mtree/
H A Dmtree.c64 char fullpath[MAXPATHLEN]; variable
286 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath))) in main()
H A Dextern.h88 extern char fullpath[];
/freebsd-13.1/contrib/llvm-project/lldb/bindings/interface/
H A DSBModule.i511 if comp_unit.file.fullpath == key:
520 fullpath = comp_unit.file.fullpath
521 if fullpath:
522 re_match = key.search(fullpath)
H A DSBFileSpec.i98fullpath = property(__get_fullpath__, None, doc='''A read only property that returns the fullpath …
/freebsd-13.1/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_iter.c534 char fullpath[MAXPATHLEN]; in vdev_run_cmd_thread() local
545 if (snprintf(fullpath, sizeof (fullpath), in vdev_run_cmd_thread()
549 if (access(fullpath, X_OK) == 0) { in vdev_run_cmd_thread()
550 vdev_run_cmd(data, fullpath); in vdev_run_cmd_thread()
/freebsd-13.1/sys/fs/fdescfs/
H A Dfdesc_vnops.c631 char *freepath, *fullpath; in fdesc_readlink() local
652 error = vn_fullpath(vp, &fullpath, &freepath); in fdesc_readlink()
655 fullpath = "anon_inode:[unknown]"; in fdesc_readlink()
660 pathlen = strlen(fullpath); in fdesc_readlink()
661 error = uiomove(fullpath, pathlen, uio); in fdesc_readlink()
/freebsd-13.1/crypto/openssl/apps/
H A Drehash.c193 static int handle_symlink(const char *filename, const char *fullpath) in handle_symlink() argument
221 n = readlink(fullpath, linktarget, sizeof(linktarget)); in handle_symlink()
232 static int do_file(const char *filename, const char *fullpath, enum Hash h) in do_file() argument
254 if ((b = BIO_new_file(fullpath, "r")) == NULL) { in do_file()
/freebsd-13.1/contrib/subversion/subversion/libsvn_wc/
H A Dadm_files.c154 const char *fullpath; in make_adm_subdir() local
156 fullpath = svn_wc__adm_child(path, subdir, pool); in make_adm_subdir()
158 return svn_io_dir_make(fullpath, APR_OS_DEFAULT, pool); in make_adm_subdir()
/freebsd-13.1/contrib/ncurses/ncurses/tinfo/
H A Dwrite_entry.c179 char fullpath[PATH_MAX]; in make_db_root() local
181 if ((rc = make_db_path(fullpath, path, sizeof(fullpath))) == 0) { in make_db_root()
185 if ((capdbp = _nc_db_open(fullpath, TRUE)) == NULL) { in make_db_root()
/freebsd-13.1/sys/kern/
H A Dsys_process.c348 char *freepath, *fullpath; in ptrace_vm_entry() local
422 fullpath = NULL; in ptrace_vm_entry()
423 vn_fullpath(vp, &fullpath, &freepath); in ptrace_vm_entry()
431 if (fullpath != NULL) { in ptrace_vm_entry()
432 pve->pve_pathlen = strlen(fullpath) + 1; in ptrace_vm_entry()
434 error = copyout(fullpath, pve->pve_path, in ptrace_vm_entry()

123