Searched refs:open (Results 126 - 150 of 2525) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/filelock/
H A Dofdlocks.c39 int fd = open("/tmp/aa", O_RDWR | O_CREAT | O_EXCL, 0600);
40 int fd2 = open("/tmp/aa", O_RDONLY);
/linux-master/sound/firewire/fireface/
H A Dff-midi.c90 .open = midi_capture_open,
95 .open = midi_playback_open,
/linux-master/sound/firewire/motu/
H A Dmotu-midi.c99 .open = midi_open,
104 .open = midi_open,
/linux-master/sound/firewire/tascam/
H A Dtascam-midi.c75 .open = midi_capture_open,
80 .open = midi_playback_open,
/linux-master/tools/objtool/
H A Dobjtool.c38 d = open(name, O_CREAT|O_WRONLY|O_TRUNC, 0644);
44 s = open(_objname, O_RDONLY);
46 perror("failed to open orig file");
/linux-master/tools/testing/selftests/iommu/
H A Diommufd_fail_nth.c95 nth_state->proc_fd = open(buf, O_RDWR);
222 /* The access FD holds the iommufd open until it closes */
238 self->fd = open("/dev/iommu", O_RDWR);
306 self->fd = open("/dev/iommu", O_RDWR);
343 self->fd = open("/dev/iommu", O_RDWR);
388 self->fd = open("/dev/iommu", O_RDWR);
467 self->fd = open("/dev/iommu", O_RDWR);
523 self->fd = open("/dev/iommu", O_RDWR);
587 self->fd = open("/dev/iommu", O_RDWR);
/linux-master/tools/testing/selftests/firmware/
H A Dfw_namespace.c39 fd = open(sys_path, O_WRONLY);
41 die("open failed: %s\n",
53 fd = open(fw_path, O_WRONLY | O_CREAT, 0600);
55 die("open failed: %s\n",
/linux-master/tools/testing/selftests/mm/
H A Dhugepage-vmemmap.c55 fd = open("/proc/self/pagemap", O_RDONLY);
71 fd = open("/proc/kpageflags", O_RDONLY);
/linux-master/tools/testing/selftests/kvm/lib/
H A Delf.c21 fd = open(filename, O_RDONLY);
22 TEST_ASSERT(fd >= 0, "Failed to open ELF file,\n"
121 fd = open(filename, O_RDONLY);
122 TEST_ASSERT(fd >= 0, "Failed to open ELF file,\n"
/linux-master/arch/x86/kernel/cpu/
H A Ddebugfs.c44 .open = cpu_debug_open,
78 .open = dom_debug_open,
/linux-master/arch/mips/sibyte/common/
H A Dsb_tbprof.c61 enum open_status open; member in struct:sbprof_tb
397 if (xchg(&sbp.open, SB_OPENING) != SB_CLOSED)
403 sbp.open = SB_CLOSED;
412 sbp.open = SB_OPEN;
423 if (minor != 0 || sbp.open != SB_CLOSED)
432 sbp.open = SB_CLOSED;
529 .open = sbprof_tb_open,
565 sbp.open = SB_CLOSED;
/linux-master/tools/testing/selftests/user_events/
H A Dftrace_test.c29 int fd = open(trace_file, O_RDONLY);
111 int fd = open(enable_file, O_RDONLY);
132 fd = open(data_file, O_RDWR);
171 fd = open(data_file, O_RDWR);
213 self->status_fd = open(status_file, O_RDONLY);
216 self->data_fd = open(data_file, O_RDWR);
271 self->enable_fd = open(enable_file, O_RDWR);
283 /* File still open should return -EBUSY for delete */
338 self->enable_fd = open(enable_file, O_RDWR);
376 self->enable_fd = open(enable_fil
[all...]
/linux-master/fs/proc/
H A Dinode.c487 typeof_member(struct proc_ops, proc_open) open;
495 open = pde->proc_ops->proc_open;
496 if (open)
497 rv = open(inode, file);
524 open = pde->proc_ops->proc_open;
525 if (open)
526 rv = open(inode, file);
580 .open = proc_reg_open,
593 .open = proc_reg_open,
607 .open
[all...]
/linux-master/Documentation/usb/
H A Dusbdevfs-drop-permissions.c61 fd = open(argv[1], O_RDWR);
63 printf("Failed to open file\n");
/linux-master/drivers/usb/serial/
H A Dwishbone-serial.c39 value, /* wValue = device is open(1) or closed(0) */
53 "Could not mark device as open (%d)\n",
78 .open = &wishbone_serial_open,
/linux-master/include/linux/
H A Dgnss.h31 int (*open)(struct gnss_device *gdev); member in struct:gnss_operations
/linux-master/include/media/
H A Ddvb_ca_en50221.h80 int (*poll_slot_status)(struct dvb_ca_en50221 *ca, int slot, int open);
/linux-master/samples/timers/
H A Dhpet_example.c33 "open-close",
89 fd = open(argv[0], O_RDONLY);
91 fprintf(stderr, "hpet_open_close: open failed\n");
109 fd = open(argv[0], O_RDONLY);
111 fprintf(stderr, "hpet_info: open of %s failed\n", argv[0]);
149 fd = open(argv[0], O_RDONLY);
152 fprintf(stderr, "hpet_poll: open of %s failed\n", argv[0]);
243 fd = open(argv[0], O_RDONLY);
246 fprintf(stderr, "hpet_fasync: failed to open %s\n", argv[0]);
/linux-master/tools/leds/
H A Dled_hw_brightness_mon.c42 fd = open(brightness_file_path, O_RDONLY);
44 printf("Failed to open %s file\n", brightness_file_path);
/linux-master/tools/testing/selftests/proc/
H A Dproc-self-map-files-001.c54 fd = open("/dev/zero", O_RDONLY);
/linux-master/tools/testing/selftests/media_tests/
H A Dmedia_device_test.c78 /* Open Media device and keep it open */
79 fd = open(media_device, O_RDWR);
81 printf("Media Device open errno %s\n", strerror(errno));
/linux-master/lib/
H A Dbuild_OID_registry23 open IN_FILE, "<$ARGV[0]" || die;
36 open C_FILE, ">$ARGV[1]" or die;
/linux-master/arch/mips/mm/
H A Dsc-debugfs.c46 .open = simple_open,
/linux-master/arch/powerpc/boot/
H A Dopal.c92 scdp->open = opal_con_open;
/linux-master/tools/testing/selftests/rtc/
H A Dsetdate.c41 fd = open(rtc, O_RDONLY);

Completed in 241 milliseconds

1234567891011>>