Searched refs:write (Results 1 - 25 of 2699) sorted by last modified time

1234567891011>>

/linux-master/drivers/dma/xilinx/
H A Dxilinx_dpdma.c296 int (*write)(char *args); member in struct:xilinx_dpdma_debugfs_request
354 .write = xilinx_dpdma_debugfs_desc_done_irq_write,
435 ret = dpdma_debugfs_reqs[i].write(kern_buff);
449 .write = xilinx_dpdma_debugfs_write,
/linux-master/arch/x86/kernel/
H A Dsev-shared.c644 bool write)
650 if (write)
872 * shared buffer or to have it write them into the shared buffer
642 vc_insn_string_check(struct es_em_ctxt *ctxt, unsigned long address, bool write) argument
/linux-master/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c65 numwritten = write(fd, buf, buflen - 1);
232 /* write something to the file, so a file-backed THP can be allocated */
233 num_written = write(fd, tmpfs_loc, strlen(tmpfs_loc) + 1);
237 ksft_perror("Fail to write data to testing file");
314 write(*fd, &byte, sizeof(byte));
323 if (write(*fd, "3", 1) != 1) {
324 ksft_perror("write to drop_caches");
H A Dprotection_keys.c74 ret = write(fd, str, strlen(str));
76 perror("write to file failed");
142 * instructions that do a write, and another page of instructions. That
143 * way, we are pretty sure that the write is in the second page of
146 * *That* lets us be sure to madvise() away the write instruction, which
1019 dprintf1("disabling write access to PKEY[1], doing read\n");
1058 dprintf1("disabling write access; after accessing the page, "
1059 "to PKEY[%02d], doing write\n", pkey);
1067 dprintf1("disabling write access to PKEY[%02d], doing write\
[all...]
H A Drun_vmtests.sh65 test copy-on-write semantics
122 # -w: write=1, -W: write=0
123 for write in -w -W; do
131 $huge $test_cmd $write $share $num
/linux-master/net/ipv4/
H A Droute.c3412 static int ipv4_sysctl_rtcache_flush(struct ctl_table *__ctl, int write, argument
3417 if (write) {
/linux-master/mm/
H A Dhugetlb.c1666 * pages. Otherwise, someone (memory error handling) may try to write
2163 * Find and lock address space (mapping) in write mode.
4919 static int proc_hugetlb_doulongvec_minmax(struct ctl_table *table, int write, argument
4932 return proc_doulongvec_minmax(&dup_table, write, buffer, length, ppos);
4936 struct ctl_table *table, int write,
4946 ret = proc_hugetlb_doulongvec_minmax(table, write, buffer, length, ppos,
4951 if (write)
4958 static int hugetlb_sysctl_handler(struct ctl_table *table, int write, argument
4962 return hugetlb_sysctl_handler_common(false, table, write,
4967 static int hugetlb_mempolicy_sysctl_handler(struct ctl_table *table, int write, argument
4935 hugetlb_sysctl_handler_common(bool obey_mempolicy, struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) argument
4975 hugetlb_overcommit_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) argument
[all...]
/linux-master/include/linux/
H A Dmm.h135 * combine write statements if they are both assignments and can be reordered,
606 void *buf, int len, int write);
705 /* WARNING! Can only be used if mmap_lock is expected to be write-locked */
721 * write-locked mmap_lock is dropped or downgraded.
756 /* When detaching vma should be write-locked */
1358 * servicing faults for write access. In the normal case, do always want
1359 * pte_mkwrite. But get_user_pages can cause write faults for mappings
1636 * write permissions later.
2403 void *buf, int len, int write);
2548 /* Whether this change is for write protectin
[all...]
/linux-master/drivers/soc/mediatek/
H A Dmtk-svs.c168 .write = svs_##name##_debug_write, \
/linux-master/drivers/net/ethernet/broadcom/
H A Db44.c2249 mii_bus->write = b44_mdio_write_phylib;
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dchip.c3792 bus->write = mv88e6xxx_mdio_write;
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_gpu.c1052 u32 write = gpu_read(gpu, VIVS_MC_DEBUG_WRITE); local
1057 seq_printf(m, "\t write: 0x%08x\n", write);
1492 "write violation",
1495 "write security violation",
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c2413 drm_dbg_kms(mgr->dev, "mst write failed - undocked during suspend?\n");
7734 cmd.payloads[i].write = !(msgs[i].flags & I2C_M_RD);
11426 "invalid register write. address = 0");
11498 if (!payload->write && p_notify->aux_reply.length &&
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_object.c499 /* Don't try to enable write-combining when it can't work, or things
506 thanks to write-combining
511 "better performance thanks to write-combining\n");
/linux-master/drivers/bluetooth/
H A Dbtusb.c2930 bt_dev_err(hdev, "Failed to write uhw reg(%d)", err);
4204 .write = force_poll_sync_write,
/linux-master/arch/loongarch/mm/
H A Dfault.c35 unsigned long write, unsigned long address)
43 if (kfence_handle_page_fault(address, write, regs))
60 unsigned long write, unsigned long address)
67 no_context(regs, write, address);
74 unsigned long write, unsigned long address, int si_code)
78 no_context(regs, write, address);
92 unsigned long write, unsigned long address, int si_code)
99 no_context(regs, write, address);
105 if (!write)
115 write
34 no_context(struct pt_regs *regs, unsigned long write, unsigned long address) argument
59 do_out_of_memory(struct pt_regs *regs, unsigned long write, unsigned long address) argument
73 do_sigbus(struct pt_regs *regs, unsigned long write, unsigned long address, int si_code) argument
91 do_sigsegv(struct pt_regs *regs, unsigned long write, unsigned long address, int si_code) argument
134 __do_page_fault(struct pt_regs *regs, unsigned long write, unsigned long address) argument
256 do_page_fault(struct pt_regs *regs, unsigned long write, unsigned long address) argument
[all...]
/linux-master/fs/btrfs/
H A Dinode.c366 * BTRFS_ILOCK_MMAP - acquire a write lock on the i_mmap_lock
787 * finishes, delaying the write of other range.
819 /* If this is a small write inside eof, kick off a defrag */
834 * work queue to write the uncompressed bytes. This makes sure that both
1398 * allocation. Otherwise ask the caller to write out
1712 * Run the delalloc range from start to end, and write back any dirty pages
1771 * If EXTENT_NORESERVE is set it means that when the buffered write was
1787 * buffered write time, the bytes_may_use counter is incremented);
1972 * If no cow copies or snapshots exist, we write directly to the existing
2846 * the delalloc bit and make it safe to write th
7505 const bool write = !!(flags & IOMAP_WRITE); local
7748 const bool write = !!(flags & IOMAP_WRITE); local
[all...]
/linux-master/drivers/hid/intel-ish-hid/ipc/
H A Dipc.c42 * @value: Value to write
262 * write_ipc_from_queue() - try to write ipc msg from Tx queue to device
265 * Check if DRBL is cleared. if it is - write the first IPC msg, then call
366 * write_ipc_to_queue() - write ipc msg to Tx queue
374 * Tx-to-write list then try to send the first IPC waiting msg
688 /* Flush write to doorbell */
817 /* Flush write to doorbell */
924 .write = write_ipc_to_queue,
/linux-master/virt/kvm/
H A Dkvm_main.c2015 * Must be called holding kvm->slots_lock for write.
2218 * We need to keep it in mind that VCPU threads can write to the bitmap
2227 * Between 2 and 4, the guest may write to the page using the remaining TLB
2712 gfn_t *nr_pages, bool write)
2717 if (memslot_is_readonly(slot) && write)
2756 * @writable: used to return the read/write attribute of the @slot if the hva
2803 * Fast pin a writable pfn only if it is a write fault request
5758 * accept any overlapping write. Any order is acceptable for
6156 .write = simple_attr_write,
2711 __gfn_to_hva_many(const struct kvm_memory_slot *slot, gfn_t gfn, gfn_t *nr_pages, bool write) argument
/linux-master/fs/sysfs/
H A Dfile.c126 /* kernfs write callback for regular sysfs files */
139 /* kernfs write callback for bin sysfs files */
155 if (!battr->write)
158 return battr->write(of->file, kobj, battr, buf, pos, count);
222 .write = sysfs_kf_write,
227 .write = sysfs_kf_write,
236 .write = sysfs_kf_write,
242 .write = sysfs_kf_write,
251 .write = sysfs_kf_bin_write,
256 .write
[all...]
/linux-master/fs/bcachefs/
H A Dthread_with_file.c30 if (fops->read && fops->write)
34 else if (fops->write)
271 .write = thread_with_stdio_write,
H A Djournal_io.c281 bch_err(c, "corrupt metadata before write: %s\n", _buf.buf);\
306 int write = flags & BKEY_INVALID_WRITE; local
340 if (!write)
342 write, NULL, bkey_to_packed(k));
345 __btree_node_type(level, btree_id), write, &buf)) {
354 __btree_node_type(level, btree_id), write, &buf);
367 if (write)
369 write, NULL, bkey_to_packed(k));
653 prt_printf(out, "%s=%llu", clock->rw ? "write" : "read", le64_to_cpu(clock->time));
1176 * correlated where we stopped in the journal to the zone write
[all...]
H A Dsb-clean.c24 int write)
43 write);
317 * Unconditionally write superblock, to verify it hasn't changed before
372 * this should be in the write path, and we should be validating every
23 bch2_sb_clean_validate_late(struct bch_fs *c, struct bch_sb_field_clean *clean, int write) argument
H A Dbtree_io.c516 unsigned offset, int write)
519 write == READ
521 : "corrupt btree node before write ");
540 int write,
548 btree_err_msg(&out, c, ca, b, i, b->written, write);
554 if (write == WRITE) {
601 int _ret = __btree_err(type, c, ca, b, i, write, have_retry, \
671 int write, bool have_retry, bool *saw_error)
768 if (!write)
770 BSET_BIG_ENDIAN(i), write, b
513 btree_err_msg(struct printbuf *out, struct bch_fs *c, struct bch_dev *ca, struct btree *b, struct bset *i, unsigned offset, int write) argument
535 __btree_err(int ret, struct bch_fs *c, struct bch_dev *ca, struct btree *b, struct bset *i, int write, bool have_retry, enum bch_sb_error_id err_type, const char *fmt, ...) argument
668 validate_bset(struct bch_fs *c, struct bch_dev *ca, struct btree *b, struct bset *i, unsigned offset, unsigned sectors, int write, bool have_retry, bool *saw_error) argument
854 validate_bset_keys(struct bch_fs *c, struct btree *b, struct bset *i, int write, bool have_retry, bool *saw_error) argument
989 int ret = 0, retry_read = 0, write = READ; local
1434 int ret = 0, best = -1, write = READ; local
[all...]
H A Dbcachefs_format.h47 * bcachefs btrees are copy on write b+ trees, where nodes are big (typically
566 x(write, 1) \
1007 * Max size of an extent that may require bouncing to read or write

Completed in 475 milliseconds

1234567891011>>