Lines Matching refs:device_status
1777 struct zcrypt_device_status_ext *device_status; in findcard() local
1787 device_status = kvmalloc_array(MAX_ZDEV_ENTRIES_EXT, in findcard()
1790 if (!device_status) in findcard()
1792 zcrypt_device_status_mask_ext(device_status); in findcard()
1796 card = AP_QID_CARD(device_status[i].qid); in findcard()
1797 dom = AP_QID_QUEUE(device_status[i].qid); in findcard()
1798 if (device_status[i].online && in findcard()
1799 device_status[i].functions & 0x04) { in findcard()
1825 if (!(device_status[i].online && in findcard()
1826 device_status[i].functions & 0x04)) in findcard()
1828 card = AP_QID_CARD(device_status[i].qid); in findcard()
1829 dom = AP_QID_QUEUE(device_status[i].qid); in findcard()
1846 card = AP_QID_CARD(device_status[oi].qid); in findcard()
1847 dom = AP_QID_QUEUE(device_status[oi].qid); in findcard()
1860 kvfree(device_status); in findcard()
1897 struct zcrypt_device_status_ext *device_status; in cca_findcard2() local
1903 device_status = kvmalloc_array(MAX_ZDEV_ENTRIES_EXT, in cca_findcard2()
1906 if (!device_status) in cca_findcard2()
1908 zcrypt_device_status_mask_ext(device_status); in cca_findcard2()
1913 kvfree(device_status); in cca_findcard2()
1919 card = AP_QID_CARD(device_status[i].qid); in cca_findcard2()
1920 dom = AP_QID_QUEUE(device_status[i].qid); in cca_findcard2()
1922 if (!device_status[i].online) in cca_findcard2()
1925 if (!(device_status[i].functions & 0x04)) in cca_findcard2()
1979 kvfree(device_status); in cca_findcard2()