Searched refs:WRITE (Results 1 - 200 of 459) sorted by relevance

123

/linux-4.1.27/drivers/net/wireless/rtlwifi/
H A Dcam.c67 "WRITE %x: %x\n", rtl_cam_program_entry()
72 "WRITE %x: %x\n", rtl_cam_program_entry()
88 "WRITE A4: %x\n", target_content); rtl_cam_program_entry()
90 "WRITE A0: %x\n", target_command); rtl_cam_program_entry()
108 "WRITE A4: %x\n", target_content); rtl_cam_program_entry()
110 "WRITE A0: %x\n", target_command); rtl_cam_program_entry()
166 "rtl_cam_delete_one_entry(): WRITE A4: %x\n", 0); rtl_cam_delete_one_entry()
168 "rtl_cam_delete_one_entry(): WRITE A0: %x\n", ul_command); rtl_cam_delete_one_entry()
220 "rtl_cam_mark_invalid(): WRITE A4: %x\n", ul_content); rtl_cam_mark_invalid()
222 "rtl_cam_mark_invalid(): WRITE A0: %x\n", ul_command); rtl_cam_mark_invalid()
270 "rtl_cam_empty_entry(): WRITE A4: %x\n", rtl_cam_empty_entry()
273 "rtl_cam_empty_entry(): WRITE A0: %x\n", rtl_cam_empty_entry()
/linux-4.1.27/drivers/md/
H A Ddm-stats.c184 atomic_read(&shared->in_flight[WRITE]); dm_stat_in_flight()
221 atomic_read(&shared->in_flight[WRITE])); dm_stats_cleanup()
291 atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0); dm_stats_create()
433 in_flight_write = (unsigned)atomic_read(&shared->in_flight[WRITE]); dm_stat_round()
437 p->io_ticks[WRITE] += difference; dm_stat_round()
584 shared->tmp.sectors[WRITE] += ACCESS_ONCE(p->sectors[WRITE]); for_each_possible_cpu()
586 shared->tmp.ios[WRITE] += ACCESS_ONCE(p->ios[WRITE]); for_each_possible_cpu()
588 shared->tmp.merges[WRITE] += ACCESS_ONCE(p->merges[WRITE]); for_each_possible_cpu()
590 shared->tmp.ticks[WRITE] += ACCESS_ONCE(p->ticks[WRITE]); for_each_possible_cpu()
592 shared->tmp.io_ticks[WRITE] += ACCESS_ONCE(p->io_ticks[WRITE]); for_each_possible_cpu()
612 p->sectors[WRITE] -= shared->tmp.sectors[WRITE]; __dm_stat_clear()
614 p->ios[WRITE] -= shared->tmp.ios[WRITE]; __dm_stat_clear()
616 p->merges[WRITE] -= shared->tmp.merges[WRITE]; __dm_stat_clear()
618 p->ticks[WRITE] -= shared->tmp.ticks[WRITE]; __dm_stat_clear()
620 p->io_ticks[WRITE] -= shared->tmp.io_ticks[WRITE]; __dm_stat_clear()
716 shared->tmp.ios[WRITE], dm_stats_print()
717 shared->tmp.merges[WRITE], dm_stats_print()
718 shared->tmp.sectors[WRITE], dm_stats_print()
719 dm_jiffies_to_msec64(shared->tmp.ticks[WRITE]), dm_stats_print()
724 dm_jiffies_to_msec64(shared->tmp.io_ticks[WRITE])); dm_stats_print()
H A Ddm-flakey.c103 fc->corrupt_bio_rw = WRITE; parse_features()
135 if (test_bit(DROP_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { parse_features()
136 ti->error = "drop_writes is incompatible with corrupt_bio_byte with the WRITE flag set"; parse_features()
152 * Direction is r for READ or w for WRITE.
269 (bio_data_dir(bio) == WRITE) ? 'w' : 'r', bio->bi_rw, corrupt_bio_data()
306 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == WRITE)) { flakey_map()
367 (fc->corrupt_bio_rw == WRITE) ? 'w' : 'r', flakey_status()
H A Dfaulty.c118 case WritePersistent*2+WRITE: return 1; check_sector()
121 case ReadFixable*2+WRITE: check_sector()
125 case AllPersist*2+WRITE: return 1; check_sector()
178 if (bio_data_dir(bio) == WRITE) { make_request()
189 bio_end_sector(bio), WRITE)) make_request()
H A Ddm-zero.c45 case WRITE: zero_map()
H A Ddm-kcopyd.c332 * Either READ or WRITE
468 if (job->rw & WRITE) complete_io()
480 if (job->rw & WRITE) complete_io()
484 job->rw = WRITE; complete_io()
553 if (job->rw & WRITE) process_jobs()
735 * Use WRITE SAME to optimize zeroing if all dests support it. dm_kcopyd_copy()
737 job->rw = WRITE | REQ_WRITE_SAME; dm_kcopyd_copy()
740 job->rw = WRITE; dm_kcopyd_copy()
H A Ddm-delay.c90 if ((bio_data_dir(bio) == WRITE)) flush_delayed_bios()
243 if (bio_data_dir(bio) == WRITE) delay_bio()
277 if ((bio_data_dir(bio) == WRITE) && (dc->dev_write)) { delay_map()
H A Ddm-io.c332 * WRITE SAME only uses a single page. do_region()
410 if (num_regions > 1 && (rw & RW_MASK) != WRITE) { sync_io()
443 if (num_regions > 1 && (rw & RW_MASK) != WRITE) { async_io()
H A Ddm-log-writes.c230 submit_bio(WRITE, bio); write_metadata()
284 submit_bio(WRITE, bio); log_one_block()
307 submit_bio(WRITE, bio); log_one_block()
671 if (bio_data_dir(bio) == WRITE && pb->block) { normal_end_io()
H A Draid1.h144 * if the IO is in WRITE direction, then multiple bios are used.
H A Draid10.h111 * if the IO is in WRITE direction, then multiple bios are used,
H A Draid1.c276 (bio_data_dir(bio) == WRITE) ? "write" : "read", raid_end_bio_io()
876 else if (conf->barrier && bio_data_dir(bio) == WRITE) { need_to_wait_for_sync()
916 if (bio && bio_data_dir(bio) == WRITE) { wait_barrier()
1110 if (bio_data_dir(bio) == WRITE && make_request()
1239 * WRITE: make_request()
1412 WRITE | do_flush_fua | do_sync | do_discard | do_same; make_request()
1816 if (rw == WRITE) { r1_sync_page_io()
1923 WRITE) == 0) { fix_sync_read_error()
2073 wbio->bi_rw = WRITE; sync_request_write()
2159 conf->tmppage, WRITE); fix_read_error()
2244 wbio->bi_rw = WRITE; narrow_write_error()
2251 if (submit_bio_wait(WRITE, wbio) < 0) narrow_write_error()
2549 * and any others (which will be non-In_sync devices) for WRITE. sync_request()
2570 bio->bi_rw = WRITE; sync_request()
2609 bio->bi_rw = WRITE; sync_request()
H A Ddm-raid1.c125 bl = (rw == WRITE) ? &ms->writes : &ms->reads; queue_bio()
141 queue_bio(ms, bio, WRITE); dispatch_bios()
640 .bi_rw = WRITE | (bio->bi_rw & WRITE_FLUSH_FUA), do_write()
1167 if (rw == WRITE) { mirror_map()
1217 if (rw == WRITE) { mirror_end_io()
H A Ddm-crypt.c584 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) { crypt_iv_lmk_gen()
600 if (bio_data_dir(dmreq->ctx->bio_in) == WRITE) crypt_iv_lmk_post()
726 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) { crypt_iv_tcw_gen()
747 if (bio_data_dir(dmreq->ctx->bio_in) != WRITE) crypt_iv_tcw_post()
871 if (bio_data_dir(ctx->bio_in) == WRITE) crypt_convert_block()
1099 if (rw == WRITE) crypt_endio()
H A Draid10.c1186 bio_data_dir(bio) == WRITE && __make_request()
1286 * WRITE: __make_request()
1458 WRITE | do_sync | do_fua | do_discard | do_same; __make_request()
1501 WRITE | do_sync | do_fua | do_discard | do_same; __make_request()
2099 tbio->bi_rw = WRITE; sync_request_write()
2203 WRITE, false); fix_recovery_read_error()
2333 if (rw == WRITE) { r10_sync_page_io()
2470 s, conf->tmppage, WRITE) fix_read_error()
2593 if (submit_bio_wait(WRITE, wbio) < 0) narrow_write_error()
3150 bio->bi_rw = WRITE; sync_request()
3179 bio->bi_rw = WRITE; sync_request()
3321 bio->bi_rw = WRITE; sync_request()
4427 b->bi_rw = WRITE; reshape_request()
H A Ddm-log.c632 r = rw_header(lc, WRITE); disk_resume()
700 r = rw_header(lc, WRITE); disk_flush()
H A Ddm-snap-persistent.c304 return chunk_io(ps, ps->zero_area, area_location(ps, area), WRITE, 0); zero_disk_area()
397 return chunk_io(ps, ps->header_area, 0, WRITE, 1); write_header()
H A Ddm-bufio.c644 if (rw == WRITE && b->c->write_callback) submit_io()
702 submit_io(b, WRITE, b->block, write_endio); __write_dirty_buffer()
715 submit_io(b, WRITE, b->block, write_endio); __flush_write_list()
1378 submit_io(b, WRITE, new_block, write_endio); dm_bufio_release_move()
H A Ddm-snap.c1702 if (bio_rw(bio) == WRITE) { snapshot_map()
1804 if (bio_rw(bio) == WRITE && snapshot_merge_map()
1816 if (bio_rw(bio) == WRITE) snapshot_merge_map()
1824 if (bio_rw(bio) == WRITE) { snapshot_merge_map()
2271 if (bio_rw(bio) != WRITE) origin_map()
H A Ddm-cache-target.c753 if (bio_data_dir(bio) == WRITE) remap_to_origin_clear_discard()
762 if (bio_data_dir(bio) == WRITE) { remap_to_cache_dirty()
1107 return (bio_data_dir(bio) == WRITE) && bio_writes_complete_block()
1521 if (bio_data_dir(bio) == WRITE) { process_bio()
1534 if (bio_data_dir(bio) == WRITE && process_bio()
2670 if (bio_data_dir(bio) == WRITE) { __cache_map()
2685 if (bio_data_dir(bio) == WRITE && writethrough_mode(&cache->features) && __cache_map()
/linux-4.1.27/drivers/s390/net/
H A Dctcm_sysfs.c94 priv->channel[WRITE]->prof.maxmulti); ctcm_print_statistics()
96 priv->channel[WRITE]->prof.maxcqueue); ctcm_print_statistics()
98 priv->channel[WRITE]->prof.doios_single); ctcm_print_statistics()
100 priv->channel[WRITE]->prof.doios_multi); ctcm_print_statistics()
102 priv->channel[WRITE]->prof.txlen); ctcm_print_statistics()
104 jiffies_to_usecs(priv->channel[WRITE]->prof.tx_time)); ctcm_print_statistics()
131 memset(&priv->channel[WRITE]->prof, 0, stats_write()
/linux-4.1.27/block/
H A Ddeadline-iosched.c210 dd->next_rq[WRITE] = NULL; deadline_move_request()
247 const int writes = !list_empty(&dd->fifo_list[WRITE]); deadline_dispatch_requests()
254 if (dd->next_rq[WRITE]) deadline_dispatch_requests()
255 rq = dd->next_rq[WRITE]; deadline_dispatch_requests()
285 BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[WRITE])); deadline_dispatch_requests()
289 data_dir = WRITE; deadline_dispatch_requests()
332 BUG_ON(!list_empty(&dd->fifo_list[WRITE])); deadline_exit_queue()
357 INIT_LIST_HEAD(&dd->fifo_list[WRITE]); deadline_init_queue()
359 dd->sort_list[WRITE] = RB_ROOT; deadline_init_queue()
361 dd->fifo_expire[WRITE] = write_expire; deadline_init_queue()
401 SHOW_FUNCTION(deadline_write_expire_show, dd->fifo_expire[WRITE], 1);
424 STORE_FUNCTION(deadline_write_expire_store, &dd->fifo_expire[WRITE], 0, INT_MAX, 1);
H A Dblk-lib.c266 submit_bio(WRITE, bio); __blkdev_issue_zeroout()
295 * anchoring) them. If the block device supports the WRITE SAME command
298 * using regular WRITE calls.
H A Dblk-throttle.c65 struct list_head queued[2]; /* throtl_qnode [READ/WRITE] */
159 /* Total Number of queued bios on READ and WRITE lists */
434 for (rw = READ; rw <= WRITE; rw++) { throtl_pd_init()
443 tg->bps[WRITE] = -1; throtl_pd_init()
445 tg->iops[WRITE] = -1; throtl_pd_init()
468 for (rw = READ; rw <= WRITE; rw++) tg_update_has_rules()
1053 if ((bio = throtl_peek_queued(&sq->queued[WRITE]))) tg_update_disptime()
1140 while ((bio = throtl_peek_queued(&sq->queued[WRITE])) && throtl_dispatch_tg()
1213 sq->nr_queued[READ] + sq->nr_queued[WRITE], throtl_pending_timer_fn()
1214 sq->nr_queued[READ], sq->nr_queued[WRITE]); throtl_pending_timer_fn()
1275 for (rw = READ; rw <= WRITE; rw++) blk_throtl_dispatch_work_fn()
1380 tg->bps[READ], tg->bps[WRITE], tg_set_conf()
1381 tg->iops[READ], tg->iops[WRITE]); tg_set_conf()
1434 .private = offsetof(struct throtl_grp, bps[WRITE]),
1446 .private = offsetof(struct throtl_grp, iops[WRITE]),
1563 sq->nr_queued[READ], sq->nr_queued[WRITE]); blk_throtl_bio()
1613 while ((bio = throtl_peek_queued(&sq->queued[WRITE]))) tg_drain_bios()
1652 for (rw = READ; rw <= WRITE; rw++)
H A Dpartition-generic.c129 part_stat_read(p, ios[WRITE]), part_stat_show()
130 part_stat_read(p, merges[WRITE]), part_stat_show()
131 (unsigned long long)part_stat_read(p, sectors[WRITE]), part_stat_show()
132 jiffies_to_msecs(part_stat_read(p, ticks[WRITE])), part_stat_show()
H A Dbounce.c184 if (bio_data_dir(bio) != WRITE) must_snapshot_stable_pages()
227 if (rw == WRITE) { bio_for_each_segment_all()
H A Dbio-integrity.c179 if (bio_data_dir(bio) == WRITE && bi->generate_fn != NULL && bio_integrity_enabled()
255 * the WRITE case, integrity metadata will be generated using the
337 if (bio_data_dir(bio) == WRITE) bio_integrity_prep()
H A Dscsi_ioctl.c318 rq = blk_get_request(q, writing ? WRITE : READ, GFP_KERNEL); sg_io()
447 rq = blk_get_request(q, in_len ? WRITE : READ, __GFP_WAIT); sg_scsi_ioctl()
539 rq = blk_get_request(q, WRITE, __GFP_WAIT); __blk_send_generic()
H A Dbio.c894 * @rw: whether to %READ or %WRITE, or maybe to %READA (read ahead)
1206 if (iter->type & WRITE) bio_copy_user_iov()
1254 if (((iter->type & WRITE) && (!map_data || !map_data->null_mapped)) || bio_copy_user_iov()
1335 (iter->type & WRITE) != WRITE, bio_map_user_iov()
1376 if (iter->type & WRITE) bio_map_user_iov()
H A Dgenhd.c1176 part_stat_read(hd, ios[WRITE]), diskstats_show()
1177 part_stat_read(hd, merges[WRITE]), diskstats_show()
1178 part_stat_read(hd, sectors[WRITE]), diskstats_show()
1179 jiffies_to_msecs(part_stat_read(hd, ticks[WRITE])), diskstats_show()
H A Dblk-core.c1129 * READ and WRITE __get_request()
1197 BUG_ON(rw != READ && rw != WRITE); blk_old_get_request()
1957 * @rw: whether to %READ or %WRITE, or maybe to %READA (read ahead)
1981 if (rw & WRITE) { submit_bio()
1992 (rw & WRITE) ? "WRITE" : "READ", submit_bio()
/linux-4.1.27/arch/sh/math-emu/
H A Dmath.c54 #define WRITE(d,a) ({if(put_user(d, (typeof (d)*)a)) return -EFAULT;}) macro
210 WRITE(FRm, Rn + R0 + 4); fmov_reg_idx()
212 WRITE(FRm, Rn + R0); fmov_reg_idx()
214 WRITE(FRm, Rn + R0); fmov_reg_idx()
226 WRITE(FRm, Rn + 4); fmov_reg_mem()
228 WRITE(FRm, Rn); fmov_reg_mem()
230 WRITE(FRm, Rn); fmov_reg_mem()
243 WRITE(FRm, Rn + 4); fmov_reg_dec()
245 WRITE(FRm, Rn); fmov_reg_dec()
248 WRITE(FRm, Rn); fmov_reg_dec()
448 WRITE(*reg, Rn); id_sys()
/linux-4.1.27/kernel/power/
H A Dblock_io.c19 * @rw: READ or WRITE.
73 return submit(WRITE, hib_resume_bdev, page_off * (PAGE_SIZE >> 9), hib_bio_write_page()
/linux-4.1.27/fs/logfs/
H A Ddev_bdev.c101 submit_bio(WRITE, bio); __bdev_writeseg()
128 submit_bio(WRITE, bio); __bdev_writeseg()
193 submit_bio(WRITE, bio); do_erase()
214 submit_bio(WRITE, bio); do_erase()
276 return sync_request(page, bdev, WRITE); bdev_write_sb()
/linux-4.1.27/drivers/scsi/
H A Daha1542.h27 /* WRITE */
34 /* READ/WRITE */
H A Dsd.h56 SD_LBP_WS16, /* Use WRITE SAME(16) with UNMAP bit */
57 SD_LBP_WS10, /* Use WRITE SAME(10) with UNMAP bit */
58 SD_LBP_ZERO, /* Use WRITE SAME(10) with zero payload */
H A Daha1740.h61 /* WRITE (and ReadBack) */
H A Dps3rom.c90 /* we don't support {READ,WRITE}_6 */ ps3rom_slave_configure()
228 * While we can submit READ/WRITE SCSI commands as ATAPI commands, ps3rom_queuecommand_lck()
H A Dsd.c687 * Will issue either UNMAP or WRITE SAME(16) depending on preference
761 * transferred to the target. This amount depends on whether WRITE SAME sd_setup_discard_cmnd()
788 * supporting WRITE SAME(16). Consequently we default to 64k sd_config_write_same()
812 * Will issue either WRITE SAME(10) or WRITE SAME(16) depending on
991 if (rq_data_dir(rq) == WRITE) { sd_setup_read_write_cmnd()
1006 (rq_data_dir(rq) == WRITE) ? sd_setup_read_write_cmnd()
1091 "FUA write on READ/WRITE(6) drive\n"); sd_setup_read_write_cmnd()
2443 "Uses READ/WRITE(6), disabling FUA\n"); sd_read_cache_type()
2650 sdkp->lbpws = (buffer[5] >> 6) & 1; /* WRITE SAME(16) with UNMAP */ sd_read_block_provisioning()
2651 sdkp->lbpws10 = (buffer[5] >> 5) & 1; /* WRITE SAME(10) with UNMAP */ sd_read_block_provisioning()
2673 /* Disable WRITE SAME if REPORT SUPPORTED OPERATION sd_read_write_same()
H A Dscsi_trace.c140 cmd = "WRITE"; scsi_trace_rw32()
H A Dhptiop.h219 __le16 command; /* IOP_BLOCK_COMMAND_{READ,WRITE} */
H A Dsym53c416.c54 #define DEST_BUS_ID 0x04 /* Destination Bus ID (WRITE) */
56 #define TOM 0x05 /* Time out multiplier (WRITE) */
H A Dpmcraid.h817 atomic_t write_failures; /* count of failed WRITE commands */
1005 /* check if given command is a SCSI READ or SCSI WRITE command */
1007 #define SCSI_WRITE_CMD 0x2 /* any of SCSI WRITE commands */
H A Dscsi_debug.c300 #define F_D_OUT_MAYBE 4 /* WRITE SAME, NDOB bit */
391 0, 0xff, 0xff, 0xff, 0xff} }, /* WRITE(32) */
453 0xff, 0xff, 0xff, 0x9f, 0xc7} }, /* WRITE(16) */
502 0, 0xff, 0x1f, 0xc7} }, /* COMPARE AND WRITE */
1235 /* Maximum WRITE SAME Length */ inquiry_evpd_b0()
2909 default: /* assume WRITE(32) */ resp_write_dt0()
4131 MODULE_PARM_DESC(lbpws, "enable LBP, support WRITE SAME(16) with UNMAP bit (def=0)");
4132 MODULE_PARM_DESC(lbpws10, "enable LBP, support WRITE SAME(10) with UNMAP bit (def=0)");
4156 MODULE_PARM_DESC(write_same_length, "Maximum blocks per WRITE SAME cmd (def=0xffff)");
H A Deata_generic.h83 #define WRITE 1 macro
/linux-4.1.27/arch/sparc/include/uapi/asm/
H A Dioctl.h10 * 0x80000000 DIR = WRITE
/linux-4.1.27/arch/m68k/include/asm/
H A Datafdreg.h15 /* register names for FDC_READ/WRITE macros */
/linux-4.1.27/net/sunrpc/xprtrdma/
H A Dphysical_ops.c45 * remote access via RDMA READ or RDMA WRITE.
H A Dfmr_ops.c81 * for remote access via RDMA READ or RDMA WRITE.
133 * access via RDMA READ or RDMA WRITE.
H A Dfrwr_ops.c174 * for remote access via RDMA READ or RDMA WRITE.
257 * via RDMA READ or RDMA WRITE.
/linux-4.1.27/include/linux/
H A Ddm-io.h60 int bi_rw; /* READ|WRITE - not READA */
H A Dusb_usual.h75 /* Cannot handle FUA in WRITE or READ CDBs */ \
H A Dmmiotrace.h92 unsigned char opcode; /* one of MMIO_{READ,WRITE,UNKNOWN_OP} */
H A Dnfs_iostat.h30 * to the server by the NFS client via an NFS READ or WRITE
H A Duio.h115 * Get one of READ or WRITE out of iter->type without any other flags OR'd in
H A Dlru_cache.h54 we need to resync all regions that have been target of in-flight WRITE IO
65 in-flight WRITE IO, e.g. by only lazily clearing the on-disk write-intent
H A Dnfs_fs_sb.h103 #define NFS_SP4_MACH_CRED_WRITE 5 /* WRITE */
H A Dblk_types.h50 unsigned long bi_rw; /* bottom bits READ/WRITE,
H A Ddevice-mapper.h197 * Some targets need to be sent the same WRITE bio severals times so
232 * The number of WRITE SAME bios that will be submitted to the target.
H A Dfs.h180 * WRITE A normal async write. Device will be plugged.
181 * WRITE_SYNC Synchronous write. Identical to WRITE, but passes down
197 #define WRITE RW_MASK macro
201 #define WRITE_SYNC (WRITE | REQ_SYNC | REQ_NOIDLE)
202 #define WRITE_ODIRECT (WRITE | REQ_SYNC)
203 #define WRITE_FLUSH (WRITE | REQ_SYNC | REQ_NOIDLE | REQ_FLUSH)
204 #define WRITE_FUA (WRITE | REQ_SYNC | REQ_NOIDLE | REQ_FUA)
205 #define WRITE_FLUSH_FUA (WRITE | REQ_SYNC | REQ_NOIDLE | REQ_FLUSH | REQ_FUA)
2354 * return READ, READA, or WRITE
2359 * return data direction, READ or WRITE
/linux-4.1.27/drivers/s390/block/
H A Dscm_blk_cluster.c97 (rq_data_dir(req) == WRITE || scm_reserve_cluster()
98 rq_data_dir(iter->request[pos]) == WRITE)) { scm_reserve_cluster()
H A Ddasd_fba.c95 if (rw == WRITE) define_extent()
115 if (rw == WRITE) locate_record()
273 } else if (rq_data_dir(req) == WRITE) { dasd_fba_build_cp()
331 if (copy && rq_data_dir(req) == WRITE) rq_for_each_segment()
H A Ddasd_eckd.c2602 else if (rq_data_dir(req) == WRITE) dasd_eckd_build_cp_cmd_single()
2690 if (copy && rq_data_dir(req) == WRITE) rq_for_each_segment()
2787 else if (rq_data_dir(req) == WRITE) dasd_eckd_build_cp_cmd_track()
3097 } else if (rq_data_dir(req) == WRITE) { dasd_eckd_build_cp_tpm_track()
3114 if (rq_data_dir(req) == WRITE)
3157 if (rq_data_dir(req) == WRITE) {
3263 if (rq_data_dir(req) == WRITE) dasd_eckd_build_cp()
3286 ((rq_data_dir(req) == WRITE) && cmdwtd))) { dasd_eckd_build_cp()
3337 (rq_data_dir(req) == WRITE)) { dasd_raw_build_cp()
3353 else if (rq_data_dir(req) == WRITE) dasd_raw_build_cp()
H A Dscm_blk.c150 return rq_data_dir(req) != WRITE || bdev->state != SCM_WR_PROHIBIT; scm_permit_request()
/linux-4.1.27/drivers/net/wireless/p54/
H A Dp54spi.h31 /* Bit 15 is read/write bit; ON = READ, OFF = WRITE */
/linux-4.1.27/arch/x86/boot/
H A Dtty.c22 #define TXR 0 /* Transmit register (WRITE) */
H A Dearly_serial_console.c7 #define TXR 0 /* Transmit register (WRITE) */
/linux-4.1.27/include/uapi/linux/
H A Dnbd.h63 __be32 type; /* == READ || == WRITE */
H A Dhdreg.h498 * 1: READ/WRITE DMA QUEUED
548 * 1: READ/WRITE DMA QUEUED
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_actlog.c150 if ((rw & WRITE) && !test_bit(MD_NO_FUA, &device->flags)) _drbd_md_sync_page_io()
164 if (!(rw & WRITE) && device->state.disk == D_DISKLESS && device->ldev == NULL) _drbd_md_sync_page_io()
177 if (drbd_insert_fault(device, (rw & WRITE) ? DRBD_FAULT_MD_WR : DRBD_FAULT_MD_RD)) _drbd_md_sync_page_io()
200 (unsigned long long)sector, (rw & WRITE) ? "WRITE" : "READ", drbd_md_sync_page_io()
207 (unsigned long long)sector, (rw & WRITE) ? "WRITE" : "READ"); drbd_md_sync_page_io()
212 (unsigned long long)sector, (rw & WRITE) ? "WRITE" : "READ", err); drbd_md_sync_page_io()
554 if (drbd_md_sync_page_io(device, device->ldev, sector, WRITE)) { al_write_transaction()
623 int err = drbd_md_sync_page_io(device, device->ldev, al_base + i * 8, WRITE); drbd_initialize_al()
H A Ddrbd_req.c61 req->rq_state = bio_data_dir(bio_src) == WRITE ? RQ_WRITE : 0; drbd_req_new()
269 if (rw == WRITE && drbd_req_complete()
288 * WRITE should have used all available paths already. drbd_req_complete()
546 (req->rq_state & RQ_WRITE) ? "WRITE" : "READ", drbd_report_io_error()
835 if (bio_data_dir(req->master_bio) == WRITE) __req_mod()
1148 * stable storage, and this is a WRITE, we may not even submit drbd_submit_req_private_bio()
1153 rw == WRITE ? DRBD_FAULT_DT_WR drbd_submit_req_private_bio()
1169 &device->pending_master_completion[1 /* WRITE */]); drbd_queue_write()
1207 if (rw == WRITE && req->private_bio && req->i.size drbd_request_prepare()
1230 if (rw == WRITE) { drbd_send_and_submit()
1257 if (rw != WRITE) { drbd_send_and_submit()
1268 if (rw == WRITE) drbd_send_and_submit()
1274 if (rw == WRITE) { drbd_send_and_submit()
1291 &device->pending_master_completion[rw == WRITE]); drbd_send_and_submit()
1295 &device->pending_completion[rw == WRITE]); drbd_send_and_submit()
1339 if (rw == WRITE /* rw != WRITE should not even end up here! */ list_for_each_entry_safe()
H A Ddrbd_req.h176 /* If it is QUEUED, and it is a WRITE, it is also registered in the
H A Ddrbd_worker.c178 int is_write = bio_data_dir(bio) == WRITE; drbd_peer_request_endio()
222 bio_data_dir(bio) == WRITE ? "write" : "read"); drbd_request_endio()
273 what = (bio_data_dir(bio) == WRITE) drbd_request_endio()
1446 if (bio_data_dir(req->master_bio) == WRITE && req->rq_state & RQ_IN_ACT_LOG) w_restart_disk_io()
/linux-4.1.27/fs/
H A Dmpage.c593 bio = mpage_bio_submit(WRITE, bio); __mpage_writepage()
617 bio = mpage_bio_submit(WRITE, bio); __mpage_writepage()
627 bio = mpage_bio_submit(WRITE, bio); __mpage_writepage()
639 bio = mpage_bio_submit(WRITE, bio); __mpage_writepage()
696 mpage_bio_submit(WRITE, mpd.bio); mpage_writepages()
714 mpage_bio_submit(WRITE, mpd.bio); mpage_writepage()
H A Ddax.c112 if (iov_iter_rw(iter) != WRITE) dax_io()
127 iov_iter_rw(iter) == WRITE); dax_io()
140 hole = iov_iter_rw(iter) != WRITE && !buffer_written(bh); dax_io()
157 if (iov_iter_rw(iter) == WRITE) dax_io()
H A Ddirect-io.c163 if (ret < 0 && sdio->blocks_available && (dio->rw & WRITE)) { dio_refill_pages()
260 if (dio->rw & WRITE) { dio_complete()
624 create = dio->rw & WRITE; get_more_blocks()
774 if (dio->rw & WRITE) { submit_page_section()
974 if (dio->rw & WRITE) { do_direct_IO()
1181 iov_iter_rw(iter) == WRITE && end > i_size_read(inode)) do_blockdev_direct_IO()
1187 dio->rw = iov_iter_rw(iter) == WRITE ? WRITE_ODIRECT : READ; do_blockdev_direct_IO()
1193 if (dio->is_async && iov_iter_rw(iter) == WRITE && do_blockdev_direct_IO()
H A Dread_write.c363 iter->type |= WRITE; vfs_iter_write()
476 iov_iter_init(&iter, WRITE, &iov, 1, len); new_sync_write()
534 ret = rw_verify_area(WRITE, file, pos, count); vfs_write()
847 return do_readv_writev(WRITE, file, vec, vlen, pos); vfs_writev()
1090 ret = compat_do_readv_writev(WRITE, file, vec, vlen, pos); compat_writev()
1200 retval = rw_verify_area(WRITE, out.file, &out_pos, count); do_sendfile()
H A Daio.c1416 rw = WRITE; aio_run_iocb()
1443 if (rw == WRITE) aio_run_iocb()
1448 if (rw == WRITE) aio_run_iocb()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-iop3xx.h65 #define IOP3XX_ISR_RXREAD 0x0001 /* 1=READ 0=WRITE (R/W bit of slave addr */
H A Di2c-mxs.c246 * WRITE command. mxs_i2c_dma_setup_xfer()
351 * Start WRITE transaction on the I2C bus. By studying i.MX23 datasheet,
446 * PIO WRITE transfer: mxs_i2c_pio_setup_xfer()
532 "PIO: Failed to finish WRITE cmd!\n"); mxs_i2c_pio_setup_xfer()
H A Di2c-ismt.c421 dev_dbg(dev, "I2C_SMBUS_BYTE: WRITE\n"); ismt_access()
439 dev_dbg(dev, "I2C_SMBUS_BYTE_DATA: WRITE\n"); ismt_access()
459 dev_dbg(dev, "I2C_SMBUS_WORD_DATA: WRITE\n"); ismt_access()
491 dev_dbg(dev, "I2C_SMBUS_BLOCK_DATA: WRITE\n"); ismt_access()
519 dev_dbg(dev, "I2C_SMBUS_I2C_BLOCK_DATA: WRITE\n"); ismt_access()
H A Di2c-isch.c172 (read_write)?"READ":"WRITE"); sch_access()
H A Di2c-scmi.c97 (read_write) ? "READ" : "WRITE"); acpi_smbus_cmi_access()
/linux-4.1.27/drivers/net/dsa/
H A Dbcm_sf2.h101 * using the REG_DIR_DATA_{READ,WRITE} ancillary registers. The 'indir_lock'
/linux-4.1.27/drivers/rtc/
H A Drtc-m48t59.c133 /* Issue the WRITE command */ m48t59_rtc_set_time()
149 /* Clear the WRITE bit */ m48t59_rtc_set_time()
245 /* Issue the WRITE command */ m48t59_rtc_setalarm()
253 /* Clear the WRITE bit */ m48t59_rtc_setalarm()
H A Drtc-bfin.c120 * - interrupt sets the WRITE PENDING bit
122 * - process wakes up, sees WRITE PENDING bit set, goes to sleep
H A Drtc-fm3130.c423 dev_warn(&client->dev, "Disabling READ or WRITE mode!\n"); fm3130_probe()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Drw26.c277 src_page = (rw == WRITE) ? pages[i] : vmpage; ll_direct_rw_pages()
278 dst_page = (rw == WRITE) ? vmpage : pages[i]; ll_direct_rw_pages()
288 if (rw == WRITE) ll_direct_rw_pages()
456 if (iov_iter_rw(iter) == WRITE) { ll_direct_IO_26()
H A Dlloop.c233 (rw == WRITE) ? LPROC_LL_BRW_WRITE : LPROC_LL_BRW_READ,
356 if (rw == WRITE) { loop_make_request()
H A Dvvp_page.c304 CL_PAGE_HEADER(D_PAGE, env, pg, "completing WRITE with %d\n", ioret); vvp_page_completion_write()
/linux-4.1.27/include/xen/interface/io/
H A Dpciif.h85 /* IN/OUT: Contains the result after a READ or the value to WRITE */
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-wqe.h367 * HW WRITE: the following 64 bits are filled by HW when a packet arrives
394 * HW WRITE: the following 64 bits are filled by HW when a packet arrives
435 * WORD 2 HW WRITE: the following 64-bits are filled in by
447 * HW WRITE: octeon will fill in a programmable amount from the
/linux-4.1.27/security/keys/
H A Dcompat.c40 ret = compat_import_iovec(WRITE, _payload_iov, ioc, compat_keyctl_instantiate_key_iov()
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Danysee.h132 | 00-63 | I2C WRITE REQUEST PACKET
175 | 00-63 | USB CONTROLLER REGISTER WRITE REQUEST PACKET
/linux-4.1.27/drivers/scsi/device_handler/
H A Dscsi_dh_hp_sw.c118 req = blk_get_request(sdev->request_queue, WRITE, GFP_NOIO); hp_sw_tur()
248 req = blk_get_request(h->sdev->request_queue, WRITE, GFP_ATOMIC); hp_sw_start_stop()
/linux-4.1.27/drivers/uwb/i1480/dfu/
H A Dphy.c66 result = i1480_cmd(i1480, "MPI-WRITE", sizeof(*cmd) + size, sizeof(*reply)); i1480_mpi_write()
70 dev_err(i1480->dev, "MPI-WRITE: command execution failed: %d\n", i1480_mpi_write()
/linux-4.1.27/fs/9p/
H A Dvfs_addr.c177 iov_iter_bvec(&from, ITER_BVEC | WRITE, &bvec, 1, len); v9fs_vfs_writepage_locked()
253 if (iov_iter_rw(iter) == WRITE) { v9fs_direct_IO()
H A Dxattr.c112 iov_iter_kvec(&from, WRITE | ITER_KVEC, &kvec, 1, value_len); v9fs_fid_xattr_set()
/linux-4.1.27/drivers/mtd/devices/
H A Dst_spi_fsm.c279 /* Parameters to configure a READ or WRITE FSM sequence */
466 /* Default WRITE configurations */
1035 /* Prepare a READ/WRITE sequence according to configuration parameters */ stfsm_prepare_rw_seq()
1045 /* Add READ/WRITE OPC */ stfsm_prepare_rw_seq()
1050 /* Add WREN OPC for a WRITE sequence */ stfsm_prepare_rw_seq()
1121 /* Prepare a READ/WRITE/ERASE 'default' sequences */ stfsm_prepare_rwe_seqs_default()
1137 /* Configure 'WRITE' sequence */ stfsm_prepare_rwe_seqs_default()
1142 "failed to prep WRITE sequence with flags [0x%08x]\n", stfsm_prepare_rwe_seqs_default()
1162 * Use default READ/WRITE sequences stfsm_mx25_config()
1232 /* Configure 'WRITE' sequence (default configs) */ stfsm_n25q_config()
1237 "preparing WRITE sequence using flags [0x%08x] failed\n", stfsm_n25q_config()
1258 * If not, enable/disable for WRITE and ERASE stfsm_n25q_config()
2094 * Configure READ/WRITE/ERASE sequences according to platform and stfsm_probe()
H A Dmtd_dataflash.c337 * use WRITE+MWRITE not PROGRAM for ~30% speedup. dataflash_write()
338 * (c) WRITE to buffer could be done while waiting for dataflash_write()
/linux-4.1.27/drivers/block/
H A Dswim3.c362 if (rq_data_dir(req) == WRITE) { start_request()
461 if (rq_data_dir(req) == WRITE) setup_transfer()
478 if (rq_data_dir(req) == WRITE) { setup_transfer()
493 if (rq_data_dir(req) == WRITE) setup_transfer()
667 (rq_data_dir(fs->cur_req)==WRITE? "writ": "read"), xfer_timeout()
754 if (rq_data_dir(req) == WRITE) swim3_interrupt()
787 rq_data_dir(req) == WRITE? "writ": "read", swim3_interrupt()
H A Dpmem.c95 page_endio(page, rw & WRITE, 0); pmem_rw_page()
H A Dnbd.c456 if (rq_data_dir(req) == WRITE) { nbd_handle_req()
538 * if ((rq_data_dir(req) == WRITE) && (nbd->flags & NBD_WRITE_NOCHK))
H A Dswim.c542 if (rq_data_dir(req) == WRITE && fs->write_protected) redo_fd_request()
546 case WRITE: redo_fd_request()
H A Dnvme-core.c1027 req = blk_mq_alloc_request(dev->admin_q, WRITE, GFP_ATOMIC, true); nvme_submit_async_admin_req()
1051 req = blk_mq_alloc_request(dev->admin_q, WRITE, GFP_KERNEL, false); nvme_submit_admin_async_cmd()
1072 req = blk_mq_alloc_request(dev->admin_q, WRITE, GFP_KERNEL, false); __nvme_submit_admin_cmd()
1092 req = blk_mq_alloc_request(ns->queue, WRITE, (GFP_KERNEL|__GFP_WAIT), nvme_submit_io_cmd()
1233 abort_req = blk_mq_alloc_request(dev->admin_q, WRITE, GFP_ATOMIC, nvme_abort_req()
1882 req = blk_mq_alloc_request(ns->queue, WRITE, nvme_user_cmd()
H A Dsx8.c570 rq = blk_get_request(host->oob_q, WRITE /* bogus */, GFP_KERNEL); carm_get_special()
864 if (rq_data_dir(rq) == WRITE) { carm_rq_fn()
1057 if (rq_data_dir(crq->rq) == WRITE) carm_handle_rw()
H A Dataflop.c748 /* cmd == WRITE, pay attention to track buffer do_fd_action()
879 DPRINT(("fd_rwsec(), Sec=%d, Access=%c\n",ReqSector, ReqCmd == WRITE ? 'w' : 'r' )); fd_rwsec()
880 if (ReqCmd == WRITE) { fd_rwsec()
1063 if (ReqCmd == WRITE && (status & FDCSTAT_WPROT)) { fd_rwsec_done1()
H A Dbrd.c368 page_endio(page, rw & WRITE, err); brd_rw_page()
H A Dosdblk.c325 do_write = (rq_data_dir(rq) == WRITE); osdblk_rq_fn()
/linux-4.1.27/drivers/memstick/core/
H A Dmemstick.c273 mrq->data_dir = WRITE; memstick_init_req_sg()
303 mrq->data_dir = WRITE; memstick_init_req()
308 if (mrq->data_dir == WRITE) memstick_init_req()
/linux-4.1.27/drivers/memstick/host/
H A Dtifm_ms.c219 t_size = host->req->data_dir == WRITE tifm_ms_transfer_data()
236 if (!length && (host->req->data_dir == WRITE)) { tifm_ms_transfer_data()
299 if (host->req->data_dir == WRITE) tifm_ms_issue_cmd()
H A Djmb38x_ms.c334 if (host->req->data_dir == WRITE) jmb38x_ms_transfer_data()
355 if (!length && host->req->data_dir == WRITE) { jmb38x_ms_transfer_data()
452 if (host->req->data_dir == WRITE) { jmb38x_ms_issue_cmd()
H A Drtsx_pci_ms.c152 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", ms_transfer_data()
/linux-4.1.27/include/linux/ceph/
H A Drados.h216 f(WRITE, __CEPH_OSD_OP(WR, DATA, 1), "write") \
370 * An op may be READ, WRITE, or READ|WRITE.
/linux-4.1.27/drivers/isdn/act2000/
H A Dact2000_isa.h111 #define ISA_SOS_INT 0x02 /* Enable Interrupt for WRITE */
H A Dact2000_isa.c154 /* Disable READ and WRITE irq */ act2000_isa_config_irq()
/linux-4.1.27/drivers/memory/
H A Dtegra20-mc.c137 u32 write_bit; /* 0=READ, 1=WRITE */ tegra20_mc_decode()
/linux-4.1.27/drivers/usb/gadget/function/
H A Df_mass_storage.h41 "true to ignore SCSI WRITE(10,12) FUA bit"); \
/linux-4.1.27/fs/afs/
H A Drxrpc.c309 iov_iter_kvec(&msg->msg_iter, WRITE | ITER_KVEC, afs_send_pages()
387 iov_iter_kvec(&msg.msg_iter, WRITE | ITER_KVEC, iov, 1, afs_make_call()
778 iov_iter_kvec(&msg.msg_iter, WRITE | ITER_KVEC, NULL, 0, 0); afs_send_empty_reply()
814 iov_iter_kvec(&msg.msg_iter, WRITE | ITER_KVEC, iov, 1, len); afs_send_simple_reply()
/linux-4.1.27/lib/
H A Diov_iter.c592 res = get_user_pages_fast(addr, n, (i->type & WRITE) != WRITE, pages); iov_iter_get_pages()
640 res = get_user_pages_fast(addr, n, (i->type & WRITE) != WRITE, p); iov_iter_get_pages_alloc()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dsdio.c123 printk(KERN_DEBUG "wlcore_sdio: WRITE to 0x%04x\n", addr); wl12xx_sdio_raw_write()
124 print_hex_dump(KERN_DEBUG, "wlcore_sdio: WRITE ", wl12xx_sdio_raw_write()
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dcw1200_spi.c147 pr_info("WRITE: %04d to 0x%02x (%04x)\n", count, addr, regaddr); cw1200_spi_memcpy_toio()
167 pr_info("WRITE: "); cw1200_spi_memcpy_toio()
/linux-4.1.27/arch/microblaze/include/asm/
H A Duaccess.h102 type ? "WRITE" : "READ ", (__force u32)addr, (u32)size, access_ok()
108 type ? "WRITE" : "READ ", (__force u32)addr, (u32)size, access_ok()
/linux-4.1.27/fs/ocfs2/
H A Dbuffer_head_io.c82 submit_bh(WRITE, bh); ocfs2_write_block()
416 submit_bh(WRITE, bh); ocfs2_write_super_or_backup()
/linux-4.1.27/mm/
H A Dpage_io.c260 int ret, rw = WRITE; __swap_writepage()
274 iov_iter_bvec(&from, ITER_BVEC | WRITE, &bv, 1, PAGE_SIZE); __swap_writepage()
H A Dprocess_vm_access.c260 int dir = vm_write ? WRITE : READ; process_vm_rw()
318 int dir = vm_write ? WRITE : READ; compat_process_vm_rw()
/linux-4.1.27/drivers/target/
H A Dtarget_core_sbc.c294 pr_warn("WRITE SAME with ANCHOR not supported\n"); sbc_setup_write_same()
339 * 4) if the DISABLE WRITE bit is set to zero, then write the logical xdreadwrite_callback()
349 * Copy the scatterlist WRITE buffer located at cmd->t_data_sg xdreadwrite_callback()
597 * of WRITE instance user-data. sbc_compare_and_write()
1218 "WRITE" : "READ", (unsigned long long)sector, sbc_dif_generate()
1345 pr_debug("DIF WRITE sector: %llu guard_tag: 0x%04x" sbc_dif_verify_write()
H A Dtarget_core_xcopy.c498 * WRITE on remote destination port. target_xcopy_setup_pt_port()
520 * blocks from the remote source port to WRITE on local target_xcopy_setup_pt_port()
602 * are mapped zero-copy to the internal WRITE. target_xcopy_setup_pt_cmd()
694 * zero-copy WRITE submission reuse in struct xcopy_op.. target_xcopy_read_source()
742 * core releases this memory on error during X-COPY WRITE I/O. target_xcopy_write_destination()
813 pr_debug("target_xcopy_do_work: Incremented WRITE dst_lba to %llu\n", target_xcopy_do_work()
H A Dtarget_core_iblock.c513 iblock_submit_bios(&list, WRITE); iblock_execute_write_same()
702 rw = WRITE; iblock_execute_rw()
704 rw = WRITE; iblock_execute_rw()
H A Dtarget_core_spc.c516 * Set MAXIMUM COMPARE AND WRITE LENGTH spc_emulate_evpd_b0()
573 * MAXIMUM WRITE SAME LENGTH spc_emulate_evpd_b0()
636 * the use of the WRITE SAME (16) command (see 5.42) to unmap LBAs. spc_emulate_evpd_b2()
638 * support the use of the WRITE SAME (16) command to unmap LBAs. spc_emulate_evpd_b2()
H A Dtarget_core_transport.c821 return "WRITE"; transport_dump_cmd_direction()
1120 " WRITE data\n"); target_cmd_size_check()
2453 * Handle WRITE failure case where transport_generic_new_cmd() transport_generic_free_cmd()
2854 /* WRITE ERROR */ transport_send_check_condition_and_sense()
2892 /* WRITE ERROR */ transport_send_check_condition_and_sense()
2925 /* WRITE PROTECTED */ transport_send_check_condition_and_sense()
/linux-4.1.27/drivers/pci/hotplug/
H A Dibmphp_hpc.c270 // WRITE - step 1 i2c_ctrl_write()
301 // WRITE - step 2 : clear the message buffer i2c_ctrl_write()
308 // WRITE - step 3 : issue start operation,I2C master control bit 30:ON i2c_ctrl_write()
316 // WRITE - step 4 : wait until start operation bit clears i2c_ctrl_write()
333 // WRITE - step 5 : read I2C status register i2c_ctrl_write()
673 * Action: issue a WRITE command to HPC
/linux-4.1.27/arch/alpha/kernel/
H A Dcore_cia.c958 mem_port_cmd = "WRITE BLOCK or WRITE BLOCK LOCK"; cia_decode_mem_error()
968 mem_port_cmd = "DMA WRITE"; cia_decode_mem_error()
978 seq_state = "DMA READ or DMA WRITE"; cia_decode_mem_error()
1081 "SET DIRTY", "WRITE BLOCK", "WRITE BLOCK LOCK", cia_decode_parity_error()
/linux-4.1.27/fs/f2fs/
H A Dcheckpoint.c206 f2fs_submit_merged_bio(sbi, META, WRITE); f2fs_write_meta_page()
292 f2fs_submit_merged_bio(sbi, type, WRITE); sync_meta_pages()
797 f2fs_submit_merged_bio(sbi, DATA, WRITE); sync_dirty_dir_inodes()
1068 f2fs_submit_merged_bio(sbi, DATA, WRITE); write_checkpoint()
1069 f2fs_submit_merged_bio(sbi, NODE, WRITE); write_checkpoint()
1070 f2fs_submit_merged_bio(sbi, META, WRITE); write_checkpoint()
H A Ddata.c1429 .rw = (wbc->sync_mode == WB_SYNC_ALL) ? WRITE_SYNC : WRITE, f2fs_write_data_page()
1494 f2fs_submit_merged_bio(sbi, DATA, WRITE); f2fs_write_data_page()
1545 f2fs_submit_merged_bio(sbi, DATA, WRITE); f2fs_write_data_pages()
1741 if (iov_iter_rw(iter) == WRITE) f2fs_direct_IO()
1745 if (err < 0 && iov_iter_rw(iter) == WRITE) f2fs_direct_IO()
H A Dnode.c1243 f2fs_submit_merged_bio(sbi, NODE, WRITE); sync_node_pages()
1297 .rw = (wbc->sync_mode == WB_SYNC_ALL) ? WRITE_SYNC : WRITE, f2fs_write_node_page()
1339 f2fs_submit_merged_bio(sbi, NODE, WRITE); f2fs_write_node_page()
/linux-4.1.27/drivers/ata/
H A Dlibata-eh.c2327 { ATA_CMD_WRITE, "WRITE DMA" }, ata_get_cmd_descript()
2328 { ATA_CMD_WRITE_EXT, "WRITE DMA EXT" }, ata_get_cmd_descript()
2329 { ATA_CMD_WRITE_QUEUED, "WRITE DMA QUEUED EXT" }, ata_get_cmd_descript()
2330 { ATA_CMD_WRITE_STREAM_EXT, "WRITE STREAM EXT" }, ata_get_cmd_descript()
2331 { ATA_CMD_WRITE_STREAM_DMA_EXT, "WRITE STREAM DMA EXT" }, ata_get_cmd_descript()
2332 { ATA_CMD_WRITE_FUA_EXT, "WRITE DMA FUA EXT" }, ata_get_cmd_descript()
2333 { ATA_CMD_WRITE_QUEUED_FUA_EXT, "WRITE DMA QUEUED FUA EXT" }, ata_get_cmd_descript()
2335 { ATA_CMD_FPDMA_WRITE, "WRITE FPDMA QUEUED" }, ata_get_cmd_descript()
2340 { ATA_CMD_PIO_WRITE, "WRITE SECTOR(S)" }, ata_get_cmd_descript()
2341 { ATA_CMD_PIO_WRITE_EXT, "WRITE SECTOR(S) EXT" }, ata_get_cmd_descript()
2344 { ATA_CMD_WRITE_MULTI, "WRITE MULTIPLE" }, ata_get_cmd_descript()
2345 { ATA_CMD_WRITE_MULTI_EXT, "WRITE MULTIPLE EXT" }, ata_get_cmd_descript()
2346 { ATA_CMD_WRITE_MULTI_FUA_EXT, "WRITE MULTIPLE FUA EXT" }, ata_get_cmd_descript()
2351 { ATA_CMD_WRITE_UNCORR_EXT, "WRITE UNCORRECTABLE EXT" }, ata_get_cmd_descript()
2361 { ATA_CMD_WRITE_LOG_EXT, "WRITE LOG EXT" }, ata_get_cmd_descript()
2363 { ATA_CMD_WRITE_LOG_DMA_EXT, "WRITE LOG DMA EXT" }, ata_get_cmd_descript()
2371 { ATA_CMD_PMP_WRITE, "WRITE BUFFER" }, ata_get_cmd_descript()
2372 { ATA_CMD_PMP_WRITE_DMA, "WRITE BUFFER DMA" }, ata_get_cmd_descript()
2387 { ATA_CMD_CFA_WRITE_NE, "CFA WRITE SECTORS WITHOUT ERASE" }, ata_get_cmd_descript()
2390 { ATA_CMD_CFA_WRITE_MULT_NE, "CFA WRITE MULTIPLE WITHOUT ERASE" }, ata_get_cmd_descript()
2395 { ATA_CMD_WRITE_LONG, "WRITE LONG (with retries)" }, ata_get_cmd_descript()
2396 { ATA_CMD_WRITE_LONG_ONCE, "WRITE LONG (without retries)" }, ata_get_cmd_descript()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
H A Drx.c62 * The WRITE index maps to the last position the driver has read from -- the
63 * position preceding WRITE is the last slot the firmware can place a packet.
65 * The queue is empty (no good data) if WRITE = READ - 1, and is full if
66 * WRITE = READ.
69 * INDEX position, and WRITE to the last (READ - 1 wrapped)
73 * process as many packets as possible, moving the WRITE index forward as it
98 * the WRITE index. If insufficient rx_free buffers
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target_tmr.c256 * Initiator is expecting. The Target controls all WRITE operations iscsit_task_reassign_complete_write()
261 pr_debug("WRITE ITT: 0x%08x: t_state: %d" iscsit_task_reassign_complete_write()
836 pr_err("Received ExpDataSN: 0x%08x for WRITE" iscsit_check_task_reassign_expdatasn()
/linux-4.1.27/fs/nfs/blocklayout/
H A Dblocklayout.c406 bio = bl_submit_bio(WRITE, bio); bl_write_pagelist()
418 WRITE, isect, pages[i], &map, &be, bl_write_pagelist()
435 bl_submit_bio(WRITE, bio); bl_write_pagelist()
/linux-4.1.27/drivers/mmc/card/
H A Dblock.c67 (rq_data_dir(req) == WRITE))
798 bool use_r1b_resp = rq_data_dir(req) == WRITE; send_stop()
801 * Normally we use R1B responses for WRITE, but in cases where the host send_stop()
1377 (rq_data_dir(req) == WRITE) && mmc_blk_rw_rq_prep()
1458 (rq_data_dir(req) == WRITE) && mmc_blk_rw_rq_prep()
1554 if ((rq_data_dir(cur) == WRITE) && mmc_blk_prep_packed_list()
1580 if (rq_data_dir(cur) == WRITE) { mmc_blk_prep_packed_list()
1678 (rq_data_dir(prq) == WRITE) && mmc_blk_packed_hdr_wrq_prep()
H A Dqueue.c535 if (rq_data_dir(mqrq->req) != WRITE) mmc_queue_bounce_pre()
/linux-4.1.27/tools/testing/selftests/memfd/
H A Dmemfd_test.c780 /* shared/writable ref prevents sealing WRITE, but allows others */ test_share_mmap()
877 printf("memfd: SEAL-WRITE\n"); main()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
H A Dev.c79 * Ingress WRITE and READ_RESP errors provide dump_err_cqe()
/linux-4.1.27/drivers/net/ethernet/
H A Djme.h1222 reg_dbg(jme, "REG WRITE", val, reg); jwrite32()
1224 reg_dbg(jme, "VAL AFTER WRITE", readl(jme->regs + reg), reg); jwrite32()
1232 reg_dbg(jme, "REG WRITE FLUSH", val, reg); jwrite32f()
1235 reg_dbg(jme, "VAL AFTER WRITE", readl(jme->regs + reg), reg); jwrite32f()
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbt848.h324 /* WRITE and SKIP */
/linux-4.1.27/arch/x86/kernel/
H A Dearly_printk.c86 #define TXR 0 /* Transmit register (WRITE) */
/linux-4.1.27/arch/xtensa/platforms/iss/
H A Dsimdisk.c115 bio_data_dir(bio) == WRITE); bio_for_each_segment()
/linux-4.1.27/drivers/usb/storage/
H A Ddebug.c151 case 0xE1: what = "WRITE CONTINUE"; break; usb_stor_show_command()
/linux-4.1.27/fs/ufs/
H A Dutil.c121 write_dirty_buffer(ubh->bh[i], WRITE); ubh_sync_block()
/linux-4.1.27/drivers/watchdog/
H A Dibmasr.c151 (WRITE 0x07 TO BOTH 0x2E and 0x2F) */ asr_get_base_address()
/linux-4.1.27/fs/hfsplus/
H A Dwrapper.c69 if (!(rw & WRITE) && data) hfsplus_submit_bio()
H A Dinode.c140 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { hfsplus_direct_IO()
/linux-4.1.27/include/target/
H A Dtarget_core_fabric.h218 * to the target (eg handling a WRITE) and DMA_FROM_DEVICE to mean
/linux-4.1.27/include/linux/mtd/
H A Dsh_flctl.h160 uint32_t rw_ADRCNT; /* bits of FLCMDCR in READ WRITE cmd */
/linux-4.1.27/fs/fat/
H A Dmisc.c270 write_dirty_buffer(bhs[i], WRITE); fat_sync_bhs()
/linux-4.1.27/sound/isa/sb/
H A Dsb8_midi.c202 outb(byte, SBP(chip, WRITE)); snd_sb8dsp_midi_output_write()
/linux-4.1.27/drivers/mtd/spi-nor/
H A Dfsl-quadspi.c336 writel(LUT0(WRITE, PAD1, 0), base + QUADSPI_LUT(lut_base + 1)); fsl_qspi_init_lut()
370 writel(LUT0(CMD, PAD1, SPINOR_OP_WRSR) | LUT1(WRITE, PAD1, 0x2), fsl_qspi_init_lut()
/linux-4.1.27/drivers/scsi/mpt2sas/mpi/
H A Dmpi2.h999 /* CAUTION - The following are READ-MODIFY-WRITE! */
1119 /* CAUTION - The following are READ-MODIFY-WRITE! */
/linux-4.1.27/drivers/scsi/mpt3sas/mpi/
H A Dmpi2.h983 /*CAUTION - The following are READ-MODIFY-WRITE! */
1128 /*CAUTION - The following are READ-MODIFY-WRITE! */
/linux-4.1.27/drivers/scsi/arcmsr/
H A Darcmsr.h335 /*outbound DATA WRITE isr door bell clear*/
388 /*outbound DATA WRITE isr door bell clear*/
/linux-4.1.27/drivers/scsi/bnx2fc/
H A Dbnx2fc_els.c510 /* SCSI WRITE command */ bnx2fc_rec_compl()
512 BNX2FC_IO_DBG(rec_req, "WRITE - resp lost\n"); bnx2fc_rec_compl()
/linux-4.1.27/drivers/staging/i2o/
H A Di2o_scsi.c635 * WRITE, READ-MODIFY-WRITE i2o_scsi_queuecommand_lck()
/linux-4.1.27/drivers/infiniband/ulp/iser/
H A Diser_initiator.c144 iser_dbg("Cmd itt:%d, WRITE tags, RKEY:%#.4X " iser_prepare_write_cmd()
151 iser_dbg("Cmd itt:%d, WRITE, adding imm.data sz: %d\n", iser_prepare_write_cmd()
/linux-4.1.27/drivers/input/keyboard/
H A Dlm8323.c76 /* Configuration keys (CMD_{WRITE,READ}_CFG). */
84 /* Clock settings (CMD_{WRITE,READ}_CLOCK). */
/linux-4.1.27/fs/jfs/
H A Djfs_metapage.c414 submit_bio(WRITE, bio); metapage_writepage()
451 submit_bio(WRITE, bio); metapage_writepage()
H A Dinode.c348 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { jfs_direct_IO()
/linux-4.1.27/fs/fuse/
H A Dfile.c269 * some asynchronous READ or WRITE requests are outstanding, fuse_release_common()
550 * == bytes_transferred or rw == WRITE, the caller sets 'pos' to -1.
2268 iov_iter_init(&ii, to_user ? READ : WRITE, iov, nr_segs, bytes); fuse_ioctl_copy_user()
2806 if (async_dio && iov_iter_rw(iter) != WRITE && offset + count > i_size) { fuse_direct_IO()
2822 io->write = (iov_iter_rw(iter) == WRITE); fuse_direct_IO()
2838 iov_iter_rw(iter) == WRITE) fuse_direct_IO()
2850 if (iov_iter_rw(iter) == WRITE) { fuse_direct_IO()
2870 if (iov_iter_rw(iter) == WRITE) { fuse_direct_IO()
/linux-4.1.27/fs/gfs2/
H A Dlops.c309 gfs2_log_flush_bio(sdp, WRITE); gfs2_log_get_bio()
338 gfs2_log_flush_bio(sdp, WRITE); gfs2_log_write()
H A Dmeta_io.c41 (wbc->sync_mode == WB_SYNC_ALL ? WRITE_SYNC : WRITE); gfs2_aspace_writepage()
/linux-4.1.27/sound/pci/ice1712/
H A Dpontis.c375 spi_send_byte(ice, dev & ~1); /* WRITE */ spi_write()
392 spi_send_byte(ice, dev & ~1); /* WRITE */ spi_read()
/linux-4.1.27/sound/pci/pcxhr/
H A Dpcxhr_mix22.c91 /* values for PCHR_XLX_STATUS register - WRITE */
109 /* values for PCXHR_XLX_SELMIC register - WRITE */
/linux-4.1.27/drivers/mailbox/
H A Dpcc.c41 * * Client writes WRITE cmd in communication region cmd address.
/linux-4.1.27/drivers/md/bcache/
H A Dwriteback.c186 io->bio.bi_rw = WRITE; write_dirty()
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic7xxx_93cx6.c45 * WRITE 1 01 A5 - A0 D15 - D0 Writes register
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
H A Dbrw_test.c396 reqst->brw_rw == LST_BRW_READ ? "READ" : "WRITE", brw_bulk_ready()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dcmd.h163 of this field is the Host in WRITE command or the Wilink in READ
/linux-4.1.27/arch/x86/boot/compressed/
H A Dmisc.c161 #define TXR 0 /* Transmit register (WRITE) */
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
H A Dregs-u2d.h104 #define U2DOTGUCR_WDATA (0xff << 8) /* The data for a WRITE command */
/linux-4.1.27/sound/pci/aw2/
H A Daw2-saa7146.c83 VALUE WRITE MODE READ MODE snd_aw2_saa7146_setup()
/linux-4.1.27/tools/lib/traceevent/
H A Dplugin_scsi.c262 cmd = "WRITE"; scsi_trace_rw32()
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Dme4000.c348 /* Set /CS and /WRITE of the Xilinx */ me4000_xilinx_download()
364 /* Reset /CS and /WRITE of the Xilinx */ me4000_xilinx_download()
397 /* Set /CS and /WRITE */ me4000_xilinx_download()
/linux-4.1.27/fs/btrfs/
H A Dcompression.c379 ret = io_tree->ops->merge_bio_hook(WRITE, page, 0, btrfs_submit_compressed_write()
407 ret = btrfs_map_bio(root, WRITE, bio, 0, 1); btrfs_submit_compressed_write()
437 ret = btrfs_map_bio(root, WRITE, bio, 0, 1); btrfs_submit_compressed_write()
/linux-4.1.27/drivers/ide/
H A Dide-cd.c307 if (rq->cmd_type == REQ_TYPE_FS && rq_data_dir(rq) == WRITE) { cdrom_decode_status()
528 int write = (rq_data_dir(rq) == WRITE) ? 1 : 0, rc = 0; cdrom_newpc_intr()
705 int write = rq_data_dir(rq) == WRITE; cdrom_start_rw()
H A Dide-floppy.c223 if (rq_data_dir(rq) == WRITE) idefloppy_blockpc_cmd()
H A Dide-taskfile.c431 int rw = !(cmd->tf_flags & IDE_TFLAG_WRITE) ? READ : WRITE; ide_raw_taskfile()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_fcoe.c995 * Determine if it is READ/WRITE command, and finds out if there is
997 * only in case of READ if initiator or WRITE in case of
1139 * only in case of READ if initiator or WRITE in case of
/linux-4.1.27/drivers/i2c/algos/
H A Di2c-algo-pca.c140 DEB2("=== WRITE %#04x\n", b); pca_tx_byte()
/linux-4.1.27/drivers/mtd/
H A Dmtd_blkdevs.c107 case WRITE: do_blktrans_request()
/linux-4.1.27/drivers/media/radio/
H A Dradio-cadet.c138 outb(0x00, dev->io + 1); /* Ensure WRITE-ENABLE is LOW */ cadet_gettune()
/linux-4.1.27/drivers/media/usb/cx231xx/
H A Dcx231xx-i2c.c131 "GPIO WRITE: addr 0x%x, len %d, saddr 0x%x\n", cx231xx_i2c_send_bytes()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dvideobuf-dma-sg.c166 rw = WRITE; videobuf_dma_init_user_locked()
/linux-4.1.27/drivers/message/fusion/lsi/
H A Dmpi.h593 /* CAUTION - The following are READ-MODIFY-WRITE! */
/linux-4.1.27/drivers/misc/mei/
H A Dinterrupt.c439 cl_dbg(dev, cl, "MEI WRITE COMPLETE\n"); mei_irq_write_handler()
/linux-4.1.27/drivers/net/ethernet/tehuti/
H A Dtehuti.h445 /* TXD TXF RXF RXD WRITE 0x0080 --- 0x00BC */
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_transport.c383 /* WRITE sgel first */ _transport_expander_report_manufacture()
1175 /* WRITE sgel first */ _transport_get_expander_phy_error_log()
1503 /* WRITE sgel first */ _transport_expander_phy_control()
2039 /* WRITE sgel first */ _transport_smp_handler()
/linux-4.1.27/drivers/scsi/arm/
H A Deesox.c16 * 15-02-1998 RMK READ/WRITE version
/linux-4.1.27/drivers/s390/char/
H A Dcon3270.c66 #define CON_UPDATE_ERASE 1 /* Use EWRITEA instead of WRITE. */
/linux-4.1.27/fs/xfs/
H A Dxfs_buf.h69 { XBF_WRITE, "WRITE" }, \
/linux-4.1.27/fs/jbd/
H A Drecovery.c492 /* ll_rw_block(WRITE, 1, &nbh); */ do_one_pass()

Completed in 3000 milliseconds

123