Searched refs:open (Results 676 - 700 of 2546) sorted by relevance

<<21222324252627282930>>

/linux-master/fs/ecryptfs/
H A Dfile.c203 * @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 Dnamespaces.c298 oldns = open(curpath, O_RDONLY);
302 newns = open(nsinfo__mntns_path(nsi), O_RDONLY);
H A Dsymbol-minimal.c235 fd = open(filename, O_RDONLY);
261 int fd = open(name, O_RDONLY);
/linux-master/drivers/media/dvb-frontends/
H A Dsp2.c234 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 Dtx99.c216 .open = simple_open,
263 .open = simple_open,
/linux-master/sound/virtio/
H A Dvirtio_pcm_ops.c520 .open = virtsnd_pcm_open,
532 .open = virtsnd_pcm_open,
/linux-master/kernel/trace/
H A Dtrace_events_filter.c1982 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 Dmsm_debugfs.c114 .open = msm_gpu_open,
177 .open = msm_kms_open,
/linux-master/tools/testing/selftests/sgx/
H A Dload.c51 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 Dzcore.c166 .open = zcore_reipl_open,
202 .open = nonseekable_open,
/linux-master/tools/mm/
H A Dthpmaps26 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 Dvm_util.c134 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 Dtest_dbc.py28 with open(fused_part, "r") as r:
41 self.d = open(DEVICE_NODE)
/linux-master/include/linux/
H A Dinput.h90 * @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 Dserial-generic.c50 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 Dhci_serdev.c153 * open may drain the battery.
321 err = p->open(hu);
351 hdev->open = hci_uart_open;
/linux-master/drivers/edac/
H A Dzynqmp_edac.c282 .open = simple_open,
344 .open = simple_open,
/linux-master/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c49 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 DMakefile64 obj-$(CONFIG_OPEN_DICE) += open-dice.o
/linux-master/tools/perf/tests/
H A Ddso-data.c191 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 Dfs_test.c421 * 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 Dsof-client-ipc-msg-injector.c232 .open = sof_msg_inject_dfs_open,
242 .open = sof_msg_inject_dfs_open,
/linux-master/drivers/input/mouse/
H A Dappletouch.c203 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 Djoydev.c36 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 Dpty.c457 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...]

Completed in 348 milliseconds

<<21222324252627282930>>