Lines Matching defs:newdi
1252 struct dumperinfo *newdi;
1259 newdi = malloc(sizeof(*newdi) + strlen(devname) + 1, M_DUMPER,
1261 memcpy(newdi, di_template, sizeof(*newdi));
1262 newdi->blockbuf = NULL;
1263 newdi->kdcrypto = NULL;
1264 newdi->kdcomp = NULL;
1265 strcpy(newdi->di_devname, devname);
1269 newdi->kdcrypto = kerneldumpcrypto_create(newdi->blocksize,
1272 if (newdi->kdcrypto == NULL) {
1294 newdi->kdcomp = kerneldumpcomp_create(newdi,
1296 if (newdi->kdcomp == NULL) {
1301 newdi->blockbuf = malloc(newdi->blocksize, M_DUMPER, M_WAITOK | M_ZERO);
1303 *dip = newdi;
1306 dumper_destroy(newdi);
1317 struct dumperinfo *newdi, *listdi;
1330 error = dumper_create(di_template, devname, kda, &newdi);
1339 TAILQ_INSERT_BEFORE(listdi, newdi, di_next);
1346 TAILQ_INSERT_TAIL(&dumper_configs, newdi, di_next);
1354 dumper_ddb_insert(struct dumperinfo *newdi)
1356 TAILQ_INSERT_HEAD(&dumper_configs, newdi, di_next);