| /linux/fs/fuse/ |
| H A D | readdir.c | 445 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 D | tracepoint.h | 12 while ((evt_dirent = readdir(evt_dir)) != NULL) \ 19 while ((sys_dirent = readdir(sys_dir)) != NULL) \
|
| H A D | util.c | 178 while ((d = readdir(dir)) != NULL && !ret) { in rm_rf_depth_pat() 349 while ((d = readdir(dir)) != NULL) { in lsdir()
|
| /linux/tools/iio/ |
| H A D | lsiio.c | 49 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 D | iio_utils.c | 122 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 D | dir.c | 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()
|
| /linux/tools/perf/arch/arm/util/ |
| H A D | auxtrace.c | 74 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 D | perf.c | 166 while ((proc_de = readdir(proc))) { in show_proc() 186 while ((pid_fd_de = readdir(pid_fd))) { in show_proc()
|
| /linux/fs/overlayfs/ |
| H A D | Makefile | 8 overlay-objs := super.o namei.o util.o inode.o file.o dir.o readdir.o \
|
| /linux/Documentation/filesystems/ |
| H A D | orangefs.rst | 250 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 D | proc.h | 48 de = readdir(d); in xreaddir()
|
| H A D | proc-tid0.c | 68 while ((de = readdir(d))) { in main()
|
| H A D | proc-subset-pid.c | 87 while ((de = readdir(d))) { in main()
|
| /linux/tools/testing/selftests/hid/ |
| H A D | hid_common.h | 388 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 D | nfs4xdr.c | 1433 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 D | dmabuf-heap.c | 409 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 D | dscr_sysfs_test.c | 42 while ((dp = readdir(sysfs))) { in check_all_cpu_dscr_defaults()
|
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | numaif.h | 47 while ((de = readdir(d)) != NULL) { in get_max_numa_node()
|
| /linux/tools/perf/ui/browsers/ |
| H A D | scripts.c | 195 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 D | fuse_mnt.c | 103 .readdir = memfd_readdir,
|
| /linux/scripts/dtc/ |
| H A D | fstree.c | 24 while ((de = readdir(d)) != NULL) { in read_fstree()
|
| /linux/tools/testing/selftests/powerpc/papr_attributes/ |
| H A D | attr_test.c | 75 while ((entry = readdir(dirp)) != NULL) { in verify_energy_info()
|
| /linux/tools/power/acpi/os_specific/service_layers/ |
| H A D | osunixdir.c | 99 while ((dir_entry = readdir(external_info->dir_ptr))) { in acpi_os_get_next_filename()
|
| /linux/tools/testing/selftests/filesystems/fuse/ |
| H A D | fuse_mnt.c | 136 .readdir = test_readdir,
|
| /linux/tools/testing/selftests/ir/ |
| H A D | ir_loopback.c | 84 while ((dent = readdir(d)) != NULL) { in lirc_open()
|