Lines Matching full:effects
20 u32 effects; in nvme_cmd_allowed() local
31 * commands as we can't be sure about their effects. in nvme_cmd_allowed()
58 * Check if the controller provides a Commands Supported and Effects log in nvme_cmd_allowed()
62 effects = nvme_command_effects(ns->ctrl, ns, c->common.opcode); in nvme_cmd_allowed()
63 if (!(effects & NVME_CMD_EFFECTS_CSUPP)) in nvme_cmd_allowed()
68 * effects. in nvme_cmd_allowed()
70 if (effects & ~(NVME_CMD_EFFECTS_CSUPP | NVME_CMD_EFFECTS_LBCC | in nvme_cmd_allowed()
80 if ((nvme_is_write(c) || (effects & NVME_CMD_EFFECTS_LBCC)) && in nvme_cmd_allowed()
180 u32 effects; in nvme_submit_user_cmd() local
198 effects = nvme_passthru_start(ctrl, ns, cmd->common.opcode); in nvme_submit_user_cmd()
206 if (effects) in nvme_submit_user_cmd()
207 nvme_passthru_end(ctrl, ns, effects, cmd, ret); in nvme_submit_user_cmd()