Home
last modified time | relevance | path

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

1234

/fs/proc/
Dproc_net.c66 if (file->f_mode & FMODE_WRITE && !PDE(inode)->write) in seq_open_net()
96 .write = proc_simple_write,
146 proc_write_t write, in proc_create_net_data_write() argument
158 p->write = write; in proc_create_net_data_write()
189 .write = proc_simple_write,
238 proc_write_t write, in proc_create_net_single_write() argument
249 p->write = write; in proc_create_net_single_write()
Dinode.c234 typeof_member(struct file_operations, write) write; in proc_reg_write()
236 write = pde->proc_fops->write; in proc_reg_write()
237 if (write) in proc_reg_write()
238 rv = write(file, buf, count, ppos); in proc_reg_write()
403 .write = proc_reg_write,
419 .write = proc_reg_write,
/fs/sysfs/
Dfile.c157 if (!battr->write) in sysfs_kf_bin_write()
160 return battr->write(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_write()
202 .write = sysfs_kf_write,
207 .write = sysfs_kf_write,
216 .write = sysfs_kf_write,
222 .write = sysfs_kf_write,
231 .write = sysfs_kf_bin_write,
236 .write = sysfs_kf_bin_write,
241 .write = sysfs_kf_bin_write,
288 else if (battr->read && battr->write) in sysfs_add_file_mode_ns()
[all …]
/fs/xfs/
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()
Dxfs_pnfs.c82 bool write, in xfs_fs_map_blocks() argument
124 if (!write) in xfs_fs_map_blocks()
150 if (write) { in xfs_fs_map_blocks()
/fs/jffs2/
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 …]
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/ntfs/
DKconfig9 safe, write support available. For write support you must also
10 say Y to "NTFS write support" below.
53 bool "NTFS write support"
56 This enables the partial, but safe, write support in the NTFS driver.
68 Note: While write support is safe in this version (a rewrite from
70 write support, included in Linux 2.5.10 and before (since 1997),
/fs/adfs/
DKconfig11 write to those devices, say Y to "ADFS write support" below.
23 bool "ADFS write support (DANGEROUS)"
26 If you say Y here, you will be able to write to ADFS partitions on
/fs/nls/
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/
Ddrop_caches.c49 int drop_caches_sysctl_handler(struct ctl_table *table, int write, in drop_caches_sysctl_handler() argument
54 ret = proc_dointvec_minmax(table, write, buffer, length, ppos); in drop_caches_sysctl_handler()
57 if (write) { in drop_caches_sysctl_handler()
Dfile_table.c82 int proc_nr_files(struct ctl_table *table, int write, in proc_nr_files() argument
86 return proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in proc_nr_files()
89 int proc_nr_files(struct ctl_table *table, int write, in proc_nr_files() argument
205 likely(fop->write || fop->write_iter)) in alloc_file()
Ddax.c1254 bool write = vmf->flags & FAULT_FLAG_WRITE; in dax_iomap_pte_fault() local
1271 if (write && !vmf->cow_page) in dax_iomap_pte_fault()
1350 0, write && !sync); in dax_iomap_pte_fault()
1368 if (write) in dax_iomap_pte_fault()
1376 if (!write) { in dax_iomap_pte_fault()
1470 bool write = vmf->flags & FAULT_FLAG_WRITE; in dax_iomap_pmd_fault() local
1472 unsigned int iomap_flags = (write ? IOMAP_WRITE : 0) | IOMAP_FAULT; in dax_iomap_pmd_fault()
1502 if (write && !(vma->vm_flags & VM_SHARED)) in dax_iomap_pmd_fault()
1566 DAX_PMD, write && !sync); in dax_iomap_pmd_fault()
1583 result = vmf_insert_pfn_pmd(vmf, pfn, write); in dax_iomap_pmd_fault()
[all …]
/fs/pstore/
Dftrace.c48 psinfo->write(&record); in pstore_ftrace_call()
108 .write = pstore_ftrace_knob_write,
115 if (!psinfo->write) in pstore_register_ftrace()
Dplatform.c461 ret = psinfo->write(&record); in pstore_dump()
502 psinfo->write(&record); in pstore_console_write()
507 .write = pstore_console_write,
540 ret = record->psi->write(record); in pstore_write_user_compat()
573 if (!psi->read || !psi->write) { in pstore_register()
/fs/fuse/
Dfile.c375 curr_index = wpa->ia.write.in.offset >> PAGE_SHIFT; in fuse_find_writeback()
593 if (io->bytes >= 0 && io->write) in fuse_get_res_by_io()
684 } else if (io->write) { in fuse_aio_complete_req()
685 if (ia->write.out.size > ia->write.in.size) { in fuse_aio_complete_req()
687 } else if (ia->write.in.size != ia->write.out.size) { in fuse_aio_complete_req()
688 pos = ia->write.in.offset - io->offset + in fuse_aio_complete_req()
689 ia->write.out.size; in fuse_aio_complete_req()
1012 ia->write.in.fh = ff->fh; in fuse_write_args_fill()
1013 ia->write.in.offset = pos; in fuse_write_args_fill()
1014 ia->write.in.size = count; in fuse_write_args_fill()
[all …]
/fs/ocfs2/
Ddlmglue.h128 int ocfs2_rw_lock(struct inode *inode, int write);
129 int ocfs2_try_rw_lock(struct inode *inode, int write);
130 void ocfs2_rw_unlock(struct inode *inode, int write);
132 int ocfs2_try_open_lock(struct inode *inode, int write);
/fs/ceph/
Dfile.c730 bool write; member
765 if (ret >= 0 && aio_req->write) { in ceph_aio_complete()
784 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete()
808 BUG_ON(!aio_req->write); in ceph_aio_complete_req()
819 } else if (!aio_req->write) { in ceph_aio_complete_req()
944 bool write = iov_iter_rw(iter) == WRITE; in ceph_direct_read_write() local
945 bool should_dirty = !write && iter_is_iovec(iter); in ceph_direct_read_write()
947 if (write && ceph_snap(file_inode(file)) != CEPH_NOSNAP) in ceph_direct_read_write()
951 (write ? "write" : "read"), file, pos, (unsigned)count, in ceph_direct_read_write()
954 if (write) { in ceph_direct_read_write()
[all …]
/fs/ufs/
DKconfig10 these partitions; if you also want to write to them, say Y to the
11 experimental "UFS file system write support", below. Please read the
32 bool "UFS file system write support (DANGEROUS)"
/fs/coda/
DKconfig10 disconnected operation (e.g. for laptops), read/write server
12 persistent client caches and write back caching.
/fs/fscache/
Dmain.c53 static int fscache_max_active_sysctl(struct ctl_table *table, int write, in fscache_max_active_sysctl() argument
61 ret = proc_dointvec(table, write, buffer, lenp, ppos); in fscache_max_active_sysctl()
/fs/btrfs/
DKconfig19 Btrfs is a general purpose copy-on-write filesystem with extents,
50 Adds code that examines all block write requests (including
62 to verify the integrity of (super)-block write requests
/fs/cifs/
Dcifs_debug.c587 .write = cifs_stats_proc_write,
616 .write = name##_write, \
750 .write = cifsFYI_proc_write,
781 .write = cifs_linux_ext_proc_write,
812 .write = cifs_lookup_cache_proc_write,
843 .write = traceSMB_proc_write,
954 .write = cifs_security_flags_proc_write,
/fs/kernfs/
Dfile.c314 if (ops->write) in kernfs_fop_write()
315 len = ops->write(of, buf, len, *ppos); in kernfs_fop_write()
393 void *buf, int len, int write) in kernfs_vma_access() argument
407 ret = of->vm_ops->access(vma, addr, buf, len, write); in kernfs_vma_access()
631 has_write = ops->write || ops->mmap; in kernfs_fop_open()
963 .write = kernfs_fop_write,
/fs/configfs/
Dfile.c411 if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->write) in __configfs_open_file()
482 buffer->bin_attr->write(buffer->item, in configfs_release_bin_file()
501 .write = configfs_write_file,
509 .write = configfs_write_bin_file,

1234