/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | compaction_test.c | 62 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 D | gup_benchmark.c | 97 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 D | fd-001-lookup.c | 146 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 D | trace-agent-rw.c | 49 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 D | rtcpie.c | 42 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 D | mkbb.c | 100 /* 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 D | test_lirc_mode2_user.c | 68 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 D | fw_namespace.c | 43 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 D | kcmp_test.c | 42 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 D | elf.c | 22 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 D | usnic_debugfs.c | 65 .open = simple_open, 109 .open = simple_open,
|
/kernel/linux/linux-5.10/drivers/scsi/qedi/ |
H A D | qedi_dbg.h | 117 .open = simple_open, \ 126 .open = drv##_dbg_##ops##_open, \
|
/kernel/linux/linux-5.10/net/wireless/ |
H A D | debugfs.c | 27 .open = simple_open, \ 99 .open = simple_open,
|
/kernel/linux/linux-5.10/sound/firewire/fireworks/ |
H A D | fireworks_midi.c | 95 .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 D | bebob_midi.c | 96 .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 D | ff-midi.c | 90 .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 D | tascam-midi.c | 75 .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 D | dice-midi.c | 99 .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 D | motu-midi.c | 99 .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 D | midi.c | 94 .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 D | pps-ldisc.c | 67 /* 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 D | sis_drv.c | 70 .open = drm_open, 106 .open = sis_driver_open,
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | hdlc.h | 20 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 D | hdlc.h | 20 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 D | pps-ldisc.c | 65 /* 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()
|