Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/
H A Drb.h475 for (pathp = path; pathp->node != NULL; pathp++) { \
476 int cmp = pathp->cmp = a_cmp(node, pathp->node); \
488 for (pathp--; (uintptr_t)pathp >= (uintptr_t)path; pathp--) { \
545 for (pathp = path; pathp->node != NULL; pathp++) { \
546 int cmp = pathp->cmp = a_cmp(node, pathp->node); \
555 pathp->cmp = 1; \
556 nodep = pathp; \
557 for (pathp++; pathp->node != NULL; pathp++) { \
567 pathp--; \
632 for (pathp--; (uintptr_t)pathp >= (uintptr_t)path; pathp--) { \
[all …]
/freebsd-13.1/sys/compat/linux/
H A Dlinux_util.h60 #define LCONVPATH_AT(td, upath, pathp, i, dfd) \ argument
65 pathp, i, dfd); \
66 if (*(pathp) == NULL) \
70 #define LCONVPATH(td, upath, pathp, i) \ argument
71 LCONVPATH_AT(td, upath, pathp, i, AT_FDCWD)
73 #define LCONVPATHEXIST(td, upath, pathp) LCONVPATH(td, upath, pathp, 0) argument
74 #define LCONVPATHEXIST_AT(td, upath, pathp, dfd) LCONVPATH_AT(td, upath, pathp, 0, dfd) argument
75 #define LCONVPATHCREAT(td, upath, pathp) LCONVPATH(td, upath, pathp, 1) argument
76 #define LCONVPATHCREAT_AT(td, upath, pathp, dfd) LCONVPATH_AT(td, upath, pathp, 1, dfd) argument
/freebsd-13.1/lib/libc/posix1e/
H A Dacl_valid.c82 acl_valid_file_np(const char *pathp, acl_type_t type, acl_t acl) in acl_valid_file_np() argument
85 if (pathp == NULL || acl == NULL) { in acl_valid_file_np()
93 return (__acl_aclcheck_file(pathp, type, &acl->ats_acl)); in acl_valid_file_np()
97 acl_valid_link_np(const char *pathp, acl_type_t type, acl_t acl) in acl_valid_link_np() argument
100 if (pathp == NULL || acl == NULL) { in acl_valid_link_np()
108 return (__acl_aclcheck_link(pathp, type, &acl->ats_acl)); in acl_valid_link_np()
/freebsd-13.1/stand/common/
H A Dls.c54 static int ls_getdir(char **pathp);
157 ls_getdir(char **pathp) in ls_getdir() argument
167 path = malloc(strlen(*pathp) + 2); in ls_getdir()
173 strcpy(path, *pathp); in ls_getdir()
203 *pathp = path; in ls_getdir()
208 *pathp = NULL; in ls_getdir()
/freebsd-13.1/sys/security/audit/
H A Daudit_arg.c739 if (*pathp == NULL) in audit_arg_upath()
740 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_arg_upath()
741 audit_canon_path(td, dirfd, upath, *pathp); in audit_arg_upath()
772 char *upath, char **pathp) in audit_arg_upath_vp() argument
775 if (*pathp == NULL) in audit_arg_upath_vp()
776 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_arg_upath_vp()
777 audit_canon_path_vp(td, rdir, cdir, upath, *pathp); in audit_arg_upath_vp()
816 audit_arg_upath_canon(char *upath, char **pathp) in audit_arg_upath_canon() argument
819 if (*pathp == NULL) in audit_arg_upath_canon()
820 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_arg_upath_canon()
[all …]
H A Daudit.c798 char **pathp; in audit_proc_coredump() local
834 pathp = &ar->k_ar.ar_arg_upath1; in audit_proc_coredump()
835 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_proc_coredump()
836 audit_canon_path(td, AT_FDCWD, path, *pathp); in audit_proc_coredump()
/freebsd-13.1/lib/libutil/
H A Dpidfile.c103 pidfile_open(const char *pathp, mode_t mode, pid_t *pidptr) in pidfile_open() argument
116 if (pathp == NULL) { in pidfile_open()
122 if (strlcpy(path, pathp, sizeof(path)) >= sizeof(path)) { in pidfile_open()
129 (void)strlcpy(path, pathp, sizeof(path)); in pidfile_open()
/freebsd-13.1/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-13.1/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-13.1/crypto/openssh/
H A Dmisc.c771 parse_user_host_path(const char *s, char **userp, char **hostp, char **pathp) in parse_user_host_path() argument
781 if (pathp != NULL) in parse_user_host_path()
782 *pathp = NULL; in parse_user_host_path()
817 if (pathp != NULL) { in parse_user_host_path()
818 *pathp = path; in parse_user_host_path()
964 int *portp, char **pathp) in parse_uri() argument
982 if (pathp != NULL) in parse_uri()
983 *pathp = NULL; in parse_uri()
1040 if (pathp != NULL) { in parse_uri()
1041 *pathp = path; in parse_uri()
H A Dscp.c703 char **pathp) in parse_scp_uri() argument
707 r = parse_uri("scp", uri, userp, hostp, portp, pathp); in parse_scp_uri()
708 if (r == 0 && *pathp == NULL) in parse_scp_uri()
709 *pathp = xstrdup("."); in parse_scp_uri()
/freebsd-13.1/contrib/libpcap/
H A Dpcap.c1565 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 = strdup(colonp + 3);
1670 if (*pathp == NULL) {
1697 *pathp = strdup(colonp + 3);
1698 if (*pathp == NULL) {
[all …]
/freebsd-13.1/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-13.1/stand/fdt/
H A Dfdt_loader_cmd.c1636 fdt_extract_nameloc(char **pathp, char **namep, int *nodeoff) in fdt_extract_nameloc() argument
1639 char *path = *pathp, *name = NULL, *subpath = NULL; in fdt_extract_nameloc()
1666 *pathp = path; in fdt_extract_nameloc()
/freebsd-13.1/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()