/src/sbin/mount_portal/examples/ |
sysctlfs.sh.sh | 3 ## Fast hack at a sysctl filesystem. The path can be either in 6 for path in $*; do 8 path=`echo $path | tr '/' '.'` 14 sysctl $path | sed -e "s/$path//;s/^\.//;s/^ = //"
|
/src/usr.sbin/sysinst/arch/amd64/ |
md.c | 7 void amd64_md_boot_cfg_finalize(const char *path); 10 amd64_md_boot_cfg_finalize(const char *path) 19 "< %s > %s.1", path, path); 20 snprintf(buf, sizeof buf, "%s.1", path); 21 mv_within_target_or_die(buf, path);
|
/src/lib/libc/stdio/ |
mktemp.c | 45 _mktemp(char *path) 48 _DIAGASSERT(path != NULL); 50 return GETTEMP(path, NULL, 0, 0, 0) ? path : NULL; 57 mktemp(char *path) 60 _DIAGASSERT(path != NULL); 62 return GETTEMP(path, NULL, 0, 0, 0) ? path : NULL;
|
mkdtemp.c | 46 mkdtemp(char *path) 48 _DIAGASSERT(path != NULL); 50 return GETTEMP(path, NULL, 1, 0, 0) ? path : NULL;
|
mkostemp.c | 31 mkostemp(char *path, int oflags) 35 return GETTEMP(path, &fd, 0, 0, oflags) ? fd : -1;
|
mkostemps.c | 31 mkostemps(char *path, int slen, int oflags) 35 return GETTEMP(path, &fd, 0, slen, oflags) ? fd : -1;
|
mkstemps.c | 33 mkstemps(char *path, int slen) 37 return GETTEMP(path, &fd, 0, slen, 0) ? fd : -1;
|
/src/sys/external/bsd/acpica/dist/generate/lint/ |
lset.bat | 1 set path=%PATH%;$G variable
|
/src/usr.bin/make/unit-tests/ |
varmod-path.exp | 1 varmod-path.subdir/varmod-path.phony 2 varmod-path.subdir/varmod-path.real 3 varmod-path.enoent
|
dir-expand-path.mk | 1 # $NetBSD: dir-expand-path.mk,v 1.1 2020/08/22 21:55:54 rillig Exp $ 3 # Tests for filename expansion in the search path. 5 _!= rm -rf dir-expand-path.dir.* 6 _!= mkdir dir-expand-path.dir.1 7 _!= mkdir dir-expand-path.dir.2 8 _!= touch dir-expand-path.dir.1/file1.src 9 _!= touch dir-expand-path.dir.1/file2.src 10 _!= touch dir-expand-path.dir.2/file3.src 12 .PATH: dir-expand-path.dir. [all...] |
dir-expand-path.exp | 1 dir-expand-path.dir.1/file1.src 2 dir-expand-path.dir.1/file2.src 3 dir-expand-path.dir.2/file3.src
|
/src/sys/external/bsd/compiler_rt/dist/lib/profile/ |
InstrProfilingUtil.c | 23 void __llvm_profile_recursive_mkdir(char *path) { 26 for (i = 1; path[i] != '\0'; ++i) { 27 if (path[i] != '/') continue; 28 path[i] = '\0'; 30 _mkdir(path); 32 mkdir(path, 0755); /* Some of these will fail, ignore it. */ 34 path[i] = '/';
|
/src/sys/arch/arm/dts/ |
imx6q-utilite-pro.dts | 32 stdout-path = &uart4;
|
omap3-beagle.dts | 33 stdout-path = &uart3;
|
omap3-n900.dts | 33 stdout-path = &dss;
|
omap3-beagle-xm.dts | 33 stdout-path = &uart3;
|
imx23-olinuxino.dts | 40 stdout-path = "serial2:115200n8";
|
/src/usr.sbin/cpuctl/arch/ |
sparc.c | 49 char path[128]; local in function:identifycpu 60 snprintf(path, sizeof path, "hw.%s.cacheinfo", cpuname); 62 if (sysctlbyname(path, &cacheinfo, &len, 0, 0) == -1) 63 err(1, "couldn't get %s", path); 65 snprintf(path, sizeof path, "hw.%s.mid", cpuname); 67 if (sysctlbyname(path, &mid, &len, 0, 0) == -1) 68 err(1, "couldn't get %s", path); 70 snprintf(path, sizeof path, "hw.%s.clock_frequency", cpuname) [all...] |
sparc64.c | 49 char path[128]; local in function:identifycpu 62 snprintf(path, sizeof path, "hw.%s.cacheinfo", cpuname); 64 if (sysctlbyname(path, &cacheinfo, &len, 0, 0) == -1) 65 err(1, "couldn't get %s", path); 67 snprintf(path, sizeof path, "hw.%s.id", cpuname); 69 if (sysctlbyname(path, &id, &len, 0, 0) == -1) 70 err(1, "couldn't get %s", path); 72 snprintf(path, sizeof path, "hw.%s.ver", cpuname) [all...] |
/src/lib/libc/gen/ |
dirname.c | 48 xdirname_r(const char *path, char *buf, size_t buflen) 54 * If `path' is a null pointer or points to an empty string, 57 if (path == NULL || *path == '\0') { 58 path = "."; 64 endp = path + strlen(path) - 1; 65 while (endp != path && *endp == '/') 69 while (endp > path && *endp != '/') 72 if (endp == path) { [all...] |
utimens.c | 43 utimens(const char *path, const struct timespec times[2]) 45 return utimensat(AT_FDCWD, path, times, 0); 49 lutimens(const char *path, const struct timespec times[2]) 51 return utimensat(AT_FDCWD, path, times, AT_SYMLINK_NOFOLLOW);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_syscalls_netbsd.inc | 133 const char *path = (const char *)path_; 134 if (path) { 135 PRE_READ(path, __sanitizer::internal_strlen(path) + 1); 141 const char *path = (const char *)path_; 142 if (path) { 143 POST_READ(path, __sanitizer::internal_strlen(path) + 1); 163 const char *path = (const char *)path_; 165 if (path) { [all...] |
/src/lib/libutil/ |
secure_path.c | 50 secure_path(const char *path) 54 _DIAGASSERT(path != NULL); 60 if (lstat(path, &sb) < 0) 61 /* syslog(LOG_ERR, "cannot stat %s: %m", path) */; 63 syslog(LOG_ERR, "%s: not a regular file", path); 65 syslog(LOG_ERR, "%s: not owned by root", path); 67 syslog(LOG_ERR, "%s: writable by non-root", path);
|
/src/usr.bin/patch/ |
mkpath.c | 50 * path - path 53 mkpath(char *path) 59 slash = path; 68 if (stat(path, &sb)) { 69 if (errno != ENOENT || (mkdir(path, 0777) && 71 warn("%s", path); 75 warnx("%s: %s", path, strerror(ENOTDIR));
|
/src/sys/ufs/ext2fs/ |
ext2fs_extents.c | 59 ext4_ext_binsearch_index(struct inode *ip, struct ext4_extent_path *path, 62 struct ext4_extent_header *ehp = path->ep_header; 78 path->ep_sparse_ext.e_blk = *first_lbn; 79 path->ep_sparse_ext.e_len = first->ei_blk - *first_lbn; 80 path->ep_sparse_ext.e_start_hi = 0; 81 path->ep_sparse_ext.e_start_lo = 0; 82 path->ep_is_sparse = true; 85 path->ep_index = l - 1; 86 *first_lbn = path->ep_index->ei_blk; 87 if (path->ep_index < last [all...] |