Home
last modified time | relevance | path

Searched refs:npath (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/bmake/filemon/
H A Dfilemon_ktrace.c129 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()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector2.cpp102 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()
/freebsd/sbin/pfctl/
H A Dpfctl.c1106 char *npath, *p; in pfctl_show_eth_rules() local
1119 if ((npath = calloc(1, MAXPATHLEN)) == NULL) in pfctl_show_eth_rules()
1121 snprintf(npath, MAXPATHLEN, "%s", anchorname); in pfctl_show_eth_rules()
1127 npath = path; in pfctl_show_eth_rules()
1138 if ((ret = pfctl_get_eth_rulesets_info(dev, &ri, npath)) != 0) { in pfctl_show_eth_rules()
1153 if ((ret = pfctl_get_eth_ruleset(dev, npath, nr, &rs)) != 0) in pfctl_show_eth_rules()
1157 pfctl_show_eth_rules(dev, npath, opts, in pfctl_show_eth_rules()
1222 char *npath, *p; in pfctl_show_rules() local
1235 if ((npath = calloc(1, MAXPATHLEN)) == NULL) in pfctl_show_rules()
1237 snprintf(npath, MAXPATHLEN, "%s", anchorname); in pfctl_show_rules()
[all …]
/freebsd/contrib/tcsh/
H A Dma.setp.c286 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()
/freebsd/sys/fs/ext2fs/
H A Dext2_extents.c1240 struct ext4_extent_path *npath; in ext4_ext_insert_extent() local
1245 npath = NULL; in ext4_ext_insert_extent()
1269 KASSERT(npath == NULL, in ext4_ext_insert_extent()
1272 error = ext4_ext_find_extent(ip, next, &npath); in ext4_ext_insert_extent()
1276 if (npath->ep_depth != path->ep_depth) { in ext4_ext_insert_extent()
1281 eh = npath[depth].ep_header; in ext4_ext_insert_extent()
1283 path = npath; in ext4_ext_insert_extent()
1357 if (npath) { in ext4_ext_insert_extent()
1358 ext4_ext_drop_refs(npath); in ext4_ext_insert_extent()
1359 free(npath, M_EXT2EXTENT in ext4_ext_insert_extent()
[all...]
/freebsd/crypto/openssh/
H A Dsftp-server.c1554 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()
/freebsd/contrib/sendmail/src/
H A Dqueue.c8072 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));
/freebsd/contrib/lib9p/pytest/
H A Dp9conn.py528 npath = b'/'.join(ncomps)
531 self.live_fids[fid] = npath