/fs/xfs/ |
D | xfs_sysctl.c | 15 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_deprecate_irix_sgid_inherit_proc_handler() argument 61 if (write) { in xfs_deprecate_irix_sgid_inherit_proc_handler() 66 return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_deprecate_irix_sgid_inherit_proc_handler() 72 int write, in xfs_deprecate_irix_symlink_mode_proc_handler() argument [all …]
|
D | xfs_pnfs.c | 82 bool write, in xfs_fs_map_blocks() argument 124 if (!write) in xfs_fs_map_blocks() 148 if (!error && write && in xfs_fs_map_blocks()
|
/fs/ceph/ |
D | metric.c | 17 struct ceph_metric_write_latency *write; in ceph_mdsc_send_metrics() local 27 len = sizeof(*head) + sizeof(*cap) + sizeof(*read) + sizeof(*write) in ceph_mdsc_send_metrics() 63 write = (struct ceph_metric_write_latency *)(read + 1); in ceph_mdsc_send_metrics() 64 write->type = cpu_to_le32(CLIENT_METRIC_TYPE_WRITE_LATENCY); in ceph_mdsc_send_metrics() 65 write->ver = 1; in ceph_mdsc_send_metrics() 66 write->compat = 1; in ceph_mdsc_send_metrics() 67 write->data_len = cpu_to_le32(sizeof(*write) - 10); in ceph_mdsc_send_metrics() 70 write->sec = cpu_to_le32(ts.tv_sec); in ceph_mdsc_send_metrics() 71 write->nsec = cpu_to_le32(ts.tv_nsec); in ceph_mdsc_send_metrics() 75 meta = (struct ceph_metric_metadata_latency *)(write + 1); in ceph_mdsc_send_metrics()
|
D | file.c | 997 bool write; member 1032 if (ret >= 0 && aio_req->write) { in ceph_aio_complete() 1051 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete() 1076 if (aio_req->write) in ceph_aio_complete_req() 1086 BUG_ON(!aio_req->write); in ceph_aio_complete_req() 1097 } else if (!aio_req->write) { in ceph_aio_complete_req() 1223 bool write = iov_iter_rw(iter) == WRITE; in ceph_direct_read_write() local 1224 bool should_dirty = !write && iter_is_iovec(iter); in ceph_direct_read_write() 1226 if (write && ceph_snap(file_inode(file)) != CEPH_NOSNAP) in ceph_direct_read_write() 1230 (write ? "write" : "read"), file, pos, (unsigned)count, in ceph_direct_read_write() [all …]
|
/fs/jffs2/ |
D | README.Locking | 16 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 …]
|
D | Kconfig | 33 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/sysfs/ |
D | file.c | 158 if (!battr->write) in sysfs_kf_bin_write() 161 return battr->write(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_write() 203 .write = sysfs_kf_write, 208 .write = sysfs_kf_write, 217 .write = sysfs_kf_write, 223 .write = sysfs_kf_write, 232 .write = sysfs_kf_bin_write, 237 .write = sysfs_kf_bin_write, 242 .write = sysfs_kf_bin_write, 289 else if (battr->read && battr->write) in sysfs_add_file_mode_ns() [all …]
|
/fs/ntfs/ |
D | Kconfig | 9 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/proc/ |
D | proc_net.c | 50 if (file->f_mode & FMODE_WRITE && !PDE(inode)->write) in seq_open_net() 149 proc_write_t write, in proc_create_net_data_write() argument 161 p->write = write; in proc_create_net_data_write() 241 proc_write_t write, in proc_create_net_single_write() argument 252 p->write = write; in proc_create_net_single_write()
|
D | inode.c | 341 typeof_member(struct proc_ops, proc_write) write; in pde_write() 343 write = pde->proc_ops->proc_write; in pde_write() 344 if (write) in pde_write() 345 return write(file, buf, count, ppos); in pde_write() 587 .write = proc_reg_write, 599 .write = proc_reg_write, 613 .write = proc_reg_write, 627 .write = proc_reg_write,
|
D | base.c | 543 .write = lstats_write, 837 size_t count, loff_t *ppos, int write) in mem_rw() argument 856 flags = FOLL_FORCE | (write ? FOLL_WRITE : 0); in mem_rw() 861 if (write && copy_from_user(page, buf, this_len)) { in mem_rw() 873 if (!write && copy_to_user(buf, page, this_len)) { in mem_rw() 930 .write = mem_write, 1192 .write = oom_adj_write, 1243 .write = oom_score_adj_write, 1311 .write = proc_loginuid_write, 1388 .write = proc_fault_inject_write, [all …]
|
/fs/adfs/ |
D | Kconfig | 11 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/ |
D | Kconfig | 46 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/ |
D | drop_caches.c | 50 int drop_caches_sysctl_handler(struct ctl_table *table, int write, in drop_caches_sysctl_handler() argument 55 ret = proc_dointvec_minmax(table, write, buffer, length, ppos); in drop_caches_sysctl_handler() 58 if (write) { in drop_caches_sysctl_handler()
|
D | file_table.c | 82 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 206 likely(fop->write || fop->write_iter)) in alloc_file()
|
D | dax.c | 1273 bool write = vmf->flags & FAULT_FLAG_WRITE; in dax_iomap_pte_fault() local 1290 if (write && !vmf->cow_page) in dax_iomap_pte_fault() 1369 0, write && !sync); in dax_iomap_pte_fault() 1387 if (write) in dax_iomap_pte_fault() 1395 if (!write) { in dax_iomap_pte_fault() 1489 bool write = vmf->flags & FAULT_FLAG_WRITE; in dax_iomap_pmd_fault() local 1491 unsigned int iomap_flags = (write ? IOMAP_WRITE : 0) | IOMAP_FAULT; in dax_iomap_pmd_fault() 1522 if (write && !(vma->vm_flags & VM_SHARED)) in dax_iomap_pmd_fault() 1587 DAX_PMD, write && !sync); in dax_iomap_pmd_fault() 1604 result = vmf_insert_pfn_pmd(vmf, pfn, write); in dax_iomap_pmd_fault() [all …]
|
/fs/fuse/ |
D | file.c | 407 curr_index = wpa->ia.write.in.offset >> PAGE_SHIFT; in fuse_find_writeback() 636 if (io->bytes >= 0 && io->write) in fuse_get_res_by_io() 727 } else if (io->write) { in fuse_aio_complete_req() 728 if (ia->write.out.size > ia->write.in.size) { in fuse_aio_complete_req() 730 } else if (ia->write.in.size != ia->write.out.size) { in fuse_aio_complete_req() 731 pos = ia->write.in.offset - io->offset + in fuse_aio_complete_req() 732 ia->write.out.size; in fuse_aio_complete_req() 1024 ia->write.in.fh = ff->fh; in fuse_write_args_fill() 1025 ia->write.in.offset = pos; in fuse_write_args_fill() 1026 ia->write.in.size = count; in fuse_write_args_fill() [all …]
|
/fs/ocfs2/ |
D | dlmglue.h | 128 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/pstore/ |
D | ftrace.c | 49 psinfo->write(&record); in pstore_ftrace_call() 109 .write = pstore_ftrace_knob_write, 116 if (!psinfo->write) in pstore_register_ftrace()
|
D | platform.c | 458 ret = psinfo->write(&record); in pstore_dump() 501 psinfo->write(&record); in pstore_console_write() 505 .write = pstore_console_write, 545 ret = record->psi->write(record); in pstore_write_user_compat() 578 if (!psi->read || !psi->write) { in pstore_register()
|
D | blk.c | 118 if (!dev || !dev->total_size || !dev->read || !dev->write) in __register_pstore_device() 152 pstore_zone_info->write = dev->write; in __register_pstore_device() 402 dev.write = psblk_generic_blk_write; in __register_pstore_blk()
|
/fs/ext2/ |
D | file.c | 96 bool write = (vmf->flags & FAULT_FLAG_WRITE) && in ext2_dax_fault() local 99 if (write) { in ext2_dax_fault() 108 if (write) in ext2_dax_fault()
|
/fs/ufs/ |
D | Kconfig | 10 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/ |
D | Kconfig | 10 disconnected operation (e.g. for laptops), read/write server 12 persistent client caches and write back caching.
|
/fs/btrfs/ |
D | Kconfig | 25 Btrfs is a general purpose copy-on-write filesystem with extents, 56 Adds code that examines all block write requests (including 68 to verify the integrity of (super)-block write requests
|