Lines Matching refs:_r
48 unsafe { prctl_2args(PR_SET_KEEPCAPS, enable as usize as *mut _) }.map(|_r| ()) in set_keep_capabilities()
69 CString::new(&buffer[..len]).map_err(|_r| io::Errno::ILSEQ) in name()
82 unsafe { prctl_2args(PR_SET_NAME, name.as_ptr() as *mut _) }.map(|_r| ()) in set_name()
153 unsafe { prctl_2args(PR_SET_SECCOMP, mode as usize as *mut _) }.map(|_r| ()) in set_secure_computing_mode()
405 unsafe { prctl_2args(PR_CAPBSET_DROP, capability as usize as *mut _) }.map(|_r| ()) in remove_capability_from_capability_bounding_set()
464 unsafe { prctl_2args(PR_SET_SECUREBITS, bits.bits() as usize as *mut _) }.map(|_r| ()) in set_capabilities_secure_bits()
494 let value = usize::try_from(value.map_or(0, NonZeroU64::get)).map_err(|_r| io::Errno::RANGE)?; in set_current_timer_slack()
495 unsafe { prctl_2args(PR_SET_TIMERSLACK, value as *mut _) }.map(|_r| ()) in set_current_timer_slack()
525 unsafe { prctl_2args(PR_SET_NO_NEW_PRIVS, no_new_privs as usize as *mut _) }.map(|_r| ()) in set_no_new_privs()
573 unsafe { prctl_2args(PR_SET_THP_DISABLE, thp_disable as usize as *mut _) }.map(|_r| ()) in disable_transparent_huge_pages()
606 unsafe { prctl_2args(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL as *mut _) }.map(|_r| ()) in clear_ambient_capability_set()
630 unsafe { prctl_3args(PR_CAP_AMBIENT, sub_operation as *mut _, cap) }.map(|_r| ()) in configure_capability_in_ambient_capability_set()
688 u32::try_from(vector_length_in_bytes).map_err(|_r| io::Errno::RANGE)?; in set_sve_vector_length_configuration()
700 prctl_2args(PR_SVE_SET_VL, bits as usize as *mut _).map(|_r| ()) in set_sve_vector_length_configuration()
726 prctl_2args(PR_PAC_RESET_KEYS, keys as usize as *mut _).map(|_r| ()) in reset_pointer_authentication_keys()
784 prctl_2args(PR_SET_TAGGED_ADDR_CTRL, config as usize as *mut _).map(|_r| ()) in set_current_tagged_address_mode()
808 prctl_2args(PR_SET_SYSCALL_USER_DISPATCH, PR_SYS_DISPATCH_OFF as *mut _).map(|_r| ()) in disable_syscall_user_dispatch()
864 .map(|_r| ()) in enable_syscall_user_dispatch()
943 .map(|_r| ()) in create_core_scheduling_cookie()
965 .map(|_r| ()) in push_core_scheduling_cookie()
987 .map(|_r| ()) in pull_core_scheduling_cookie()