Lines Matching refs:targets
986 struct ep11_target_dev *targets) in is_desired_ep11_card() argument
989 if (targets->ap_id == dev_id || targets->ap_id == AUTOSEL_AP) in is_desired_ep11_card()
991 targets++; in is_desired_ep11_card()
998 struct ep11_target_dev *targets) in is_desired_ep11_queue() argument
1003 if ((targets->ap_id == card || targets->ap_id == AUTOSEL_AP) && in is_desired_ep11_queue()
1004 (targets->dom_id == dom || targets->dom_id == AUTOSEL_DOM)) in is_desired_ep11_queue()
1006 targets++; in is_desired_ep11_queue()
1017 struct ep11_target_dev *targets; in _zcrypt_send_ep11_cprb() local
1037 targets = NULL; in _zcrypt_send_ep11_cprb()
1041 targets = kcalloc(target_num, sizeof(*targets), GFP_KERNEL); in _zcrypt_send_ep11_cprb()
1042 if (!targets) { in _zcrypt_send_ep11_cprb()
1048 uptr = (struct ep11_target_dev __force __user *) xcrb->targets; in _zcrypt_send_ep11_cprb()
1049 if (z_copy_from_user(userspace, targets, uptr, in _zcrypt_send_ep11_cprb()
1050 target_num * sizeof(*targets))) { in _zcrypt_send_ep11_cprb()
1070 if (targets && in _zcrypt_send_ep11_cprb()
1071 !is_desired_ep11_card(zc->card->id, target_num, targets)) in _zcrypt_send_ep11_cprb()
1089 (targets && in _zcrypt_send_ep11_cprb()
1091 target_num, targets))) in _zcrypt_send_ep11_cprb()
1125 kfree(targets); in _zcrypt_send_ep11_cprb()