Home
last modified time | relevance | path

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

1234

/linux-6.12.1/tools/hv/
Dhv_kvp_daemon.c455 while (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()
539 p = fgets(buf, sizeof(buf), file); in kvp_get_os_info()
591 p = fgets(buf, sizeof(buf), file); in kvp_get_if_name()
634 p = fgets(buf, sizeof(buf), file); in kvp_if_name_to_mac()
666 while ((p = fgets(buf, sizeof(buf), file)) != NULL) { in kvp_process_ipconfig_file()
751 p = fgets(dhcp_info, sizeof(dhcp_info), file); in kvp_get_ipconfig_info()
984 p = fgets(buf, sizeof(buf), file); in kvp_mac_to_ip()
/linux-6.12.1/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()
Dseal_elf.c94 while (fgets(line, sizeof(line), maps)) { in test_seal_elf()
Dvirtual_address_range.c118 while (fgets(line, sizeof(line), file)) { in validate_complete_va_space()
Dhugetlb-soft-offline.c118 if (!fgets(buffer, sizeof(buffer), cmdfile)) { in read_nr_hugepages()
/linux-6.12.1/tools/perf/util/
Dfind-map.c14 while (!found && fgets(line, sizeof(line), maps)) { in find_map()
/linux-6.12.1/tools/testing/selftests/bpf/
Dunpriv_helpers.c48 disabled = (fgets(buf, 2, fd) == buf && atoi(buf)); in get_unpriv_disabled()
/linux-6.12.1/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-6.12.1/tools/testing/selftests/resctrl/
Dresctrlfs.c27 if (!fgets(line, 256, mounts)) in find_resctrl_mount()
693 if (!fgets(line, 256, inf)) in fgrep()
822 while (fgets(line, 1024, fp)) { in filter_dmesg()
Dmbm_test.c68 while (fgets(temp, sizeof(temp), fp)) { in check_results()
Dmba_test.c138 while (fgets(temp, sizeof(temp), fp)) { in check_results()
/linux-6.12.1/drivers/zorro/
Dgen-devlist.c45 while (fgets(line, sizeof(line)-1, stdin)) { in main()
/linux-6.12.1/tools/testing/selftests/exec/
Dload_address.c66 while (fgets(buf, sizeof(buf), maps)) { in main()
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dtest_util.c176 while (fgets(buf, sizeof(buf), f) != NULL) { in get_def_hugetlb_pagesz()
411 TEST_ASSERT(fgets(clk_name, st.st_size, fp), "failed to read clocksource file: %d", in sys_get_cur_clocksource()
/linux-6.12.1/tools/testing/selftests/prctl/
Dset-anon-vma-name-test.c56 while (fgets(line_buf, sizeof(line_buf), maps_file)) { in was_renaming_successful()
/linux-6.12.1/tools/perf/arch/arm64/util/
Dheader.c39 if (!fgets(buf, MIDR_SIZE, file)) { in _get_cpuid()
/linux-6.12.1/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c83 while (fgets(line, sizeof(line), f) != NULL) { in get_proc_frequency()
/linux-6.12.1/tools/testing/selftests/powerpc/signal/
Dsigreturn_vdso.c40 while (fgets(buf, sizeof(buf), f)) { in search_proc_maps()
/linux-6.12.1/drivers/accessibility/speakup/
Dmakemapdata.c22 while (fgets(buffer, sizeof(buffer)-1, infile)) { in get_define()
/linux-6.12.1/tools/testing/selftests/timens/
Dprocfs.c105 while (fgets(line_buf, 2048, proc)) { in read_proc_stat_btime()
/linux-6.12.1/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-6.12.1/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-6.12.1/tools/testing/selftests/alsa/
Dutimer-test.c120 while (fgets(buf, TIMER_OUTPUT_BUF_LEN, rfp)) { in TEST_F()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gen_wa_oob.c61 while (fgets(line, sizeof(line), input)) { in parse()
/linux-6.12.1/tools/testing/selftests/powerpc/mm/
Dstack_expansion_ldst.c89 while (fgets(buf, sizeof(buf), f)) { in search_proc_maps()

1234