Searched refs:DEVNUM_FORMAT_VAL (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/hibernate-resume/ |
D | hibernate-resume.c | 45 …"Failed to write '" DEVNUM_FORMAT_STR "' to /sys/power/resume: %m", DEVNUM_FORMAT_VAL(st.st_rdev)); in main() 56 …log_info("Could not resume from '%s' (" DEVNUM_FORMAT_STR ").", device, DEVNUM_FORMAT_VAL(st.st_rd… in main()
|
/systemd-251/src/basic/ |
D | devnum-util.h | 45 #define DEVNUM_FORMAT_VAL(d) major(d), minor(d) macro 48 … return ASSERT_PTR(snprintf_ok(buf, DEVNUM_STR_MAX, DEVNUM_FORMAT_STR, DEVNUM_FORMAT_VAL(d))); in format_devnum()
|
D | devnum-util.c | 54 if (asprintf(ret, "/dev/%s/" DEVNUM_FORMAT_STR, t, DEVNUM_FORMAT_VAL(devnum)) < 0) in device_path_make_major_minor()
|
/systemd-251/src/core/ |
D | cgroup.c | 1087 … xsprintf(buf, DEVNUM_FORMAT_STR " %" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), bfq_weight); in set_bfq_weight() 1120 xsprintf(buf, DEVNUM_FORMAT_STR " %" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), io_weight); in cgroup_apply_io_device_weight() 1141 xsprintf(buf, DEVNUM_FORMAT_STR " %" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), blkio_weight); in cgroup_apply_blkio_device_weight() 1155 … xsprintf(buf, DEVNUM_FORMAT_STR " target=%" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), target); in cgroup_apply_io_device_latency() 1157 xsprintf(buf, DEVNUM_FORMAT_STR " target=max\n", DEVNUM_FORMAT_VAL(dev)); in cgroup_apply_io_device_latency() 1176 … xsprintf(buf, DEVNUM_FORMAT_STR " rbps=%s wbps=%s riops=%s wiops=%s\n", DEVNUM_FORMAT_VAL(dev), in cgroup_apply_io_device_limit() 1189 sprintf(buf, DEVNUM_FORMAT_STR " %" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), rbps); in cgroup_apply_blkio_device_limit() 1192 sprintf(buf, DEVNUM_FORMAT_STR " %" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), wbps); in cgroup_apply_blkio_device_limit()
|
D | namespace.c | 892 DEVNUM_FORMAT_VAL(st.st_rdev)) < 0) in clone_device_node()
|
/systemd-251/src/gpt-auto-generator/ |
D | gpt-auto-generator.c | 62 DEVNUM_FORMAT_VAL(devnum)); in open_parent_block_device()
|
/systemd-251/src/home/ |
D | homework-luks.c | 1304 …(asprintf(&sysfs, "/sys/dev/block/" DEVNUM_FORMAT_STR "/partition", DEVNUM_FORMAT_VAL(st.st_rdev))… in home_setup_luks() 1315 …if (asprintf(&sysfs, "/sys/dev/block/" DEVNUM_FORMAT_STR "/start", DEVNUM_FORMAT_VAL(st.st_rdev)) … in home_setup_luks() 2208 …(asprintf(&sysfs, "/sys/dev/block/" DEVNUM_FORMAT_STR "/partition", DEVNUM_FORMAT_VAL(st.st_rdev))… in home_create_luks()
|