/linux-master/tools/testing/selftests/mm/ |
H A D | split_huge_page_test.c | 61 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 D | get_dvb_firmware | 224 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 D | xgbe-debugfs.c | 222 .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 D | chaoskey.c | 79 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 D | idmouse.c | 75 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 D | msm_perf.c | 28 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 D | pika_wdt.c | 52 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 D | pty.c | 50 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 D | cpupower.c | 29 fd = open(path, O_RDONLY); 50 fd = open(path, O_WRONLY); 97 fd = open(path, O_RDONLY);
|
/linux-master/tools/crypto/ccp/ |
H A D | dbc_cli.py | 74 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 D | xen_snd_front.c | 97 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 D | abi_test.c | 87 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 D | mkbb.c | 100 /* 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 D | mktree.c | 82 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 D | serial.c | 23 return scdp->open(); 141 console_ops.open = serial_open;
|
/linux-master/tools/virtio/virtio-trace/ |
H A D | trace-agent-rw.c | 49 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 D | midi.c | 94 .open = snd_usb_caiaq_midi_output_open, 101 .open = snd_usb_caiaq_midi_input_open,
|
/linux-master/tools/testing/selftests/powerpc/eeh/ |
H A D | eeh-functions.sh | 157 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 D | rtcpie.c | 42 fd = open(default_rtc, O_RDONLY); 54 fd = open(rtc, O_RDONLY);
|
/linux-master/include/linux/ |
H A D | hdlc.h | 20 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 D | procfs.c | 42 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 D | usnic_debugfs.c | 64 .open = simple_open, 108 .open = simple_open,
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_lirc_mode2_user.c | 69 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 D | pps-ldisc.c | 65 /* 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 D | kunit_config.py | 77 with open(path, 'a+') as f: 82 with open(path, 'r') as f:
|