Home
last modified time | relevance | path

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

1234

/linux/fs/fuse/
H A Dreaddir.c445 unsigned int offset = offset_in_page(ff->readdir.cache_off); in fuse_parse_cache()
467 if (ff->readdir.pos == ctx->pos) { in fuse_parse_cache()
474 ff->readdir.pos = dirent->off; in fuse_parse_cache()
475 ff->readdir.cache_off += reclen; in fuse_parse_cache()
509 if (ff->readdir.pos != ctx->pos) { in fuse_readdir_cached()
510 ff->readdir.pos = 0; in fuse_readdir_cached()
511 ff->readdir.cache_off = 0; in fuse_readdir_cached()
558 if (ff->readdir.version != fi->rdc.version) { in fuse_readdir_cached()
559 ff->readdir.pos = 0; in fuse_readdir_cached()
560 ff->readdir.cache_off = 0; in fuse_readdir_cached()
[all …]
/linux/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.c178 while ((d = readdir(dir)) != NULL && !ret) { in rm_rf_depth_pat()
349 while ((d = readdir(dir)) != NULL) { in lsdir()
/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/orangefs/
H A Ddir.c76 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()
/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/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/overlayfs/
H A DMakefile8 overlay-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \
/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)
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/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/tools/testing/selftests/hid/
H A Dhid_common.h388 while ((dir = readdir(d)) != NULL) { in get_hid_id()
422 while ((dir = readdir(d)) != NULL) { in get_hidraw()
432 while ((subdir = readdir(subd)) != NULL) { in get_hidraw()
/linux/fs/nfsd/
H A Dnfs4xdr.c1433 struct nfsd4_readdir *readdir = &u->readdir; in nfsd4_decode_readdir() local
1436 memset(readdir, 0, sizeof(*readdir)); in nfsd4_decode_readdir()
1437 if (xdr_stream_decode_u64(argp->xdr, &readdir->rd_cookie) < 0) in nfsd4_decode_readdir()
1439 status = nfsd4_decode_verifier4(argp, &readdir->rd_verf); in nfsd4_decode_readdir()
1442 if (xdr_stream_decode_u32(argp->xdr, &readdir->rd_dircount) < 0) in nfsd4_decode_readdir()
1444 if (xdr_stream_decode_u32(argp->xdr, &readdir->rd_maxcount) < 0) in nfsd4_decode_readdir()
1446 if (xdr_stream_decode_uint32_array(argp->xdr, readdir->rd_bmval, in nfsd4_decode_readdir()
1447 ARRAY_SIZE(readdir->rd_bmval)) < 0) in nfsd4_decode_readdir()
4531 static void nfsd4_encode_entry4_nfs_cookie4(const struct nfsd4_readdir *readdir, in nfsd4_encode_entry4_nfs_cookie4() argument
4535 struct xdr_stream *xdr = readdir->xdr; in nfsd4_encode_entry4_nfs_cookie4()
[all …]
/linux/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c409 while ((de = readdir(d))) in count_open_fds()
509 while ((dir = readdir(d))) { in numer_of_heaps()
535 while ((dir = readdir(d))) { in main()
/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_test.c42 while ((dp = readdir(sysfs))) { in check_all_cpu_dscr_defaults()
/linux/tools/testing/selftests/kvm/include/
H A Dnumaif.h47 while ((de = readdir(d)) != NULL) { in get_max_numa_node()
/linux/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/tools/testing/selftests/memfd/
H A Dfuse_mnt.c103 .readdir = memfd_readdir,
/linux/scripts/dtc/
H A Dfstree.c24 while ((de = readdir(d)) != NULL) { in read_fstree()
/linux/tools/testing/selftests/powerpc/papr_attributes/
H A Dattr_test.c75 while ((entry = readdir(dirp)) != NULL) { in verify_energy_info()
/linux/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/tools/testing/selftests/filesystems/fuse/
H A Dfuse_mnt.c136 .readdir = test_readdir,
/linux/tools/testing/selftests/ir/
H A Dir_loopback.c84 while ((dent = readdir(d)) != NULL) { in lirc_open()

1234