Home
last modified time | relevance | path

Searched refs:open (Results 926 - 950 of 8207) sorted by relevance

1...<<31323334353637383940>>...329

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dcompaction_test.c62 fd = open("/proc/sys/vm/compact_unevictable_allowed", in prereq()
65 perror("Failed to open\n" in prereq()
95 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK); in check_compaction()
97 perror("Failed to open /proc/sys/vm/nr_hugepages"); in check_compaction()
H A Dgup_benchmark.c97 filed = open(file, O_RDWR|O_CREAT); in main()
99 perror("open"); in main()
107 fd = open("/sys/kernel/debug/gup_benchmark", O_RDWR); in main()
109 perror("open"); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/proc/
H A Dfd-001-lookup.c146 fd = open("/", O_PATH|O_DIRECTORY); in main()
153 fd = open("/", O_PATH|O_DIRECTORY); in main()
/kernel/linux/linux-5.10/tools/virtio/virtio-trace/
H A Dtrace-agent-rw.c49 rw_ti->in_fd = open(in_path, O_RDONLY); in rw_thread_init()
51 pr_err("Could not open in_fd (CPU:%d)\n", cpu); in rw_thread_init()
58 rw_ti->out_fd = open(out_path, O_WRONLY); in rw_thread_init()
60 pr_err("Could not open out_fd (CPU:%d)\n", cpu); in rw_thread_init()
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
H A Drtcpie.c42 fd = open(default_rtc, O_RDONLY); in main()
54 fd = open(rtc, O_RDONLY); in main()
/kernel/linux/linux-6.6/arch/alpha/boot/tools/
H A Dmkbb.c100 /* First, open the device and make sure it's accessible */ in main()
101 dev = open(argv[1], O_RDWR); in main()
107 /* Now open the lxboot and make sure it's reasonable */ in main()
108 fd = open(argv[2], O_RDONLY); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_lirc_mode2_user.c68 lircfd = open(argv[1], O_RDWR | O_NONBLOCK); in main()
70 printf("failed to open lirc device %s: %m\n", argv[1]); in main()
81 inputfd = open(argv[2], O_RDONLY | O_NONBLOCK); in main()
83 printf("failed to open input device %s: %m\n", argv[1]); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/
H A Dfw_namespace.c43 fd = open(sys_path, O_WRONLY); in trigger_fw()
45 die("open failed: %s\n", in trigger_fw()
57 fd = open(fw_path, O_WRONLY | O_CREAT, 0600); in setup_fw()
59 die("open failed: %s\n", in setup_fw()
/kernel/linux/linux-5.10/tools/testing/selftests/kcmp/
H A Dkcmp_test.c42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main()
91 fd2 = open(kpath, O_RDWR, 0644); in main()
93 perror("Can't open file"); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
H A Delf.c22 fd = open(filename, O_RDONLY); in elfhdr_get()
23 TEST_ASSERT(fd >= 0, "Failed to open ELF file,\n" in elfhdr_get()
122 fd = open(filename, O_RDONLY); in kvm_vm_elf_load()
123 TEST_ASSERT(fd >= 0, "Failed to open ELF file,\n" in kvm_vm_elf_load()
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
H A Dusnic_debugfs.c65 .open = simple_open,
109 .open = simple_open,
/kernel/linux/linux-5.10/drivers/scsi/qedi/
H A Dqedi_dbg.h117 .open = simple_open, \
126 .open = drv##_dbg_##ops##_open, \
/kernel/linux/linux-5.10/net/wireless/
H A Ddebugfs.c27 .open = simple_open, \
99 .open = simple_open,
/kernel/linux/linux-5.10/sound/firewire/fireworks/
H A Dfireworks_midi.c95 .open = midi_open, in snd_efw_create_midi_devices()
100 .open = midi_open, in snd_efw_create_midi_devices()
/kernel/linux/linux-5.10/sound/firewire/bebob/
H A Dbebob_midi.c96 .open = midi_open, in snd_bebob_create_midi_devices()
101 .open = midi_open, in snd_bebob_create_midi_devices()
/kernel/linux/linux-5.10/sound/firewire/fireface/
H A Dff-midi.c90 .open = midi_capture_open, in snd_ff_create_midi_devices()
95 .open = midi_playback_open, in snd_ff_create_midi_devices()
/kernel/linux/linux-5.10/sound/firewire/tascam/
H A Dtascam-midi.c75 .open = midi_capture_open, in snd_tscm_create_midi_devices()
80 .open = midi_playback_open, in snd_tscm_create_midi_devices()
/kernel/linux/linux-5.10/sound/firewire/dice/
H A Ddice-midi.c99 .open = midi_open, in snd_dice_create_midi()
104 .open = midi_open, in snd_dice_create_midi()
/kernel/linux/linux-5.10/sound/firewire/motu/
H A Dmotu-midi.c99 .open = midi_open, in snd_motu_create_midi_devices()
104 .open = midi_open, in snd_motu_create_midi_devices()
/kernel/linux/linux-5.10/sound/usb/caiaq/
H A Dmidi.c94 .open = snd_usb_caiaq_midi_output_open,
101 .open = snd_usb_caiaq_midi_input_open,
/kernel/linux/linux-5.10/drivers/pps/clients/
H A Dpps-ldisc.c67 /* Now open the base class N_TTY ldisc */ in pps_tty_open()
70 pr_err("cannot open tty ldisc \"%s\"\n", info.path); in pps_tty_open()
111 /* Save N_TTY's open()/close() methods */ in pps_tty_init()
112 alias_n_tty_open = pps_ldisc_ops.open; in pps_tty_init()
120 pps_ldisc_ops.open = pps_tty_open; in pps_tty_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/sis/
H A Dsis_drv.c70 .open = drm_open,
106 .open = sis_driver_open,
/kernel/linux/linux-5.10/include/linux/
H A Dhdlc.h20 int (*open)(struct net_device *dev); member
22 void (*start)(struct net_device *dev); /* if open & DCD */
23 void (*stop)(struct net_device *dev); /* if open & !DCD */
46 int open; member
/kernel/linux/linux-6.6/include/linux/
H A Dhdlc.h20 int (*open)(struct net_device *dev); member
22 void (*start)(struct net_device *dev); /* if open & DCD */
23 void (*stop)(struct net_device *dev); /* if open & !DCD */
46 int open; member
/kernel/linux/linux-6.6/drivers/pps/clients/
H A Dpps-ldisc.c65 /* Now open the base class N_TTY ldisc */ in pps_tty_open()
68 pr_err("cannot open tty ldisc \"%s\"\n", info.path); in pps_tty_open()
109 /* Save N_TTY's open()/close() methods */ in pps_tty_init()
110 alias_n_tty_open = pps_ldisc_ops.open; in pps_tty_init()
118 pps_ldisc_ops.open = pps_tty_open; in pps_tty_init()

Completed in 8 milliseconds

1...<<31323334353637383940>>...329