Lines Matching refs:blk_device
381 fstab->recs[cnt].blk_device = strdup(p);
439 free(fstab->recs[i].blk_device);
458 static void check_fs(char *blk_device, char *fs_type, char *target)
467 blk_device
485 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts);
490 INFO("Running %s on %s\n", E2FSCK_BIN, blk_device);
598 wait_for_file(fstab->recs[i].blk_device, WAIT_TIMEOUT);
602 check_fs(fstab->recs[i].blk_device, fstab->recs[i].fs_type,
613 mret = __mount(fstab->recs[i].blk_device, fstab->recs[i].mount_point,
624 !partition_wiped(fstab->recs[i].blk_device)) {
637 fstab->recs[i].blk_device, fstab->recs[i].mount_point);
750 while (fstab->recs[i].blk_device) {
805 wait_for_file(fstab->recs[i].blk_device, WAIT_TIMEOUT);
809 mkswap_argv[1] = fstab->recs[i].blk_device;
813 ERROR("mkswap failed for %s\n", fstab->recs[i].blk_device);
827 err = swapon(fstab->recs[i].blk_device, flags);
829 ERROR("swapon failed for %s\n", fstab->recs[i].blk_device);
872 strlcpy(real_blk_device, fstab->recs[i].blk_device, size);
883 const char *blk_device, long long length)
899 new_fstab_recs[n].blk_device = strdup(blk_device);