/kernel/linux/linux-6.6/io_uring/ |
H A D | openclose.c | 34 static bool io_openat_force_async(struct io_open *open) in io_openat_force_async() argument 37 * Don't bother trying for O_TRUNC, O_CREAT, or O_TMPFILE open, in io_openat_force_async() 42 return open->how.flags & (O_TRUNC | O_CREAT | __O_TMPFILE); in io_openat_force_async() 47 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); in __io_openat_prep() local 56 /* open.how should be already initialised */ in __io_openat_prep() 57 if (!(open->how.flags & O_PATH) && force_o_largefile()) in __io_openat_prep() 58 open->how.flags |= O_LARGEFILE; in __io_openat_prep() 60 open->dfd = READ_ONCE(sqe->fd); in __io_openat_prep() 62 open->filename = getname(fname); in __io_openat_prep() 63 if (IS_ERR(open in __io_openat_prep() 82 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat_prep() local 92 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat2_prep() local 111 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_openat2() local 177 struct io_open *open = io_kiocb_to_cmd(req, struct io_open); io_open_cleanup() local [all...] |
/kernel/linux/linux-5.10/sound/isa/sb/ |
H A D | sb8_midi.c | 41 if (chip->open & SB_OPEN_MIDI_INPUT_TRIGGER) { in snd_sb8dsp_midi_interrupt() 60 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() 111 chip->open &= ~(SB_OPEN_MIDI_INPUT | SB_OPEN_MIDI_INPUT_TRIGGER); in snd_sb8dsp_midi_input_close() 113 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_close() 130 chip->open in snd_sb8dsp_midi_output_close() [all...] |
/kernel/linux/linux-6.6/sound/isa/sb/ |
H A D | sb8_midi.c | 41 if (chip->open & SB_OPEN_MIDI_INPUT_TRIGGER) { in snd_sb8dsp_midi_interrupt() 60 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() 111 chip->open &= ~(SB_OPEN_MIDI_INPUT | SB_OPEN_MIDI_INPUT_TRIGGER); in snd_sb8dsp_midi_input_close() 113 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_close() 130 chip->open in snd_sb8dsp_midi_output_close() [all...] |
/kernel/uniproton/cmake/common/build_auxiliary_script/ |
H A D | Kconfig2macro.py | 30 with open(in_file, 'r') as fd_in: 40 with codecs.open(out_file, 113 with codecs.open(out_file, 'a+') as fd_out, open(in_file) as fd_in: 125 with open(filename, 'r', errors='ignore') as fp: 130 with codecs.open(file, 'a+') as fd_in: 138 with codecs.open(out_file, 'a+') as fd_out: 147 with codecs.open(out_file, 'a+') as fd_out: 157 with codecs.open(out_file, 'a+') as fd_out:
|
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/qemu/ |
H A D | init.c | 72 fd = open("/dev/urandom", O_WRONLY); in seed_rng() 74 panic("open(urandom)"); in seed_rng() 113 fd = open("/proc/sys/kernel/printk", O_WRONLY); in enable_logging() 119 fd = open("/proc/sys/debug/exception-trace", O_WRONLY); in enable_logging() 125 fd = open("/proc/sys/kernel/panic_on_warn", O_WRONLY); in enable_logging() 184 fd = open("/proc/cmdline", O_RDONLY); in launch_tests() 186 panic("open(/proc/cmdline)"); in launch_tests() 200 fd = open(success_dev, O_WRONLY); in launch_tests() 202 panic("open(success_dev)"); in launch_tests() 224 int fd = open("/de in ensure_console() [all...] |
/kernel/linux/linux-5.10/drivers/staging/fwserial/ |
H A D | dma_fifo.c | 27 * private helper fn to determine if check is in open interval (lo,hi) 79 fifo->open = 0; in dma_fifo_alloc() 126 fifo->open = 0; in dma_fifo_reset() 198 if (fifo->open == fifo->open_limit) in dma_fifo_out_pend() 223 ++fifo->open; in dma_fifo_out_pend() 225 if (FAIL(fifo, fifo->open > fifo->open_limit, in dma_fifo_out_pend() 226 "past open limit:%d (limit:%d)", in dma_fifo_out_pend() 227 fifo->open, fifo->open_limit)) in dma_fifo_out_pend() 250 if (list_empty(&fifo->pending) && fifo->open == 0) in dma_fifo_out_complete() 253 if (FAIL(fifo, list_empty(&fifo->pending) != (fifo->open in dma_fifo_out_complete() [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4proc.c | 105 struct nfsd4_compound_state *cstate, struct nfsd4_open *open) in nfsd4_check_open_attributes() 109 if (open->op_create == NFS4_OPEN_CREATE) { in nfsd4_check_open_attributes() 110 if (open->op_createmode == NFS4_CREATE_UNCHECKED in nfsd4_check_open_attributes() 111 || open->op_createmode == NFS4_CREATE_GUARDED) in nfsd4_check_open_attributes() 113 open->op_bmval, nfsd_attrmask); in nfsd4_check_open_attributes() 114 else if (open->op_createmode == NFS4_CREATE_EXCLUSIVE4_1) in nfsd4_check_open_attributes() 116 open->op_bmval, nfsd41_ex_attrmask); in nfsd4_check_open_attributes() 123 is_create_with_attrs(struct nfsd4_open *open) in is_create_with_attrs() argument 125 return open->op_create == NFS4_OPEN_CREATE in is_create_with_attrs() 126 && (open in is_create_with_attrs() 104 nfsd4_check_open_attributes(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open) nfsd4_check_open_attributes() argument 142 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int accmode) do_open_permission() argument 179 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 194 nfsd4_vfs_create(struct svc_fh *fhp, struct dentry *child, struct nfsd4_open *open) nfsd4_vfs_create() argument 232 nfsd4_create_file(struct svc_rqst *rqstp, struct svc_fh *fhp, struct svc_fh *resfhp, struct nfsd4_open *open) nfsd4_create_file() argument 418 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh **resfh) do_open_lookup() argument 485 do_open_fhandle(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open) do_open_fhandle() argument 529 struct nfsd4_open *open = &u->open; nfsd4_open() local 653 struct nfsd4_open *open = &op->u.open; nfsd4_open_omfg() local [all...] |
H A D | nfs4state.c | 107 * the refcount on the open stateid to drop. 542 find_openstateowner_str_locked(unsigned int hashval, struct nfsd4_open *open, in find_openstateowner_str_locked() argument 553 if (same_owner_str(so, &open->op_owner)) in find_openstateowner_str_locked() 560 find_openstateowner_str(unsigned int hashval, struct nfsd4_open *open, in find_openstateowner_str() argument 566 oo = find_openstateowner_str_locked(hashval, open, clp); in find_openstateowner_str() 702 /* hash tables for lock and open owners */ 740 * new_stp: normal open, not open upgrade. 858 * Allocate a new open/delegation state counter. This is needed for 2634 seq_printf(s, ": { type: open, "); in nfs4_show_open() 4520 nfsd4_find_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) nfsd4_find_existing_open() argument 4575 nfsd4_find_and_lock_existing_open(struct nfs4_file *fp, struct nfsd4_open *open) nfsd4_find_and_lock_existing_open() argument 4590 alloc_init_open_stateowner(unsigned int strhashval, struct nfsd4_open *open, struct nfsd4_compound_state *cstate) alloc_init_open_stateowner() argument 4621 init_open_stateid(struct nfs4_file *fp, struct nfsd4_open *open) init_open_stateid() argument 5043 nfsd4_process_open1(struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct nfsd_net *nn) nfsd4_process_open1() argument 5126 nfsd4_is_deleg_cur(struct nfsd4_open *open) nfsd4_is_deleg_cur() argument 5133 nfs4_check_deleg(struct nfs4_client *cl, struct nfsd4_open *open, struct nfs4_delegation **dp) nfs4_check_deleg() argument 5177 nfsd4_truncate(struct svc_rqst *rqstp, struct svc_fh *fh, struct nfsd4_open *open) nfsd4_truncate() argument 5194 nfs4_get_vfs_file(struct svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct nfsd4_open *open, bool new_stp) nfs4_get_vfs_file() argument 5282 nfs4_upgrade_open(struct svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct nfsd4_open *open) nfs4_upgrade_open() argument 5414 nfsd4_verify_deleg_dentry(struct nfsd4_open *open, struct nfs4_file *fp, struct svc_fh *parent) nfsd4_verify_deleg_dentry() argument 5443 nfsd4_verify_setuid_write(struct nfsd4_open *open, struct nfsd_file *nf) nfsd4_verify_setuid_write() argument 5454 nfs4_set_delegation(struct nfsd4_open *open, struct nfs4_ol_stateid *stp, struct svc_fh *parent) nfs4_set_delegation() argument 5581 nfsd4_open_deleg_none_ext(struct nfsd4_open *open, int status) nfsd4_open_deleg_none_ext() argument 5627 nfs4_open_delegation(struct nfsd4_open *open, struct nfs4_ol_stateid *stp, struct svc_fh *currentfh) nfs4_open_delegation() argument 5693 nfsd4_deleg_xgrade_none_ext(struct nfsd4_open *open, struct nfs4_delegation *dp) nfsd4_deleg_xgrade_none_ext() argument 5724 nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open) nfsd4_process_open2() argument 5834 nfsd4_cleanup_open_state(struct nfsd4_compound_state *cstate, struct nfsd4_open *open) nfsd4_cleanup_open_state() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit_tool_test.py | 101 with open(log_path) as file: 112 with open(log_path) as file: 141 with open(all_passed_log) as file: 148 with open(all_passed_log) as file: 155 with open(kselftest_log) as file: 162 with open(failed_log) as file: 169 with open(empty_log) as file: 179 with open(missing_plan_log) as file: 189 with open(header_log) as file: 198 with open(no_plan_lo [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/wireguard/qemu/ |
H A D | init.c | 66 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...] |
/kernel/linux/build/test/unittest/accesstokenid/ |
H A D | accesstokenid_test.cpp | 74 fd = open("/dev/random", O_RDONLY); in GenRand64() 88 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in GetTokenid() 90 printf("open %s failed\r\n", DEV_ACCESSTOKENID); in GetTokenid() 107 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in SetTokenid() 109 printf("open %s failed\r\n", DEV_ACCESSTOKENID); in SetTokenid() 126 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in GetfTokenid() 128 printf("open %s failed\r\n", DEV_ACCESSTOKENID); in GetfTokenid() 145 int fd = open(DEV_ACCESSTOKENID, O_RDWR); in SetfTokenid() 147 printf("open %s failed\r\n", DEV_ACCESSTOKENID); in SetfTokenid() 368 int fd = open(DEV_ACCESSTOKENI in HWTEST_F() [all...] |
/kernel/linux/linux-6.6/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_di [all...] |
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/ |
H A D | posix_fs_open_test.c | 35 * @tc.name open 43 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 49 fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_NORMAL); 63 * @tc.name open 71 int32_t fd = open(tmpFileName1, O_CREAT | O_RDWR); 75 fd = open(tmpFileName2, O_CREAT | O_RDWR); 84 * @tc.name open 94 fd = open(tmpFileName, O_CREAT | O_RDWR);
|
/kernel/linux/linux-5.10/tools/testing/kunit/ |
H A D | kunit_tool_test.py | 103 file = open(log_path) 116 with open(log_path) as file: 146 file = open(all_passed_log) 156 file = open(failed_log) 166 file = open(empty_log) 178 file = open(crash_log) 189 file = open(crashed_log) 199 with open(prefix_log) as file: 209 with open(prefix_log) as file: 219 with open(mixed_prefix_lo [all...] |
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs4proc.c | 69 * XXX: We should really fail the whole open, but we may in nfsd4_security_inode_setsecctx() 121 struct nfsd4_compound_state *cstate, struct nfsd4_open *open) in nfsd4_check_open_attributes() 125 if (open->op_create == NFS4_OPEN_CREATE) { in nfsd4_check_open_attributes() 126 if (open->op_createmode == NFS4_CREATE_UNCHECKED in nfsd4_check_open_attributes() 127 || open->op_createmode == NFS4_CREATE_GUARDED) in nfsd4_check_open_attributes() 129 open->op_bmval, nfsd_attrmask); in nfsd4_check_open_attributes() 130 else if (open->op_createmode == NFS4_CREATE_EXCLUSIVE4_1) in nfsd4_check_open_attributes() 132 open->op_bmval, nfsd41_ex_attrmask); in nfsd4_check_open_attributes() 139 is_create_with_attrs(struct nfsd4_open *open) in is_create_with_attrs() argument 141 return open in is_create_with_attrs() 120 nfsd4_check_open_attributes(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open) nfsd4_check_open_attributes() argument 178 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int accmode) do_open_permission() argument 218 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 227 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open, struct svc_fh **resfh) do_open_lookup() argument 308 do_open_fhandle(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open) do_open_fhandle() argument 355 struct nfsd4_open *open = &u->open; nfsd4_open() local 482 struct nfsd4_open *open = &op->u.open; nfsd4_open_omfg() local [all...] |
/kernel/linux/linux-5.10/tools/cgroup/ |
H A D | iocost_coef_gen.py | 102 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:
|
/kernel/linux/linux-6.6/tools/cgroup/ |
H A D | iocost_coef_gen.py | 102 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:
|
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/ |
H A D | q6adm.c | 183 } __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...] |
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
H A D | q6adm.c | 183 } __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...] |
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | hdlc.c | 17 * - proto->open(), close(), start(), stop() calls are serialized. 18 * The order is: open, [ start, stop ... ] close ... 128 if (!hdlc->open) in hdlc_device_event() 151 printk(KERN_DEBUG "%s: hdlc_open() carrier %i open %i\n", dev->name, in hdlc_open() 152 hdlc->carrier, hdlc->open); in hdlc_open() 158 if (hdlc->proto->open) { in hdlc_open() 159 int result = hdlc->proto->open(dev); in hdlc_open() 172 hdlc->open = 1; in hdlc_open() 185 printk(KERN_DEBUG "%s: hdlc_close() carrier %i open %i\n", dev->name, in hdlc_close() 186 hdlc->carrier, hdlc->open); in hdlc_close() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_rd.c | 24 * do anything if userspace doesn't have the debugfs file open. 83 bool open; member 110 wait_event(rd->fifo_event, circ_space(&rd->fifo) > 0 || !rd->open); in rd_write() 111 if (!rd->open) in rd_write() 186 if (rd->open || !gpu) { in rd_open() 192 rd->open = true; in rd_open() 214 rd->open = false; in rd_release() 223 .open = rd_open, 351 if (!rd->open) in msm_rd_dump_submit()
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/tools/ |
H A D | convert_csv_to_c.py | 262 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f: 266 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f: 273 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f: 288 with open(filename,'w') as f: 454 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f: 458 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f: 465 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f: 480 with open(filename,'w') as f:
|
/kernel/linux/linux-6.6/drivers/comedi/drivers/ni_routing/tools/ |
H A D | convert_csv_to_c.py | 258 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f: 262 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f: 269 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f: 284 with open(filename,'w') as f: 447 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f: 451 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f: 458 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f: 473 with open(filename,'w') as f:
|
/kernel/linux/linux-6.6/drivers/net/wan/ |
H A D | hdlc.c | 17 * - proto->open(), close(), start(), stop() calls are serialized. 18 * The order is: open, [ start, stop ... ] close ... 126 if (!hdlc->open) in hdlc_device_event() 147 printk(KERN_DEBUG "%s: hdlc_open() carrier %i open %i\n", dev->name, in hdlc_open() 148 hdlc->carrier, hdlc->open); in hdlc_open() 154 if (hdlc->proto->open) { in hdlc_open() 155 int result = hdlc->proto->open(dev); in hdlc_open() 170 hdlc->open = 1; in hdlc_open() 182 printk(KERN_DEBUG "%s: hdlc_close() carrier %i open %i\n", dev->name, in hdlc_close() 183 hdlc->carrier, hdlc->open); in hdlc_close() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
H A D | msm_rd.c | 24 * do anything if userspace doesn't have the debugfs file open. 84 bool open; member 106 wait_event(rd->fifo_event, circ_space(&rd->fifo) > 0 || !rd->open); in rd_write() 107 if (!rd->open) in rd_write() 186 if (rd->open) { in rd_open() 192 rd->open = true; in rd_open() 219 rd->open = false; in rd_release() 228 .open = rd_open, 357 if (!rd->open) in msm_rd_dump_submit()
|