/freebsd/sys/netinet/ |
H A D | in_jail.c | 123 mtx_lock(&pr->pr_mtx); in prison_get_ip4() 125 mtx_unlock(&pr->pr_mtx); in prison_get_ip4() 129 mtx_unlock(&pr->pr_mtx); in prison_get_ip4() 134 mtx_unlock(&pr->pr_mtx); in prison_get_ip4() 221 mtx_lock(&pr->pr_mtx); in prison_local_ip4() 223 mtx_unlock(&pr->pr_mtx); in prison_local_ip4() 227 mtx_unlock(&pr->pr_mtx); in prison_local_ip4() 239 mtx_unlock(&pr->pr_mtx); in prison_local_ip4() 249 mtx_unlock(&pr->pr_mtx); in prison_local_ip4() 270 mtx_lock(&pr->pr_mtx); in prison_remote_ip4() [all …]
|
/freebsd/sys/netinet6/ |
H A D | in6_jail.c | 118 mtx_lock(&pr->pr_mtx); in prison_get_ip6() 120 mtx_unlock(&pr->pr_mtx); in prison_get_ip6() 124 mtx_unlock(&pr->pr_mtx); in prison_get_ip6() 129 mtx_unlock(&pr->pr_mtx); in prison_get_ip6() 213 mtx_lock(&pr->pr_mtx); in prison_local_ip6() 215 mtx_unlock(&pr->pr_mtx); in prison_local_ip6() 219 mtx_unlock(&pr->pr_mtx); in prison_local_ip6() 230 mtx_unlock(&pr->pr_mtx); in prison_local_ip6() 240 mtx_unlock(&pr->pr_mtx); in prison_local_ip6() 260 mtx_lock(&pr->pr_mtx); in prison_remote_ip6() [all …]
|
H A D | in6_ifattach.c | 123 mtx_lock(&pr->pr_mtx); in get_rand_ifid() 128 mtx_unlock(&pr->pr_mtx); in get_rand_ifid() 137 mtx_unlock(&pr->pr_mtx); in get_rand_ifid() 596 mtx_lock(&pr->pr_mtx); in in6_nigroup0() 603 mtx_unlock(&pr->pr_mtx); in in6_nigroup0() 612 mtx_unlock(&pr->pr_mtx); in in6_nigroup0() 618 mtx_unlock(&pr->pr_mtx); in in6_nigroup0()
|
H A D | icmp6.c | 735 mtx_lock(&pr->pr_mtx); in icmp6_input() 741 mtx_unlock(&pr->pr_mtx); in icmp6_input() 1348 mtx_lock(&pr->pr_mtx); in ni6_input() 1351 mtx_unlock(&pr->pr_mtx); in ni6_input() 1481 mtx_lock(&pr->pr_mtx); in ni6_input() 1484 mtx_unlock(&pr->pr_mtx); in ni6_input()
|
/freebsd/sys/compat/linux/ |
H A D | linux_mib.c | 212 mtx_lock(&pr->pr_mtx); in linux_find_prison() 218 mtx_unlock(&pr->pr_mtx); in linux_find_prison() 244 mtx_unlock(&ppr->pr_mtx); in linux_alloc_prison() 254 mtx_lock(&pr->pr_mtx); in linux_alloc_prison() 258 mtx_unlock(&ppr->pr_mtx); in linux_alloc_prison() 263 mtx_unlock(&pr->pr_mtx); in linux_alloc_prison() 371 mtx_lock(&pr->pr_mtx); in linux_prison_set() 373 mtx_unlock(&pr->pr_mtx); in linux_prison_set() 390 mtx_unlock(&pr->pr_mtx); in linux_prison_set() 451 mtx_unlock(&ppr->pr_mtx); in linux_prison_get() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_zone.c | 93 mtx_unlock(&pr->pr_mtx); in zone_dataset_attach() 96 mtx_lock(&pr->pr_mtx); in zone_dataset_attach() 107 mtx_unlock(&pr->pr_mtx); in zone_dataset_attach() 146 mtx_unlock(&pr->pr_mtx); in zone_dataset_detach() 171 mtx_lock(&pr->pr_mtx); in zone_dataset_visible() 215 mtx_unlock(&pr->pr_mtx); in zone_dataset_visible()
|
/freebsd/sys/kern/ |
H A D | kern_jail.c | 120 MTX_SYSINIT(prison0, &prison0.pr_mtx, "jail mutex", MTX_DEF); 793 mtx_assert(&pr->pr_mtx, MA_OWNED); in prison_ip_set() 818 mtx_assert(&pr->pr_mtx, MA_OWNED); in prison_ip_restrict() 923 MPASS(mtx_owned(&pr->pr_mtx) || in prison_ip_check() 964 mtx_assert(&pr->pr_mtx, MA_OWNED); in prison_ip_get0() 1449 mtx_lock(&pr->pr_mtx); in kern_jail_set() 1516 mtx_unlock(&ppr->pr_mtx); in kern_jail_set() 1546 mtx_lock(&pr->pr_mtx); in kern_jail_set() 1596 mtx_lock(&deadpr->pr_mtx); in kern_jail_set() 1598 mtx_unlock(&deadpr->pr_mtx); in kern_jail_set() [all …]
|
H A D | kern_mib.c | 369 mtx_lock(&pr->pr_mtx); in sysctl_hostname() 371 mtx_unlock(&pr->pr_mtx); in sysctl_hostname() 387 mtx_lock(&pr->pr_mtx); in sysctl_hostname() 394 mtx_unlock(&pr->pr_mtx); in sysctl_hostname() 439 mtx_lock(&pr->pr_mtx); in sysctl_kern_securelvl() 442 mtx_unlock(&pr->pr_mtx); in sysctl_kern_securelvl() 455 mtx_unlock(&pr->pr_mtx); in sysctl_kern_securelvl() 485 mtx_lock(&pr->pr_mtx); in sysctl_hostid() 487 mtx_unlock(&pr->pr_mtx); in sysctl_hostid() 499 mtx_lock(&pr->pr_mtx); in sysctl_hostid() [all …]
|
H A D | vfs_mountroot.c | 1108 mtx_lock(&prison0.pr_mtx); in vfs_mountroot() 1111 mtx_unlock(&prison0.pr_mtx); in vfs_mountroot()
|
H A D | kern_descrip.c | 4253 mtx_lock(&prison0.pr_mtx); in mountcheckdirs() 4259 mtx_unlock(&prison0.pr_mtx); in mountcheckdirs() 4262 mtx_lock(&pr->pr_mtx); in mountcheckdirs() 4268 mtx_unlock(&pr->pr_mtx); in mountcheckdirs()
|
H A D | kern_cpuset.c | 970 mtx_unlock(&pr->pr_mtx); in cpuset_which()
|
/freebsd/sys/dev/syscons/daemon/ |
H A D | daemon_saver.c | 356 mtx_lock(&prison0.pr_mtx); in daemon_init() 359 mtx_unlock(&prison0.pr_mtx); in daemon_init() 364 mtx_lock(&prison0.pr_mtx); in daemon_init() 372 mtx_unlock(&prison0.pr_mtx); in daemon_init()
|
/freebsd/sys/fs/procfs/ |
H A D | procfs_status.c | 153 mtx_lock(&cr->cr_prison->pr_mtx); in procfs_doprocstatus() 156 mtx_unlock(&cr->cr_prison->pr_mtx); in procfs_doprocstatus()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_vfsops.c | 1395 mtx_lock(&pr->pr_mtx); in zfs_mount() 1397 mtx_unlock(&pr->pr_mtx); in zfs_mount() 2309 mtx_lock(&pr->pr_mtx); in zfs_jailparam_find() 2317 mtx_unlock(&pr->pr_mtx); in zfs_jailparam_find() 2344 mtx_unlock(&ppr->pr_mtx); in zfs_jailparam_alloc() 2354 mtx_lock(&pr->pr_mtx); in zfs_jailparam_alloc() 2358 mtx_unlock(&ppr->pr_mtx); in zfs_jailparam_alloc() 2363 mtx_unlock(&pr->pr_mtx); 2419 mtx_unlock(&ppr->pr_mtx); in zfs_jailparam_get() 2452 mtx_unlock(&ppr->pr_mtx); in zfs_jailparam_set() [all...] |
/freebsd/sys/sys/ |
H A D | jail.h | 181 struct mtx pr_mtx; member 288 mtx_lock(&pr->pr_mtx); in prison_lock() 295 mtx_unlock(&pr->pr_mtx); in prison_unlock()
|
/freebsd/sys/nfs/ |
H A D | bootp_subr.c | 1456 mtx_lock(&prison0.pr_mtx); in bootpc_decode_reply() 1458 mtx_unlock(&prison0.pr_mtx); in bootpc_decode_reply()
|
/freebsd/sys/dev/firewire/ |
H A D | firewire.c | 696 mtx_lock(&prison0.pr_mtx); in fw_reset_crom() 698 mtx_unlock(&prison0.pr_mtx); in fw_reset_crom()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clvfsops.c | 551 mtx_lock(&prison0.pr_mtx); in nfs_mountroot() 554 mtx_unlock(&prison0.pr_mtx); in nfs_mountroot()
|
/freebsd/sys/dev/isp/ |
H A D | isp.c | 2687 mtx_lock(&prison0.pr_mtx); in isp_register_port_name_24xx() 2690 mtx_unlock(&prison0.pr_mtx); in isp_register_port_name_24xx() 2749 mtx_lock(&prison0.pr_mtx); in isp_register_node_name_24xx() 2752 mtx_unlock(&prison0.pr_mtx); in isp_register_node_name_24xx()
|
/freebsd/sys/net/ |
H A D | if.c | 1312 mtx_unlock(&pr->pr_mtx); in if_vmove_loan() 1374 mtx_unlock(&pr->pr_mtx); in if_vmove_reclaim()
|