Lines Matching full:sd
13 sr_crypto_create(struct sr_discipline *sd, struct bioc_createraid *bc,
21 sr_error(sd->sd_sc, "%s requires exactly one chunk",
22 sd->sd_name);
28 + sd->sd_meta->ssdi.ssd_size = coerced_size;
30 + rv = sr_crypto_init(sd, bc);
34 + sd->sd_max_ccb_per_wu = no_chunk;
39 +sr_crypto_init(struct sr_discipline *sd, struct bioc_createraid *bc)
44 + if (sd->sd_meta->ssdi.ssd_size > SR_CRYPTO_MAXSIZE) {
45 sr_error(sd->sd_sc, "%s exceeds maximum size (%lli > %llu)",
46 - sd->sd_name, coerced_size, SR_CRYPTO_MAXSIZE);
47 + sd->sd_name, sd->sd_meta->ssdi.ssd_size,
56 - sd->sd_meta->ssdi.ssd_size = coerced_size;
58 sr_crypto_create_keys(sd);
60 - sd->sd_max_ccb_per_wu = no_chunk;