Lines Matching refs:ZS_LIMIT_NONE

59 /* Compute max, treating ZS_LIMIT_NONE as zero */
61 if ((b) != ZS_LIMIT_NONE) { \
62 if ((a) == ZS_LIMIT_NONE) \
69 /* Add two caps together, treating ZS_LIMIT_NONE as zero */
71 if ((b) != ZS_LIMIT_NONE) { \
72 if ((a) == ZS_LIMIT_NONE) \
778 return (ZS_LIMIT_NONE);
792 if (zone->zsz_cpu_cap == ZS_LIMIT_NONE)
793 return (ZS_LIMIT_NONE);
802 if (zone->zsz_cpu_shares == ZS_LIMIT_NONE)
803 return (ZS_LIMIT_NONE);
806 return (ZS_LIMIT_NONE);
809 return (ZS_LIMIT_NONE);
874 if (zone->zsz_cpu_cap == ZS_LIMIT_NONE)
884 if (zone->zsz_cpu_shares == ZS_LIMIT_NONE)
918 if (zone->zsz_ram_cap == ZS_LIMIT_NONE)
919 return (ZS_LIMIT_NONE);
927 if (zone->zsz_vm_cap == ZS_LIMIT_NONE)
928 return (ZS_LIMIT_NONE);
936 if (zone->zsz_locked_cap == ZS_LIMIT_NONE)
937 return (ZS_LIMIT_NONE);
994 return (ZS_LIMIT_NONE);
1003 return (ZS_LIMIT_NONE);
1154 if (zone->zsz_cpu_cap == ZS_LIMIT_NONE) {
1172 if (pz->zspz_cpu_shares == ZS_LIMIT_NONE)
1205 if (pz->zspz_cpu_shares == ZS_LIMIT_NONE)
1469 if (zone->zsz_ram_cap == ZS_LIMIT_NONE)
1564 if (zone->zsz_vm_cap == ZS_LIMIT_NONE)
1658 if (zone->zsz_locked_cap == ZS_LIMIT_NONE)
1954 if (zone->zsz_processes_cap == ZS_LIMIT_NONE)
1967 if (zone->zsz_lwps_cap == ZS_LIMIT_NONE)
1979 if (zone->zsz_shm_cap == ZS_LIMIT_NONE)
1991 if (zone->zsz_shmids_cap == ZS_LIMIT_NONE)
2004 if (zone->zsz_semids_cap == ZS_LIMIT_NONE)
2017 if (zone->zsz_msgids_cap == ZS_LIMIT_NONE)
2030 if (zone->zsz_lofi_cap == ZS_LIMIT_NONE)
2628 if (z->zsz_cpu_cap != ZS_LIMIT_NONE)
2630 if (z->zsz_ram_cap != ZS_LIMIT_NONE)
2632 if (z->zsz_vm_cap != ZS_LIMIT_NONE)
2634 if (z->zsz_locked_cap != ZS_LIMIT_NONE)
2636 if (z->zsz_processes_cap != ZS_LIMIT_NONE)
2638 if (z->zsz_lwps_cap != ZS_LIMIT_NONE)
2640 if (z->zsz_shm_cap != ZS_LIMIT_NONE)
2642 if (z->zsz_shmids_cap != ZS_LIMIT_NONE)
2644 if (z->zsz_semids_cap != ZS_LIMIT_NONE)
2646 if (z->zsz_msgids_cap != ZS_LIMIT_NONE)
2648 if (z->zsz_lofi_cap != ZS_LIMIT_NONE)
3561 * Gets the zones limit. Returns ZS_LIMIT_NONE if no limit set.
3612 * Gets the amount of resource used for a limit. Returns ZS_LIMIT_NONE if
3671 if (z->zsz_cpu_cap == ZS_LIMIT_NONE) {
3679 if (z->zsz_cpu_shares == ZS_LIMIT_NONE ||
3718 if (z->zsz_cpu_cap == ZS_LIMIT_NONE) {
3726 if (z->zsz_cpu_shares == ZS_LIMIT_NONE ||