/linux-master/fs/ecryptfs/ |
H A D | file.c | 203 * @inode: inode specifying file to open 272 * @inode: inode specifying file to open 422 .open = ecryptfs_dir_open, 437 .open = ecryptfs_open,
|
/linux-master/tools/perf/util/ |
H A D | namespaces.c | 298 oldns = open(curpath, O_RDONLY); 302 newns = open(nsinfo__mntns_path(nsi), O_RDONLY);
|
H A D | symbol-minimal.c | 235 fd = open(filename, O_RDONLY); 261 int fd = open(name, O_RDONLY);
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | sp2.c | 234 int slot, int open) 240 dev_dbg(&s->client->dev, "slot:%d open:%d\n", slot, open); 233 sp2_ci_poll_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open) argument
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | tx99.c | 216 .open = simple_open, 263 .open = simple_open,
|
/linux-master/sound/virtio/ |
H A D | virtio_pcm_ops.c | 520 .open = virtsnd_pcm_open, 532 .open = virtsnd_pcm_open,
|
/linux-master/kernel/trace/ |
H A D | trace_events_filter.c | 1982 int open = 1; /* Count the expression as "(E)" */ local 2013 open++; 2014 if (open > max_open) 2015 max_open = open; 2019 if (open == 1) { 2023 open--; 2037 if (open != 1) { 2038 int level = open; 2040 /* find the bad open */ 2049 if (level == open) { [all...] |
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_debugfs.c | 114 .open = msm_gpu_open, 177 .open = msm_kms_open,
|
/linux-master/tools/testing/selftests/sgx/ |
H A D | load.c | 51 fd = open(path, O_RDONLY); 53 perror("enclave executable open()"); 192 fd = open(device_path, O_RDWR); 194 perror("Unable to open /dev/sgx_enclave");
|
/linux-master/drivers/s390/char/ |
H A D | zcore.c | 166 .open = zcore_reipl_open, 202 .open = nonseekable_open,
|
/linux-master/tools/mm/ |
H A D | thpmaps | 26 with open('/sys/kernel/mm/transparent_hugepage/hpage_pmd_size') as f: 85 self.fd = os.open(self.filename, os.O_RDONLY) 199 with open(f'/proc/{pid}/smaps', 'r') as file: 440 with open(f'{cgroup}/cgroup.procs') as pidfile:
|
/linux-master/tools/testing/selftests/mm/ |
H A D | vm_util.c | 134 int fd = open("/proc/self/clear_refs", O_WRONLY); 159 fd = open(PMD_SIZE_FILE_PATH, O_RDONLY); 190 ksft_exit_fail_msg("%s: Failed to open file %s\n", __func__, SMAP_FILE_PATH);
|
/linux-master/tools/crypto/ccp/ |
H A D | test_dbc.py | 28 with open(fused_part, "r") as r: 41 self.d = open(DEVICE_NODE)
|
/linux-master/include/linux/ |
H A D | input.h | 90 * @open: this method is called when the very first user calls 93 * request an IRQ, submit URB, etc.). The meaning of open() is 113 * @mutex: serializes calls to open(), close() and flush() methods 116 * to make sure that dev->open() is only called when the first 134 * Device's close() is called when it is being inhibited and its open() 185 int (*open)(struct input_dev *dev); member in struct:input_dev 336 * @open: counter showing whether the handle is 'open', i.e. should deliver 349 int open; member in struct:input_handle
|
/linux-master/sound/drivers/ |
H A D | serial-generic.c | 50 unsigned long filemode; /* open status of file */ 250 .open = snd_serial_generic_output_open, 257 .open = snd_serial_generic_input_open,
|
/linux-master/drivers/bluetooth/ |
H A D | hci_serdev.c | 153 * open may drain the battery. 321 err = p->open(hu); 351 hdev->open = hci_uart_open;
|
/linux-master/drivers/edac/ |
H A D | zynqmp_edac.c | 282 .open = simple_open, 344 .open = simple_open,
|
/linux-master/tools/testing/selftests/dmabuf-heaps/ |
H A D | dmabuf-heap.c | 49 fd = open(name, O_RDWR); 97 fd = open(buf, O_RDWR); 99 ksft_exit_fail_msg("open %s failed: %s\n", buf, strerror(errno)); 173 ksft_test_result_skip("Could not open vgem %d\n", importer_fd);
|
/linux-master/drivers/misc/ |
H A D | Makefile | 64 obj-$(CONFIG_OPEN_DICE) += open-dice.o
|
/linux-master/tools/perf/tests/ |
H A D | dso-data.c | 191 TEST_ASSERT_VAL("failed to open fd directory", dir); 255 /* Rest the internal dso open counter limit. */ 264 /* and this is now our dso open FDs limit */ 274 * file and keep it open (unless open file limit). 289 /* verify the first one is already open */ 290 TEST_ASSERT_VAL("dsos[0] is not open", dso__data(machine.dsos.dsos[0])->fd != -1); 292 /* open +1 dso to reach the allowed limit */ 311 int fd = open("/dev/null", O_RDONLY); 329 /* Rest the internal dso open counte [all...] |
/linux-master/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 421 * Mixing error codes from close(2) and open(2) should not lead to any 471 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); 474 ruleset_fd = open(dir_s1d1, O_PATH | O_DIRECTORY | O_CLOEXEC); 482 ruleset_fd = open(dir_s1d1, O_DIRECTORY | O_CLOEXEC); 499 path_beneath.parent_fd = open(dir_s1d2, O_DIRECTORY | O_CLOEXEC); 513 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); 595 path_beneath_file.parent_fd = open(file1_s1d2, O_PATH | O_CLOEXEC); 600 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); 653 open(TMP_DIR, O_PATH | O_DIRECTORY | O_CLOEXEC); 680 path_beneath.parent_fd = open(file1_s1d [all...] |
/linux-master/sound/soc/sof/ |
H A D | sof-client-ipc-msg-injector.c | 232 .open = sof_msg_inject_dfs_open, 242 .open = sof_msg_inject_dfs_open,
|
/linux-master/drivers/input/mouse/ |
H A D | appletouch.c | 203 bool open; member in struct:atp 803 dev->open = true; 813 dev->open = false; 899 input_dev->open = atp_open; 966 if (dev->open && usb_submit_urb(dev->urb, GFP_KERNEL)) 984 if (dev->open && usb_submit_urb(dev->urb, GFP_KERNEL))
|
/linux-master/drivers/input/ |
H A D | joydev.c | 36 int open; member in struct:joydev 206 else if (!joydev->open++) { 209 joydev->open--; 222 if (joydev->exist && !--joydev->open) 714 .open = joydev_open, 743 /* joydev is marked dead so no one else accesses joydev->open */ 744 if (joydev->open)
|
/linux-master/drivers/tty/ |
H A D | pty.c | 457 case TIOCSPTLCK: /* Set PT Lock (disallow slave open) */ 500 .open = pty_open, 515 .open = pty_open, 593 * ptm_open_peer - open the peer of a pty 594 * @master: the open struct file of the ptmx device node 596 * @flags: the flags for open 598 * Provide a race free way for userspace to open the slave end of a pty 646 case TIOCSPTLCK: /* Set PT Lock (disallow slave open) */ 691 /* Master must be open via /dev/ptmx */ 713 /* Master must be open befor [all...] |