25 #include <linux/sched.h>
26 #include <linux/slab.h>
53 kref_init(&cmd->
kref);
101 dbg(
"%s:%d at %s\n", __func__, __LINE__, get_timestamp(tsbuf));
107 exec_next_command(sp);
124 dbg(
"%s:%d at %s\n", __func__, __LINE__, get_timestamp(tsbuf));
131 spin_unlock_irqrestore(&sp->
lock, flags);
134 enqueue_command(sp, cmd);
135 spin_unlock_irqrestore(&sp->
lock, flags);
144 dbg(
"%s:%d at %s\n", __func__, __LINE__, get_timestamp(tsbuf));
150 spin_unlock_irqrestore(&sp->
lock, flags);
153 spin_unlock_irqrestore(&sp->
lock, flags);
186 exec_next_command(sp);