Home
last modified time | relevance | path

Searched refs:pr_mtx (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/netinet/
H A Din_jail.c123 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 Din6_jail.c118 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 Din6_ifattach.c123 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 Dicmp6.c735 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 Dlinux_mib.c212 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 Dspl_zone.c93 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 Dkern_jail.c120 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 Dkern_mib.c369 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 Dvfs_mountroot.c1108 mtx_lock(&prison0.pr_mtx); in vfs_mountroot()
1111 mtx_unlock(&prison0.pr_mtx); in vfs_mountroot()
H A Dkern_descrip.c4253 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 Dkern_cpuset.c970 mtx_unlock(&pr->pr_mtx); in cpuset_which()
/freebsd/sys/dev/syscons/daemon/
H A Ddaemon_saver.c356 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 Dprocfs_status.c153 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 Dzfs_vfsops.c1395 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 Djail.h181 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 Dbootp_subr.c1456 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 Dfirewire.c696 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 Dnfs_clvfsops.c551 mtx_lock(&prison0.pr_mtx); in nfs_mountroot()
554 mtx_unlock(&prison0.pr_mtx); in nfs_mountroot()
/freebsd/sys/dev/isp/
H A Disp.c2687 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 Dif.c1312 mtx_unlock(&pr->pr_mtx); in if_vmove_loan()
1374 mtx_unlock(&pr->pr_mtx); in if_vmove_reclaim()