Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_user.c296 static int tcmu_fail_netlink_cmd(struct tcmu_nl_cmd *nl_cmd) in tcmu_fail_netlink_cmd() argument
298 struct tcmu_dev *udev = nl_cmd->udev; in tcmu_fail_netlink_cmd()
305 if (nl_cmd->cmd != TCMU_CMD_UNSPEC) { in tcmu_fail_netlink_cmd()
306 pr_debug("Aborting nl cmd %d on %s\n", nl_cmd->cmd, udev->name); in tcmu_fail_netlink_cmd()
307 nl_cmd->status = -EINTR; in tcmu_fail_netlink_cmd()
308 list_del(&nl_cmd->nl_list); in tcmu_fail_netlink_cmd()
309 complete(&nl_cmd->complete); in tcmu_fail_netlink_cmd()
317 struct tcmu_nl_cmd *nl_cmd, *tmp_cmd; in tcmu_set_reset_netlink() local
331 list_for_each_entry_safe(nl_cmd, tmp_cmd, &tcmu_nl_cmd_list, nl_list) { in tcmu_set_reset_netlink()
332 ret = tcmu_fail_netlink_cmd(nl_cmd); in tcmu_set_reset_netlink()
368 struct tcmu_nl_cmd *nl_cmd; tcmu_genl_cmd_done() local
1863 struct tcmu_nl_cmd *nl_cmd = &udev->curr_nl_cmd; tcmu_init_genl_cmd_reply() local
1901 struct tcmu_nl_cmd *nl_cmd = &udev->curr_nl_cmd; tcmu_destroy_genl_cmd_reply() local
1919 struct tcmu_nl_cmd *nl_cmd = &udev->curr_nl_cmd; tcmu_wait_genl_cmd_reply() local
[all...]
/kernel/linux/linux-6.6/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()
375 struct tcmu_nl_cmd *nl_cmd; tcmu_genl_cmd_done() local
2005 struct tcmu_nl_cmd *nl_cmd = &udev->curr_nl_cmd; tcmu_init_genl_cmd_reply() local
2043 struct tcmu_nl_cmd *nl_cmd = &udev->curr_nl_cmd; tcmu_destroy_genl_cmd_reply() local
2061 struct tcmu_nl_cmd *nl_cmd = &udev->curr_nl_cmd; tcmu_wait_genl_cmd_reply() local
[all...]

Completed in 5 milliseconds