/drivers/s390/net/ |
D | ctcm_sysfs.c | 58 priv->channel[WRITE]->max_bufsize = bs1; in ctcm_buffer_write() 62 priv->channel[WRITE]->flags |= CHANNEL_FLAGS_BUFSIZE_CHANGED; in ctcm_buffer_write() 89 fsm_getstate_str(priv->channel[WRITE]->fsm)); in ctcm_print_statistics() 91 priv->channel[WRITE]->prof.maxmulti); in ctcm_print_statistics() 93 priv->channel[WRITE]->prof.maxcqueue); in ctcm_print_statistics() 95 priv->channel[WRITE]->prof.doios_single); in ctcm_print_statistics() 97 priv->channel[WRITE]->prof.doios_multi); in ctcm_print_statistics() 99 priv->channel[WRITE]->prof.txlen); in ctcm_print_statistics() 101 priv->channel[WRITE]->prof.tx_time); in ctcm_print_statistics() 104 priv->channel[WRITE]->netdev->name, sbuf); in ctcm_print_statistics() [all …]
|
D | claw.c | 327 p_ch=&privptr->channel[WRITE]; in claw_tx() 350 struct chbk *p_ch = &privptr->channel[WRITE]; in claw_pack_skb() 464 if (i == WRITE) in claw_open() 466 &privptr->channel[WRITE].collect_queue); in claw_open() 495 privptr->channel[WRITE].last_dstat) & in claw_open() 498 privptr->channel[WRITE].flag) & CLAW_TIMER) != 0x00)) { in claw_open() 551 privptr->channel[WRITE].flag = 0x00; in claw_open() 597 else if (privptr->channel[WRITE].cdev == cdev) in claw_irq_handler() 598 p_ch = &privptr->channel[WRITE]; in claw_irq_handler() 821 if (i == WRITE) in claw_release() [all …]
|
D | ctcm_main.c | 268 ch->flags |= (direction == WRITE) in channel_get() 604 ch = priv->channel[WRITE]; in ctcmpc_send_sweep_req() 912 if (ctcm_transmit_skb(priv->channel[WRITE], skb) != 0) in ctcm_tx() 995 if (ctcmpc_transmit_skb(priv->channel[WRITE], skb) != 0) { in ctcmpc_tx() 1217 else if (priv->channel[WRITE]->cdev == cdev) in ctcm_irq_handler() 1218 ch = priv->channel[WRITE]; in ctcm_irq_handler() 1564 for (direction = READ; direction <= WRITE; direction++) { in ctcm_new_device() 1569 if (direction == WRITE) in ctcm_new_device() 1593 priv->channel[WRITE]->id, priv->protocol); in ctcm_new_device() 1598 priv->channel[WRITE]->id, priv->protocol); in ctcm_new_device() [all …]
|
D | ctcm_mpc.c | 425 wch = priv->channel[WRITE]; in ctc_mpc_establish_connectivity() 627 struct channel *ch = priv->channel[WRITE]; in mpc_rcvd_sweep_resp() 661 struct channel *ch = priv->channel[WRITE]; in ctcmpc_send_sweep_resp() 720 struct channel *ch = priv->channel[WRITE]; in mpc_rcvd_sweep_req() 921 ch = priv->channel[WRITE]; in mpc_group_ready() 968 grp->active_channels[READ], grp->active_channels[WRITE]); in mpc_channel_action() 1005 if (CHANNEL_DIRECTION(ch->flags) == WRITE) in mpc_channel_action() 1015 (grp->active_channels[WRITE] > 0) && in mpc_channel_action() 1036 (grp->active_channels[WRITE] > 0)) in mpc_channel_action() 1037 || ((grp->active_channels[WRITE] == 0) && in mpc_channel_action() [all …]
|
D | ctcm_fsms.c | 477 if ((CHANNEL_DIRECTION(ch->flags) == WRITE) || in chx_firstio() 950 ch2 = priv->channel[WRITE]; in ctcm_chx_rxdisc() 1758 struct channel *wch = priv->channel[WRITE]; in ctcmpc_chx_send_sweep() 2075 for (direction = READ; direction <= WRITE; direction++) { in dev_action_start() 2097 for (direction = READ; direction <= WRITE; direction++) { in dev_action_stop() 2191 mpc_channel_action(priv->channel[WRITE], in dev_action_chup() 2192 WRITE, MPC_CHANNEL_ADD); in dev_action_chup() 2247 mpc_channel_action(priv->channel[WRITE], in dev_action_chdown() 2248 WRITE, MPC_CHANNEL_REMOVE); in dev_action_chdown()
|
D | ctcm_main.h | 99 #define WRITE 1 macro
|
D | claw.h | 78 #define WRITE 1 macro
|
/drivers/md/ |
D | faulty.c | 113 case WritePersistent*2+WRITE: return 1; in check_sector() 116 case ReadFixable*2+WRITE: in check_sector() 120 case AllPersist*2+WRITE: return 1; in check_sector() 174 if (bio_data_dir(bio) == WRITE) { in make_request() 185 WRITE)) in make_request()
|
D | dm-delay.c | 94 if ((bio_data_dir(delayed->bio) == WRITE)) in flush_delayed_bios() 246 if (bio_data_dir(bio) == WRITE) in delay_bio() 281 if ((bio_data_dir(bio) == WRITE) && (dc->dev_write)) { in delay_map()
|
D | dm-kcopyd.c | 316 if (job->rw == WRITE) in complete_io() 328 if (job->rw == WRITE) in complete_io() 332 job->rw = WRITE; in complete_io() 400 if (job->rw == WRITE) in process_jobs()
|
D | dm-zero.c | 41 case WRITE: in zero_map()
|
D | dm-snap-persistent.c | 261 .bi_rw = WRITE, in zero_disk_area() 360 return chunk_io(ps, 0, WRITE, 1); in write_header() 630 if (ps->valid && area_io(ps, WRITE)) in persistent_commit_exception()
|
D | dm-raid1.c | 123 bl = (rw == WRITE) ? &ms->writes : &ms->reads; in queue_bio() 139 queue_bio(ms, bio, WRITE); in dispatch_bios() 564 .bi_rw = WRITE, in do_write() 1041 if (rw == WRITE) { in mirror_map() 1095 if (rw == WRITE) { in mirror_end_io()
|
D | dm-io.c | 358 if (num_regions > 1 && (rw & RW_MASK) != WRITE) { in sync_io() 395 if (num_regions > 1 && (rw & RW_MASK) != WRITE) { in async_io()
|
D | raid1.c | 237 (bio_data_dir(bio) == WRITE) ? "write" : "read", in raid_end_bio_io() 798 if (rw == WRITE) in make_request() 941 mbio->bi_rw = WRITE | do_barriers | do_sync; in make_request() 1397 WRITE) == 0) in sync_request_write() 1445 wbio->bi_rw = WRITE; in sync_request_write() 1519 s<<9, conf->tmppage, WRITE) in fix_read_error() 1619 bio->bi_rw = WRITE | do_sync; in raid1d() 1810 bio->bi_rw = WRITE; in sync_request()
|
D | dm-log.c | 657 r = rw_header(lc, WRITE); in disk_resume() 707 r = rw_header(lc, WRITE); in disk_flush()
|
/drivers/block/ |
D | swim3.c | 335 if (rq_data_dir(req) == WRITE) { in start_request() 431 if (rq_data_dir(fd_req) == WRITE) in setup_transfer() 444 if (rq_data_dir(fd_req) == WRITE) { in setup_transfer() 459 if (rq_data_dir(fd_req) == WRITE) in setup_transfer() 608 if (rq_data_dir(fd_req) == WRITE) in xfer_timeout() 617 (rq_data_dir(fd_req)==WRITE? "writ": "read"), (long)fd_req->sector); in xfer_timeout() 697 if (rq_data_dir(fd_req) == WRITE) in swim3_interrupt() 732 rq_data_dir(fd_req) == WRITE? "writ": "read", in swim3_interrupt()
|
D | loop.c | 242 transfer_result = lo_do_transfer(lo, WRITE, page, offset, in do_lo_send_aops() 330 int ret = lo_do_transfer(lo, WRITE, page, 0, bvec->bv_page, in do_lo_send_write() 477 if (bio_rw(bio) == WRITE) in do_bio_filebacked() 521 BUG_ON(!lo || (rw != READ && rw != WRITE)); in loop_make_request() 526 if (unlikely(rw == WRITE && (lo->lo_flags & LO_FLAGS_READ_ONLY))) in loop_make_request()
|
/drivers/s390/block/ |
D | dasd_fba.c | 87 if (rw == WRITE) in define_extent() 107 if (rw == WRITE) in locate_record() 263 } else if (rq_data_dir(req) == WRITE) { in dasd_fba_build_cp() 323 if (copy && rq_data_dir(req) == WRITE) in dasd_fba_build_cp()
|
/drivers/staging/et131x/ |
D | et1310_eeprom.h | 71 #define WRITE 1 macro
|
/drivers/scsi/device_handler/ |
D | scsi_dh_hp_sw.c | 111 req = blk_get_request(sdev->request_queue, WRITE, GFP_NOIO); in hp_sw_tur() 206 req = blk_get_request(sdev->request_queue, WRITE, GFP_NOIO); in hp_sw_start_stop()
|
/drivers/memstick/core/ |
D | memstick.c | 271 mrq->data_dir = WRITE; in memstick_init_req_sg() 301 mrq->data_dir = WRITE; in memstick_init_req() 306 if (mrq->data_dir == WRITE) in memstick_init_req()
|
/drivers/memstick/host/ |
D | tifm_ms.c | 218 t_size = host->req->data_dir == WRITE in tifm_ms_transfer_data() 235 if (!length && (host->req->data_dir == WRITE)) { in tifm_ms_transfer_data() 298 if (host->req->data_dir == WRITE) in tifm_ms_issue_cmd()
|
D | jmb38x_ms.c | 332 if (host->req->data_dir == WRITE) in jmb38x_ms_transfer_data() 353 if (!length && host->req->data_dir == WRITE) { in jmb38x_ms_transfer_data() 445 if (host->req->data_dir == WRITE) { in jmb38x_ms_issue_cmd()
|
/drivers/scsi/ |
D | eata_generic.h | 83 #define WRITE 1 macro
|