| /src/contrib/bmake/filemon/ |
| H A D | filemon_ktrace.c | 129 unsigned npath; member 458 if (S->i >= S->npath) in filemon_dispatch() 480 if (S->i == S->npath && S->syscode == ret->ktr_code) in filemon_dispatch() 587 unsigned npath, in syscall_enter() argument 594 S = calloc(1, offsetof(struct filemon_state, path[npath])); in syscall_enter() 601 S->npath = npath; in syscall_enter() 602 for (i = 0; i < npath; i++) in syscall_enter() 615 assert(S->i == S->npath); in show_paths() 631 for (i = 0; i < S->npath; i++) { in show_paths() 632 const char *q = S->npath > 1 ? "'" : ""; in show_paths()
|
| /src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_deadlock_detector2.cpp | 102 void Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath); 359 int npath = 0; in CycleCheck() local 370 npath--; in CycleCheck() 382 pt->path[npath++] = link; in CycleCheck() 385 return Report(pt, lt, npath); // Bingo! in CycleCheck() 398 void DD::Report(DDPhysicalThread *pt, DDLogicalThread *lt, int npath) { in Report() argument 400 rep->n = npath; in Report() 401 for (int i = 0; i < npath; i++) { in Report() 403 Link *link0 = &pt->path[i ? i - 1 : npath - 1]; in Report()
|
| /src/sbin/pfctl/ |
| H A D | pfctl.c | 1504 char *npath, *p; in pfctl_show_eth_rules() local 1517 if ((npath = calloc(1, MAXPATHLEN)) == NULL) in pfctl_show_eth_rules() 1519 snprintf(npath, MAXPATHLEN, "%s", anchorname); in pfctl_show_eth_rules() 1525 npath = path; in pfctl_show_eth_rules() 1536 if ((ret = pfctl_get_eth_rulesets_info(dev, &ri, npath)) != 0) { in pfctl_show_eth_rules() 1551 if ((ret = pfctl_get_eth_ruleset(dev, npath, nr, &rs)) != 0) in pfctl_show_eth_rules() 1555 pfctl_show_eth_rules(dev, npath, opts, in pfctl_show_eth_rules() 1619 char *npath, *p; in pfctl_show_rules() local 1632 if ((npath = calloc(1, MAXPATHLEN)) == NULL) in pfctl_show_rules() 1634 strlcpy(npath, anchorname, MAXPATHLEN); in pfctl_show_rules() [all …]
|
| /src/contrib/tcsh/ |
| H A D | ma.setp.c | 286 int npath, i, len; in savepaths() local 289 for (npath = 0, pe = pathhead; pe; npath++, pe = pe->pnext) { in savepaths() 296 paths[npath] = p; in savepaths()
|
| /src/sys/fs/ext2fs/ |
| H A D | ext2_extents.c | 1236 struct ext4_extent_path *npath; in ext4_ext_insert_extent() local 1241 npath = NULL; in ext4_ext_insert_extent() 1265 KASSERT(npath == NULL, in ext4_ext_insert_extent() 1268 error = ext4_ext_find_extent(ip, next, &npath); in ext4_ext_insert_extent() 1272 if (npath->ep_depth != path->ep_depth) { in ext4_ext_insert_extent() 1277 eh = npath[depth].ep_header; in ext4_ext_insert_extent() 1279 path = npath; in ext4_ext_insert_extent() 1353 if (npath) { in ext4_ext_insert_extent() 1354 ext4_ext_drop_refs(npath); in ext4_ext_insert_extent() 1355 free(npath, M_EXT2EXTENTS); in ext4_ext_insert_extent()
|
| /src/share/mk/ |
| H A D | meta2deps.py | 632 npath = resolve(path, cwd, self.last_dir, self.debug, self.debug_out) 633 if not npath: 641 npath = resolve(path, cwd, dir, self.debug, self.debug_out) 642 if not npath: 644 path = npath
|
| /src/contrib/bmake/mk/ |
| H A D | meta2deps.py | 632 npath = resolve(path, cwd, self.last_dir, self.debug, self.debug_out) 633 if not npath: 641 npath = resolve(path, cwd, dir, self.debug, self.debug_out) 642 if not npath: 644 path = npath
|
| /src/crypto/openssh/ |
| H A D | sftp-server.c | 1554 char *path, *npath; in process_extended_expand() local 1577 npath = xstrdup(path + 2); in process_extended_expand() 1579 xasprintf(&path, "%s/%s", cwd, npath); in process_extended_expand() 1580 free(npath); in process_extended_expand() 1583 if (tilde_expand(path, pw->pw_uid, &npath) != 0) { in process_extended_expand() 1589 path = npath; in process_extended_expand() 1593 xasprintf(&npath, "%s/%s", cwd, path); in process_extended_expand() 1595 path = npath; in process_extended_expand()
|
| /src/contrib/sendmail/src/ |
| H A D | queue.c | 8072 char npath[MAXPATHLEN]; local 8087 (void) sm_strlcpy(npath, queuename(new, DATAFL_LETTER), sizeof(npath)); 8115 if (link(opath, npath) == 0) 8118 SYNC_DIR(npath, true); 8132 (void) sm_strlcpy(npath, queuename(new, DATAFL_LETTER), sizeof(npath)); 8133 if (link(opath, npath) == 0) 8136 SYNC_DIR(npath, true); 8144 opath, npath, sm_errstring(errno));
|
| /src/contrib/lib9p/pytest/ |
| H A D | p9conn.py | 528 npath = b'/'.join(ncomps) 531 self.live_fids[fid] = npath
|