Lines Matching refs:zp
457 struct zone *zp = curproc->p_zone; in swapctl() local
494 if (!global && zp->zone_max_swap_ctl != UINT64_MAX) { in swapctl()
554 mutex_enter(&zp->zone_mem_lock); in swapctl()
555 cap = zp->zone_max_swap_ctl; in swapctl()
556 used = zp->zone_max_swap; in swapctl()
557 mutex_exit(&zp->zone_mem_lock); in swapctl()
605 if (zp->zone_max_swap_ctl != UINT64_MAX) { in swapctl()
608 mutex_enter(&zp->zone_mem_lock); in swapctl()
609 cap = zp->zone_max_swap_ctl; in swapctl()
610 used = zp->zone_max_swap; in swapctl()
611 mutex_exit(&zp->zone_mem_lock); in swapctl()
794 struct zone *zp = curproc->p_zone; in swapctl32() local
838 if (!global && zp->zone_max_swap_ctl != UINT64_MAX) { in swapctl32()
849 mutex_enter(&zp->zone_mem_lock); in swapctl32()
850 cap = zp->zone_max_swap_ctl; in swapctl32()
851 used = zp->zone_max_swap; in swapctl32()
852 mutex_exit(&zp->zone_mem_lock); in swapctl32()
900 if (zp->zone_max_swap_ctl != UINT64_MAX) { in swapctl32()
903 mutex_enter(&zp->zone_mem_lock); in swapctl32()
904 cap = zp->zone_max_swap_ctl; in swapctl32()
905 used = zp->zone_max_swap; in swapctl32()
906 mutex_exit(&zp->zone_mem_lock); in swapctl32()