Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 180) sorted by relevance

12345678

/fs/ceph/
Dmetric.c22 struct ceph_metric_read_latency *read; in ceph_mdsc_send_metrics() local
39 len = sizeof(*head) + sizeof(*cap) + sizeof(*read) + sizeof(*write) in ceph_mdsc_send_metrics()
65 read = (struct ceph_metric_read_latency *)(cap + 1); in ceph_mdsc_send_metrics()
66 read->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_READ_LATENCY); in ceph_mdsc_send_metrics()
67 read->header.ver = 2; in ceph_mdsc_send_metrics()
68 read->header.compat = 1; in ceph_mdsc_send_metrics()
69 read->header.data_len = cpu_to_le32(sizeof(*read) - header_len); in ceph_mdsc_send_metrics()
71 ktime_to_ceph_timespec(&read->lat, sum); in ceph_mdsc_send_metrics()
72 ktime_to_ceph_timespec(&read->avg, m->metric[METRIC_READ].latency_avg); in ceph_mdsc_send_metrics()
73 read->sq_sum = cpu_to_le64(m->metric[METRIC_READ].latency_sq_sum); in ceph_mdsc_send_metrics()
[all …]
/fs/debugfs/
Dfile.c42 .read = default_read_file,
239 FULL_PROXY_FUNC(read, ssize_t, filp,
297 if (real_fops->read) in __full_proxy_fops_init()
298 proxy_fops->read = full_proxy_read; in __full_proxy_fops_init()
836 .read = debugfs_read_file_bool,
843 .read = debugfs_read_file_bool,
919 .read = debugfs_read_file_str,
926 .read = debugfs_read_file_str,
984 .read = read_file_blob,
1082 .read = u32_array_read,
[all …]
/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/incfs/
Ddata_mgmt.c1006 static bool is_read_done(struct pending_read *read) in is_read_done() argument
1008 return atomic_read_acquire(&read->done) != 0; in is_read_done()
1011 static void set_read_done(struct pending_read *read) in set_read_done() argument
1013 atomic_set_release(&read->done, 1); in set_read_done()
1055 struct pending_read *read; in free_pending_read_entry() local
1057 read = container_of(entry, struct pending_read, rcu); in free_pending_read_entry()
1059 kfree(read); in free_pending_read_entry()
1063 static void remove_pending_read(struct data_file *df, struct pending_read *read) in remove_pending_read() argument
1067 if (!df || !read) { in remove_pending_read()
1069 WARN_ON(!read); in remove_pending_read()
[all …]
/fs/sysfs/
Dfile.c94 if (!battr->read) in sysfs_kf_bin_read()
97 return battr->read(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_read()
219 .read = sysfs_kf_read,
229 .read = sysfs_kf_read,
235 .read = sysfs_kf_bin_read,
243 .read = sysfs_kf_bin_read,
248 .read = sysfs_kf_bin_read,
315 else if (battr->read && battr->write) in sysfs_add_bin_file_mode_ns()
317 else if (battr->read) in sysfs_add_bin_file_mode_ns()
/fs/nfsd/
Dnfs4xdr.c1240 nfsd4_decode_read(struct nfsd4_compoundargs *argp, struct nfsd4_read *read) in nfsd4_decode_read() argument
1244 memset(read, 0, sizeof(*read)); in nfsd4_decode_read()
1245 status = nfsd4_decode_stateid4(argp, &read->rd_stateid); in nfsd4_decode_read()
1248 if (xdr_stream_decode_u64(argp->xdr, &read->rd_offset) < 0) in nfsd4_decode_read()
1250 if (xdr_stream_decode_u32(argp->xdr, &read->rd_length) < 0) in nfsd4_decode_read()
3935 struct nfsd4_read *read, in nfsd4_encode_splice_read() argument
3947 nfserr = nfsd_splice_read(read->rd_rqstp, read->rd_fhp, in nfsd4_encode_splice_read()
3948 file, read->rd_offset, &maxcount, in nfsd4_encode_splice_read()
3949 &read->rd_eof); in nfsd4_encode_splice_read()
3950 read->rd_length = maxcount; in nfsd4_encode_splice_read()
[all …]
Dnfs4proc.c917 struct nfsd4_read *read = &u->read; in nfsd4_read() local
920 read->rd_nf = NULL; in nfsd4_read()
923 read->rd_offset, read->rd_length); in nfsd4_read()
925 read->rd_length = min_t(u32, read->rd_length, svc_max_payload(rqstp)); in nfsd4_read()
926 if (read->rd_offset > (u64)OFFSET_MAX) in nfsd4_read()
927 read->rd_offset = (u64)OFFSET_MAX; in nfsd4_read()
928 if (read->rd_offset + read->rd_length > (u64)OFFSET_MAX) in nfsd4_read()
929 read->rd_length = (u64)OFFSET_MAX - read->rd_offset; in nfsd4_read()
944 &read->rd_stateid, RD_STATE, in nfsd4_read()
945 &read->rd_nf, NULL); in nfsd4_read()
[all …]
/fs/jffs2/
DREADME.Locking126 The latter function on NAND flash must read _obsolete_ nodes to
141 This read/write semaphore protects against concurrent access to the
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,
162 when updating such a object is necessary under holding read semaphore.
163 For example, do_jffs2_getxattr() holds read-semaphore to scan xref and
165 after release read-semaphore, if it's necessary to load name/value pair
/fs/proc/
Dbase.c389 .read = proc_pid_cmdline_read,
554 .read = seq_read,
803 .read = seq_read,
943 .read = mem_read,
1019 .read = environ_read,
1046 .read = auxv_read,
1205 .read = oom_adj_read,
1256 .read = oom_score_adj_read,
1324 .read = proc_loginuid_read,
1346 .read = proc_sessionid_read,
[all …]
Dinode.c312 typeof_member(struct proc_ops, proc_read) read; in pde_read()
314 read = pde->proc_ops->proc_read; in pde_read()
315 if (read) in pde_read()
316 return read(file, buf, count, ppos); in pde_read()
580 .read = proc_reg_read,
606 .read = proc_reg_read,
/fs/affs/
DChanges223 a dircache filesystem or one with errors read/write
234 bitmap pointers read only, also allows them
235 to be remounted read/write.
264 files can be read and written without opening
286 - The filesystem is remounted read-only after an
308 if the filesystem is mounted read-only.
316 - Fixed a nasty bug which didn't allow read-only
319 read only.
DKconfig8 if you want to be able to read and write files from and to an Amiga
10 read with this driver due to an incompatibility of the floppy
/fs/isofs/
DKconfig10 just listen to audio CDs and watch its LEDs, say Y (and read
28 want to be able to read Joliet CD-ROMs under Linux.
40 able to read such compressed CD-ROMs.
/fs/ufs/
DKconfig3 tristate "UFS file system support (read only)"
9 this file system as well. Saying Y here will allow you to read from
11 experimental "UFS file system write support", below. Please read the
/fs/hfs/
DKconfig8 floppy disks and hard drive partitions with full read-write access.
9 Please read <file:Documentation/filesystems/hfs.rst> to learn about
/fs/verity/
DKconfig4 bool "FS Verity (read-only file-based authenticity protection)"
20 will then transparently verify any data read from the file
21 against the Merkle tree. The file is also made read-only.
/fs/erofs/
DKconfig9 EROFS (Enhanced Read-Only File System) is a lightweight read-only
12 scenarios which need high-performance read-only solutions, e.g.
103 bool "EROFS fscache-based on-demand read support"
108 read support.
/fs/efs/
DKconfig3 tristate "EFS file system support (read only)"
10 This implementation only offers read-only access. If you don't know
/fs/hpfs/
DKconfig9 partitions. Say Y if you want to be able to read files from and
12 option in order to be able to read them. Read
/fs/coda/
DKconfig10 disconnected operation (e.g. for laptops), read/write server
17 no kernel support. Please read
/fs/adfs/
DKconfig9 here, Linux will be able to read from ADFS partitions on hard drives
14 /dev/[hs]d?1) on each of your drives. Please read the file
/fs/cachefiles/
DKconfig31 bool "Support for on-demand read"
35 This permits userspace to enable the cachefiles on-demand read mode.
/fs/pstore/
Dzone.c340 if (!info->read) in psz_kmsg_recover_data()
363 rcnt = info->read((char *)buf, zone->buffer_size + sizeof(*buf), in psz_kmsg_recover_data()
386 if (!info->read) in psz_kmsg_recover_meta()
396 rcnt = info->read((char *)buf, len, zone->off); in psz_kmsg_recover_meta()
498 if (unlikely(!info->read)) in psz_recover_zone()
502 rcnt = info->read((char *)&tmpbuf, len, zone->off); in psz_recover_zone()
544 rcnt = info->read(buf, len - start, off + start); in psz_recover_zone()
552 rcnt = info->read(buf + len - start, start, off); in psz_recover_zone()
1105 .read = psz_pstore_read,
1341 if (!info->read || !info->write) { in register_pstore_zone()
/fs/ocfs2/cluster/
Dnetdebug.c187 .read = seq_read,
419 .read = seq_read,
431 .read = seq_read,
481 .read = o2net_debug_read,
/fs/ntfs3/
DKconfig8 Y or M enables the NTFS3 driver with full features enabled (read,
31 If activated you will be able to read such files correctly.

12345678