Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 118) sorted by relevance

12345

/fs/bcachefs/
A Dbtree_io.h175 int write, struct bkey_format *f) in compat_bformat() argument
190 f->field_offset[BKEY_FIELD_SNAPSHOT] = write in compat_bformat()
198 int write, struct bpos *p) in compat_bpos() argument
210 int write, in compat_btree_node() argument
216 write) in compat_btree_node()
220 write) in compat_btree_node()
223 compat_bpos(level, btree_id, version, big_endian, write, &bn->min_key); in compat_btree_node()
224 compat_bpos(level, btree_id, version, big_endian, write, &bn->max_key); in compat_btree_node()
227 !write) in compat_btree_node()
233 !write) in compat_btree_node()
A Dmove.c121 struct data_update write; member
136 if (!io->write.data_opts.scrub) { in move_free()
137 bch2_data_update_exit(&io->write); in move_free()
139 bch2_bio_free_pages_pool(io->write.op.c, &io->write.op.wbio.bio); in move_free()
140 kfree(io->write.bvecs); in move_free()
172 struct bch_fs *c = io->write.op.c; in move_write()
213 closure_get(&io->write.ctxt->cl); in move_write()
371 io->write.ctxt = ctxt; in bch2_move_extent()
386 io->write.op.c = c; in bch2_move_extent()
387 io->write.data_opts = data_opts; in bch2_move_extent()
[all …]
A Dbkey_methods.c384 int write) in bch2_bkey_renumber() argument
392 k->type == (write ? i->new : i->old)) { in bch2_bkey_renumber()
393 k->type = write ? i->old : i->new; in bch2_bkey_renumber()
400 int write, in __bch2_bkey_compat() argument
414 switch (!write ? i : nr_compat - 1 - i) { in __bch2_bkey_compat()
425 bch2_bkey_renumber(__btree_node_type(level, btree_id), k, write); in __bch2_bkey_compat()
443 if (!write) in __bch2_bkey_compat()
458 u->k.p.snapshot = write in __bch2_bkey_compat()
466 uk.p.snapshot = write in __bch2_bkey_compat()
491 ops->compat(btree_id, version, big_endian, write, u); in __bch2_bkey_compat()
A Dio_read.c171 bch2_data_update_exit(&op->write); in promote_free()
180 struct bch_fs *c = op->write.rbio.c; in promote_done()
183 promote_free(&op->write.rbio); in promote_done()
190 bch2_data_update_read_done(&op->write); in promote_start_work()
265 op->write.type = BCH_DATA_UPDATE_promote; in __promote_alloc()
274 op->write.rbio.bounce = true; in __promote_alloc()
275 op->write.rbio.promote = true; in __promote_alloc()
276 op->write.op.end_io = promote_done; in __promote_alloc()
278 return &op->write.rbio; in __promote_alloc()
285 bio_free_pages(&op->write.op.wbio.bio); in __promote_alloc()
[all …]
A Dbkey_methods.h35 unsigned big_endian, int write,
127 int write, in bch2_bkey_compat() argument
135 big_endian, write, f, k); in bch2_bkey_compat()
/fs/xfs/
A Dxfs_sysctl.c15 int write, in xfs_stats_clear_proc_handler() argument
22 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_stats_clear_proc_handler()
24 if (!ret && write && *valp) { in xfs_stats_clear_proc_handler()
35 int write, in xfs_panic_mask_proc_handler() argument
42 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_panic_mask_proc_handler()
43 if (!ret && write) { in xfs_panic_mask_proc_handler()
56 int write, in xfs_deprecated_dointvec_minmax() argument
61 if (write) { in xfs_deprecated_dointvec_minmax()
66 return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_deprecated_dointvec_minmax()
/fs/ceph/
A Dmetric.c23 struct ceph_metric_write_latency *write; in ceph_mdsc_send_metrics() local
48 len = sizeof(*head) + sizeof(*cap) + sizeof(*read) + sizeof(*write) in ceph_mdsc_send_metrics()
87 write = (struct ceph_metric_write_latency *)(read + 1); in ceph_mdsc_send_metrics()
88 write->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_WRITE_LATENCY); in ceph_mdsc_send_metrics()
89 write->header.ver = 2; in ceph_mdsc_send_metrics()
90 write->header.compat = 1; in ceph_mdsc_send_metrics()
91 write->header.data_len = cpu_to_le32(sizeof(*write) - header_len); in ceph_mdsc_send_metrics()
93 ktime_to_ceph_timespec(&write->lat, sum); in ceph_mdsc_send_metrics()
95 write->sq_sum = cpu_to_le64(m->metric[METRIC_WRITE].latency_sq_sum); in ceph_mdsc_send_metrics()
96 write->count = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics()
[all …]
/fs/jffs2/
A DREADME.Locking16 upon write completion (jffs2_complete_reservation()). Note that
19 preventing any other write activity on the file system during a
26 until this happens we ensure that any data in the write-buffer at the
29 don't actually get erased until the write-buffer has been flushed to
32 With the introduction of NAND flash support and the write-buffer,
141 This read/write semaphore protects against concurrent access to the
142 write-behind buffer ('wbuf') used for flash chips where we must write
154 This read/write semaphore protects against concurrent access to the
156 In read-only path, write-semaphore is too much exclusion. It's enough
157 by read-semaphore. But you must hold write-semaphore when updating,
[all …]
A DKconfig33 bool "JFFS2 write-buffering support"
37 This enables the write-buffering support in JFFS2.
46 bool "Verify JFFS2 write-buffer reads"
51 write-buffer, and check for errors.
109 write a file system which cannot be read by a standard kernel.
/fs/proc/
A Dproc_net.c47 if (file->f_mode & FMODE_WRITE && !PDE(inode)->write) in seq_open_net()
160 proc_write_t write, in proc_create_net_data_write() argument
172 p->write = write; in proc_create_net_data_write()
252 proc_write_t write, in proc_create_net_single_write() argument
263 p->write = write; in proc_create_net_single_write()
A Dinode.c328 __auto_type write = pde->proc_ops->proc_write; in pde_write() local
329 if (write) in pde_write()
330 return write(file, buf, count, ppos); in pde_write()
558 .write = proc_reg_write,
570 .write = proc_reg_write,
584 .write = proc_reg_write,
598 .write = proc_reg_write,
/fs/sysfs/
A Dfile.c164 if (!battr->write && !battr->write_new) in sysfs_kf_bin_write()
170 return battr->write(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_write()
234 .write = sysfs_kf_write,
239 .write = sysfs_kf_write,
248 .write = sysfs_kf_write,
254 .write = sysfs_kf_write,
263 .write = sysfs_kf_bin_write,
268 .write = sysfs_kf_bin_write,
273 .write = sysfs_kf_bin_write,
341 if (battr->write && battr->write_new) in sysfs_add_bin_file_mode_ns()
[all …]
/fs/fuse/
A Dfile.c698 } else if (io->write) { in fuse_aio_complete_req()
699 if (ia->write.out.size > ia->write.in.size) { in fuse_aio_complete_req()
703 if (ia->write.in.size != ia->write.out.size) in fuse_aio_complete_req()
1038 ia->write.in.fh = ff->fh; in fuse_write_args_fill()
1039 ia->write.in.offset = pos; in fuse_write_args_fill()
1040 ia->write.in.size = count; in fuse_write_args_fill()
1503 if (write) in fuse_get_user_pages()
1570 if (write) in fuse_get_user_pages()
1615 if (!write) in fuse_direct_io()
1618 if (!write) in fuse_direct_io()
[all …]
A Dfuse_dev_i.h32 bool write:1; member
54 void fuse_copy_init(struct fuse_copy_state *cs, bool write,
/fs/adfs/
A DKconfig12 write to those devices, say Y to "ADFS write support" below.
24 bool "ADFS write support (DANGEROUS)"
27 If you say Y here, you will be able to write to ADFS partitions on
/fs/btrfs/
A Ddirect-io.c363 const bool write = !!(flags & IOMAP_WRITE); in btrfs_dio_iomap_begin() local
387 if (!write) in btrfs_dio_iomap_begin()
436 if (write && !(flags & IOMAP_NOWAIT)) { in btrfs_dio_iomap_begin()
523 if (write) { in btrfs_dio_iomap_begin()
574 if (write) in btrfs_dio_iomap_begin()
581 if (!write && (start + len) < lockend) in btrfs_dio_iomap_begin()
612 const bool write = !!(flags & IOMAP_WRITE); in btrfs_dio_iomap_end() local
615 if (!write && (iomap->type == IOMAP_HOLE)) { in btrfs_dio_iomap_end()
625 if (write) in btrfs_dio_iomap_end()
633 if (write) { in btrfs_dio_iomap_end()
[all …]
/fs/nls/
A DKconfig46 codepage if you want to be able to read/write these filenames on
58 codepage if you want to be able to read/write these filenames on
70 codepage if you want to be able to read/write these filenames on
83 codepage if you want to be able to read/write these filenames on
99 codepage if you want to be able to read/write these filenames on
114 codepage if you want to be able to read/write these filenames on
125 codepage if you want to be able to read/write these filenames on
136 codepage if you want to be able to read/write these filenames on
147 codepage if you want to be able to read/write these filenames on
158 codepage if you want to be able to read/write these filenames on
[all …]
/fs/
A Ddrop_caches.c51 static int drop_caches_sysctl_handler(const struct ctl_table *table, int write, in drop_caches_sysctl_handler() argument
56 ret = proc_dointvec_minmax(table, write, buffer, length, ppos); in drop_caches_sysctl_handler()
59 if (write) { in drop_caches_sysctl_handler()
/fs/ocfs2/
A Ddlmglue.h126 int ocfs2_rw_lock(struct inode *inode, int write);
127 int ocfs2_try_rw_lock(struct inode *inode, int write);
128 void ocfs2_rw_unlock(struct inode *inode, int write);
130 int ocfs2_try_open_lock(struct inode *inode, int write);
/fs/debugfs/
A Dfile.c43 .write = default_write_file,
96 if (ops->write) in __debugfs_file_get()
106 if (ops->write) in __debugfs_file_get()
388 FULL_PROXY_FUNC(write, ssize_t, filp,
487 .write = full_proxy_write,
511 .write = short_proxy_write,
977 .write = debugfs_write_file_bool,
989 .write = debugfs_write_file_bool,
1105 .write = debugfs_write_file_str,
1117 .write = debugfs_write_file_str,
[all …]
/fs/zonefs/
A Dzonefs.h263 void __zonefs_io_error(struct inode *inode, bool write);
265 static inline void zonefs_io_error(struct inode *inode, bool write) in zonefs_io_error() argument
270 __zonefs_io_error(inode, write); in zonefs_io_error()
/fs/pstore/
A Dftrace.c54 psinfo->write(&record); in pstore_ftrace_call()
122 .write = pstore_ftrace_knob_write,
134 if (!psinfo->write) in pstore_register_ftrace()
A Dplatform.c355 ret = psinfo->write(&record); in pstore_dump()
406 psinfo->write(&record); in pstore_console_write()
410 .write = pstore_console_write,
450 ret = record->psi->write(record); in pstore_write_user_compat()
484 if (!psi->read || !psi->write) { in pstore_register()
/fs/ufs/
A DKconfig11 these partitions; if you also want to write to them, say Y to the
12 experimental "UFS file system write support", below. Please read the
33 bool "UFS file system write support (DANGEROUS)"
/fs/coda/
A DKconfig10 disconnected operation (e.g. for laptops), read/write server
12 persistent client caches and write back caching.

Completed in 71 milliseconds

12345