Searched refs:open (Results 101 - 125 of 2525) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c61 fd = open(path, O_WRONLY);
63 ksft_exit_fail_msg("%s open failed: %s\n", path, strerror(errno));
136 pagemap_fd = open(pagemap_proc, O_RDONLY);
140 kpageflags_fd = open(kpageflags_proc, O_RDONLY);
226 fd = open(testfile, O_CREAT|O_WRONLY, 0664);
228 ksft_perror("Cannot open testing file");
307 *fd = open(testfile, O_CREAT | O_RDWR, 0664);
318 *fd = open("/proc/sys/vm/drop_caches", O_WRONLY);
320 ksft_perror("open drop_caches");
329 *fd = open(testfil
[all...]
/linux-master/scripts/
H A Dget_dvb_firmware224 open FW,">$tmpdir/opera.fw";
262 open $FW, ">$tmpdir/fwtmp3";
401 open IN, '<', $sourcefile or die "Couldn't open $sourcefile to extract $fwfile data\n";
403 open OUT, '>', $fwfile;
537 open INFILE, '<', "$tmpdir/Driver/Files/AF15BDA.sys";
538 open OUTFILE, '>', $outfile;
794 open FW,">$fwfile";
854 open(CMD, "md5sum \"$filename\"|");
872 open INFIL
[all...]
/linux-master/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-debugfs.c222 .open = simple_open,
229 .open = simple_open,
300 .open = simple_open,
307 .open = simple_open,
314 .open = simple_open,
367 .open = simple_open,
374 .open = simple_open,
427 .open = simple_open,
434 .open = simple_open,
/linux-master/drivers/usb/misc/
H A Dchaoskey.c79 int open; /* open count */ member in struct:chaoskey
241 if (!dev->open) {
260 usb_dbg(interface, "open");
264 usb_dbg(interface, "open (dev)");
270 ++dev->open;
273 usb_dbg(interface, "open success");
291 usb_dbg(interface, "open count at release is %d", dev->open);
293 if (dev->open <
[all...]
H A Didmouse.c75 int open; /* if the port is open or not */ member in struct:usb_idmouse
99 .open = idmouse_open,
201 /* PM operations are nops as this driver does IO only during open() */
237 /* check if already open */
238 if (dev->open) {
240 /* already open, so fail */
255 ++dev->open;
281 --dev->open;
391 if (!dev->open) {
[all...]
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_perf.c28 bool open; member in struct:msm_perf_state
163 if (perf->open) {
169 perf->open = true;
186 perf->open = false;
193 .open = perf_open,
/linux-master/drivers/watchdog/
H A Dpika_wdt.c52 unsigned long open; member in struct:__anon213
92 (!nowayout && !pikawdt_private.open)) {
117 if (test_and_set_bit(0, &pikawdt_private.open))
134 clear_bit(0, &pikawdt_private.open);
213 .open = pikawdt_open,
/linux-master/arch/um/drivers/
H A Dpty.c50 printk(UM_KERN_ERR "open_pts : Failed to open pts\n");
94 master = open(line, O_RDWR);
144 .open = pty_open,
157 .open = pts_open,
/linux-master/tools/power/cpupower/lib/
H A Dcpupower.c29 fd = open(path, O_RDONLY);
50 fd = open(path, O_WRONLY);
97 fd = open(path, O_RDONLY);
/linux-master/tools/crypto/ccp/
H A Ddbc_cli.py74 with open(args.signature, "rb") as f:
83 with open(args.uid, "rb") as f:
95 with open(args.device) as d:
/linux-master/sound/xen/
H A Dxen_snd_front.c97 req->op.open.pcm_format = format;
98 req->op.open.pcm_channels = channels;
99 req->op.open.pcm_rate = rate;
100 req->op.open.buffer_sz = buffer_sz;
101 req->op.open.period_sz = period_sz;
102 req->op.open.gref_directory =
/linux-master/tools/testing/selftests/user_events/
H A Dabi_test.c87 int fd = open(enable_file, O_RDWR);
99 int fd = open(enable_file, O_RDWR);
122 int fd = open(data_file, O_RDWR);
140 int fd = open(data_file, O_RDWR);
171 int fd = open(data_file, O_RDWR);
199 int fd = open(data_file, O_RDWR);
/linux-master/arch/alpha/boot/tools/
H A Dmkbb.c100 /* First, open the device and make sure it's accessible */
101 dev = open(argv[1], O_RDWR);
107 /* Now open the lxboot and make sure it's reasonable */
108 fd = open(argv[2], O_RDONLY);
/linux-master/arch/powerpc/boot/
H A Dmktree.c82 if ((in_fd = open(argv[1], O_RDONLY)) < 0) {
83 perror("zImage open");
87 if ((out_fd = open(argv[2], (O_RDWR | O_CREAT | O_TRUNC), 0666)) < 0) {
88 perror("bootfile open");
H A Dserial.c23 return scdp->open();
141 console_ops.open = serial_open;
/linux-master/tools/virtio/virtio-trace/
H A Dtrace-agent-rw.c49 rw_ti->in_fd = open(in_path, O_RDONLY);
51 pr_err("Could not open in_fd (CPU:%d)\n", cpu);
58 rw_ti->out_fd = open(out_path, O_WRONLY);
60 pr_err("Could not open out_fd (CPU:%d)\n", cpu);
/linux-master/sound/usb/caiaq/
H A Dmidi.c94 .open = snd_usb_caiaq_midi_output_open,
101 .open = snd_usb_caiaq_midi_input_open,
/linux-master/tools/testing/selftests/powerpc/eeh/
H A Deeh-functions.sh157 if [ ! -f /proc/device-tree/rtas/ibm,open-sriov-allow-unfreeze ] ||
158 [ ! -f /proc/device-tree/rtas/ibm,open-sriov-map-pe-number ] ; then
173 [ ! -f "$sysfs/of_node/ibm,is-open-sriov-pf" ] &&
174 [ ! -f "$sysfs/of_node/ibm,open-sriov-vf-bar-info" ] ; then
/linux-master/tools/testing/selftests/timers/
H A Drtcpie.c42 fd = open(default_rtc, O_RDONLY);
54 fd = open(rtc, O_RDONLY);
/linux-master/include/linux/
H A Dhdlc.h20 int (*open)(struct net_device *dev); member in struct:hdlc_proto
22 void (*start)(struct net_device *dev); /* if open & DCD */
23 void (*stop)(struct net_device *dev); /* if open & !DCD */
46 int open; member in struct:hdlc_device
/linux-master/tools/testing/selftests/timens/
H A Dprocfs.c42 parent_ns = open(path, O_RDONLY);
44 return pr_perror("Unable to open %s", path);
52 child_ns = open(path, O_RDONLY);
54 return pr_perror("Unable to open %s", path);
75 pr_perror("Unable to open /proc/uptime");
101 pr_perror("Unable to open /proc/stat");
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_debugfs.c64 .open = simple_open,
108 .open = simple_open,
/linux-master/tools/testing/selftests/bpf/
H A Dtest_lirc_mode2_user.c69 lircfd = open(argv[1], O_RDWR | O_NONBLOCK);
71 printf("failed to open lirc device %s: %m\n", argv[1]);
82 inputfd = open(argv[2], O_RDONLY | O_NONBLOCK);
84 printf("failed to open input device %s: %m\n", argv[1]);
/linux-master/drivers/pps/clients/
H A Dpps-ldisc.c65 /* Now open the base class N_TTY ldisc */
68 pr_err("cannot open tty ldisc \"%s\"\n", info.path);
109 /* Save N_TTY's open()/close() methods */
110 alias_n_tty_open = pps_ldisc_ops.open;
118 pps_ldisc_ops.open = pps_tty_open;
/linux-master/tools/testing/kunit/
H A Dkunit_config.py77 with open(path, 'a+') as f:
82 with open(path, 'r') as f:

Completed in 279 milliseconds

1234567891011>>