[−][src]Function libipt_sys::pt_blk_asid
pub unsafe extern "C" fn pt_blk_asid(
decoder: *const pt_block_decoder,
asid: *mut pt_asid,
size: usize
) -> c_int
Return the current address space identifier.
On success, provides the current address space identifier in @asid.
The @size argument must be set to sizeof(struct pt_asid). At most @size bytes will be copied and @asid->size will be set to the actual size of the provided address space identifier.
Returns zero on success, a negative error code otherwise.
Returns -pte_invalid if @decoder or @asid is NULL.