Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 2641) sorted by relevance

12345678910>>...106

/linux-6.3-rc2/io_uring/
A Dopenclose.c58 open->dfd = READ_ONCE(sqe->fd); in __io_openat_prep()
61 if (IS_ERR(open->filename)) { in __io_openat_prep()
63 open->filename = NULL; in __io_openat_prep()
68 if (open->file_slot && (open->how.flags & O_CLOEXEC)) in __io_openat_prep()
100 ret = copy_struct_from_user(&open->how, sizeof(open->how), how, len); in io_openat2_prep()
128 ret = __get_unused_fd_flags(open->how.flags, open->nofile); in io_openat2()
133 file = do_filp_open(open->dfd, open->filename, &op); in io_openat2()
159 open->file_slot); in io_openat2()
161 putname(open->filename); in io_openat2()
178 if (open->filename) in io_open_cleanup()
[all …]
/linux-6.3-rc2/arch/arm64/boot/dts/nvidia/
A Dtegra210-p2595.dtsi20 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
29 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
38 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
47 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
56 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
64 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
72 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
80 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
88 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
96 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
A Dtegra210-p2571.dts21 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
30 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
39 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
48 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
57 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
65 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
73 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
81 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
89 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
97 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
A Dtegra210-p2597.dtsi54 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
63 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
72 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
81 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
90 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
98 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
106 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
113 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
120 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
127 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
A Dtegra210-p2894.dtsi36 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
45 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
54 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
63 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
72 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
80 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
1391 drive-open-drain = <1>;
1398 drive-open-drain = <1>;
1806 gpio-open-drain;
1817 gpio-open-drain;
[all …]
A Dtegra210-smaug.dts50 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
59 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
68 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
77 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
86 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
95 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
103 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
111 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
119 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
127 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
/linux-6.3-rc2/sound/isa/sb/
A Dsb8_midi.c60 if (chip->open & ~valid_open_flags) { in snd_sb8dsp_midi_input_open()
64 chip->open |= SB_OPEN_MIDI_INPUT; in snd_sb8dsp_midi_input_open()
66 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_open()
87 if (chip->open & ~valid_open_flags) { in snd_sb8dsp_midi_output_open()
91 chip->open |= SB_OPEN_MIDI_OUTPUT; in snd_sb8dsp_midi_output_open()
93 if (!(chip->open & SB_OPEN_MIDI_INPUT)) { in snd_sb8dsp_midi_output_open()
113 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_close()
132 if (!(chip->open & SB_OPEN_MIDI_INPUT)) { in snd_sb8dsp_midi_output_close()
152 chip->open |= SB_OPEN_MIDI_INPUT_TRIGGER; in snd_sb8dsp_midi_input_trigger()
237 .open = snd_sb8dsp_midi_output_open,
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/i2c/
A Di2c-gpio.yaml23 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)
25 open drain.
31 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)
33 open drain.
56 i2c-gpio,sda-open-drain:
63 i2c-gpio,scl-open-drain:
73 Therefore disable open-drain. This property is mutually-exclusive
74 with i2c-gpio,sda-open-drain.
80 with i2c-gpio,scl-open-drain.
86 - i2c-gpio,sda-open-drain
[all …]
/linux-6.3-rc2/Documentation/userspace-api/media/mediactl/
A Dmedia-func-open.rst4 .. _media-func-open:
7 media open()
13 media-open - Open a media device
22 .. c:function:: int open( const char *device_name, int flags )
37 To open a media device applications call :c:func:`open()` with the
48 :c:func:`open()` returns the new file descriptor on success. On error,
56 The process already has the maximum number of files open.
59 The system limit on the total number of open files has been reached.
/linux-6.3-rc2/Documentation/userspace-api/media/cec/
A Dcec-func-open.rst4 .. _cec-func-open:
7 cec open()
13 cec-open - Open a cec device
22 .. c:function:: int open( const char *device_name, int flags )
46 To open a cec device applications call :c:func:`open()` with the
57 :c:func:`open()` returns the new file descriptor on success. On error,
65 The process already has the maximum number of files open.
68 The system limit on the total number of open files has been reached.
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A Dfunc-open.rst4 .. _func-open:
7 V4L2 open()
13 v4l2-open - Open a V4L2 device
22 .. c:function:: int open( const char *device_name, int flags )
47 To open a V4L2 device applications call :c:func:`open()` with the
50 remain unchanged. At the first :c:func:`open()` call after loading the
57 On success :c:func:`open()` returns the new file descriptor. On error
75 The process already has the maximum number of files open.
78 The limit on the total number of files open on the system has been
/linux-6.3-rc2/scripts/coccinelle/api/
A Dsimple_open.cocci2 /// Remove an open coded simple_open() function
13 @ open depends on patch @
28 @ has_open depends on open @
30 identifier open.open_f;
34 -.open = open_f,
35 +.open = simple_open,
62 .open = open_f@p,
/linux-6.3-rc2/arch/arm/boot/dts/
A Dnuvoton-npcm730-gsj-gpio.dtsi84 drive-open-drain;
114 drive-open-drain;
129 drive-open-drain;
134 drive-open-drain;
139 drive-open-drain;
144 drive-open-drain;
149 drive-open-drain;
154 drive-open-drain;
159 drive-open-drain;
164 drive-open-drain;
[all …]
/linux-6.3-rc2/Documentation/userspace-api/media/dvb/
A Dca-fopen.rst7 Digital TV CA open()
13 Digital TV CA open()
18 .. c:function:: int open(const char *name, int flags)
43 - open in non-blocking mode
52 When an ``open()`` call has succeeded, the device will be ready for use. The
55 affect the semantics of the ``open()`` call itself. A device opened in
59 Only one user can open the CA Device in ``O_RDWR`` mode. All other
60 attempts to open the device in this mode will fail, and an error code
A Dfrontend_f_open.rst7 Digital TV frontend open()
13 fe-open - Open a frontend device
22 .. c:function:: int open( const char *device_name, int flags )
36 Only one open is allowed in ``O_RDWR``. In this mode, all ioctls are
50 thing to do after a successful open is to find out the frontend type
58 multiple devices cannot be open in read/write mode simultaneously. As
59 long as a front-end device is opened in read/write mode, other open()
65 When an open() call has succeeded, the device will be ready for use in
73 On success :c:func:`open()` returns the new file descriptor.
97 - The process already has the maximum number of files open.
[all …]
A Ddmx-fopen.rst7 Digital TV demux open()
13 Digital TV demux open()
18 .. c:function:: int open(const char *deviceName, int flags)
46 - open in non-blocking mode
65 affect the semantics of the ``open()`` call itself. A device opened
85 - "Too many open files", i.e. no more filters available.
/linux-6.3-rc2/tools/testing/selftests/wireguard/qemu/
A Dinit.c66 fd = open("/dev/random", O_WRONLY); in seed_rng()
114 fd = open("/proc/sys/kernel/printk", O_WRONLY); in enable_logging()
120 fd = open("/proc/sys/debug/exception-trace", O_WRONLY); in enable_logging()
179 fd = open("/proc/cmdline", O_RDONLY); in launch_tests()
195 fd = open(success_dev, O_WRONLY); in launch_tests()
219 int fd = open("/dev/console", O_RDWR); in ensure_console()
238 fd = open("/sys/kernel/debug/kmemleak", O_WRONLY); in clear_leaks()
250 fd = open("/sys/kernel/debug/kmemleak", O_WRONLY); in check_leaks()
258 fd = open("/sys/kernel/debug/kmemleak", O_RDONLY); in check_leaks()
/linux-6.3-rc2/fs/nfsd/
A Dnfs4proc.c220 open->op_filp = filp; in nfsd4_vfs_create()
246 if (isdotent(open->op_fname, open->op_fnamelen)) in nfsd4_create_file()
266 child = lookup_one_len(open->op_fname, parent, open->op_fnamelen); in nfsd4_create_file()
426 open->op_fname, open->op_fnamelen, *resfh); in do_open_lookup()
464 open->op_truncate = (open->op_iattr.ia_valid & ATTR_SIZE) && in do_open_fhandle()
495 struct nfsd4_open *open = &u->open; in nfsd4_open() local
503 (int)open->op_fnamelen, open->op_fname, in nfsd4_open()
504 open->op_openowner); in nfsd4_open()
510 if (open->op_create && open->op_claim_type != NFS4_OPEN_CLAIM_NULL) in nfsd4_open()
597 if (open->op_filp) { in nfsd4_open()
[all …]
/linux-6.3-rc2/tools/testing/selftests/drivers/sdsi/
A Dsdsi_test.py29 with open(file, mode='rb') as f:
49 f = open(file, "r")
121 f = open(folder + "provision_cap", "wb", 0)
128 f = open(folder + "provision_akc", "wb", 0)
141 f = open(folder + "registers", "rb")
159 f = open(node, 'wb', 0)
173 f = open(node, 'wb', 0)
174 g = open(node, 'wb', 0)
176 with open(driver_dir + 'unbind', 'w') as k:
211 with open(driver_dir + 'unbind', 'w') as k:
[all …]
/linux-6.3-rc2/drivers/staging/media/av7110/
A Dvideo-fopen.rst7 dvb video open()
13 dvb video open()
20 .. c:function:: int open(const char *deviceName, int flags)
54 - O_NONBLOCK open in non-blocking mode
67 When an open() call has succeeded, the device will be ready for use. The
70 affect the semantics of the open() call itself. A device opened in
74 user can open the Video Device in O_RDWR mode. All other attempts to
75 open the device in this mode will fail, and an error-code will be
A Daudio-fopen.rst7 Digital TV audio open()
13 Digital TV audio open()
20 .. c:function:: int open(const char *deviceName, int flags)
54 - O_NONBLOCK open in non-blocking mode
65 /dev/dvb/adapter0/audio0) for subsequent use. When an open() call has
69 of the open() call itself. A device opened in blocking mode can later be
72 the Linux manual page for fcntl. Only one user can open the Audio Device
73 in O_RDWR mode. All other attempts to open the device in this mode will
/linux-6.3-rc2/tools/testing/kunit/
A Dkunit_tool_test.py101 with open(log_path) as file:
112 with open(log_path) as file:
162 with open(failed_log) as file:
169 with open(empty_log) as file:
211 with open(crash_log) as file:
276 with open(pound_log) as file:
321 with open(ktap_log) as file:
330 with open(ktap_log) as file:
417 with open(other, 'w') as f:
430 with open(other, 'w') as f:
[all …]
/linux-6.3-rc2/sound/soc/qcom/qdsp6/
A Dq6adm.c183 } __packed *open = data->payload; in q6adm_callback() local
189 if (open->copp_id == INVALID_COPP_ID) { in q6adm_callback()
191 open->copp_id); in q6adm_callback()
198 copp->id = open->copp_id; in q6adm_callback()
325 struct q6adm_cmd_device_open_v5 *open; in q6adm_device_open() local
337 open = p + APR_HDR_SIZE; in q6adm_device_open()
347 open->mode_of_operation = path; in q6adm_device_open()
348 open->endpoint_id_1 = afe_port; in q6adm_device_open()
349 open->topology_id = topology; in q6adm_device_open()
351 open->bit_width = bit_width; in q6adm_device_open()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/reserved-memory/
A Dgoogle,open-dice.yaml4 $id: http://devicetree.org/schemas/reserved-memory/google,open-dice.yaml#
13 See https://pigweed.googlesource.com/open-dice/
23 const: google,open-dice
42 compatible = "google,open-dice";
/linux-6.3-rc2/tools/cgroup/
A Diocost_coef_gen.py102 with open(outfile.name, 'r') as f:
110 with open(elevator_path, 'w') as f:
112 with open(nomerges_path, 'w') as f:
142 with open(elevator_path, 'r') as f:
144 with open(nomerges_path, 'r') as f:
149 with open(elevator_path, 'w') as f:
151 with open(nomerges_path, 'w') as f:

Completed in 53 milliseconds

12345678910>>...106