Home
last modified time | relevance | path

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

/linux/drivers/target/
H A Dtarget_core_user.c303 static int tcmu_fail_netlink_cmd(struct tcmu_nl_cmd *nl_cmd) in tcmu_fail_netlink_cmd() argument
305 struct tcmu_dev *udev = nl_cmd->udev; in tcmu_fail_netlink_cmd()
312 if (nl_cmd->cmd != TCMU_CMD_UNSPEC) { in tcmu_fail_netlink_cmd()
313 pr_debug("Aborting nl cmd %d on %s\n", nl_cmd->cmd, udev->name); in tcmu_fail_netlink_cmd()
314 nl_cmd->status = -EINTR; in tcmu_fail_netlink_cmd()
315 list_del(&nl_cmd->nl_list); in tcmu_fail_netlink_cmd()
316 complete(&nl_cmd->complete); in tcmu_fail_netlink_cmd()
324 struct tcmu_nl_cmd *nl_cmd, *tmp_cmd; in tcmu_set_reset_netlink() local
338 list_for_each_entry_safe(nl_cmd, tmp_cmd, &tcmu_nl_cmd_list, nl_list) { in tcmu_set_reset_netlink()
339 ret = tcmu_fail_netlink_cmd(nl_cmd); in tcmu_set_reset_netlink()
[all …]