Home
last modified time | relevance | path

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

12345

/linux-6.15/fs/fuse/
H A Dreaddir.c419 if (ff->readdir.pos == ctx->pos) { in fuse_parse_cache()
426 ff->readdir.pos = dirent->off; in fuse_parse_cache()
427 ff->readdir.cache_off += reclen; in fuse_parse_cache()
460 if (ff->readdir.pos != ctx->pos) { in fuse_readdir_cached()
461 ff->readdir.pos = 0; in fuse_readdir_cached()
462 ff->readdir.cache_off = 0; in fuse_readdir_cached()
508 ff->readdir.pos = 0; in fuse_readdir_cached()
509 ff->readdir.cache_off = 0; in fuse_readdir_cached()
515 if (ff->readdir.pos == 0) in fuse_readdir_cached()
516 ff->readdir.version = fi->rdc.version; in fuse_readdir_cached()
[all …]
H A DMakefile13 fuse-y := dev.o dir.o file.o inode.o control.o xattr.o acl.o readdir.o ioctl.o
/linux-6.15/tools/perf/util/
H A Dtracepoint.h12 while ((evt_dirent = readdir(evt_dir)) != NULL) \
19 while ((sys_dirent = readdir(sys_dir)) != NULL) \
H A Dutil.c179 while ((d = readdir(dir)) != NULL && !ret) { in rm_rf_depth_pat()
302 while ((d = readdir(dir)) != NULL) { in lsdir()
/linux-6.15/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-6.15/fs/orangefs/
H A 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()
/linux-6.15/tools/perf/arch/arm/util/
H A Dauxtrace.c73 while ((dent = readdir(dir))) { in find_all_hisi_ptt_pmus()
89 while ((dent = readdir(dir))) { in find_all_hisi_ptt_pmus()
/linux-6.15/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-6.15/fs/overlayfs/
H A DMakefile8 overlay-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \
/linux-6.15/tools/testing/selftests/proc/
H A Dproc.h48 de = readdir(d); in xreaddir()
H A Dproc-tid0.c68 while ((de = readdir(d))) { in main()
H A Dproc-subset-pid.c87 while ((de = readdir(d))) { in main()
/linux-6.15/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)
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-6.15/tools/testing/selftests/hid/
H A Dhid_common.h359 while ((dir = readdir(d)) != NULL) { in get_hid_id()
393 while ((dir = readdir(d)) != NULL) { in get_hidraw()
403 while ((subdir = readdir(subd)) != NULL) { in get_hidraw()
/linux-6.15/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_test.c42 while ((dp = readdir(sysfs))) { in check_all_cpu_dscr_defaults()
/linux-6.15/fs/nfsd/
H A Dnfs4xdr.c1290 struct nfsd4_readdir *readdir = &u->readdir; in nfsd4_decode_readdir() local
1293 memset(readdir, 0, sizeof(*readdir)); in nfsd4_decode_readdir()
3791 if (!readdir->cookie_offset) in nfsd4_encode_entry4_nfs_cookie4()
4606 if (!readdir->rd_dircount) in nfsd4_encode_dirlist4()
4610 readdir->xdr = xdr; in nfsd4_encode_dirlist4()
4611 readdir->rd_maxcount = maxcount; in nfsd4_encode_dirlist4()
4612 readdir->common.err = 0; in nfsd4_encode_dirlist4()
4613 readdir->cookie_offset = 0; in nfsd4_encode_dirlist4()
4614 offset = readdir->rd_cookie; in nfsd4_encode_dirlist4()
4615 status = nfsd_readdir(readdir->rd_rqstp, readdir->rd_fhp, &offset, in nfsd4_encode_dirlist4()
[all …]
/linux-6.15/tools/testing/selftests/memfd/
H A Dfuse_mnt.c103 .readdir = memfd_readdir,
/linux-6.15/scripts/dtc/
H A Dfstree.c24 while ((de = readdir(d)) != NULL) { in read_fstree()
/linux-6.15/tools/testing/selftests/powerpc/papr_attributes/
H A Dattr_test.c75 while ((entry = readdir(dirp)) != NULL) { in verify_energy_info()
/linux-6.15/tools/perf/ui/browsers/
H A Dscripts.c195 while ((lang_dirent = readdir(scripts_dir)) != NULL) { in find_scripts()
220 while ((script_dirent = readdir(lang_dir)) != NULL) { in find_scripts()
/linux-6.15/tools/power/acpi/os_specific/service_layers/
H A Dosunixdir.c99 while ((dir_entry = readdir(external_info->dir_ptr))) { in acpi_os_get_next_filename()
/linux-6.15/fs/smb/client/
H A DMakefile11 readdir.o ioctl.o sess.o export.o unc.o winucase.o \
/linux-6.15/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c399 while ((dir = readdir(d))) { in numer_of_heaps()
425 while ((dir = readdir(d))) { in main()
/linux-6.15/tools/perf/tests/
H A Dpmu.c319 while ((pmu_dent = readdir(pmu_dir))) { in test__pmu_event_names()
340 while ((event_dent = readdir(event_dir))) { in test__pmu_event_names()

12345