Searched refs:writing (Results 1 - 25 of 36) sorted by path

12

/linux-master/arch/sparc/lib/
H A DM7memset.S333 st %o1, [%o5] ! 4-byte writing loop
/linux-master/arch/arm/include/debug/
H A Dmsm.S35 @ Clear TX_READY by writing to the UARTDM_CR register
/linux-master/arch/powerpc/include/asm/
H A Dkvm_book3s.h201 bool writing, unsigned long gpa,
206 bool writing, bool kvm_ro,
238 bool writing, bool *writable);
H A Dkvm_book3s_64.h422 static inline pte_t kvmppc_read_update_linux_pte(pte_t *ptep, int writing) argument
443 if (writing && pte_write(old_pte))
/linux-master/arch/powerpc/kvm/
H A Dbook3s.c428 kvm_pfn_t kvmppc_gpa_to_pfn(struct kvm_vcpu *vcpu, gpa_t gpa, bool writing, argument
450 return gfn_to_pfn_prot(vcpu->kvm, gfn, writing, writable);
H A Dbook3s_64_mmu_hv.c522 bool writing, write_ok; local
601 writing = (dsisr & DSISR_ISSTORE) != 0;
602 /* If writing != 0, then the HPTE must allow writing, if we get here */
603 write_ok = writing;
617 writing, &write_ok, NULL);
1608 * Functions for reading and writing the hash table via reads and
H A Dbook3s_64_mmu_radix.c793 bool kvmppc_hv_handle_set_rc(struct kvm *kvm, bool nested, bool writing, argument
806 if (writing)
814 if (ptep && pte_present(*ptep) && (!writing || pte_write(*ptep))) {
824 bool writing, bool kvm_ro,
856 writing, upgrade_p, NULL);
913 if (writing || upgrade_write) {
952 bool writing = !!(dsisr & DSISR_ISSTORE); local
995 return kvmppc_hv_emulate_mmio(vcpu, gpa, ea, writing);
999 if (writing) {
1012 if (kvmppc_hv_handle_set_rc(kvm, false, writing,
821 kvmppc_book3s_instantiate_page(struct kvm_vcpu *vcpu, unsigned long gpa, struct kvm_memory_slot *memslot, bool writing, bool kvm_ro, pte_t *inserted_pte, unsigned int *levelp) argument
[all...]
H A Dbook3s_hv_nested.c1457 bool writing = !!(dsisr & DSISR_ISSTORE); local
1463 if (writing)
1470 ret = kvmppc_hv_handle_set_rc(kvm, false, writing,
1478 ret = kvmppc_hv_handle_set_rc(kvm, true, writing,
1529 bool writing = !!(dsisr & DSISR_ISSTORE); local
1600 return kvmppc_hv_emulate_mmio(vcpu, gpa, ea, writing);
1603 if (writing) {
1629 if (!pte_present(pte) || (writing && !(pte_val(pte) & _PAGE_WRITE))) {
1632 writing, kvm_ro, &pte, &level);
1650 perm |= ((gpte.rc & _PAGE_DIRTY) && writing)
[all...]
H A Dbook3s_hv_rm_mmu.c198 unsigned int writing; local
216 writing = hpte_is_writable(ptel);
266 pte = kvmppc_read_update_linux_pte(ptep, writing);
268 if (writing && !pte_write(pte))
884 unsigned long gpa, int writing, unsigned long *hpa,
906 pte = kvmppc_read_update_linux_pte(ptep, writing);
883 kvmppc_get_hpa(struct kvm_vcpu *vcpu, unsigned long mmu_seq, unsigned long gpa, int writing, unsigned long *hpa, struct kvm_memory_slot **memslot_p) argument
/linux-master/drivers/ata/
H A Dpata_hpt3x2n.c264 * - writing
295 static int hpt3x2n_use_dpll(struct ata_port *ap, int writing) argument
300 if (writing)
/linux-master/drivers/block/
H A Dpktcdvd.c9 * Packet writing layer for ATAPI and SCSI CD-RW, DVD+RW, DVD-RW and
17 * packet writing. One restriction is that write requests must be aligned to
23 * The purpose of the packet writing driver is to hide these restrictions from
27 * The lowest layer in the packet writing driver is the packet I/O scheduler.
853 * - Switching between reading and writing is slow, so don't do it more often
861 * when switching often between reading and writing, it's better to have the
884 if (pd->iosched.writing) {
898 pd->iosched.writing = 0;
906 pd->iosched.writing = 1;
911 if (pd->iosched.writing)
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dblock-map.c1205 * May cause another page to be discarded (potentially writing a dirty page) and the one nominated
1569 page->writing = false;
1624 * Now that we know the page has been written at least once, mark the copy we are writing
1670 tree_page->writing = true;
2019 if (!page->writing)
2331 if (waiting || page->writing)
H A Dblock-map.h194 bool writing; member in struct:tree_page
196 /* If writing, the tree zone flush generation of the copy being written. */
205 /* The value of recovery_lock when the this page last started writing */
H A Dslab-depot.c266 block->writing = false;
288 * handle_write_error() - Handle an error writing a slab summary block.
311 * launch_write() - Write a slab summary block unless it is currently out for writing.
320 if (block->writing)
326 block->writing = true;
336 * Flush before writing to ensure that the slab journal tail blocks and reference updates
817 * There is nothing to do since the tail block is empty, or writing, or the journal
1014 /** finish_summary_update() - A waiter callback that resets the writing state of a slab. */
1064 * @completion: The VIO that just finished writing.
1092 /* Re-queue the block if it was re-dirtied while it was writing
[all...]
H A Dslab-depot.h135 /* The number of blocks at which all reference blocks should be writing */
171 /* Whether this block is currently writing */
251 /* The number of blocks which are currently writing */
348 bool writing; member in struct:slab_summary_block
426 /* The vio pool for reading and writing block allocator metadata */
/linux-master/drivers/md/
H A Dmd-bitmap.c453 * md_bitmap_wait_writes() should be called before writing any bitmap
1035 int writing = 0; local
1047 if (!writing) {
1054 writing = 1;
1057 if (writing)
/linux-master/drivers/media/dvb-frontends/
H A Drtl2832.c178 u8 msb, lsb, reading[4], writing[4], len; local
199 writing[i] = (writing_tmp >> ((len - 1 - i) * 8)) & 0xff;
201 ret = regmap_bulk_write(dev->regmap, reg_start_addr, writing, len);
/linux-master/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c797 shared[i].writing = shared[i].erasing = NULL;
961 * - any write operation must own shared->writing.
963 * - any erase operation must own _both_ shared->writing and
974 contender = shared->writing;
1028 shared->writing = chip;
1047 if (shared->writing == chip && chip->oldstate == FL_READY) {
1049 shared->writing = shared->erasing;
1050 if (shared->writing && shared->writing != chip) {
1052 struct flchip *loaner = shared->writing;
[all...]
/linux-master/drivers/mtd/lpddr/
H A Dlpddr_cmds.c78 shared[i].writing = shared[i].erasing = NULL;
214 * - any write operation must own shared->writing.
216 * - any erase operation must own _both_ shared->writing and
227 contender = shared->writing;
281 shared->writing = chip;
353 if (shared->writing == chip && chip->oldstate == FL_READY) {
355 shared->writing = shared->erasing;
356 if (shared->writing && shared->writing != chip) {
358 struct flchip *loaner = shared->writing;
[all...]
/linux-master/drivers/scsi/
H A Dscsi_ioctl.c308 /* Basic writing commands */
415 int writing = 0; local
432 writing = 1;
441 rq = scsi_alloc_request(sdev->request_queue, writing ?
481 * @open_for_write: is the file / block device opened for writing?
855 * @open_for_write: is the file / block device opened for writing?
H A Dst.c677 if (!STbuffer->writing)
695 STbuffer->buffer_bytes -= STbuffer->writing;
701 STps->drv_block += STbuffer->writing / STp->block_size;
719 STbuffer->writing = 0;
1183 "writing immediate filemarks\n");
1306 (STp->buffer)->writing = 0;
1482 /* The checks common to both reading and writing */
1790 STbp->writing = transfer;
1791 STp->dirty = !(STbp->writing ==
3305 /* Functions for reading and writing th
[all...]
H A Dst.h44 int writing; member in struct:st_buffer
209 /* When writing: ST_EOM_OK == early warning found, write OK
/linux-master/fs/9p/
H A Dvfs_addr.c89 bool writing = (rreq->origin == NETFS_READ_FOR_WRITE || local
102 fid = v9fs_fid_find_inode(rreq->inode, writing, INVALID_UID, true);
/linux-master/fs/btrfs/
H A Dinode.c1992 * writing sequentially and can end up here as well.
2598 * Don't split the extent_map for NOCOW extents, as we're writing into
7220 const bool writing = (iomap_flags & IOMAP_WRITE); local
7250 (!writing || !filemap_range_has_page(inode->i_mapping,
7277 if (writing ||
8181 * for a written page which means we get ENOSPC checking when writing into
/linux-master/fs/ceph/
H A Daddr.c54 * are not yet snapped) and are writing the most recently dirtied
566 if (capsnap->writing) {
618 if (!capsnap->writing)
1340 * We stop writing back only if we are not doing

Completed in 551 milliseconds

12