Home
last modified time | relevance | path

Searched refs:penv (Results 1 – 7 of 7) sorted by relevance

/freebsd-14-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/
HDtmpfile_003_pos.c32 const char *penv[] = {"TESTDIR", "TESTFILE0"}; in main() local
40 for (i = 0; i < ARRAY_SIZE(penv); i++) in main()
41 if ((penv[i] = getenv(penv[i])) == NULL) in main()
44 fd = open(penv[0], O_RDWR|O_TMPFILE|O_EXCL, 0666); in main()
46 err(2, "open(%s)", penv[0]); in main()
49 snprintf(dpath, 1024, "%s/%s", penv[0], penv[1]); in main()
HDtmpfile_stat_mode.c54 const char *penv[] = {"TESTDIR", "TESTFILE0"}; in test_stat_mode() local
61 for (i = 0; i < ARRAY_SIZE(penv); i++) in test_stat_mode()
62 if ((penv[i] = getenv(penv[i])) == NULL) in test_stat_mode()
66 fd = open(penv[0], O_RDWR|O_TMPFILE, 0777); in test_stat_mode()
68 err(2, "open(%s)", penv[0]); in test_stat_mode()
71 err(3, "fstat(%s)", penv[0]); in test_stat_mode()
74 snprintf(dpath, sizeof (dpath), "%s/%s", penv[0], penv[1]); in test_stat_mode()
HDtmpfile_002_pos.c48 const char *penv[] = {"TESTDIR", "TESTFILE0"}; in main() local
55 for (i = 0; i < ARRAY_SIZE(penv); i++) in main()
56 if ((penv[i] = getenv(penv[i])) == NULL) in main()
59 fd = open(penv[0], O_RDWR|O_TMPFILE, 0666); in main()
61 err(2, "open(%s)", penv[0]); in main()
64 snprintf(dpath, 1024, "%s/%s", penv[0], penv[1]); in main()
/freebsd-14-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/
HDctime.c309 const char *penv[] = {"TESTDIR", "TESTFILE0"}; in main() local
316 for (i = 0; i < sizeof (penv) / sizeof (char *); i++) { in main()
317 if ((penv[i] = getenv(penv[i])) == NULL) { in main()
322 (void) snprintf(tfile, sizeof (tfile), "%s/%s", penv[0], penv[1]); in main()
/freebsd-14-stable/usr.bin/procstat/
HDMakefile28 MLINKS+= procstat.1 penv.1
34 LINKS+= ${BINDIR}/procstat ${BINDIR}/penv
/freebsd-14-stable/sys/kern/
HDkern_sysctl.c227 char *penv = NULL; in sysctl_load_tunable_by_oid_locked() local
344 penv = kern_getenv(path + rem); in sysctl_load_tunable_by_oid_locked()
345 if (penv == NULL) in sysctl_load_tunable_by_oid_locked()
347 req.newlen = strlen(penv); in sysctl_load_tunable_by_oid_locked()
348 req.newptr = penv; in sysctl_load_tunable_by_oid_locked()
357 if (penv != NULL) in sysctl_load_tunable_by_oid_locked()
358 freeenv(penv); in sysctl_load_tunable_by_oid_locked()
/freebsd-14-stable/libexec/rtld-elf/
HDrtld.c2655 load_preload_objects(const char *penv, bool isfd) in load_preload_objects() argument
2664 if (penv == NULL) in load_preload_objects()
2667 p = psave = xstrdup(penv); in load_preload_objects()