aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorJean-Philippe Brucker <[email protected]>2020-11-06 16:50:47 +0100
committerWill Deacon <[email protected]>2020-11-23 14:16:55 +0000
commitcb4789b0d19ff231ce9f73376a023341300aed96 (patch)
tree2ca4e1bb68a04c7a9e54483ba9c17663ac1fcff2 /scripts/bpf_helpers_doc.py
parentf8394f232b1eab649ce2df5c5f15b0e528c92091 (diff)
iommu/ioasid: Add ioasid references
Let IOASID users take references to existing ioasids with ioasid_get(). ioasid_put() drops a reference and only frees the ioasid when its reference number is zero. It returns true if the ioasid was freed. For drivers that don't call ioasid_get(), ioasid_put() is the same as ioasid_free(). Signed-off-by: Jean-Philippe Brucker <[email protected]> Reviewed-by: Eric Auger <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions