Lines Matching full:effects
19 u32 effects; in nvme_cmd_allowed() local
30 * commands as we can't be sure about their effects. in nvme_cmd_allowed()
57 * Check if the controller provides a Commands Supported and Effects log in nvme_cmd_allowed()
61 effects = nvme_command_effects(ns->ctrl, ns, c->common.opcode); in nvme_cmd_allowed()
62 if (!(effects & NVME_CMD_EFFECTS_CSUPP)) in nvme_cmd_allowed()
67 * effects. in nvme_cmd_allowed()
69 if (effects & ~(NVME_CMD_EFFECTS_CSUPP | NVME_CMD_EFFECTS_LBCC | in nvme_cmd_allowed()
79 if ((nvme_is_write(c) || (effects & NVME_CMD_EFFECTS_LBCC)) && in nvme_cmd_allowed()
231 u32 effects; in nvme_submit_user_cmd() local
249 effects = nvme_passthru_start(ctrl, ns, cmd->common.opcode); in nvme_submit_user_cmd()
260 if (effects) in nvme_submit_user_cmd()
261 nvme_passthru_end(ctrl, ns, effects, cmd, ret); in nvme_submit_user_cmd()