pci_cfg_access_trylock(9)

pci_cfg_access_trylock9

Try to lock pci config reads/writes

Usage

bool pci_cfg_access_trylock(struct pci_dev * dev);

Arguments

dev

pci device struct

Overview

Same as pci_cfg_access_lock, but will return 0 if access is already locked, 1 otherwise. This function can be used from atomic contexts.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.