Lines Matching refs:rep
456 struct ep11_cprb *rep, size_t rep_len)
463 u->resp = (u8 __user *)rep;
534 static int check_reply_cprb(const struct ep11_cprb *rep, const char *func)
537 if (rep->ret_code) {
539 rep->ret_code);
540 if (rep->ret_code == 0x000c0003)
573 struct ep11_cprb *req = NULL, *rep = NULL;
591 rep = alloc_cprbmem(sizeof(struct ep11_info_rep_pl) + buflen, xflags);
592 if (!rep)
594 rep_pl = (struct ep11_info_rep_pl *)(((u8 *)rep) + sizeof(*rep));
601 rep, sizeof(*rep) + sizeof(*rep_pl) + buflen);
611 rc = check_reply_cprb(rep, __func__);
635 free_cprbmem(rep, 0, false, xflags);
779 struct ep11_cprb *req = NULL, *rep = NULL;
836 rep = alloc_cprbmem(sizeof(struct keygen_rep_pl), xflags);
837 if (!rep)
839 rep_pl = (struct keygen_rep_pl *)(((u8 *)rep) + sizeof(*rep));
846 rep, sizeof(*rep) + sizeof(*rep_pl));
856 rc = check_reply_cprb(rep, __func__);
882 free_cprbmem(rep, sizeof(struct keygen_rep_pl), true, xflags);
954 struct ep11_cprb *req = NULL, *rep = NULL;
990 rep = alloc_cprbmem(rep_pl_size, xflags);
991 if (!rep)
993 rep_pl = (struct crypt_rep_pl *)(((u8 *)rep) + sizeof(*rep));
1000 rep, sizeof(*rep) + rep_pl_size);
1010 rc = check_reply_cprb(rep, __func__);
1049 free_cprbmem(rep, rep_pl_size, true, xflags);
1092 struct ep11_cprb *req = NULL, *rep = NULL;
1149 rep = alloc_cprbmem(sizeof(struct uw_rep_pl), xflags);
1150 if (!rep)
1152 rep_pl = (struct uw_rep_pl *)(((u8 *)rep) + sizeof(*rep));
1159 rep, sizeof(*rep) + sizeof(*rep_pl));
1169 rc = check_reply_cprb(rep, __func__);
1195 free_cprbmem(rep, sizeof(struct uw_rep_pl), true, xflags);
1265 struct ep11_cprb *req = NULL, *rep = NULL;
1305 rep = alloc_cprbmem(sizeof(struct wk_rep_pl), xflags);
1306 if (!rep)
1308 rep_pl = (struct wk_rep_pl *)(((u8 *)rep) + sizeof(*rep));
1315 rep, sizeof(*rep) + sizeof(*rep_pl));
1325 rc = check_reply_cprb(rep, __func__);
1351 free_cprbmem(rep, sizeof(struct wk_rep_pl), true, xflags);