Lines Matching defs:pstat
602 struct ica_z90_status *pstat;
605 pstat = kzalloc(sizeof(*pstat), GFP_KERNEL);
606 if (!pstat)
608 pstat->totalcount = zcrypt_device_count;
609 pstat->leedslitecount = zcrypt_count_type(ZCRYPT_PCICA);
610 pstat->leeds2count = zcrypt_count_type(ZCRYPT_PCICC);
611 pstat->requestqWaitCount = zcrypt_requestq_count();
612 pstat->pendingqWaitCount = zcrypt_pendingq_count();
613 pstat->totalOpenCount = atomic_read(&zcrypt_open_count);
614 pstat->cryptoDomain = ap_domain_index;
615 zcrypt_status_mask(pstat->status);
616 zcrypt_qdepth_mask(pstat->qdepth);
618 if (copy_to_user((void __user *) arg, pstat, sizeof(*pstat)))
620 kfree(pstat);