| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra210-p2595.dtsi | 20 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 …]
|
| H A D | tegra210-p2571.dts | 21 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 …]
|
| H A D | tegra210-p2597.dtsi | 54 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 …]
|
| H A D | tegra210-p2894.dtsi | 36 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-drain = <TEGRA_PIN_DISABLE>; [all …]
|
| /linux/io_uring/ |
| H A D | openclose.c | 42 static bool io_openat_force_async(struct io_open *open) in io_openat_force_async() argument 45 * Don't bother trying for O_TRUNC, O_CREAT, or O_TMPFILE open, in io_openat_force_async() 50 return open->how.flags & (O_TRUNC | O_CREAT | __O_TMPFILE); in io_openat_force_async() 55 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); in __io_openat_prep() local 64 /* open.how should be already initialised */ in __io_openat_prep() 65 if (!(open->how.flags & O_PATH) && force_o_largefile()) in __io_openat_prep() 66 open->how.flags |= O_LARGEFILE; in __io_openat_prep() 68 open->dfd = READ_ONCE(sqe->fd); in __io_openat_prep() 70 ret = delayed_getname(&open->filename, fname); in __io_openat_prep() 75 open in __io_openat_prep() 87 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat_bpf_populate() local 96 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat_prep() local 106 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat2_prep() local 125 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat2() local 195 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_open_cleanup() local [all...] |
| /linux/Documentation/userspace-api/media/mediactl/ |
| H A D | media-func-open.rst | 4 .. _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 D | cec-func-open.rst | 4 .. _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 D | func-open.rst | 4 .. _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/arch/arm/boot/dts/nuvoton/ |
| H A D | nuvoton-npcm730-gsj-gpio.dtsi | 84 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/scripts/coccinelle/api/ |
| H A D | simple_open.cocci | 2 /// 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/tools/testing/selftests/namespaces/ |
| H A D | nsid_test.c | 40 * exit and keeps the test runner's tap pipe open, hanging the runner. in FIXTURE_TEARDOWN() 59 fd_mntns = open("/proc/self/ns/mnt", O_RDONLY); in TEST() 86 fd_parent_mntns = open("/proc/self/ns/mnt", O_RDONLY); in TEST_F() 143 fd_child_mntns = open(path, O_RDONLY); in TEST_F() 165 fd_cgroupns = open("/proc/self/ns/cgroup", O_RDONLY); in TEST() 192 fd_parent_cgroupns = open("/proc/self/ns/cgroup", O_RDONLY); in TEST_F() 249 fd_child_cgroupns = open(path, O_RDONLY); in TEST_F() 271 fd_ipcns = open("/proc/self/ns/ipc", O_RDONLY); in TEST() 298 fd_parent_ipcns = open("/proc/self/ns/ipc", O_RDONLY); in TEST_F() 355 fd_child_ipcns = open(pat in TEST_F() [all...] |
| H A D | file_handle_test.c | 40 ns_fd = open("/proc/self/ns/net", O_RDONLY); in TEST() 95 ns_fd = open("/proc/self/ns/uts", O_RDONLY); in TEST() 145 ns_fd = open("/proc/self/ns/ipc", O_RDONLY); in TEST() 195 ns_fd = open("/proc/self/ns/pid", O_RDONLY); in TEST() 245 ns_fd = open("/proc/self/ns/mnt", O_RDONLY); in TEST() 295 ns_fd = open("/proc/self/ns/user", O_RDONLY); in TEST() 345 ns_fd = open("/proc/self/ns/cgroup", O_RDONLY); in TEST() 397 ns_fd = open("/proc/self/ns/time", O_RDONLY); in TEST() 451 ns_fd = open("/proc/self/ns/net", O_RDONLY); in TEST() 481 int uid_map_fd = open("/proc/self/uid_map", O_WRONLY); in TEST() [all …]
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | ca-fopen.rst | 7 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 D | frontend_f_open.rst | 7 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 …]
|
| /linux/tools/testing/selftests/wireguard/qemu/ |
| H A D | init.c | 66 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/tools/testing/selftests/drivers/sdsi/ |
| H A D | sdsi_test.py | 29 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/fs/nfsd/ |
| H A D | nfs4proc.c | 166 struct nfsd4_open *open) in do_open_permission() 170 if (open->op_create != NFS4_OPEN_CREATE) in do_open_permission() 173 switch (open->op_createmode) { in nfsd_check_obj_isreg() 176 status = check_attr_support(cstate, open->op_bmval, in nfsd_check_obj_isreg() 180 status = check_attr_support(cstate, open->op_bmval, in nfsd_check_obj_isreg() 188 is_create_with_attrs(struct nfsd4_open *open) in nfsd_check_obj_isreg() 190 return open->op_create == NFS4_OPEN_CREATE 191 && (open->op_createmode == NFS4_CREATE_UNCHECKED in nfsd4_set_open_owner_reply_cache() argument 192 || open->op_createmode == NFS4_CREATE_GUARDED in nfsd4_set_open_owner_reply_cache() 193 || open in nfsd4_set_open_owner_reply_cache() 112 nfsd4_check_open_attributes(struct nfsd4_compound_state * cstate,struct nfsd4_open * open) nfsd4_check_open_attributes() argument 134 is_create_with_attrs(struct nfsd4_open * open) is_create_with_attrs() argument 153 do_open_permission(struct svc_rqst * rqstp,struct svc_fh * current_fh,struct nfsd4_open * open,int accmode) do_open_permission() argument 207 nfsd4_vfs_create(struct svc_fh * fhp,struct dentry ** child,struct nfsd4_open * open) nfsd4_vfs_create() argument 250 nfsd4_create_file(struct svc_rqst * rqstp,struct svc_fh * fhp,struct svc_fh * resfhp,struct nfsd4_open * open) nfsd4_create_file() argument 456 do_open_lookup(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_open * open,struct svc_fh ** resfh) do_open_lookup() argument 523 do_open_fhandle(struct svc_rqst * rqstp,struct nfsd4_compound_state * cstate,struct nfsd4_open * open) do_open_fhandle() argument 567 struct nfsd4_open *open = &u->open; nfsd4_open() local 696 struct nfsd4_open *open = &op->u.open; nfsd4_open_omfg() local [all...] |
| /linux/tools/lib/python/ |
| H A D | jobserver.py | 13 - open read/write file descriptors to communicate with the job server; 56 - open(): reserves all slots; member in JobserverExec 69 def open(self): 100 self.reader = os.open(path, os.O_RDONLY | os.O_NONBLOCK) 101 self.writer = os.open(path, os.O_WRONLY) 103 warn('unable to open jobserver pipe', path) 124 self.reader = os.open(f"/proc/self/fd/{self.reader}", 180 self.open() 195 self.open() # Ensure that self.claim is set
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | base_test.c | 246 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST() 269 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST() 325 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST() 350 fd = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST() 361 fd = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST() 517 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); 545 ASSERT_EQ(-1, open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC)); 547 dir_fd = open("/tmp", O_RDONLY | O_DIRECTORY | O_CLOEXEC); 557 dir_fd = open("/", O_RDONLY | O_DIRECTORY | O_CLOEXEC); 560 dir_fd = open("/tm [all...] |
| /linux/tools/testing/kunit/ |
| H A D | kunit_tool_test.py | 105 with open(log_path) as file: 116 with open(log_path) as file: 145 with open(all_passed_log) as file: 152 with open(all_passed_log) as file: 159 with open(kselftest_log) as file: 166 with open(failed_log) as file: 173 with open(nested_log) as file: 184 with open(empty_log) as file: 194 with open(missing_plan_log) as file: 204 with open(header_lo [all...] |
| /linux/tools/testing/selftests/powerpc/papr_sysparm/ |
| H A D | papr_sysparm.c | 15 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()
|
| /linux/tools/testing/selftests/liveupdate/ |
| H A D | liveupdate.c | 14 * - Device access: basic open/close, and enforcement of exclusive access. 62 self->fd1 = open(LIVEUPDATE_DEV, O_RDWR); in TEST_F() 76 * at a time. It checks that a second attempt to open the device fails with 81 self->fd1 = open(LIVEUPDATE_DEV, O_RDWR); in TEST_F() 87 self->fd2 = open(LIVEUPDATE_DEV, O_RDWR); in TEST_F() 102 self->fd1 = open(LIVEUPDATE_DEV, O_RDWR); in create_session() 127 self->fd1 = open(LIVEUPDATE_DEV, O_RDWR); in TEST_F() 155 self->fd1 = open(LIVEUPDATE_DEV, O_RDWR); 190 self->fd1 = open(LIVEUPDATE_DEV, O_RDWR); in TEST_F() 238 self->fd1 = open(LIVEUPDATE_DE in TEST_F() [all...] |
| /linux/rust/proc-macro2/ |
| H A D | extra.rs | 94 open: proc_macro::Span, 106 open: group.span_open(), in new() 131 pub fn open(&self) -> Span { in open() method 134 DelimSpanEnum::Compiler { open, .. } => Span::_new(imp::Span::Compiler(*open)), in open()
|
| /linux/sound/soc/qcom/qdsp6/ |
| H A D | q6adm.c | 247 } __packed *open = data->payload; in q6adm_callback() local 253 if (open->copp_id == INVALID_COPP_ID) { in q6adm_callback() 255 open->copp_id); in q6adm_callback() 262 copp->id = open->copp_id; in q6adm_callback() 330 struct q6adm_cmd_device_open_v5 *open; in q6adm_device_open() local 333 int ret, pkt_size = APR_HDR_SIZE + sizeof(*open); in q6adm_device_open() 340 open = p + APR_HDR_SIZE; in q6adm_device_open() 349 open->flags = ADM_LEGACY_DEVICE_SESSION; in q6adm_device_open() 350 open->mode_of_operation = path; in q6adm_device_open() 351 open in q6adm_device_open() [all...] |
| /linux/scripts/ |
| H A D | make_fit.py | 208 with open(comp_fname.name, 'wb') as outf: 224 with open(comp_fname.name, 'rb') as compf: 239 with open(fname, 'rb') as inf: 262 with open(fname, 'rb') as inf: 280 with open(fname, 'rb') as inf: 290 with open(cmd_fname, 'r', encoding='ascii') as inf: 391 with open(args.kernel, 'rb') as inf: 399 with open(args.ramdisk, 'rb') as inf: 420 with open(args.output, 'wb') as outf: 429 with open(arg [all...] |