Home
last modified time | relevance | path

Searched full:readdir (Results 1 – 25 of 139) sorted by relevance

123456

/linux/Documentation/filesystems/
H A Dorangefs.rst250 mlocked memory buffers, one is used for IO and one is used for readdir
251 operations. The IO buffer is 41943040 bytes and the readdir buffer is
304 int array used to indicate which of the readdir buffer's partitions are
340 filesystem operation on Orangefs (readdir, I/O, create, whatever)
389 Readdir and I/O ops are atypical with respect to their payloads.
391 - readdir ops use the smaller of the two pre-allocated pre-partitioned
392 memory buffers. The readdir buffer is only available to userspace.
394 a readdir op. Userspace deposits the results into the indexed partition
418 - 0 unless readdir operation.
420 - initialized to NULL, used during readdir operations.
[all …]
H A Dconfigfs.rst24 readdir(3)/read(2). It may allow some attributes to be modified via
32 As with sysfs, readdir(3) queries the list of items and/or attributes.
55 appear at this time. readdir(3) can determine what the attributes are,
93 readdir(3) sees this just fine::
H A Doverlayfs.rst104 valid d_type in readdir responses, so NFS is not suitable.
164 on all entries during readdir in the common case.
166 readdir chapter
169 When a 'readdir' request is made on a merged directory, the upper and
176 directory (offset 0) followed by a readdir will cause the cache to be
195 Readdir on directories that are not merged is simply handled by the
644 value of d_ino returned by readdir(3) will act like on a normal filesystem.
/linux/fs/orangefs/
H A Ddir.c70 * Despite the badly named field, readdir does not use shared in do_readdir()
71 * memory. However, there are a limited number of readdir in do_readdir()
76 op->upcall.req.readdir.refn = oi->refn; in do_readdir()
77 op->upcall.req.readdir.token = od->token; in do_readdir()
78 op->upcall.req.readdir.max_dirent_count = in do_readdir()
88 op->upcall.req.readdir.buf_index = bufi; in do_readdir()
H A Ddowncall.h103 /* currently trailer is used only by readdir */
126 * The readdir response comes in the trailer. It is followed by the
/linux/tools/perf/util/
H A Dtracepoint.h12 while ((evt_dirent = readdir(evt_dir)) != NULL) \
19 while ((sys_dirent = readdir(sys_dir)) != NULL) \
/linux/tools/iio/
H A Dlsiio.c49 while (ent = readdir(dp), ent) in dump_channels()
113 while (ent = readdir(dp), ent) { in dump_devices()
135 while (ent = readdir(dp), ent) { in dump_devices()
H A Diio_utils.c122 while (ent = readdir(dp), ent) in iioutils_get_type()
247 while (ent = readdir(dp), ent) in iioutils_get_param_float()
338 while (ent = readdir(dp), ent) in build_channel_array()
380 while (ent = readdir(dp), ent) { in build_channel_array()
576 while (ent = readdir(dp), ent) { in find_type_by_name()
/linux/fs/9p/
H A Dvfs_dir.c27 * struct p9_rdir - readdir accounting
33 * private structure for keeping track of readdir
64 * v9fs_alloc_rdir_buf - Allocate buffer used for read and readdir
/linux/fs/ceph/
H A Ddir.c15 * Directory operations: readdir, lookup, create, link, unlink,
60 * for f_pos for readdir:
176 * When possible, we try to satisfy a readdir by peeking at the
179 * falling back to a "normal" sync readdir if any dentries in the dir
383 /* proceed with a normal readdir */ in ceph_readdir()
441 req->r_args.readdir.offset_hash = in ceph_readdir()
449 req->r_args.readdir.frag = cpu_to_le32(frag); in ceph_readdir()
450 req->r_args.readdir.flags = in ceph_readdir()
461 doutc(cl, "%p %llx.%llx got and parsed readdir result=%d" in ceph_readdir()
490 /* note dir version at start of readdir so in ceph_readdir()
[all …]
H A Dsuper.h37 #define CEPH_MOUNT_OPT_NOASYNCREADDIR (1<<7) /* no dcache readdir */
39 #define CEPH_MOUNT_OPT_DCACHE (1<<9) /* use dcache for readdir etc */
89 unsigned int max_readdir; /* max readdir result (entries) */
90 unsigned int max_readdir_bytes; /* max readdir result (bytes) */
733 * Makes sure operations that setup readdir cache (update page
874 * we keep buffered readdir results attached to file->private_data
892 /* readdir: position within the dir */
896 /* readdir: position within a frag */
H A Dmds_client.h189 * and directory contents (for readdir results), or
210 /* for readdir results */
357 #define CEPH_MDS_R_DID_PREPOPULATE (6) /* prepopulated readdir */
/linux/fs/nfsd/
H A Dnfs4xdr.c1414 struct nfsd4_readdir *readdir = &u->readdir; in nfsd4_decode_readdir() local
1417 memset(readdir, 0, sizeof(*readdir)); in nfsd4_decode_readdir()
1418 if (xdr_stream_decode_u64(argp->xdr, &readdir->rd_cookie) < 0) in nfsd4_decode_readdir()
1420 status = nfsd4_decode_verifier4(argp, &readdir->rd_verf); in nfsd4_decode_readdir()
1423 if (xdr_stream_decode_u32(argp->xdr, &readdir->rd_dircount) < 0) in nfsd4_decode_readdir()
1425 if (xdr_stream_decode_u32(argp->xdr, &readdir->rd_maxcount) < 0) in nfsd4_decode_readdir()
1427 if (xdr_stream_decode_uint32_array(argp->xdr, readdir->rd_bmval, in nfsd4_decode_readdir()
1428 ARRAY_SIZE(readdir in nfsd4_decode_readdir()
4136 nfsd4_encode_entry4_nfs_cookie4(const struct nfsd4_readdir * readdir,u64 offset) nfsd4_encode_entry4_nfs_cookie4() argument
4944 nfsd4_encode_dirlist4(struct xdr_stream * xdr,struct nfsd4_readdir * readdir,u32 max_payload) nfsd4_encode_dirlist4() argument
5007 struct nfsd4_readdir *readdir = &u->readdir; nfsd4_encode_readdir() local
[all...]
H A Dvfs.h34 #define NFSD_MAY_64BIT_COOKIE 0x1000 /* 64 bit readdir cookies for >= NFSv3 */
44 * Callback function for readdir
/linux/tools/perf/arch/arm/util/
H A Dauxtrace.c74 while ((dent = readdir(dir))) { in find_all_hisi_ptt_pmus()
90 while ((dent = readdir(dir))) { in find_all_hisi_ptt_pmus()
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl124 89 32 readdir sys_old_readdir compat_sys_old_readdir
125 89 64 readdir sys_ni_syscall
126 89 spu readdir sys_ni_syscall
/linux/fs/overlayfs/
H A DMakefile8 overlay-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \
/linux/tools/bpf/bpftool/
H A Dperf.c166 while ((proc_de = readdir(proc))) { in show_proc()
186 while ((pid_fd_de = readdir(pid_fd))) { in show_proc()
/linux/fs/fuse/
H A DMakefile14 fuse-y += dev.o dir.o file.o inode.o control.o xattr.o acl.o readdir.o ioctl.o req_timeout.o req.o
/linux/tools/testing/selftests/proc/
H A Dproc.h48 de = readdir(d); in xreaddir()
H A Dproc-tid0.c68 while ((de = readdir(d))) { in main()
/linux/fs/nfs/
H A Dnfs3proc.c666 * The READDIR implementation is somewhat hackish - we pass the user buffer
671 * Also note that this implementation handles both plain readdir and
702 dprintk("NFS call readdir%s %llu\n", nr_arg->plus ? "plus" : "", in nfs3_proc_readdir()
716 dprintk("NFS reply readdir%s: %d\n", nr_arg->plus ? "plus" : "", in nfs3_proc_readdir()
1104 .readdir = nfs3_proc_readdir,
/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_test.c42 while ((dp = readdir(sysfs))) { in check_all_cpu_dscr_defaults()
/linux/scripts/dtc/
H A Dfstree.c24 while ((de = readdir(d)) != NULL) { in read_fstree()
/linux/tools/testing/selftests/hid/
H A Dhid_common.h365 while ((dir = readdir(d)) != NULL) { in get_hid_id()
399 while ((dir = readdir(d)) != NULL) { in get_hidraw()
409 while ((subdir = readdir(subd)) != NULL) { in get_hidraw()

123456