| /freebsd-13.1/contrib/tcsh/ |
| H A D | ma.setp.c | 273 pe->pdir[pe->pdirs] = p; in initpaths() 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() 466 pe->pdir[i] = pe->pdir[i-1]; in insert() 469 pe->pdir[loc] = new; in insert() 515 pe->pdir[d] = pe->pdir[d+1]; in delete() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/mktree/ |
| 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-13.1/tests/sys/cddl/zfs/bin/ |
| H A D | mktree.c | 53 static char *getfdname(char *pdir, char type, int level, int dir, int file); 98 mktree(char *pdir, int level) in mktree() argument 110 (void) strcpy(dname, getfdname(pdir, TYPE_D, level, d, 0)); in mktree() 134 (void) strcpy(fname, getfdname(pdir, TYPE_F, level, d, f)); in mktree() 142 getfdname(char *pdir, char type, int level, int dir, int file) in getfdname() argument 145 "%s/%c-l%dd%df%d", pdir, type, level, dir, file); in getfdname()
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_delta/ |
| H A D | path_driver.c | 239 const char *pdir; in svn_delta_path_driver_step() local 284 pdir = svn_relpath_dirname(relpath, scratch_pool); in svn_delta_path_driver_step() 286 if (strlen(pdir) > common_len) in svn_delta_path_driver_step() 288 const char *piece = pdir + common_len + 1; in svn_delta_path_driver_step() 292 const char *rel = pdir; in svn_delta_path_driver_step() 300 rel = apr_pstrmemdup(scratch_pool, pdir, piece - pdir); in svn_delta_path_driver_step() 342 state->last_path = apr_pstrdup(state->pool, db ? relpath : pdir); in svn_delta_path_driver_step()
|
| /freebsd-13.1/sys/powerpc/booke/ |
| H A D | pmap_64.c | 187 pte_t **pdir; in pte_find() local 195 pdir = pdir_l1[PDIR_L1_IDX(va)]; in pte_find() 196 if (pdir == NULL) in pte_find() 198 ptbl = pdir[PDIR_IDX(va)]; in pte_find() 299 vm_offset_t pdir_l1, pdir, ptbl; in ptbl_alloc() local 308 if (pdir == 0) in ptbl_alloc() 330 pte_t **pdir; in ptbl_unhold() local 341 pdir = pdir_l1[pdir_l1_idx]; in ptbl_unhold() 342 ptbl = pdir[pdir_idx]; in ptbl_unhold() 350 pdir[pdir_idx] = NULL; in ptbl_unhold() [all …]
|
| H A D | pmap_32.c | 602 pte_t **pdir; in pte_find_next() local 611 pdir = pmap->pm_pdir; in pte_find_next() 613 if (pdir[i] == NULL) in pte_find_next() 616 pte = &pdir[i][j]; in pte_find_next()
|
| /freebsd-13.1/sys/net/ |
| H A D | if_enc.c | 249 int pdir; in enc_hhook() local 272 pdir = PFIL_IN; in enc_hhook() 283 pdir = PFIL_OUT; in enc_hhook() 303 if (ph == NULL || (pdir == PFIL_OUT && !PFIL_HOOKED_OUT(ph)) || in enc_hhook() 304 (pdir == PFIL_IN && !PFIL_HOOKED_IN(ph))) in enc_hhook() 309 if (pfil_run_hooks(ph, ctx->mp, ifp, pdir, ctx->inp) != PFIL_PASS) { in enc_hhook()
|
| /freebsd-13.1/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-13.1/sys/ufs/ufs/ |
| H A D | ufs_vnops.c | 2725 struct inode *ip, *pdir; local 2730 pdir = VTOI(dvp); 2739 if (pdir->i_effnlink < 2) { 2754 ip->i_gid = pdir->i_gid; 2755 DIP_SET(ip, i_gid, pdir->i_gid); 2771 (pdir->i_mode & ISUID) && 2772 (pdir->i_uid != cnp->cn_cred->cr_uid) && pdir->i_uid) { 2773 ip->i_uid = pdir->i_uid; 2788 ucred.cr_groups[0] = pdir->i_gid; 2800 softdep_revert_link(pdir, ip); [all …]
|
| /freebsd-13.1/contrib/tnftp/ |
| H A D | README | 26 (see `lpage', `page', `pdir')
|
| /freebsd-13.1/sys/fs/ext2fs/ |
| H A D | ext2_vnops.c | 1932 struct inode *ip, *pdir; in ext2_makeinode() local 1936 pdir = VTOI(dvp); in ext2_makeinode() 1950 ip->i_gid = pdir->i_gid; in ext2_makeinode() 1962 (pdir->i_mode & ISUID) && in ext2_makeinode() 1963 (pdir->i_uid != cnp->cn_cred->cr_uid) && pdir->i_uid) { in ext2_makeinode() 1964 ip->i_uid = pdir->i_uid; in ext2_makeinode()
|