Lines Matching defs:cmd
154 static inline unsigned scsi_sg_count(struct scsi_cmnd *cmd) in scsi_sg_count()
159 static inline struct scatterlist *scsi_sglist(struct scsi_cmnd *cmd) in scsi_sglist()
164 static inline unsigned scsi_bufflen(struct scsi_cmnd *cmd) in scsi_bufflen()
169 static inline void scsi_set_resid(struct scsi_cmnd *cmd, int resid) in scsi_set_resid()
174 static inline int scsi_get_resid(struct scsi_cmnd *cmd) in scsi_get_resid()
179 #define scsi_for_each_sg(cmd, sg, nseg, __i) \ argument
182 static inline int scsi_bidi_cmnd(struct scsi_cmnd *cmd) in scsi_bidi_cmnd()
188 static inline struct scsi_data_buffer *scsi_in(struct scsi_cmnd *cmd) in scsi_in()
194 static inline struct scsi_data_buffer *scsi_out(struct scsi_cmnd *cmd) in scsi_out()
199 static inline int scsi_sg_copy_from_buffer(struct scsi_cmnd *cmd, in scsi_sg_copy_from_buffer()
206 static inline int scsi_sg_copy_to_buffer(struct scsi_cmnd *cmd, in scsi_sg_copy_to_buffer()
272 static inline unsigned scsi_prot_sg_count(struct scsi_cmnd *cmd) in scsi_prot_sg_count()
277 static inline struct scatterlist *scsi_prot_sglist(struct scsi_cmnd *cmd) in scsi_prot_sglist()
282 static inline struct scsi_data_buffer *scsi_prot(struct scsi_cmnd *cmd) in scsi_prot()
287 #define scsi_for_each_prot_sg(cmd, sg, nseg, __i) \ argument
290 static inline void set_msg_byte(struct scsi_cmnd *cmd, char status) in set_msg_byte()
295 static inline void set_host_byte(struct scsi_cmnd *cmd, char status) in set_host_byte()
300 static inline void set_driver_byte(struct scsi_cmnd *cmd, char status) in set_driver_byte()