Home
last modified time | relevance | path

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

12345678910>>...109

/linux/arch/arm64/boot/dts/nvidia/ !
H 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
[all...]
H 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
[all...]
H 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
[all...]
H 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>;
88 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
96 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
104 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
112 nvidia,open
[all...]
H A Dtegra210-smaug.dts82 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
91 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
100 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
109 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
118 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
127 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
135 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
143 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
151 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
159 nvidia,open
[all...]
/linux/io_uring/ !
H A Dopenclose.c41 static bool io_openat_force_async(struct io_open *open) in io_openat_force_async() argument
44 * Don't bother trying for O_TRUNC, O_CREAT, or O_TMPFILE open, in io_openat_force_async()
49 return open->how.flags & (O_TRUNC | O_CREAT | __O_TMPFILE); in io_openat_force_async()
54 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); in __io_openat_prep() local
63 /* open.how should be already initialised */ in __io_openat_prep()
64 if (!(open->how.flags & O_PATH) && force_o_largefile()) in __io_openat_prep()
65 open->how.flags |= O_LARGEFILE; in __io_openat_prep()
67 open->dfd = READ_ONCE(sqe->fd); in __io_openat_prep()
69 open->filename = getname(fname); in __io_openat_prep()
70 if (IS_ERR(open in __io_openat_prep()
89 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat_prep() local
99 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat2_prep() local
118 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat2() local
184 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_open_cleanup() local
[all...]
/linux/sound/isa/sb/ !
H A Dsb8_midi.c42 if (chip->open & SB_OPEN_MIDI_INPUT_TRIGGER) { in snd_sb8dsp_midi_interrupt()
61 if (chip->open & ~valid_open_flags) { in snd_sb8dsp_midi_input_open()
65 chip->open |= SB_OPEN_MIDI_INPUT; in snd_sb8dsp_midi_input_open()
67 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_open()
88 if (chip->open & ~valid_open_flags) { in snd_sb8dsp_midi_output_open()
92 chip->open |= SB_OPEN_MIDI_OUTPUT; in snd_sb8dsp_midi_output_open()
94 if (!(chip->open & SB_OPEN_MIDI_INPUT)) { in snd_sb8dsp_midi_output_open()
112 chip->open &= ~(SB_OPEN_MIDI_INPUT | SB_OPEN_MIDI_INPUT_TRIGGER); in snd_sb8dsp_midi_input_close()
114 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_close()
131 chip->open in snd_sb8dsp_midi_output_close()
[all...]
/linux/Documentation/userspace-api/media/mediactl/ !
H 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/Documentation/userspace-api/media/cec/ !
H 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/Documentation/userspace-api/media/v4l/ !
H 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 o
[all...]
/linux/scripts/coccinelle/api/ !
H 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/arch/arm/boot/dts/nuvoton/ !
H 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
[all...]
/linux/Documentation/userspace-api/media/dvb/ !
H 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
H 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/tools/testing/selftests/wireguard/qemu/ !
H A Dinit.c66 fd = open("/dev/random", O_WRONLY); in seed_rng()
68 panic("open(random)"); 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()
181 panic("open(/proc/cmdline)"); in launch_tests()
195 fd = open(success_dev, O_WRONLY); in launch_tests()
197 panic("open(success_dev)"); in launch_tests()
219 int fd = open("/dev/console", O_RDWR); in ensure_console()
231 panic("Unable to open consol in ensure_console()
[all...]
/linux/tools/testing/kunit/ !
H A Dkunit_tool_test.py102 with open(log_path) as file:
113 with open(log_path) as file:
142 with open(all_passed_log) as file:
149 with open(all_passed_log) as file:
156 with open(kselftest_log) as file:
163 with open(failed_log) as file:
170 with open(empty_log) as file:
180 with open(missing_plan_log) as file:
190 with open(header_log) as file:
199 with open(no_plan_lo
[all...]
/linux/tools/testing/selftests/drivers/sdsi/ !
H 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_di
[all...]
/linux/fs/nfsd/ !
H A Dnfs4proc.c107 struct nfsd4_compound_state *cstate, struct nfsd4_open *open) in nfsd4_check_open_attributes() argument
111 if (open->op_create == NFS4_OPEN_CREATE) { in nfsd4_check_open_attributes()
112 if (open->op_createmode == NFS4_CREATE_UNCHECKED in nfsd4_check_open_attributes()
113 || open->op_createmode == NFS4_CREATE_GUARDED) in nfsd4_check_open_attributes()
115 open->op_bmval, nfsd_attrmask); in nfsd4_check_open_attributes()
116 else if (open->op_createmode == NFS4_CREATE_EXCLUSIVE4_1) in nfsd4_check_open_attributes()
118 open->op_bmval, nfsd41_ex_attrmask); in nfsd4_check_open_attributes()
125 is_create_with_attrs(struct nfsd4_open *open) in is_create_with_attrs() argument
127 return open->op_create == NFS4_OPEN_CREATE in is_create_with_attrs()
128 && (open in is_create_with_attrs()
144 do_open_permission(struct svc_rqst * rqstp,struct svc_fh * current_fh,struct nfsd4_open * open,int accmode) do_open_permission() argument
182 nfsd4_set_open_owner_reply_cache(struct nfsd4_compound_state * cstate,struct nfsd4_open * open,struct svc_fh * resfh) nfsd4_set_open_owner_reply_cache() argument
198 nfsd4_vfs_create(struct svc_fh * fhp,struct dentry * child,struct nfsd4_open * open) nfsd4_vfs_create() argument
236 nfsd4_create_file(struct svc_rqst * rqstp,struct svc_fh * fhp,struct svc_fh * resfhp,struct nfsd4_open * open) nfsd4_create_file() argument
423 do_open_lookup(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_open * open,struct svc_fh ** resfh) do_open_lookup() argument
490 do_open_fhandle(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_open * open) do_open_fhandle() argument
534 struct nfsd4_open *open = &u->open; nfsd4_open() local
658 struct nfsd4_open *open = &op->u.open; nfsd4_open_omfg() local
[all...]
/linux/tools/testing/selftests/landlock/ !
H A Dbase_test.c227 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
250 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
284 fd = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST()
295 fd = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST()
404 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
432 ASSERT_EQ(-1, open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in TEST()
434 dir_fd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC); in TEST()
444 dir_fd = open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC); in TEST()
447 dir_fd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC); in TEST()
467 dir_fd = open("/", O_RDONL in TEST()
[all...]
/linux/tools/testing/selftests/powerpc/papr_sysparm/ !
H A Dpapr_sysparm.c15 const int devfd = open(DEVPATH, O_RDONLY); in open_close()
31 const int devfd = open(DEVPATH, O_RDONLY); in get_splpar()
50 const int devfd = open(DEVPATH, O_RDONLY); in get_bad_parameter()
73 const int devfd = open(DEVPATH, O_RDWR); in check_efault_common()
104 const int devfd = open(DEVPATH, O_RDWR); in set_hmc0()
126 const int devfd = open(DEVPATH, O_RDONLY); in set_with_ro_fd()
139 // the file is open read-only, we expect the driver to prevent in set_with_ro_fd()
156 .description = "open and close " DEVPATH " without issuing commands",
/linux/sound/soc/qcom/qdsp6/ !
H 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
331 pkt_size = APR_HDR_SIZE + sizeof(*open); in q6adm_device_open()
337 open = p + APR_HDR_SIZE; in q6adm_device_open()
346 open->flags = ADM_LEGACY_DEVICE_SESSION; in q6adm_device_open()
347 open->mode_of_operation = path; in q6adm_device_open()
348 open in q6adm_device_open()
[all...]
/linux/scripts/ !
H A Dmake_fit.py178 with open(comp_fname.name, 'wb') as outf:
189 with open(comp_fname.name, 'rb') as compf:
210 with open(fname, 'rb') as inf:
228 with open(fname, 'rb') as inf:
238 with open(cmd_fname, 'r', encoding='ascii') as inf:
272 with open(args.kernel, 'rb') as inf:
310 with open(args.output, 'wb') as outf:
319 with open(args.output, 'rb') as inf:
/linux/tools/cgroup/ !
H 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:
/linux/arch/arm64/boot/dts/freescale/ !
H A Ds32gxxxa-evb.dtsi68 drive-open-drain;
82 drive-open-drain;
96 drive-open-drain;
110 drive-open-drain;
124 drive-open-drain;
138 drive-open-drain;
152 drive-open-drain;
166 drive-open-drain;
/linux/tools/testing/selftests/powerpc/papr_vpd/ !
H A Dpapr_vpd.c18 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_open_close()
31 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_get_handle_all()
70 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_get_handle_byte_at_a_time()
111 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_unterm_loc_code()
137 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_null_handle()
156 const int devfd = open(DEVPATH, O_RDONLY); in papr_vpd_close_handle_without_reading()
179 const int devfd = open(DEVPATH, O_RDONLY); in papr_vpd_reread()
262 const int devfd = open(DEVPATH, O_RDONLY); in papr_vpd_system_loc_code()
308 .description = "open/close " DEVPATH,

12345678910>>...109