Home
last modified time | relevance | path

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

1234567

/fs/ceph/
Dmetric.c16 struct ceph_metric_read_latency *read; in ceph_mdsc_send_metrics() local
27 len = sizeof(*head) + sizeof(*cap) + sizeof(*read) + sizeof(*write) in ceph_mdsc_send_metrics()
51 read = (struct ceph_metric_read_latency *)(cap + 1); in ceph_mdsc_send_metrics()
52 read->type = cpu_to_le32(CLIENT_METRIC_TYPE_READ_LATENCY); in ceph_mdsc_send_metrics()
53 read->ver = 1; in ceph_mdsc_send_metrics()
54 read->compat = 1; in ceph_mdsc_send_metrics()
55 read->data_len = cpu_to_le32(sizeof(*read) - 10); in ceph_mdsc_send_metrics()
58 read->sec = cpu_to_le32(ts.tv_sec); in ceph_mdsc_send_metrics()
59 read->nsec = cpu_to_le32(ts.tv_nsec); in ceph_mdsc_send_metrics()
63 write = (struct ceph_metric_write_latency *)(read + 1); in ceph_mdsc_send_metrics()
/fs/pstore/
Dblk.c118 if (!dev || !dev->total_size || !dev->read || !dev->write) in __register_pstore_device()
151 pstore_zone_info->read = dev->read; in __register_pstore_device()
189 if (pstore_zone_info && pstore_zone_info->read == dev->read) { in __unregister_pstore_device()
401 dev.read = psblk_generic_blk_read; in __register_pstore_blk()
445 struct pstore_device_info dev = { .read = psblk_generic_blk_read }; in __unregister_pstore_blk()
507 dev.read = pstore_zone_info->read; in pstore_blk_exit()
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,
1337 if (!info->read || !info->write) { in register_pstore_zone()
/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()
847 .read = debugfs_read_file_bool,
854 .read = debugfs_read_file_bool,
913 .read = read_file_blob,
1010 .read = u32_array_read,
1098 .read = seq_read,
1129 int (*read)(struct seq_file *seq, void *data); member
[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/sysfs/
Dfile.c97 if (!battr->read) in sysfs_kf_bin_read()
100 return battr->read(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_read()
212 .read = sysfs_kf_read,
222 .read = sysfs_kf_read,
228 .read = sysfs_kf_bin_read,
236 .read = sysfs_kf_bin_read,
241 .read = sysfs_kf_bin_read,
289 else if (battr->read && battr->write) in sysfs_add_file_mode_ns()
291 else if (battr->read) in sysfs_add_file_mode_ns()
/fs/incfs/
Ddata_mgmt.c1004 static bool is_read_done(struct pending_read *read) in is_read_done() argument
1006 return atomic_read_acquire(&read->done) != 0; in is_read_done()
1009 static void set_read_done(struct pending_read *read) in set_read_done() argument
1011 atomic_set_release(&read->done, 1); in set_read_done()
1053 struct pending_read *read; in free_pending_read_entry() local
1055 read = container_of(entry, struct pending_read, rcu); in free_pending_read_entry()
1057 kfree(read); in free_pending_read_entry()
1061 static void remove_pending_read(struct data_file *df, struct pending_read *read) in remove_pending_read() argument
1065 if (!df || !read) { in remove_pending_read()
1067 WARN_ON(!read); in remove_pending_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
Dreadinode.c587 struct jffs2_raw_dirent *rd, size_t read, in read_direntry() argument
651 if (read > sizeof(*rd)) in read_direntry()
653 min_t(uint32_t, rd->nsize, (read - sizeof(*rd)) )); in read_direntry()
656 if (rd->nsize + sizeof(*rd) > read) { in read_direntry()
659 int already = read - sizeof(*rd); in read_direntry()
661 err = jffs2_flash_read(c, (ref_offset(ref)) + read, in read_direntry()
662 rd->nsize - already, &read, &fd->name[already]); in read_direntry()
663 if (unlikely(read != rd->nsize - already) && likely(!err)) { in read_direntry()
666 rd->nsize - already, read); in read_direntry()
/fs/nfsd/
Dnfs4xdr.c1121 nfsd4_decode_read(struct nfsd4_compoundargs *argp, struct nfsd4_read *read) in nfsd4_decode_read() argument
1125 status = nfsd4_decode_stateid(argp, &read->rd_stateid); in nfsd4_decode_read()
1129 p = xdr_decode_hyper(p, &read->rd_offset); in nfsd4_decode_read()
1130 read->rd_length = be32_to_cpup(p++); in nfsd4_decode_read()
3768 struct nfsd4_read *read, in nfsd4_encode_splice_read() argument
3782 nfserr = nfsd_splice_read(read->rd_rqstp, read->rd_fhp, in nfsd4_encode_splice_read()
3783 file, read->rd_offset, &maxcount, &eof); in nfsd4_encode_splice_read()
3784 read->rd_length = maxcount; in nfsd4_encode_splice_read()
3826 struct nfsd4_read *read, in nfsd4_encode_readv() argument
3836 read->rd_vlen = xdr_reserve_space_vec(xdr, resp->rqstp->rq_vec, maxcount); in nfsd4_encode_readv()
[all …]
Dnfs4proc.c771 struct nfsd4_read *read = &u->read; in nfsd4_read() local
774 read->rd_nf = NULL; in nfsd4_read()
775 if (read->rd_offset >= OFFSET_MAX) in nfsd4_read()
779 read->rd_offset, read->rd_length); in nfsd4_read()
794 &read->rd_stateid, RD_STATE, in nfsd4_read()
795 &read->rd_nf, NULL); in nfsd4_read()
802 read->rd_rqstp = rqstp; in nfsd4_read()
803 read->rd_fhp = &cstate->current_fh; in nfsd4_read()
811 if (u->read.rd_nf) in nfsd4_read_release()
812 nfsd_file_put(u->read.rd_nf); in nfsd4_read_release()
[all …]
/fs/proc/
Dbase.c377 .read = proc_pid_cmdline_read,
542 .read = seq_read,
789 .read = seq_read,
929 .read = mem_read,
1005 .read = environ_read,
1032 .read = auxv_read,
1191 .read = oom_adj_read,
1242 .read = oom_score_adj_read,
1310 .read = proc_loginuid_read,
1332 .read = proc_sessionid_read,
[all …]
Dinode.c317 typeof_member(struct proc_ops, proc_read) read; in pde_read()
319 read = pde->proc_ops->proc_read; in pde_read()
320 if (read) in pde_read()
321 return read(file, buf, count, ppos); in pde_read()
586 .read = proc_reg_read,
612 .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/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/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/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/efs/
DKconfig3 tristate "EFS file system support (read only)"
10 This implementation only offers read-only access. If you don't know
/fs/configfs/
Dfile.c164 len = buffer->bin_attr->read(buffer->item, NULL, 0); in configfs_read_bin_file()
189 len = buffer->bin_attr->read(buffer->item, in configfs_read_bin_file()
424 if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->read) in __configfs_open_file()
498 .read = configfs_read_file,
506 .read = configfs_read_bin_file,
/fs/verity/
DKconfig4 bool "FS Verity (read-only file-based authenticity protection)"
19 transparently verify any data read from the file against the
20 Merkle tree. The file is also made read-only.
/fs/hpfs/
DKconfig8 partitions. Say Y if you want to be able to read files from and
11 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/ocfs2/cluster/
Dnetdebug.c189 .read = seq_read,
421 .read = seq_read,
433 .read = seq_read,
483 .read = o2net_debug_read,

1234567