Lines Matching defs:what

68         s->parameters_proc_swaps.what = mfree(s->parameters_proc_swaps.what);
148 s->what = mfree(s->what);
149 s->parameters_fragment.what = mfree(s->parameters_fragment.what);
194 if (!s->what)
200 if (is_device_path(s->what))
201 return unit_add_node_link(UNIT(s), s->what, UNIT(s)->manager->running_as == MANAGER_SYSTEM, UNIT_BINDS_TO);
239 r = unit_name_from_path(s->what, ".swap", &e);
263 if (stat(s->what, &st) < 0 || !S_ISBLK(st.st_mode))
294 if (!s->what) {
295 if (s->parameters_fragment.what)
296 s->what = strdup(s->parameters_fragment.what);
297 else if (s->parameters_proc_swaps.what)
298 s->what = strdup(s->parameters_proc_swaps.what);
300 r = unit_name_to_path(u->id, &s->what);
305 if (!s->what)
309 path_kill_slashes(s->what);
312 r = unit_set_description(u, s->what);
317 r = unit_require_mounts_for(UNIT(s), s->what);
351 const char *what,
363 assert(what);
366 r = unit_name_from_path(what, ".swap", &e);
374 !path_equal(SWAP(u)->parameters_proc_swaps.what, what_proc_swaps)) {
375 log_error("Swap %s appeared twice with different device paths %s and %s", e, SWAP(u)->parameters_proc_swaps.what, what_proc_swaps);
390 SWAP(u)->what = strdup(what);
391 if (!SWAP(u)->what) {
402 if (!p->what) {
403 p->what = strdup(what_proc_swaps);
404 if (!p->what) {
582 prefix, s->what,
767 r = exec_command_append(s->control_command, s->what, NULL);
796 s->what,
1163 if (swap->what)
1164 device_found_node(m, swap->what, false, DEVICE_FOUND_SWAP, true);
1217 if (streq_ptr(s->what, s->devnode))
1221 if (streq_ptr(other->what, other->devnode))
1225 if (streq_ptr(other->what, other->devnode))