/linux-master/tools/testing/selftests/filelock/ |
H A D | ofdlocks.c | 39 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 D | ff-midi.c | 90 .open = midi_capture_open, 95 .open = midi_playback_open,
|
/linux-master/sound/firewire/motu/ |
H A D | motu-midi.c | 99 .open = midi_open, 104 .open = midi_open,
|
/linux-master/sound/firewire/tascam/ |
H A D | tascam-midi.c | 75 .open = midi_capture_open, 80 .open = midi_playback_open,
|
/linux-master/tools/objtool/ |
H A D | objtool.c | 38 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 D | iommufd_fail_nth.c | 95 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 D | fw_namespace.c | 39 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 D | hugepage-vmemmap.c | 55 fd = open("/proc/self/pagemap", O_RDONLY); 71 fd = open("/proc/kpageflags", O_RDONLY);
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 21 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 D | debugfs.c | 44 .open = cpu_debug_open, 78 .open = dom_debug_open,
|
/linux-master/arch/mips/sibyte/common/ |
H A D | sb_tbprof.c | 61 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 D | ftrace_test.c | 29 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 D | inode.c | 487 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 D | usbdevfs-drop-permissions.c | 61 fd = open(argv[1], O_RDWR); 63 printf("Failed to open file\n");
|
/linux-master/drivers/usb/serial/ |
H A D | wishbone-serial.c | 39 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 D | gnss.h | 31 int (*open)(struct gnss_device *gdev); member in struct:gnss_operations
|
/linux-master/include/media/ |
H A D | dvb_ca_en50221.h | 80 int (*poll_slot_status)(struct dvb_ca_en50221 *ca, int slot, int open);
|
/linux-master/samples/timers/ |
H A D | hpet_example.c | 33 "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 D | led_hw_brightness_mon.c | 42 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 D | proc-self-map-files-001.c | 54 fd = open("/dev/zero", O_RDONLY);
|
/linux-master/tools/testing/selftests/media_tests/ |
H A D | media_device_test.c | 78 /* 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 D | build_OID_registry | 23 open IN_FILE, "<$ARGV[0]" || die; 36 open C_FILE, ">$ARGV[1]" or die;
|
/linux-master/arch/mips/mm/ |
H A D | sc-debugfs.c | 46 .open = simple_open,
|
/linux-master/arch/powerpc/boot/ |
H A D | opal.c | 92 scdp->open = opal_con_open;
|
/linux-master/tools/testing/selftests/rtc/ |
H A D | setdate.c | 41 fd = open(rtc, O_RDONLY);
|