/freebsd/contrib/tcsh/ |
H A D | ma.setp.c | 101 char *pdir[MAXDIRS]; /* directory names for each pathlist */ member 273 pe->pdir[pe->pdirs] = p; in initpaths() 294 len += strlen(pe->pdir[i]) + 1; in savepaths() 301 for (q = pe->pdir[i]; *p = *q; p++, q++); in savepaths() 322 if (pe->pdir[i] == NULL) in freepaths() 324 p = pe->pdir[i]; in freepaths() 325 pe->pdir[i] = NULL; in freepaths() 361 if (pe->pdir[n] == NULL) in tcsh_rcmd() 363 p = pe->pdir[n]; in tcsh_rcmd() 364 pe->pdir[n] = NULL; in tcsh_rcmd() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | mktree.c | 51 static char *getfdname(char *pdir, char type, int level, int dir, int file); 96 mktree(char *pdir, int level) in mktree() argument 108 (void) strcpy(dname, getfdname(pdir, TYPE_D, level, d, 0)); in mktree() 132 (void) strcpy(fname, getfdname(pdir, TYPE_F, level, d, f)); in mktree() 140 getfdname(char *pdir, char type, int level, int dir, int file) in getfdname() argument 143 if (snprintf(fdname, size, "%s/%c-l%dd%df%d", pdir, type, level, dir, in getfdname()
|
/freebsd/tests/sys/cddl/zfs/bin/ |
H A D | mktree.c | 51 static char *getfdname(char *pdir, char type, int level, int dir, int file); 96 mktree(char *pdir, int level) in mktree() argument 108 (void) strcpy(dname, getfdname(pdir, TYPE_D, level, d, 0)); in mktree() 132 (void) strcpy(fname, getfdname(pdir, TYPE_F, level, d, f)); in mktree() 140 getfdname(char *pdir, char type, int level, int dir, int file) in getfdname() argument 143 "%s/%c-l%dd%df%d", pdir, type, level, dir, file); in getfdname()
|
/freebsd/contrib/libder/tests/ |
H A D | test_common.h | 16 char pdir[PATH_MAX], *resolved; in open_progdir() local 19 resolved = realpath(prog, &pdir[0]); in open_progdir() 22 resolved = dirname(&pdir[0]); in open_progdir()
|
/freebsd/tools/test/stress2/misc/ |
H A D | suj23.sh | 368 char **pdir; 376 for (pdir = bstg_dirs; *pdir; pdir++) { 377 if (mkdir(*pdir, 0777) == -1) 378 err(1, "mkdir(%s)", *pdir);
|
/freebsd/sys/net/ |
H A D | if_enc.c | 243 int pdir, ret; in enc_hhook() local 266 pdir = PFIL_IN; in enc_hhook() 277 pdir = PFIL_OUT; in enc_hhook() 297 if (ph == NULL || (pdir == PFIL_OUT && !PFIL_HOOKED_OUT(ph)) || in enc_hhook() 298 (pdir == PFIL_IN && !PFIL_HOOKED_IN(ph))) in enc_hhook() 303 if (pdir == PFIL_IN) in enc_hhook()
|
/freebsd/usr.sbin/makefs/zfs/ |
H A D | dsl.c | 101 zfs_dsl_dir_t *pdir; in dsl_dir_get_mountpoint() local 114 for (pdir = dir->parent, mountpoint = estrdup(dir->name);; in dsl_dir_get_mountpoint() 115 pdir = pdir->parent) { in dsl_dir_get_mountpoint() 120 if (nvlist_find_string(pdir->propsnv, "mountpoint", in dsl_dir_get_mountpoint() 130 easprintf(&mountpoint, "%s/%s", pdir->name, in dsl_dir_get_mountpoint()
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | fs_test.c | 569 atf_fs_path_t pdir, pfile; in ATF_TC_BODY() local 572 RE(atf_fs_path_init_fmt(&pdir, "dir")); in ATF_TC_BODY() 575 create_dir(atf_fs_path_cstring(&pdir), 0755); in ATF_TC_BODY() 579 RE(atf_fs_exists(&pdir, &b)); in ATF_TC_BODY() 592 ATF_REQUIRE(chmod(atf_fs_path_cstring(&pdir), 0000) != -1); in ATF_TC_BODY() 596 ATF_REQUIRE(chmod(atf_fs_path_cstring(&pdir), 0755) != -1); in ATF_TC_BODY() 606 atf_fs_path_fini(&pdir); in ATF_TC_BODY()
|
/freebsd/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 2780 struct inode *ip, *pdir; in ufs_makeinode() 2785 pdir = VTOI(dvp); in ufs_makeinode() 2790 if (pdir->i_effnlink < 2) { in ufs_makeinode() 2805 ip->i_gid = pdir->i_gid; in ufs_makeinode() 2806 DIP_SET(ip, i_gid, pdir->i_gid); in ufs_makeinode() 2822 (pdir->i_mode & ISUID) && in ufs_makeinode() 2823 (pdir->i_uid != cnp->cn_cred->cr_uid) && pdir->i_uid) { in ufs_makeinode() 2824 ip->i_uid = pdir->i_uid; in ufs_makeinode() 2839 ucred.cr_groups[0] = pdir in ufs_makeinode() 2778 struct inode *ip, *pdir; ufs_makeinode() local [all...] |
/freebsd/contrib/tnftp/ |
H A D | README | 26 (see `lpage', `page', `pdir')
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_vnops.c | 1938 struct inode *ip, *pdir; in ext2_makeinode() local 1942 pdir = VTOI(dvp); in ext2_makeinode() 1952 ip->i_gid = pdir->i_gid; in ext2_makeinode() 1964 (pdir->i_mode & ISUID) && in ext2_makeinode() 1965 (pdir->i_uid != cnp->cn_cred->cr_uid) && pdir->i_uid) { in ext2_makeinode() 1966 ip->i_uid = pdir->i_uid; in ext2_makeinode()
|