| /freebsd-14.2/sys/netinet/ |
| H A D | in_jail.c | 121 struct prison *pr; in prison_get_ip4() local 126 pr = cred->cr_prison; in prison_get_ip4() 129 mtx_lock(&pr->pr_mtx); in prison_get_ip4() 154 struct prison *pr; in prison_saddrsel_ip4() local 163 pr = cred->cr_prison; in prison_saddrsel_ip4() 217 struct prison *pr; in prison_local_ip4() local 224 pr = cred->cr_prison; in prison_local_ip4() 268 struct prison *pr; in prison_remote_ip4() local 273 pr = cred->cr_prison; in prison_remote_ip4() 319 struct prison *pr; in prison_check_ip4() local [all …]
|
| /freebsd-14.2/sys/netinet6/ |
| H A D | in6_jail.c | 110 struct prison *pr; in prison_get_ip6() local 115 pr = cred->cr_prison; in prison_get_ip6() 118 mtx_lock(&pr->pr_mtx); in prison_get_ip6() 143 struct prison *pr; in prison_saddrsel_ip6() local 152 pr = cred->cr_prison; in prison_saddrsel_ip6() 204 struct prison *pr; in prison_local_ip6() local 210 pr = cred->cr_prison; in prison_local_ip6() 252 struct prison *pr; in prison_remote_ip6() local 257 pr = cred->cr_prison; in prison_remote_ip6() 303 struct prison *pr; in prison_check_ip6() local [all …]
|
| H A D | nd6_rtr.c | 513 bzero(&pr, sizeof(pr)); in nd6_ra_input() 515 pr.ndpr_prefix.sin6_len = sizeof(pr.ndpr_prefix); in nd6_ra_input() 1340 free(pr, M_IP6NDP); in nd6_prefix_rele() 1389 pr->ndpr_plen, if_name(pr->ndpr_ifp), error)); in nd6_prelist_add() 1447 pr->ndpr_plen, if_name(pr->ndpr_ifp), e)); in nd6_prefix_del() 1522 pr->ndpr_plen, if_name(pr->ndpr_ifp), in prelist_update() 1785 if (pr != NULL) in prelist_update() 1844 if (pr->ndpr_raf_onlink && find_pfxlist_reachable_router(pr)) in pfxlist_onlink_check() 1852 if (pr == NULL) { in pfxlist_onlink_check() 2056 &pr->ndpr_prefix, pmask6, pr->ndpr_ifp, ifa); in nd6_prefix_onlink_rtrequest() [all …]
|
| H A D | in6_ifattach.c | 119 struct prison *pr; in get_rand_ifid() local 124 mtx_lock(&pr->pr_mtx); in get_rand_ifid() 426 struct nd_prefix *pr; in in6_ifattach_linklocal() local 525 ia->ia6_ndpr = pr; in in6_ifattach_linklocal() 526 pr->ndpr_addrcnt++; in in6_ifattach_linklocal() 528 nd6_prefix_rele(pr); in in6_ifattach_linklocal() 583 struct prison *pr; in in6_nigroup0() local 601 pr = NULL; in in6_nigroup0() 603 if (pr != NULL) in in6_nigroup0() 612 if (pr != NULL) in in6_nigroup0() [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_jail.c | 1633 TASK_INIT(&pr->pr_task, 0, prison_complete, pr); in kern_jail_set() 1978 pr->pr_hostid = pr->pr_parent->pr_hostid; in kern_jail_set() 2865 pr, pr->pr_id)); in prison_free() 2883 pr, pr->pr_id)); in prison_free_not_last() 2887 pr, pr->pr_id)); in prison_free_not_last() 2957 pr, pr->pr_id)); in prison_proc_free_not_last() 2961 pr, pr->pr_id)); in prison_proc_free_not_last() 3154 pr->pr_uref, pr->pr_id)); in prison_deref() 3173 pr = pr->pr_parent; in prison_deref() 3241 pr, pr->pr_id)); in prison_deref_kill() [all …]
|
| H A D | kern_mib.c | 365 mtx_lock(&pr->pr_mtx); in sysctl_hostname() 382 pr = pr->pr_parent; in sysctl_hostname() 383 mtx_lock(&pr->pr_mtx); in sysctl_hostname() 435 mtx_lock(&pr->pr_mtx); in sysctl_kern_securelvl() 481 mtx_lock(&pr->pr_mtx); in sysctl_hostid() 482 tmpid = pr->pr_hostid; in sysctl_hostid() 494 pr = pr->pr_parent; in sysctl_hostid() 546 struct prison *pr; in sysctl_osrelease() local 549 return (SYSCTL_OUT(req, pr->pr_osrelease, strlen(pr->pr_osrelease) + 1)); in sysctl_osrelease() 565 struct prison *pr; in sysctl_osreldate() local [all …]
|
| H A D | uipc_domain.c | 193 KASSERT(pr->pr_attach != NULL, in pr_init() 196 pr->pr_domain = dom; in pr_init() 198 #define DEFAULT(foo, bar) if (pr->foo == NULL) pr->foo = bar in pr_init() 204 #define NOTSUPP(foo) if (pr->foo == NULL) pr->foo = foo ## _notsupp in pr_init() 235 struct protosw *pr; in domain_add() local 244 pr_init(dp, pr); in domain_add() 295 struct protosw *pr; in pffindproto() local 302 if ((pr = dp->dom_protosw[i]) != NULL && pr->pr_type == type && in pffindproto() 305 return (pr); in pffindproto() 372 dp = pr->pr_domain; in protosw_unregister() [all …]
|
| /freebsd-14.2/usr.bin/hexdump/ |
| H A D | display.c | 67 PR *pr; in display() local 81 for (pr = fu->nextpr; pr; address += pr->bcnt, in display() 82 bp += pr->bcnt, pr = pr->nextpr) { in display() 85 bpad(pr); in display() 105 for (pr = endfu->nextpr; pr; pr = pr->nextpr) in display() 130 switch(pr->flags) { in print() 145 switch(pr->bcnt) { in print() 163 switch(pr->bcnt) { in print() 191 conv_u(pr, bp); in print() 194 switch(pr->bcnt) { in print() [all …]
|
| H A D | parse.c | 209 PR *pr, **nextpr; in rewrite() local 226 *nextpr = pr; in rewrite() 279 pr->bcnt = 1; in rewrite() 296 pr->bcnt = 4; in rewrite() 299 pr->bcnt = 1; in rewrite() 302 pr->bcnt = 2; in rewrite() 305 pr->bcnt = 8; in rewrite() 406 pr->cchar = pr->fmt + (p1 - fmtp); in rewrite() 418 for (pr = fu->nextpr; pr; pr = pr->nextpr) in rewrite() 435 for (pr = fu->nextpr;; pr = pr->nextpr) in rewrite() [all …]
|
| H A D | conv.c | 61 if (pr->mbleft > 0) { in conv_c() 63 pr->mbleft--; in conv_c() 110 memset(&pr->mbstate, 0, sizeof(pr->mbstate)); in conv_c() 140 *pr->cchar = 'c'; in conv_c() 143 *pr->cchar = 'C'; in conv_c() 151 pr->mbleft = clen - 1; in conv_c() 173 *pr->cchar = 's'; in conv_u() 179 *pr->cchar = 's'; in conv_u() 182 *pr->cchar = 's'; in conv_u() 185 *pr->cchar = 'c'; in conv_u() [all …]
|
| /freebsd-14.2/usr.bin/diff/ |
| H A D | pr.c | 44 struct pr * 51 struct pr *pr; in start_pr() local 53 pr = xcalloc(1, sizeof(*pr)); in start_pr() 87 if (pr->kq == -1) in start_pr() 92 if (kevent(pr->kq, pr->e, 1, NULL, 0, NULL) == -1) in start_pr() 95 return (pr); in start_pr() 100 stop_pr(struct pr *pr) in stop_pr() argument 104 if (pr == NULL) in stop_pr() 113 if (kevent(pr->kq, NULL, 0, pr->e, 1, NULL) == -1) in stop_pr() 116 close(pr->kq); in stop_pr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_dispatch.cpp | 841 pr->u.p.parm2 = (tc / pr->u.p.parm1) + (tc % pr->u.p.parm1 ? 1 : 0); in __kmp_dispatch_init_algorithm() 1136 pr->u.p.ub = pr->u.p.lb = pr->u.p.st = pr->u.p.tc = 0; in __kmp_dispatch_init() 1155 KD_TRACE(10, (buff, gtid, pr->schedule, pr->flags.ordered, pr->u.p.lb, in __kmp_dispatch_init() 1156 pr->u.p.ub, pr->u.p.st, pr->u.p.tc, pr->u.p.count, in __kmp_dispatch_init() 1157 pr->u.p.ordered_lower, pr->u.p.ordered_upper, pr->u.p.parm1, in __kmp_dispatch_init() 1158 pr->u.p.parm2, pr->u.p.parm3, pr->u.p.parm4)); in __kmp_dispatch_init() 1382 if (pr->u.p.count < (UT)pr->u.p.ub) { in __kmp_dispatch_next_algorithm() 1517 if (pr->u.p.count < (UT)pr->u.p.ub) { in __kmp_dispatch_next_algorithm() 1703 pr->u.p.lb = pr->u.p.ub + pr->u.p.st; in __kmp_dispatch_next_algorithm() 2259 pr->u.p.last_upper = pr->u.p.ub; in __kmp_dispatch_next() [all …]
|
| /freebsd-14.2/sys/security/mac_do/ |
| H A D | mac_do.c | 156 struct prison *pr; in mac_do_rule_find() local 159 for (pr = spr;; pr = pr->pr_parent) { in mac_do_rule_find() 161 if (pr == &prison0) { in mac_do_rule_find() 170 *prp = pr; in mac_do_rule_find() 180 struct prison *pr; in sysctl_rules() local 238 if (ppr == pr) in mac_do_alloc_prison() 245 if (ppr == pr) { in mac_do_alloc_prison() 399 struct prison *pr; in init() local 423 struct prison *pr; in priv_grant() local 452 struct prison *pr; in check_setgroups() local [all …]
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_mib.c | 208 struct prison *pr; in linux_find_prison() local 211 for (pr = spr;; pr = pr->pr_parent) { in linux_find_prison() 220 *prp = pr; in linux_find_prison() 238 if (ppr == pr) in linux_alloc_prison() 248 if (ppr == pr) { in linux_alloc_prison() 466 struct prison *pr; in linux_osd_jail_register() local 493 struct prison *pr; in linux_get_osname() local 504 struct prison *pr; in linux_set_osname() local 517 struct prison *pr; in linux_get_osrelease() local 528 struct prison *pr; in linux_kernver() local [all …]
|
| /freebsd-14.2/contrib/libpcap/ |
| H A D | pcap-rpcap.c | 413 retval = pr->data_ssl && SSL_pending(pr->data_ssl) > 0; in pcap_read_nocb_remote() 567 if (rpcap_check_msg_ver(pr->rmt_sockdata, pr->data_ssl, pr->protocol_version, in pcap_read_nocb_remote() 601 pr->TotCapt++; in pcap_read_nocb_remote() 612 pr->TotNetDrops += (npkt - pr->TotCapt); in pcap_read_nocb_remote() 794 (void)rpcap_discard(pr->rmt_sockctrl, pr->ctrl_ssl, in pcap_cleanup_rpcap() 960 if (rpcap_process_msg_header(pr->rmt_sockctrl, pr->ctrl_ssl, pr->protocol_version, in rpcap_stats_rpcap() 1280 if (rpcap_process_msg_header(pr->rmt_sockctrl, pr->ctrl_ssl, pr->protocol_version, in pcap_startcapture_remote() 1653 if (rpcap_process_msg_header(pr->rmt_sockctrl, pr->ctrl_ssl, pr->protocol_version, in pcap_updatefilter_remote() 1798 if (pr->currentfilter && pr->currentfilter[0] != '\0') in pcap_createfilter_norpcappkt() 1919 if (rpcap_process_msg_header(pr->rmt_sockctrl, pr->ctrl_ssl, pr->protocol_version, in pcap_setsampling_remote() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_zone.c | 66 struct prison *pr; in zone_dataset_attach() local 78 if (pr == NULL) { in zone_dataset_attach() 95 prison_hold_locked(pr); in zone_dataset_attach() 96 mtx_unlock(&pr->pr_mtx); in zone_dataset_attach() 99 mtx_lock(&pr->pr_mtx); in zone_dataset_attach() 108 prison_free_locked(pr); in zone_dataset_attach() 119 struct prison *pr; in zone_dataset_detach() local 128 if (pr == NULL) in zone_dataset_detach() 149 mtx_unlock(&pr->pr_mtx); in zone_dataset_detach() 162 struct prison *pr; in zone_dataset_visible() local [all …]
|
| /freebsd-14.2/contrib/bmake/unit-tests/ |
| H A D | deptgt-phony.mk | 17 depsrc-phony-pr-15164: .PHONY 19 depsrc-phony-pr-15164-*-wildcard: .PHONY 22 .PHONY: deptgt-phony-pr-15164 23 deptgt-phony-pr-15164: 26 .PHONY: deptgt-phony-pr-15164-*-wildcard 27 deptgt-phony-pr-15164-*-wildcard: 30 all: depsrc-phony-pr-15164 depsrc-phony-pr-15164-*-wildcard 31 all: deptgt-phony-pr-15164 deptgt-phony-pr-15164-*-wildcard
|
| /freebsd-14.2/contrib/less/ |
| H A D | xbuf.c | 93 int *pr = r; in help_fixup() local 96 *pr = (int) val; in help_fixup() 103 *pr = val; in help_fixup() 107 intmax_t *pr = r; in help_fixup() local 110 *pr = val; in help_fixup() 114 long *pr = r; in help_fixup() local 117 *pr = (long) val; in help_fixup() 121 unsigned *pr = r; in help_fixup() local 135 *pr = val; in help_fixup() 139 uintmax *pr = r; in help_fixup() local [all …]
|
| /freebsd-14.2/sys/sys/ |
| H A D | osd.h | 95 #define osd_jail_set(pr, slot, value) \ argument 96 osd_set(OSD_JAIL, &(pr)->pr_osd, (slot), (value)) 97 #define osd_jail_set_reserved(pr, slot, rsv, value) \ argument 99 #define osd_jail_get(pr, slot) \ argument 100 osd_get(OSD_JAIL, &(pr)->pr_osd, (slot)) 101 #define osd_jail_del(pr, slot) \ argument 102 osd_del(OSD_JAIL, &(pr)->pr_osd, (slot)) 103 #define osd_jail_call(pr, method, data) \ argument 104 osd_call(OSD_JAIL, (method), (pr), (data)) 105 #define osd_jail_exit(pr) \ argument [all …]
|
| H A D | callout.h | 101 #define callout_reset_sbt(c, sbt, pr, fn, arg, flags) \ argument 102 callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), -1, (flags)) 103 #define callout_reset_sbt_curcpu(c, sbt, pr, fn, arg, flags) \ argument 104 callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), PCPU_GET(cpuid),\ 113 #define callout_schedule_sbt_on(c, sbt, pr, cpu, flags) \ argument 114 callout_reset_sbt_on((c), (sbt), (pr), (c)->c_func, (c)->c_arg, \ 116 #define callout_schedule_sbt(c, sbt, pr, flags) \ argument 117 callout_schedule_sbt_on((c), (sbt), (pr), -1, (flags)) 118 #define callout_schedule_sbt_curcpu(c, sbt, pr, flags) \ argument 119 callout_schedule_sbt_on((c), (sbt), (pr), PCPU_GET(cpuid), (flags))
|
| /freebsd-14.2/sys/dev/acpica/ |
| H A D | acpi_pcib.c | 156 struct prt_lookup_request *pr; in prt_lookup_device() local 158 pr = (struct prt_lookup_request *)arg; in prt_lookup_device() 159 if (pr->pr_entry != NULL) in prt_lookup_device() 171 entry->Pin == pr->pr_pin) in prt_lookup_device() 172 pr->pr_entry = entry; in prt_lookup_device() 183 struct prt_lookup_request pr; in acpi_pcib_route_interrupt() local 198 pr.pr_entry = NULL; in acpi_pcib_route_interrupt() 199 pr.pr_pin = pin; in acpi_pcib_route_interrupt() 200 pr.pr_slot = pci_get_slot(dev); in acpi_pcib_route_interrupt() 202 if (pr.pr_entry == NULL) { in acpi_pcib_route_interrupt() [all …]
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | auth-shadow.c | 106 struct pr_passwd *pr; in auth_shadow_pwexpired() local 108 pr = getprpwnam((char *)user); in auth_shadow_pwexpired() 111 if (pr != NULL && pr->ufld.fd_min == 0 && in auth_shadow_pwexpired() 112 pr->ufld.fd_lifetime == 0 && pr->ufld.fd_expire == 0 && in auth_shadow_pwexpired() 113 pr->ufld.fd_pw_expire_warning == 0 && in auth_shadow_pwexpired() 114 pr->ufld.fd_schange != 0) in auth_shadow_pwexpired()
|
| /freebsd-14.2/lib/libpmcstat/ |
| H A D | libpmcstat_logging.c | 60 struct pmcstat_pmcrecord *pr; in pmcstat_lookup_pmcid() local 65 return pr->pr_merge; in pmcstat_lookup_pmcid() 66 return pr; in pmcstat_lookup_pmcid() 88 pr->pr_pmcname = ps; in pmcstat_pmcid_add() 91 prm = pr; in pmcstat_pmcid_add() 97 if ((pr = malloc(sizeof(*pr))) == NULL) in pmcstat_pmcid_add() 100 pr->pr_pmcid = pmcid; in pmcstat_pmcid_add() 101 pr->pr_pmcname = ps; in pmcstat_pmcid_add() 103 pr->pr_samples = 0; in pmcstat_pmcid_add() 104 pr->pr_dubious_frames = 0; in pmcstat_pmcid_add() [all …]
|
| /freebsd-14.2/sbin/ipf/libipf/ |
| H A D | printproto.c | 16 printproto(struct protoent *pr, int p, ipnat_t *np) in printproto() argument 29 else if (pr != NULL) in printproto() 30 PRINTF("%s", pr->p_name); in printproto() 34 if (pr != NULL) in printproto() 35 PRINTF("%s", pr->p_name); in printproto()
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | spl_condvar.h | 60 sbintime_t sbt, sbintime_t pr, int flags); 62 sbintime_t sbt, sbintime_t pr, int flags); 71 #define cv_timedwait_sbt(cvp, lock, sbt, pr, flags) \ argument 72 _cv_timedwait_sbt((cvp), &(lock)->lock_object, (sbt), (pr), (flags)) 73 #define cv_timedwait_sig_sbt(cvp, lock, sbt, pr, flags) \ argument 74 _cv_timedwait_sig_sbt((cvp), &(lock)->lock_object, (sbt), (pr), (flags))
|