Home
last modified time | relevance | path

Searched refs:pathp (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Drb.h471 } path[sizeof(void *) << 4], *pathp; \
475 for (pathp = path; pathp->node != NULL; pathp++) { \
476 int cmp = pathp->cmp = a_cmp(node, pathp->node); \
479 pathp[1].node = rbtn_left_get(a_type, a_field, \
480 pathp->node); \
482 pathp[1].node = rbtn_right_get(a_type, a_field, \
483 pathp->node); \
486 pathp->node = node; \
488 for (pathp--; (uintptr_t)pathp >= (uintptr_t)path; pathp--) { \
489 a_type *cnode = pathp->node; \
[all …]
/freebsd/lib/libc/posix1e/
H A Dacl_valid.c79 acl_valid_file_np(const char *pathp, acl_type_t type, acl_t acl) in acl_valid_file_np() argument
82 if (pathp == NULL || acl == NULL) { in acl_valid_file_np()
90 return (__acl_aclcheck_file(pathp, type, &acl->ats_acl)); in acl_valid_file_np()
94 acl_valid_link_np(const char *pathp, acl_type_t type, acl_t acl) in acl_valid_link_np() argument
97 if (pathp == NULL || acl == NULL) { in acl_valid_link_np()
105 return (__acl_aclcheck_link(pathp, type, &acl->ats_acl)); in acl_valid_link_np()
/freebsd/stand/common/
H A Dls.c51 static int ls_getdir(char **pathp);
154 ls_getdir(char **pathp) in ls_getdir() argument
164 path = malloc(strlen(*pathp) + 2); in ls_getdir()
170 strcpy(path, *pathp); in ls_getdir()
200 *pathp = path; in ls_getdir()
205 *pathp = NULL; in ls_getdir()
/freebsd/lib/libutil/
H A Dpidfile.c122 pidfile_open(const char *pathp, mode_t mode, pid_t *pidptr) in pidfile_open() argument
134 if (pathp == NULL) { in pidfile_open()
140 if (strlcpy(path, pathp, sizeof(path)) >= sizeof(path)) { in pidfile_open()
147 (void)strlcpy(path, pathp, sizeof(path)); in pidfile_open()
343 pidfile_signal(const char *pathp, int sig, pid_t *pidptr) in pidfile_signal() argument
348 fd = flopenat(AT_FDCWD, pathp, in pidfile_signal()
362 errno = pidfile_read(AT_FDCWD, pathp, &pid); in pidfile_signal()
H A Dlibutil.h123 int pidfile_signal(const char *pathp, int sig, pid_t *pidptr);
/freebsd/sys/security/audit/
H A Daudit_arg.c733 audit_arg_upath(struct thread *td, int dirfd, char *upath, char **pathp) in audit_arg_upath() argument
736 if (*pathp == NULL) in audit_arg_upath()
737 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_arg_upath()
738 audit_canon_path(td, dirfd, upath, *pathp); in audit_arg_upath()
769 char *upath, char **pathp) in audit_arg_upath_vp() argument
772 if (*pathp == NULL) in audit_arg_upath_vp()
773 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_arg_upath_vp()
774 audit_canon_path_vp(td, rdir, cdir, upath, *pathp); in audit_arg_upath_vp()
813 audit_arg_upath_canon(char *upath, char **pathp) in audit_arg_upath_canon() argument
816 if (*pathp == NULL) in audit_arg_upath_canon()
[all …]
H A Daudit.c796 char **pathp; in audit_proc_coredump() local
832 pathp = &ar->k_ar.ar_arg_upath1; in audit_proc_coredump()
833 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_proc_coredump()
834 audit_canon_path(td, AT_FDCWD, path, *pathp); in audit_proc_coredump()
/freebsd/contrib/nvi/common/
H A Drecover.c610 char *name, *p, *t, *rp, *recp, *pathp; local
625 recp = pathp = NULL;
712 t = pathp;
714 pathp = path;
758 if (file_init(sp, frp, pathp, 0)) {
760 free(pathp);
764 free(pathp);
/freebsd/sys/contrib/libfdt/
H A Dfdt_overlay.c104 int fragment, char const **pathp) in overlay_get_target() argument
141 if (pathp) in overlay_get_target()
142 *pathp = path ? path : NULL; in overlay_get_target()
/freebsd/contrib/libpcap/
H A Dpcap.c1773 char **hostp, char **portp, char **pathp, char *ebuf) argument
1791 *pathp = NULL;
1820 *pathp = strdup(source);
1821 if (*pathp == NULL) {
1845 *pathp = strdup(source);
1846 if (*pathp == NULL) {
1877 *pathp = strdup(colonp + 3);
1878 if (*pathp == NULL) {
1906 *pathp = strdup(colonp + 3);
1907 if (*pathp == NULL) {
[all …]
/freebsd/crypto/openssh/
H A Dmisc.c838 parse_user_host_path(const char *s, char **userp, char **hostp, char **pathp) in parse_user_host_path() argument
848 if (pathp != NULL) in parse_user_host_path()
849 *pathp = NULL; in parse_user_host_path()
884 if (pathp != NULL) { in parse_user_host_path()
885 *pathp = path; in parse_user_host_path()
1034 int *portp, char **pathp) in parse_uri() argument
1052 if (pathp != NULL) in parse_uri()
1053 *pathp = NULL; in parse_uri()
1110 if (pathp != NULL) { in parse_uri()
1111 *pathp = path; in parse_uri()
H A Dscp.c755 char **pathp) in parse_scp_uri() argument
759 r = parse_uri("scp", uri, userp, hostp, portp, pathp); in parse_scp_uri()
760 if (r == 0 && *pathp == NULL) in parse_scp_uri()
761 *pathp = xstrdup("."); in parse_scp_uri()
/freebsd/contrib/nvi/ex/
H A Dex_cscope.c306 char *p, **pathp, *buf; in get_paths() local
347 for (pathp = csc->paths, p = strtok(csc->pbuf, ":"); in get_paths()
349 *pathp++ = p; in get_paths()
/freebsd/stand/fdt/
H A Dfdt_loader_cmd.c1632 fdt_extract_nameloc(char **pathp, char **namep, int *nodeoff) in fdt_extract_nameloc() argument
1635 char *path = *pathp, *name = NULL, *subpath = NULL; in fdt_extract_nameloc()
1662 *pathp = path; in fdt_extract_nameloc()
/freebsd/sys/netgraph/
H A Dng_base.c1659 ng_path_parse(char *addr, char **nodep, char **pathp, char **hookp) in ng_path_parse() argument
1716 if (pathp) in ng_path_parse()
1717 *pathp = path; in ng_path_parse()