Searched refs:dm_name (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/home/ |
D | homework-luks.c | 346 const char *dm_name, in luks_setup() argument 370 assert(dm_name); in luks_setup() 435 dm_name, in luks_setup() 441 log_info("Setting up LUKS device /dev/mapper/%s completed.", dm_name); in luks_setup() 462 if (!setup->dm_name) { in make_dm_names() 463 setup->dm_name = strjoin("home-", h->user_name); in make_dm_names() 464 if (!setup->dm_name) in make_dm_names() 469 setup->dm_node = path_join("/dev/mapper/", setup->dm_name); in make_dm_names() 497 r = sym_crypt_init_by_name(&cd, setup->dm_name); in acquire_open_luks_device() 501 … return log_error_errno(r, "Failed to initialize cryptsetup context for %s: %m", setup->dm_name); in acquire_open_luks_device() [all …]
|
D | homework.h | 17 char *dm_name; /* "home-<username>" */ member
|
D | homework.c | 317 assert(setup->dm_name); in home_setup_undo_dm() 319 r = sym_crypt_deactivate_by_name(setup->crypt_device, setup->dm_name, 0); in home_setup_undo_dm() 426 setup->dm_name = mfree(setup->dm_name); in home_setup_done()
|
/systemd-251/src/partition/ |
D | repart.c | 2563 _cleanup_free_ char *dm_name = NULL, *vol = NULL; in partition_encrypt() local 2578 if (asprintf(&dm_name, "luks-repart-%08" PRIx64, random_u64()) < 0) in partition_encrypt() 2582 vol = path_join("/dev/mapper/", dm_name); in partition_encrypt() 2680 dm_name, in partition_encrypt()
|