Lines Matching defs:argp
114 __log_register_args *argp;
125 if ((ret = __log_register_read(dbtp->data, &argp)) != 0)
130 (u_long)argp->type,
131 (u_long)argp->txnid->txnid,
132 (u_long)argp->prev_lsn.file,
133 (u_long)argp->prev_lsn.offset);
134 printf("\topcode: %lu\n", (u_long)argp->opcode);
136 for (i = 0; i < argp->name.size; i++) {
137 ch = ((u_int8_t *)argp->name.data)[i];
145 for (i = 0; i < argp->uid.size; i++) {
146 ch = ((u_int8_t *)argp->uid.data)[i];
153 printf("\tid: %lu\n", (u_long)argp->id);
154 printf("\tftype: 0x%lx\n", (u_long)argp->ftype);
156 __os_free(argp, 0);
168 __log_register_args *argp;
173 sizeof(DB_TXN), NULL, &argp);
176 argp->txnid = (DB_TXN *)&argp[1];
178 memcpy(&argp->type, bp, sizeof(argp->type));
179 bp += sizeof(argp->type);
180 memcpy(&argp->txnid->txnid, bp, sizeof(argp->txnid->txnid));
181 bp += sizeof(argp->txnid->txnid);
182 memcpy(&argp->prev_lsn, bp, sizeof(DB_LSN));
184 memcpy(&argp->opcode, bp, sizeof(argp->opcode));
185 bp += sizeof(argp->opcode);
186 memcpy(&argp->name.size, bp, sizeof(u_int32_t));
188 argp->name.data = bp;
189 bp += argp->name.size;
190 memcpy(&argp->uid.size, bp, sizeof(u_int32_t));
192 argp->uid.data = bp;
193 bp += argp->uid.size;
194 memcpy(&argp->id, bp, sizeof(argp->id));
195 bp += sizeof(argp->id);
196 memcpy(&argp->ftype, bp, sizeof(argp->ftype));
197 bp += sizeof(argp->ftype);
198 *argpp = argp;