Lines Matching refs:rep
390 struct ep11_cprb *rep, size_t rep_len) in prep_urb() argument
396 u->resp = (u8 __user *)rep; in prep_urb()
489 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_query_info() local
507 rep = alloc_cprb(sizeof(struct ep11_info_rep_pl) + buflen); in ep11_query_info()
508 if (!rep) in ep11_query_info()
510 rep_pl = (struct ep11_info_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in ep11_query_info()
520 rep, sizeof(*rep) + sizeof(*rep_pl) + buflen); in ep11_query_info()
549 kfree(rep); in ep11_query_info()
701 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_genaeskey() local
745 rep = alloc_cprb(sizeof(struct keygen_rep_pl)); in ep11_genaeskey()
746 if (!rep) in ep11_genaeskey()
748 rep_pl = (struct keygen_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in ep11_genaeskey()
758 rep, sizeof(*rep) + sizeof(*rep_pl)); in ep11_genaeskey()
794 kfree(rep); in ep11_genaeskey()
829 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_cryptsingle() local
865 rep = alloc_cprb(rep_pl_size); in ep11_cryptsingle()
866 if (!rep) in ep11_cryptsingle()
868 rep_pl = (struct crypt_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in ep11_cryptsingle()
878 rep, sizeof(*rep) + rep_pl_size); in ep11_cryptsingle()
922 kfree(rep); in ep11_cryptsingle()
966 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_unwrapkey() local
1013 rep = alloc_cprb(sizeof(struct uw_rep_pl)); in ep11_unwrapkey()
1014 if (!rep) in ep11_unwrapkey()
1016 rep_pl = (struct uw_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in ep11_unwrapkey()
1026 rep, sizeof(*rep) + sizeof(*rep_pl)); in ep11_unwrapkey()
1062 kfree(rep); in ep11_unwrapkey()
1097 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_wrapkey() local
1151 rep = alloc_cprb(sizeof(struct wk_rep_pl)); in ep11_wrapkey()
1152 if (!rep) in ep11_wrapkey()
1154 rep_pl = (struct wk_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in ep11_wrapkey()
1164 rep, sizeof(*rep) + sizeof(*rep_pl)); in ep11_wrapkey()
1195 kfree(rep); in ep11_wrapkey()