Home
last modified time | relevance | path

Searched refs:readdir (Results 1 – 25 of 98) sorted by relevance

1234

/Linux-v5.15/fs/fuse/
Dreaddir.c384 unsigned int offset = ff->readdir.cache_off & ~PAGE_MASK; in fuse_parse_cache()
406 if (ff->readdir.pos == ctx->pos) { in fuse_parse_cache()
413 ff->readdir.pos = dirent->off; in fuse_parse_cache()
414 ff->readdir.cache_off += reclen; in fuse_parse_cache()
447 if (ff->readdir.pos != ctx->pos) { in fuse_readdir_cached()
448 ff->readdir.pos = 0; in fuse_readdir_cached()
449 ff->readdir.cache_off = 0; in fuse_readdir_cached()
492 if (ff->readdir.version != fi->rdc.version) { in fuse_readdir_cached()
493 ff->readdir.pos = 0; in fuse_readdir_cached()
494 ff->readdir.cache_off = 0; in fuse_readdir_cached()
[all …]
DMakefile10 fuse-y := dev.o dir.o file.o inode.o control.o xattr.o acl.o readdir.o ioctl.o
/Linux-v5.15/tools/iio/
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()
Diio_utils.c122 while (ent = readdir(dp), ent) in iioutils_get_type()
247 while (ent = readdir(dp), ent) in iioutils_get_param_float()
337 while (ent = readdir(dp), ent) in build_channel_array()
382 while (ent = readdir(dp), ent) { in build_channel_array()
583 while (ent = readdir(dp), ent) { in find_type_by_name()
/Linux-v5.15/fs/orangefs/
Ddir.c75 op->upcall.req.readdir.refn = oi->refn; in do_readdir()
76 op->upcall.req.readdir.token = od->token; in do_readdir()
77 op->upcall.req.readdir.max_dirent_count = in do_readdir()
87 op->upcall.req.readdir.buf_index = bufi; in do_readdir()
Dupcall.h239 struct orangefs_readdir_request_s readdir; member
/Linux-v5.15/fs/overlayfs/
DMakefile8 overlay-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \
/Linux-v5.15/tools/testing/selftests/proc/
Dproc.h48 de = readdir(d); in xreaddir()
Dproc-subset-pid.c87 while ((de = readdir(d))) { in main()
/Linux-v5.15/Documentation/filesystems/
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)
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.
471 the readdir buffer descriptor specified in the upcall.
[all …]
/Linux-v5.15/tools/perf/util/
Dutil.c170 while ((d = readdir(dir)) != NULL && !ret) { in rm_rf_depth_pat()
260 while ((d = readdir(dir)) != NULL) { in lsdir()
Dcpumap.c481 while ((dent1 = readdir(dir1)) != NULL) { in cpu__setup_cpunode_map()
494 while ((dent2 = readdir(dir2)) != NULL) { in cpu__setup_cpunode_map()
/Linux-v5.15/tools/testing/selftests/powerpc/dscr/
Ddscr_sysfs_test.c52 while ((dp = readdir(sysfs))) { in check_all_cpu_dscr_defaults()
/Linux-v5.15/scripts/dtc/
Dfstree.c24 while ((de = readdir(d)) != NULL) { in read_fstree()
/Linux-v5.15/tools/testing/selftests/memfd/
Dfuse_mnt.c103 .readdir = memfd_readdir,
/Linux-v5.15/fs/cifs/
DMakefile11 readdir.o ioctl.o sess.o export.o smb1ops.o unc.o winucase.o \
/Linux-v5.15/tools/power/acpi/os_specific/service_layers/
Dosunixdir.c99 while ((dir_entry = readdir(external_info->dir_ptr))) { in acpi_os_get_next_filename()
/Linux-v5.15/arch/um/os-Linux/
Duser_syms.c89 EXPORT_SYMBOL_PROTO(readdir);
/Linux-v5.15/tools/perf/arch/x86/util/
Dpmu.c91 while ((dent = readdir(dir))) { in setup_pmu_alias_list()
/Linux-v5.15/fs/nfsd/
Dnfs4xdr.c1252 nfsd4_decode_readdir(struct nfsd4_compoundargs *argp, struct nfsd4_readdir *readdir) in nfsd4_decode_readdir() argument
1256 if (xdr_stream_decode_u64(argp->xdr, &readdir->rd_cookie) < 0) in nfsd4_decode_readdir()
1258 status = nfsd4_decode_verifier4(argp, &readdir->rd_verf); in nfsd4_decode_readdir()
1261 if (xdr_stream_decode_u32(argp->xdr, &readdir->rd_dircount) < 0) in nfsd4_decode_readdir()
1263 if (xdr_stream_decode_u32(argp->xdr, &readdir->rd_maxcount) < 0) in nfsd4_decode_readdir()
1265 if (xdr_stream_decode_uint32_array(argp->xdr, readdir->rd_bmval, in nfsd4_decode_readdir()
1266 ARRAY_SIZE(readdir->rd_bmval)) < 0) in nfsd4_decode_readdir()
4072 nfsd4_encode_readdir(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_readdir *readdir) in nfsd4_encode_readdir() argument
4103 maxcount = min_t(u32, readdir->rd_maxcount, maxcount); in nfsd4_encode_readdir()
4116 if (!readdir->rd_dircount) in nfsd4_encode_readdir()
[all …]
Dxdr.h138 struct nfsd_readdirargs readdir; member
Dnfs4proc.c831 struct nfsd4_readdir *readdir = &u->readdir; in nfsd4_readdir() local
832 u64 cookie = readdir->rd_cookie; in nfsd4_readdir()
837 if (readdir->rd_bmval[1] & NFSD_WRITEONLY_ATTRS_WORD1) in nfsd4_readdir()
840 readdir->rd_bmval[0] &= nfsd_suppattrs[cstate->minorversion][0]; in nfsd4_readdir()
841 readdir->rd_bmval[1] &= nfsd_suppattrs[cstate->minorversion][1]; in nfsd4_readdir()
842 readdir->rd_bmval[2] &= nfsd_suppattrs[cstate->minorversion][2]; in nfsd4_readdir()
845 (cookie == 0 && memcmp(readdir->rd_verf.data, zeroverf.data, NFS4_VERIFIER_SIZE))) in nfsd4_readdir()
848 readdir->rd_rqstp = rqstp; in nfsd4_readdir()
849 readdir->rd_fhp = &cstate->current_fh; in nfsd4_readdir()
2743 rlen = min(op->u.readdir.rd_maxcount, maxcount); in nfsd4_readdir_rsize()
/Linux-v5.15/tools/testing/selftests/ir/
Dir_loopback.c75 while ((dent = readdir(d)) != NULL) { in lirc_open()
/Linux-v5.15/tools/gpio/
Dlsgpio.c209 while (ent = readdir(dp), ent) { in main()
/Linux-v5.15/arch/powerpc/kernel/syscalls/
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

1234