Home
last modified time | relevance | path

Searched refs:nl_cmd (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/target/
Dtarget_core_user.c293 static int tcmu_fail_netlink_cmd(struct tcmu_nl_cmd *nl_cmd) in tcmu_fail_netlink_cmd() argument
295 struct tcmu_dev *udev = nl_cmd->udev; in tcmu_fail_netlink_cmd()
302 if (nl_cmd->cmd != TCMU_CMD_UNSPEC) { in tcmu_fail_netlink_cmd()
303 pr_debug("Aborting nl cmd %d on %s\n", nl_cmd->cmd, udev->name); in tcmu_fail_netlink_cmd()
304 nl_cmd->status = -EINTR; in tcmu_fail_netlink_cmd()
305 list_del(&nl_cmd->nl_list); in tcmu_fail_netlink_cmd()
306 complete(&nl_cmd->complete); in tcmu_fail_netlink_cmd()
314 struct tcmu_nl_cmd *nl_cmd, *tmp_cmd; in tcmu_set_reset_netlink() local
328 list_for_each_entry_safe(nl_cmd, tmp_cmd, &tcmu_nl_cmd_list, nl_list) { in tcmu_set_reset_netlink()
329 ret = tcmu_fail_netlink_cmd(nl_cmd); in tcmu_set_reset_netlink()
[all …]