Lines Matching refs:policy
5972 pub fn SCTP_PR_INDEX(policy: c_int) -> c_int {
5973 policy >> (4 - 1)
5976 pub fn SCTP_PR_POLICY(policy: c_int) -> c_int {
5977 policy & SCTP_PR_SCTP_MASK
5980 pub fn SCTP_PR_SET_POLICY(flags: &mut c_int, policy: c_int) -> () {
5982 *flags |= policy;
6105 pub {const} fn SCTP_PR_TTL_ENABLED(policy: c_int) -> bool {
6106 policy == SCTP_PR_SCTP_TTL
6109 pub {const} fn SCTP_PR_RTX_ENABLED(policy: c_int) -> bool {
6110 policy == SCTP_PR_SCTP_RTX
6113 pub {const} fn SCTP_PR_PRIO_ENABLED(policy: c_int) -> bool {
6114 policy == SCTP_PR_SCTP_PRIO
6526 policy: *mut c_int, in pthread_getschedparam()
6531 pub fn sched_get_priority_max(policy: c_int) -> c_int; in sched_get_priority_max()
6638 policy: *mut c_int, in pthread_attr_getschedpolicy()
6640 pub fn pthread_attr_setschedpolicy(attr: *mut crate::pthread_attr_t, policy: c_int) -> c_int; in pthread_attr_setschedpolicy()
6650 pub fn sched_get_priority_min(policy: c_int) -> c_int; in sched_get_priority_min()
6659 policy: c_int, in pthread_setschedparam()
6665 policy: c_int, in sched_setscheduler()