Home
last modified time | relevance | path

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

12

/dflybsd-src/test/stress/stress2/misc/
H A Dfullpath.sh39 sed '1,/^EOF/d' < $odir/$0 > fullpath.c
40 cc -o fullpath -Wall fullpath.c
41 rm -f fullpath.c
45 /tmp/fullpath &
64 rm -f /tmp/fullpath
/dflybsd-src/test/stress/stress2/testcases/run/
H A Drun.c91 char fullpath[MAXPATHLEN+1]; in test() local
105 snprintf(fullpath, sizeof(fullpath), "%s/%s", home, in test()
107 if (execv(fullpath, mkargv(basename(op->argv[i]))) == -1) in test()
108 err(1, "execl(%s), %s:%d", fullpath, __FILE__, in test()
/dflybsd-src/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()
/dflybsd-src/sbin/fsck_msdosfs/
H A Ddir.c89 static char *fullpath(struct dosDirEntry *);
156 fullpath(struct dosDirEntry *dir) in fullpath() function
399 fullpath(dir), dir->size, dir->head); in checksize()
433 fullpath(dir), dir->size, (uintmax_t)physicalSize); in checksize()
445 fullpath(dir)); in checksize()
632 fullpath(dir)); in readDosDirSection()
769 fullpath(dir), 2); in readDosDirSection()
809 fullpath(&dirent), 0); in readDosDirSection()
849 fullpath(&dirent), in readDosDirSection()
853 fullpath(&dirent)); in readDosDirSection()
[all …]
/dflybsd-src/sys/vfs/procfs/
H A Dprocfs_map.c63 char *fullpath, *freepath; in procfs_domap() local
146 fullpath = "-"; in procfs_domap()
181 vn_fullpath(p, vp, &fullpath, &freepath, 1); in procfs_domap()
223 type, fullpath); in procfs_domap()
H A Dprocfs_vnops.c643 char *fullpath, *freepath; in procfs_getattr() local
650 &fullpath, &freepath, 0); in procfs_getattr()
657 vap->va_size = strlen(fullpath); in procfs_getattr()
1118 char *fullpath, *freepath; in procfs_readlink() local
1151 &fullpath, &freepath, 0); in procfs_readlink()
1162 error = uiomove(fullpath, strlen(fullpath), ap->a_uio); in procfs_readlink()
/dflybsd-src/contrib/cryptsetup/luks/
H A Dkeyencryption.c131 char *fullpath = NULL; in LUKS_endec_template() local
141 asprintf(&fullpath,"%s/%s",dmDir,name) == -1 || in LUKS_endec_template()
161 devfd = open(fullpath, mode | O_DIRECT | O_SYNC); /* devfd is a global var */ in LUKS_endec_template()
186 free(fullpath); in LUKS_endec_template()
/dflybsd-src/usr.sbin/mtree/
H A Dmtree.c47 char fullpath[MAXPATHLEN]; variable
273 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath))) in main()
H A Dextern.h89 extern char fullpath[];
H A Dcreate.c110 user, host, fullpath, ctime(&clocktime)); in cwalk()
160 mtree_err("%s checksum: %u", fullpath, crc_total); in cwalk()
H A Dverify.c156 warnx("%s checksum: %u", fullpath, crc_total); in vwalk()
/dflybsd-src/sys/kern/
H A Dimgact_resident.c91 char *freepath, *fullpath; in fill_xresident() local
92 error = vn_fullpath(td->td_proc, vrtmp, &fullpath, &freepath, 0); in fill_xresident()
98 strlcpy(in->res_file, fullpath, sizeof(in->res_file)); in fill_xresident()
H A Dvfs_syscalls.c1415 char *fullpath, *freepath; in kern_statfs() local
1431 error = mount_path(p, mp, &fullpath, &freepath); in kern_statfs()
1435 strlcpy(sp->f_mntonname, fullpath, sizeof(sp->f_mntonname)); in kern_statfs()
1475 char *fullpath, *freepath; in kern_fstatfs() local
1506 if ((error = mount_path(p, mp, &fullpath, &freepath)) != 0) in kern_fstatfs()
1509 strlcpy(sp->f_mntonname, fullpath, sizeof(sp->f_mntonname)); in kern_fstatfs()
1687 char *fullpath; in getfsstat_callback() local
1712 error = mount_path(info->td->td_proc, mp, &fullpath, &freepath); in getfsstat_callback()
1718 strlcpy(sp->f_mntonname, fullpath, sizeof(sp->f_mntonname)); in getfsstat_callback()
1781 char *fullpath; in getvfsstat_callback() local
[all …]
H A Dkern_jail.c675 char *fullpath, *freepath; in sysctl_jail_list() local
699 &fullpath, &freepath, 0); in sysctl_jail_list()
706 pr->pr_id, pr->pr_host, fullpath); in sysctl_jail_list()
H A Dkern_proc.c2039 char *fullpath, *freepath; in sysctl_kern_proc_cwd() local
2062 &fullpath, &freepath, 0); in sysctl_kern_proc_cwd()
2066 error = SYSCTL_OUT(req, fullpath, strlen(fullpath) + 1); in sysctl_kern_proc_cwd()
/dflybsd-src/stand/boot/common/
H A Dcommands.c447 char *fullpath; in page_file() local
449 if ((fd = rel_open(filename, &fullpath, O_RDONLY)) != -1) { in page_file()
451 result = pager_file(fullpath); in page_file()
452 free(fullpath); in page_file()
/dflybsd-src/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()
/dflybsd-src/sys/netgraph/netgraph/
H A Dng_base.c1079 char fullpath[NG_PATHSIZ]; in ng_path2node() local
1092 strncpy(fullpath, address, sizeof(fullpath) - 1); in ng_path2node()
1093 fullpath[sizeof(fullpath) - 1] = '\0'; in ng_path2node()
1096 if (ng_path_parse(fullpath, &nodename, &path, NULL) < 0) { in ng_path2node()
/dflybsd-src/sys/dev/disk/vn/
H A Dvn.c766 char *freepath, *fullpath; in vnget() local
793 &fullpath, &freepath, 0); in vnget()
801 strlcpy(vnu->vnu_file, fullpath, in vnget()
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dgengtype-state.c1702 char *fullpath = concat (srcdir, dirsepstr, path, NULL); in read_state_fileloc() local
1703 floc->file = input_file_by_name (fullpath); in read_state_fileloc()
1704 free (fullpath); in read_state_fileloc()
2327 char *fullpath = concat (srcdir, dirsepstr, fnam, NULL); in read_state_files_list() local
2328 curgt = input_file_by_name (fullpath); in read_state_files_list()
2329 free (fullpath); in read_state_files_list()
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dgengtype-state.c1923 char *fullpath = concat (srcdir, dirsepstr, path, NULL); in read_state_fileloc() local
1924 floc->file = input_file_by_name (fullpath); in read_state_fileloc()
1925 free (fullpath); in read_state_fileloc()
2496 char *fullpath = concat (srcdir, dirsepstr, fnam, NULL); in read_state_files_list() local
2497 curgt = input_file_by_name (fullpath); in read_state_files_list()
2498 free (fullpath); in read_state_files_list()
/dflybsd-src/sys/netgraph7/netgraph/
H A Dng_base.c1692 char fullpath[NG_PATHSIZ]; in ng_path2noderef() local
1706 strncpy(fullpath, address, sizeof(fullpath) - 1); in ng_path2noderef()
1707 fullpath[sizeof(fullpath) - 1] = '\0'; in ng_path2noderef()
1710 if (ng_path_parse(fullpath, &nodename, &path, NULL) < 0) { in ng_path2noderef()
/dflybsd-src/sys/vfs/devfs/
H A Ddevfs_core.c2028 devfs_resolve_name_path(char *fullpath, char *buf, char **pathp, char **namep) in devfs_resolve_name_path() argument
2032 size_t len = strlen(fullpath) + 1; in devfs_resolve_name_path()
2035 KKASSERT((fullpath != NULL) && (buf != NULL)); in devfs_resolve_name_path()
2038 memcpy(buf, fullpath, len); in devfs_resolve_name_path()
/dflybsd-src/contrib/cvs-1.12/src/
H A Dcommit.c1130 char *fullpath; in check_fileproc() local
1135 fullpath = Xasprintf ("%s/%s", working_dir, finfo->fullname); in check_fileproc()
1139 linkp = lookup_file_by_inode (fullpath); in check_fileproc()

12