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

/freebsd-13-stable/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
[all...]
/freebsd-13-stable/lib/libc/posix1e/
H A Dacl_valid.c82 acl_valid_file_np(const char *pathp, acl_type_t type, acl_t acl) argument
85 if (pathp == NULL || acl == NULL) {
93 return (__acl_aclcheck_file(pathp, type, &acl->ats_acl));
97 acl_valid_link_np(const char *pathp, acl_type_t type, acl_t acl) argument
100 if (pathp == NULL || acl == NULL) {
108 return (__acl_aclcheck_link(pathp, type, &acl->ats_acl));
/freebsd-13-stable/sys/compat/linux/
H A Dlinux_util.h60 #define LCONVPATH_AT(td, upath, pathp, i, dfd) \
65 pathp, i, dfd); \
66 if (*(pathp) == NULL) \
70 #define LCONVPATH(td, upath, pathp, i) \
71 LCONVPATH_AT(td, upath, pathp, i, AT_FDCWD)
73 #define LCONVPATHEXIST(td, upath, pathp) LCONVPATH(td, upath, pathp, 0)
74 #define LCONVPATHEXIST_AT(td, upath, pathp, dfd) LCONVPATH_AT(td, upath, pathp, 0, dfd)
75 #define LCONVPATHCREAT(td, upath, pathp) LCONVPAT
[all...]
/freebsd-13-stable/stand/common/
H A Dls.c54 static int ls_getdir(char **pathp);
157 ls_getdir(char **pathp) argument
167 path = malloc(strlen(*pathp) + 2);
173 strcpy(path, *pathp);
203 *pathp = path;
208 *pathp = NULL;
/freebsd-13-stable/lib/libutil/
H A Dpidfile.c103 pidfile_open(const char *pathp, mode_t mode, pid_t *pidptr) argument
116 if (pathp == NULL) {
122 if (strlcpy(path, pathp, sizeof(path)) >= sizeof(path)) {
129 (void)strlcpy(path, pathp, sizeof(path));
/freebsd-13-stable/sys/security/audit/
H A Daudit_arg.c736 audit_arg_upath(struct thread *td, int dirfd, char *upath, char **pathp) argument
739 if (*pathp == NULL)
740 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK);
741 audit_canon_path(td, dirfd, upath, *pathp);
772 char *upath, char **pathp)
775 if (*pathp == NULL)
776 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK);
777 audit_canon_path_vp(td, rdir, cdir, upath, *pathp);
816 audit_arg_upath_canon(char *upath, char **pathp) argument
819 if (*pathp
771 audit_arg_upath_vp(struct thread *td, struct vnode *rdir, struct vnode *cdir, char *upath, char **pathp) argument
[all...]
H A Daudit.c798 char **pathp; local
834 pathp = &ar->k_ar.ar_arg_upath1;
835 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK);
836 audit_canon_path(td, AT_FDCWD, path, *pathp);
/freebsd-13-stable/contrib/nvi/common/
H A Drecover.c610 char *name, *p, *t, *rp, *recp, *pathp; local
625 recp = pathp = NULL;
706 t = pathp;
708 pathp = path;
746 if (file_init(sp, frp, pathp, 0)) {
748 free(pathp);
752 free(pathp);
/freebsd-13-stable/crypto/openssh/
H A Dmisc.c574 * If path was not specified then *pathp will be set to ".".
578 parse_user_host_path(const char *s, char **userp, char **hostp, char **pathp) argument
588 if (pathp != NULL)
589 *pathp = NULL;
624 if (pathp != NULL) {
625 *pathp = path;
766 * If path was not specified then *pathp will be set to NULL.
771 int *portp, char **pathp)
789 if (pathp != NULL)
790 *pathp
770 parse_uri(const char *scheme, const char *uri, char **userp, char **hostp, int *portp, char **pathp) argument
[all...]
H A Dscp.c619 char **pathp)
623 r = parse_uri("scp", uri, userp, hostp, portp, pathp);
624 if (r == 0 && *pathp == NULL)
625 *pathp = xstrdup(".");
618 parse_scp_uri(const char *uri, char **userp, char **hostp, int *portp, char **pathp) argument
/freebsd-13-stable/sys/contrib/libfdt/
H A Dfdt_overlay.c93 * @pathp: pointer which receives the path of the target (or NULL)
104 int fragment, char const **pathp)
141 if (pathp)
142 *pathp = path ? path : NULL;
103 overlay_get_target(const void *fdt, const void *fdto, int fragment, char const **pathp) argument
/freebsd-13-stable/contrib/libpcap/
H A Dpcap.c1532 * are set to NULL, *pathp is set to point to the source, and 0 is
1537 * to NULL, *pathp is set to point to the device name, and 0 is returned.
1556 * *pathp is set to point to an allocated string containing the
1565 char **hostp, char **portp, char **pathp, char *ebuf)
1583 *pathp = NULL;
1612 *pathp = strdup(source);
1613 if (*pathp == NULL) {
1637 *pathp = strdup(source);
1638 if (*pathp == NULL) {
1669 *pathp
[all...]
/freebsd-13-stable/contrib/nvi/ex/
H A Dex_cscope.c299 char *p, **pathp, *buf; local
340 for (pathp = csc->paths, p = strtok(csc->pbuf, ":");
342 *pathp++ = p;
/freebsd-13-stable/stand/fdt/
H A Dfdt_loader_cmd.c1634 fdt_extract_nameloc(char **pathp, char **namep, int *nodeoff) argument
1637 char *path = *pathp, *name = NULL, *subpath = NULL;
1664 *pathp = path;
/freebsd-13-stable/sys/netgraph/
H A Dng_base.c1652 * string, setting *nodep to "NODE" (or NULL if none) and *pathp
1659 ng_path_parse(char *addr, char **nodep, char **pathp, char **hookp) argument
1716 if (pathp)
1717 *pathp = path;

Completed in 136 milliseconds