Searched refs:hdr (Results 1 - 2 of 2) sorted by relevance
/block/ |
H A D | scsi_ioctl.c | 228 struct sg_io_hdr *hdr, fmode_t mode) 230 if (copy_from_user(rq->cmd, hdr->cmdp, hdr->cmd_len)) 238 rq->cmd_len = hdr->cmd_len; 240 rq->timeout = msecs_to_jiffies(hdr->timeout); 251 static int blk_complete_sghdr_rq(struct request *rq, struct sg_io_hdr *hdr, argument 259 hdr->status = rq->errors & 0xff; 260 hdr->masked_status = status_byte(rq->errors); 261 hdr->msg_status = msg_byte(rq->errors); 262 hdr 227 blk_fill_sghdr_rq(struct request_queue *q, struct request *rq, struct sg_io_hdr *hdr, fmode_t mode) argument 286 sg_io(struct request_queue *q, struct gendisk *bd_disk, struct sg_io_hdr *hdr, fmode_t mode) argument 607 struct sg_io_hdr hdr; local 622 struct sg_io_hdr hdr; local [all...] |
H A D | bsg.c | 87 struct sg_io_v4 hdr; member in struct:bsg_command 176 struct sg_io_v4 *hdr, struct bsg_device *bd, 179 if (hdr->request_len > BLK_MAX_CDB) { 180 rq->cmd = kzalloc(hdr->request_len, GFP_KERNEL); 185 if (copy_from_user(rq->cmd, (void __user *)(unsigned long)hdr->request, 186 hdr->request_len)) 189 if (hdr->subprotocol == BSG_SUB_PROTOCOL_SCSI_CMD) { 198 rq->cmd_len = hdr->request_len; 200 rq->timeout = msecs_to_jiffies(hdr->timeout); 215 bsg_validate_sgv4_hdr(struct request_queue *q, struct sg_io_v4 *hdr, in argument 175 blk_fill_sgv4_hdr_rq(struct request_queue *q, struct request *rq, struct sg_io_v4 *hdr, struct bsg_device *bd, fmode_t has_write_perm) argument 244 bsg_map_hdr(struct bsg_device *bd, struct sg_io_v4 *hdr, fmode_t has_write_perm, u8 *sense) argument 429 blk_complete_sgv4_hdr_rq(struct request *rq, struct sg_io_v4 *hdr, struct bio *bio, struct bio *bidi_bio) argument 931 struct sg_io_v4 hdr; local [all...] |
Completed in 48 milliseconds