Home
last modified time | relevance | path

Searched refs:fgets (Results 1 – 25 of 84) sorted by relevance

1234

/Linux-v6.6/tools/testing/selftests/mm/
Dcompaction_test.c35 if (!(fgets(buffer, sizeof(buffer), cmdfile))) { in read_memory_info()
46 if (!(fgets(buffer, sizeof(buffer), cmdfile))) { in read_memory_info()
/Linux-v6.6/tools/testing/selftests/bpf/
Dunpriv_helpers.c18 disabled = (fgets(buf, 2, fd) == buf && atoi(buf)); in get_unpriv_disabled()
/Linux-v6.6/tools/hv/
Dhv_kvp_daemon.c444 while (fgets(buf, sizeof(buf), file)) { in kvp_get_os_info()
506 p = fgets(buf, sizeof(buf), file); in kvp_get_os_info()
517 p = fgets(buf, sizeof(buf), file); in kvp_get_os_info()
528 p = fgets(buf, sizeof(buf), file); in kvp_get_os_info()
580 p = fgets(buf, sizeof(buf), file); in kvp_get_if_name()
623 p = fgets(buf, sizeof(buf), file); in kvp_if_name_to_mac()
655 while ((p = fgets(buf, sizeof(buf), file)) != NULL) { in kvp_process_ipconfig_file()
740 p = fgets(dhcp_info, sizeof(dhcp_info), file); in kvp_get_ipconfig_info()
973 p = fgets(buf, sizeof(buf), file); in kvp_mac_to_ip()
/Linux-v6.6/tools/perf/util/
Dfind-map.c14 while (!found && fgets(line, sizeof(line), maps)) { in find_map()
/Linux-v6.6/drivers/gpu/drm/radeon/
Dmkregtable.c219 if (fgets(buf, 1024, file) == NULL) { in parser_auth()
231 if (fgets(buf, 1024, file) == NULL) { in parser_auth()
/Linux-v6.6/tools/testing/selftests/resctrl/
Dresctrlfs.c24 if (!fgets(line, 256, mounts)) in find_resctrl_mount()
594 if (!fgets(line, 256, inf)) in fgrep()
697 while (fgets(line, 1024, fp)) { in filter_dmesg()
Dcmt_test.c45 while (fgets(temp, sizeof(temp), fp)) { in check_results()
Dmbm_test.c68 while (fgets(temp, sizeof(temp), fp)) { in check_results()
Dmba_test.c118 while (fgets(temp, sizeof(temp), fp)) { in check_results()
Dcat_test.c59 while (fgets(temp, sizeof(temp), fp)) { in check_results()
/Linux-v6.6/drivers/zorro/
Dgen-devlist.c45 while (fgets(line, sizeof(line)-1, stdin)) { in main()
/Linux-v6.6/tools/testing/selftests/prctl/
Dset-anon-vma-name-test.c56 while (fgets(line_buf, sizeof(line_buf), maps_file)) { in was_renaming_successful()
/Linux-v6.6/drivers/accessibility/speakup/
Dmakemapdata.c23 while (fgets(buffer, sizeof(buffer)-1, infile)) { in get_define()
Dgenmap.c74 while (fgets(buffer, sizeof(buffer), infile)) { in main()
/Linux-v6.6/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c83 while (fgets(line, sizeof(line), f) != NULL) { in get_proc_frequency()
/Linux-v6.6/tools/testing/selftests/powerpc/signal/
Dsigreturn_vdso.c40 while (fgets(buf, sizeof(buf), f)) { in search_proc_maps()
/Linux-v6.6/tools/perf/arch/arm64/util/
Dheader.c43 if (!fgets(buf, MIDR_SIZE, file)) { in _get_cpuid()
/Linux-v6.6/tools/testing/selftests/timens/
Dprocfs.c105 while (fgets(line_buf, 2048, proc)) { in read_proc_stat_btime()
/Linux-v6.6/drivers/scsi/aic7xxx/aicasm/
Daicasm.c610 fgets(buf, sizeof(buf), ifile); in output_listing()
632 fgets(buf, sizeof(buf), ifile); in output_listing()
641 while(fgets(buf, sizeof(buf), ifile) != NULL) in output_listing()
/Linux-v6.6/tools/perf/arch/x86/util/
Dpmu.c105 if (!fgets(buf, sizeof(buf), file)) { in setup_pmu_alias_list()
/Linux-v6.6/tools/bpf/bpftool/
Dmain.c357 while (fgets(buf, sizeof(buf), fp)) { in do_batch()
371 if (!fgets(contline, sizeof(contline), fp) || in do_batch()
/Linux-v6.6/tools/testing/selftests/powerpc/mm/
Dstack_expansion_ldst.c89 while (fgets(buf, sizeof(buf), f)) { in search_proc_maps()
/Linux-v6.6/tools/power/cpupower/utils/helpers/
Dcpuid.c67 if (!fgets(value, 64, fp)) in get_cpu_info()
/Linux-v6.6/arch/x86/tools/
Dinsn_decoder_test.c121 while (fgets(line, BUFSIZE, stdin)) { in main()
/Linux-v6.6/tools/perf/tests/
Dbuiltin-test-list.c78 description = fgets(description, size, fp); in shell_test__description()

1234