Home
last modified time | relevance | path

Searched refs:data_dir (Results 1 – 13 of 13) sorted by relevance

/linux-4.19.296/block/
Ddeadline-iosched.c84 const int data_dir = rq_data_dir(rq); in deadline_del_rq_rb() local
86 if (dd->next_rq[data_dir] == rq) in deadline_del_rq_rb()
87 dd->next_rq[data_dir] = deadline_latter_request(rq); in deadline_del_rq_rb()
99 const int data_dir = rq_data_dir(rq); in deadline_add_request() local
112 rq->fifo_time = jiffies + dd->fifo_expire[data_dir]; in deadline_add_request()
113 list_add_tail(&rq->queuelist, &dd->fifo_list[data_dir]); in deadline_add_request()
213 const int data_dir = rq_data_dir(rq); in deadline_move_request() local
217 dd->next_rq[data_dir] = deadline_latter_request(rq); in deadline_move_request()
248 deadline_fifo_request(struct deadline_data *dd, int data_dir) in deadline_fifo_request() argument
252 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_fifo_request()
[all …]
Dmq-deadline.c97 const int data_dir = rq_data_dir(rq); in deadline_del_rq_rb() local
99 if (dd->next_rq[data_dir] == rq) in deadline_del_rq_rb()
100 dd->next_rq[data_dir] = deadline_latter_request(rq); in deadline_del_rq_rb()
166 const int data_dir = rq_data_dir(rq); in deadline_move_request() local
170 dd->next_rq[data_dir] = deadline_latter_request(rq); in deadline_move_request()
200 deadline_fifo_request(struct deadline_data *dd, int data_dir) in deadline_fifo_request() argument
205 if (WARN_ON_ONCE(data_dir != READ && data_dir != WRITE)) in deadline_fifo_request()
208 if (list_empty(&dd->fifo_list[data_dir])) in deadline_fifo_request()
211 rq = rq_entry_fifo(dd->fifo_list[data_dir].next); in deadline_fifo_request()
212 if (data_dir == READ || !blk_queue_is_zoned(rq->q)) in deadline_fifo_request()
[all …]
/linux-4.19.296/drivers/memstick/host/
Drtsx_pci_ms.c140 static int ms_transfer_data(struct realtek_pci_ms *host, unsigned char data_dir, in ms_transfer_data() argument
152 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", in ms_transfer_data()
155 if (data_dir == READ) { in ms_transfer_data()
192 err = rtsx_pci_transfer_data(pcr, sg, 1, data_dir == READ, 10000); in ms_transfer_data()
364 err = ms_transfer_data(host, req->data_dir, in rtsx_pci_ms_issue_cmd()
367 if (req->data_dir == READ) { in rtsx_pci_ms_issue_cmd()
Djmb38x_ms.c335 if (host->req->data_dir == WRITE) in jmb38x_ms_transfer_data()
356 if (!length && host->req->data_dir == WRITE) { in jmb38x_ms_transfer_data()
393 if (host->req->data_dir == READ) in jmb38x_ms_issue_cmd()
424 host->req->data_dir == READ in jmb38x_ms_issue_cmd()
442 t_val |= host->req->data_dir == READ in jmb38x_ms_issue_cmd()
453 if (host->req->data_dir == WRITE) { in jmb38x_ms_issue_cmd()
492 host->req->data_dir == READ in jmb38x_ms_complete_cmd()
496 if (host->req->data_dir == READ) in jmb38x_ms_complete_cmd()
562 if (host->req->data_dir == READ) { in jmb38x_ms_isr()
Dtifm_ms.c219 t_size = host->req->data_dir == WRITE in tifm_ms_transfer_data()
236 if (!length && (host->req->data_dir == WRITE)) { in tifm_ms_transfer_data()
286 host->req->data_dir == READ in tifm_ms_issue_cmd()
299 if (host->req->data_dir == WRITE) in tifm_ms_issue_cmd()
357 host->req->data_dir == READ in tifm_ms_complete_cmd()
614 host->req->data_dir == READ in tifm_ms_remove()
Drtsx_usb_ms.c242 static int ms_transfer_data(struct rtsx_usb_ms *host, unsigned char data_dir, in ms_transfer_data() argument
254 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", in ms_transfer_data()
257 if (data_dir == READ) { in ms_transfer_data()
482 err = ms_transfer_data(host, req->data_dir, in rtsx_usb_ms_issue_cmd()
485 if (req->data_dir == READ) in rtsx_usb_ms_issue_cmd()
Dr592.c285 is_write = dev->req->data_dir == WRITE; in r592_transfer_fifo_dma()
/linux-4.19.296/drivers/memstick/core/
Dmemstick.c274 mrq->data_dir = WRITE; in memstick_init_req_sg()
276 mrq->data_dir = READ; in memstick_init_req_sg()
304 mrq->data_dir = WRITE; in memstick_init_req()
306 mrq->data_dir = READ; in memstick_init_req()
309 if (mrq->data_dir == WRITE) in memstick_init_req()
Dmspro_block.c156 data_dir:1, member
643 memstick_init_req_sg(*mrq, msb->data_dir == READ in h_mspro_block_transfer_data()
723 msb->data_dir = rq_data_dir(msb->block_req); in mspro_block_issue_req()
724 msb->transfer_cmd = msb->data_dir == READ in mspro_block_issue_req()
761 if (msb->data_dir == READ) { in mspro_block_complete_req()
990 msb->data_dir = READ; in mspro_block_read_attributes()
1091 msb->data_dir = READ; in mspro_block_read_attributes()
/linux-4.19.296/drivers/parport/
Dparport_atari.c187 st_mfp.data_dir &= ~1; in parport_atari_init()
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_fsf.c2189 static int zfcp_fsf_set_data_dir(struct scsi_cmnd *scsi_cmnd, u32 *data_dir) in zfcp_fsf_set_data_dir() argument
2195 *data_dir = FSF_DATADIR_CMND; in zfcp_fsf_set_data_dir()
2198 *data_dir = FSF_DATADIR_READ; in zfcp_fsf_set_data_dir()
2201 *data_dir = FSF_DATADIR_WRITE; in zfcp_fsf_set_data_dir()
2209 *data_dir = FSF_DATADIR_DIF_READ_STRIP; in zfcp_fsf_set_data_dir()
2212 *data_dir = FSF_DATADIR_DIF_WRITE_INSERT; in zfcp_fsf_set_data_dir()
2215 *data_dir = FSF_DATADIR_DIF_READ_CONVERT; in zfcp_fsf_set_data_dir()
2218 *data_dir = FSF_DATADIR_DIF_WRITE_CONVERT; in zfcp_fsf_set_data_dir()
/linux-4.19.296/include/linux/
Dmemstick.h241 unsigned char data_dir:1, member
/linux-4.19.296/include/scsi/
Dlibsas.h605 u8 data_dir:2; /* Use PCI_DMA_... */ member