Lines Matching refs:rep
495 struct ep11_cprb *rep, size_t rep_len) in prep_urb() argument
501 u->resp = (u8 __user *)rep; in prep_urb()
594 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_query_info() local
612 rep = alloc_cprb(sizeof(struct ep11_info_rep_pl) + buflen); in ep11_query_info()
613 if (!rep) in ep11_query_info()
615 rep_pl = (struct ep11_info_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in ep11_query_info()
625 rep, sizeof(*rep) + sizeof(*rep_pl) + buflen); in ep11_query_info()
654 kfree(rep); in ep11_query_info()
806 struct ep11_cprb *req = NULL, *rep = NULL; in _ep11_genaeskey() local
864 rep = alloc_cprb(sizeof(struct keygen_rep_pl)); in _ep11_genaeskey()
865 if (!rep) in _ep11_genaeskey()
867 rep_pl = (struct keygen_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in _ep11_genaeskey()
877 rep, sizeof(*rep) + sizeof(*rep_pl)); in _ep11_genaeskey()
908 kfree(rep); in _ep11_genaeskey()
980 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_cryptsingle() local
1016 rep = alloc_cprb(rep_pl_size); in ep11_cryptsingle()
1017 if (!rep) in ep11_cryptsingle()
1019 rep_pl = (struct crypt_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in ep11_cryptsingle()
1029 rep, sizeof(*rep) + rep_pl_size); in ep11_cryptsingle()
1073 kfree(rep); in ep11_cryptsingle()
1117 struct ep11_cprb *req = NULL, *rep = NULL; in _ep11_unwrapkey() local
1174 rep = alloc_cprb(sizeof(struct uw_rep_pl)); in _ep11_unwrapkey()
1175 if (!rep) in _ep11_unwrapkey()
1177 rep_pl = (struct uw_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in _ep11_unwrapkey()
1187 rep, sizeof(*rep) + sizeof(*rep_pl)); in _ep11_unwrapkey()
1218 kfree(rep); in _ep11_unwrapkey()
1289 struct ep11_cprb *req = NULL, *rep = NULL; in _ep11_wrapkey() local
1329 rep = alloc_cprb(sizeof(struct wk_rep_pl)); in _ep11_wrapkey()
1330 if (!rep) in _ep11_wrapkey()
1332 rep_pl = (struct wk_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in _ep11_wrapkey()
1342 rep, sizeof(*rep) + sizeof(*rep_pl)); in _ep11_wrapkey()
1373 kfree(rep); in _ep11_wrapkey()