| /freebsd/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | rb.h | 736 a_prefix##path_entry_t *pathp; \ 740 for (pathp = path; pathp->node != NULL; pathp++) { \ 741 int cmp = pathp->cmp = a_cmp(node, pathp->node); \ 744 pathp[1].node = rbtn_left_get(a_type, a_field, \ 745 pathp->node); \ 747 pathp[1].node = rbtn_right_get(a_type, a_field, \ 748 pathp [all...] |
| /freebsd/lib/libc/posix1e/ |
| H A D | acl_valid.c | 79 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 D | ls.c | 51 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 D | pidfile.c | 122 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 D | libutil.h | 130 int pidfile_signal(const char *pathp, int sig, pid_t *pidptr);
|
| /freebsd/sys/security/audit/ |
| H A D | audit_arg.c | 733 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 D | audit.c | 791 char **pathp; in audit_proc_coredump() local 827 pathp = &ar->k_ar.ar_arg_upath1; in audit_proc_coredump() 828 *pathp = malloc(MAXPATHLEN, M_AUDITPATH, M_WAITOK); in audit_proc_coredump() 829 audit_canon_path(td, AT_FDCWD, path, *pathp); in audit_proc_coredump()
|
| /freebsd/contrib/nvi/common/ |
| H A D | recover.c | 610 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 D | fdt_overlay.c | 104 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/crypto/openssh/ |
| H A D | misc.c | 838 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 D | scp.c | 756 char **pathp) in parse_scp_uri() argument 760 r = parse_uri("scp", uri, userp, hostp, portp, pathp); in parse_scp_uri() 761 if (r == 0 && *pathp == NULL) in parse_scp_uri() 762 *pathp = xstrdup("."); in parse_scp_uri()
|
| /freebsd/contrib/libpcap/ |
| H A D | pcap.c | 1773 char **hostp, char **portp, char **pathp, char *ebuf) argument 1802 *pathp = NULL; 1831 *pathp = strdup(source); 1832 if (*pathp == NULL) { 1856 *pathp = strdup(source); 1857 if (*pathp == NULL) { 1888 *pathp = strdup(colonp + 3); 1889 if (*pathp == NULL) { 1917 *pathp = strdup(colonp + 3); 1918 if (*pathp == NULL) { [all …]
|
| /freebsd/contrib/nvi/ex/ |
| H A D | ex_cscope.c | 306 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 D | fdt_loader_cmd.c | 1625 fdt_extract_nameloc(char **pathp, char **namep, int *nodeoff) in fdt_extract_nameloc() argument 1628 char *path = *pathp, *name = NULL, *subpath = NULL; in fdt_extract_nameloc() 1655 *pathp = path; in fdt_extract_nameloc()
|
| /freebsd/sys/netgraph/ |
| H A D | ng_base.c | 1659 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()
|