/kernel/linux/linux-6.6/drivers/net/ethernet/3com/ |
H A D | 3c574_cs.c | 453 if (link->open) in tc574_suspend() 463 if (link->open) { in tc574_resume() 679 link->open++; in el3_open() 1141 link->open--; in el3_close()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/fujitsu/ |
H A D | fmvj18x_cs.c | 652 if (link->open) in fmvj18x_suspend() 662 if (link->open) { in fmvj18x_resume() 1073 link->open++; in fjn_open() 1114 link->open--; in fjn_close()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/ |
H A D | axnet_cs.c | 383 if (link->open) in axnet_suspend() 394 if (link->open) { in axnet_resume() 484 link->open++; in axnet_open() 505 link->open--; in axnet_close() 854 * up anew at each open, even though many of these registers should only
|
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/ |
H A D | nmclan_cs.c | 694 if (link->open) in nmclan_suspend() 704 if (link->open) { in nmclan_resume() 784 link->open++; in mace_open() 809 link->open--; in mace_close()
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | file.c | 612 * gfs2_open_common - This is common to open and atomic_open 660 * gfs2_open - open a file 661 * @inode: the inode to open 1573 .open = gfs2_open, 1588 .open = gfs2_open, 1606 .open = gfs2_open, 1619 .open = gfs2_open,
|
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | u_ether.c | 609 /* and open the tx floodgates */ in eth_start() 625 if (link && link->open) in eth_open() 626 link->open(link); in eth_open() 805 * - tx queueing enabled if open *and* carrier is "on" in gether_setup_name() 880 * - tx queueing enabled if open *and* carrier is "on" in gether_register_netdev() 1106 * queues to open and start letting network packets flow, but will in 1154 if (link->open) in gether_connect() 1155 link->open(link); in gether_connect()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ehci-dbg.c | 301 .open = debug_async_open, 309 .open = debug_bandwidth_open, 317 .open = debug_periodic_open, 325 .open = debug_registers_open,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/xircom/ |
H A D | xirc2ps_cs.c | 946 if (link->open) { in xirc2ps_suspend() 958 if (link->open) { in xirc2ps_resume() 1399 link->open++; in do_open() 1734 link->open--; in do_stop()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | khugepaged.c | 169 fd = open(path, O_RDONLY); in read_file() 190 fd = open(path, O_WRONLY); in write_file() 192 printf("open(%s)\n", path); in write_file() 526 printf("%s: Failed to open file %s\n", __func__, PID_SMAPS); in check_swap() 672 fd = open(finfo.path, O_DSYNC | O_CREAT | O_RDWR | O_TRUNC | O_EXCL, in file_setup_area() 675 perror("open()"); in file_setup_area() 688 finfo.fd = open(finfo.path, O_RDONLY, 777); in file_setup_area() 690 perror("open()"); in file_setup_area()
|
H A D | protection_keys.c | 60 int fd = open(file, O_RDWR); in cat_into_file() 772 fd = open(buf, O_RDONLY); in setup_hugetlbfs() 826 fd = open("/dax/foo", O_RDWR); in malloc_pkey_mmap_dax() 935 int test_fd = open("/etc/passwd", O_RDONLY); in get_test_read_fd()
|
/kernel/linux/linux-6.6/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 636 err(1, "%s: open failed", path); in fopen_or_die() 687 fd = open(pathname, O_RDONLY); in get_msr() 689 err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); in get_msr() 711 fd = open(pathname, O_RDWR); in put_msr() 713 err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); in put_msr() 732 fd = open(path, O_RDONLY); in read_sysfs() 753 fd = open(path, O_WRONLY); in write_sysfs()
|
/kernel/liteos_m/components/fs/vfs/ |
H A D | vfs_fs.c | 248 (mp->mFs->fsFops == NULL) || (mp->mFs->fsFops->open == NULL)) { in VfsOpen() 287 if (file->fFops->open(file, pathInMp, flags) == 0) { in VfsOpen() 494 int open(const char *path, int flags, ...) in open() function 559 FUNC_ALIAS(open, _open, (const char *path, int flags, ...), int);
|
/third_party/eudev/src/udev/ |
H A D | udevd.c | 326 fd_lock = open(udev_device_get_devnode(d), O_RDONLY|O_CLOEXEC|O_NOFOLLOW|O_NONBLOCK); in worker_spawn() 807 fd = open(udev_device_get_devnode(dev), O_RDONLY|O_CLOEXEC|O_NOFOLLOW|O_NONBLOCK); in synthesize_change() 1194 fd = open("/dev/null", O_RDWR); in main() 1203 log_error("cannot open /dev/null"); in main() 1207 /* open control and netlink socket */ in main() 1291 fd = open("/dev/null", O_RDWR); in main()
|
/third_party/backends/backend/ |
H A D | canon_pp.c | 95 /* The default scanner to open */ 362 /* detect_mode succeeded, so the port is open. This beholdens in sane_init() 416 * open for business again - this will only work in sane_init() 421 /* leave the port open but not claimed - this is regardless in sane_init() 566 DBG(1,"sane_open: Request to open port with no scanner " in sane_open() 572 DBG(2,"sane_open; Oi!, That scanner's already open.\n"); in sane_open() 714 "open yet\n", h); in sane_get_option_descriptor() 761 "open yet\n", h); in sane_control_option() 933 "open yet\n", h); in sane_get_parameters() 1032 "open ye in sane_start() [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_file.c | 251 fd = open(file->final_fname, O_WRONLY|O_CREAT|O_TRUNC, in snd_pcm_file_open_output_file() 254 fd = open(file->final_fname, O_WRONLY|O_CREAT|O_EXCL, in snd_pcm_file_open_output_file() 267 fd = open(tmpfname, in snd_pcm_file_open_output_file() 277 SYSERR("open %s for writing failed", in snd_pcm_file_open_output_file() 933 ifd = open(ifname, O_RDONLY); /* TODO: mind blocking mode */ in snd_pcm_file_open() 935 SYSERR("open %s for reading failed", ifname); in snd_pcm_file_open()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | iogen.c | 160 int Oflags; /* open(2) flags for creating files */ 161 int Ocbits; /* open(2) cbits for creating files */ 162 int Ocblks; /* open(2) cblks for creating files */ 317 * Map open flags (-f args) to values 559 if ((outfd = open(Outpipe, O_RDWR)) == -1) { in init_output() 561 "iogen%s: Couldn't open outpipe %s with flags O_RDWR: %s\n", in init_output() 629 * open flags, and possibly a pattern (for write/writea). in form_iorequest() 828 the file open read/write */ in form_iorequest() 1017 if ((fd = open(rec->f_path, O_RDWR | O_DIRECT, 0)) != -1) { in get_file_info() 1110 if ((fd = open(pat in create_file() [all...] |
/third_party/littlefs/scripts/ |
H A D | bench.py | 46 return open(path, mode, buffering) 153 with open(self.path) as f: 455 with open(args['source']) as sf: 1020 # truncate and open logs here so they aren't disconnected between benches 1135 with open(path) as f:
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_stdio.cpp | 273 int fp = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Fdopen() 691 int fd = open("/dev/zero", O_RDONLY); in Bm_function_Flock() 693 perror("open flock"); in Bm_function_Flock() 1348 perror("ungetc open"); in Bm_function_Ungetc() 1460 int oldFd = open(oldPath, O_RDWR | O_CREAT, OPEN_MODE); in Bm_function_Renameat() 1462 perror("open renameat old"); in Bm_function_Renameat() 1466 int newFd = open(newPath, O_RDWR | O_CREAT, OPEN_MODE); in Bm_function_Renameat() 1468 perror("open renameat new"); in Bm_function_Renameat()
|
/third_party/skia/third_party/externals/angle2/src/tests/ |
H A D | capture_replay_tests.py | 232 # On Mac, j value higher than 500 causes 'Too many open files' error 545 captured_context = open(capture_file, "r").readlines() 546 replayed_context = open(replay_file, "r").readlines() 570 with open(names_path, 'w') as f: 621 with open(expected_results_path, "rt") as f:
|
/kernel/linux/linux-5.10/sound/drivers/ |
H A D | aloop.c | 73 int (*open)(struct loopback_pcm *dpcm); member 859 snd_iprintf(buffer, " timer open:\t\t%s\n", in loopback_snd_timer_dpcm_info() 1026 .open = loopback_jiffies_timer_open, 1149 * Unlock cable->lock for snd_timer_close/open() call in loopback_snd_timer_open() 1177 .open = loopback_snd_timer_open, 1220 if (cable->ops->open) { in loopback_open() 1221 err = cable->ops->open(dpcm); in loopback_open() 1300 .open = loopback_open,
|
/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
H A D | emupcm.c | 1349 .open = snd_emu10k1_playback_open, 1359 .open = snd_emu10k1_capture_open, 1368 .open = snd_emu10k1_efx_playback_open, 1437 .open = snd_emu10k1_capture_mic_open, 1530 .open = snd_emu10k1_capture_efx_open, 1762 .open = snd_emu10k1_fx8010_playback_open,
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | cifsfs.c | 167 * already held, e.g. in open-type syscalls context. Otherwise it can race with 390 * Until the file is open and we have gotten oplock info back from the in cifs_alloc_inode() 750 * fail later (e.g. due to open files). TID_EXITING will be set just before tdis req sent in cifs_umount_begin() 1300 * checks for proper open modes and file type and if it wants in cifs_remap_file_range() 1413 * checks for proper open modes and file type and if it wants in cifs_file_copychunk_range() 1517 .open = cifs_open, 1537 .open = cifs_open, 1557 .open = cifs_open, 1577 .open = cifs_open, 1595 .open [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_display_debugfs.c | 538 .open = crtc_updates_open, 902 .open = i915_displayport_test_active_open, 1047 .open = simple_open, 1295 .open = i915_dsc_fec_support_open, 1361 .open = i915_dsc_bpc_open, 1428 .open = i915_dsc_output_format_open,
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | pmu.c | 300 fd = open(path, O_RDONLY); in perf_pmu__parse_scale() 335 fd = open(path, O_RDONLY); in perf_pmu__parse_unit() 369 fd = open(path, O_RDONLY); in perf_pmu__parse_per_pkg() 390 fd = open(path, O_RDONLY); in perf_pmu__parse_snapshot() 611 dir_fd = open(path, O_DIRECTORY); in pmu_aliases_parse() 638 pr_debug("Cannot open %s\n", name); in pmu_aliases_parse() 2015 return open(path, O_DIRECTORY); in perf_pmu__event_source_devices_fd()
|
/kernel/linux/linux-6.6/sound/drivers/ |
H A D | aloop.c | 72 int (*open)(struct loopback_pcm *dpcm); member 858 snd_iprintf(buffer, " timer open:\t\t%s\n", in loopback_snd_timer_dpcm_info() 1025 .open = loopback_jiffies_timer_open, 1148 * Unlock cable->lock for snd_timer_close/open() call in loopback_snd_timer_open() 1176 .open = loopback_snd_timer_open, 1219 if (cable->ops->open) { in loopback_open() 1220 err = cable->ops->open(dpcm); in loopback_open() 1299 .open = loopback_open,
|