| /kernel/linux/linux-6.6/drivers/media/pci/saa7134/ |
| H A D | saa7134-video.c | 928 static int video_open(struct file *file) in video_open() argument 930 struct video_device *vdev = video_devdata(file); in video_open() 931 struct saa7134_dev *dev = video_drvdata(file); in video_open() 932 int ret = v4l2_fh_open(file); in video_open() 951 static int video_release(struct file *file) in video_release() argument 953 struct video_device *vdev = video_devdata(file); in video_release() 954 struct saa7134_dev *dev = video_drvdata(file); in video_release() 961 v4l2_fh_release(file); in video_release() 979 radio_read(struct file *file, char __user *data, size_t count, loff_t *ppos) radio_read() argument 998 radio_poll(struct file *file, poll_table *wait) radio_poll() argument 1016 saa7134_try_get_set_fmt_vbi_cap(struct file *file, void *priv, struct v4l2_format *f) saa7134_try_get_set_fmt_vbi_cap() argument 1036 saa7134_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) saa7134_g_fmt_vid_cap() argument 1056 saa7134_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) saa7134_try_fmt_vid_cap() argument 1109 saa7134_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) saa7134_s_fmt_vid_cap() argument 1126 saa7134_enum_input(struct file *file, void *priv, struct v4l2_input *i) saa7134_enum_input() argument 1164 saa7134_g_input(struct file *file, void *priv, unsigned int *i) saa7134_g_input() argument 1173 saa7134_s_input(struct file *file, void *priv, unsigned int i) saa7134_s_input() argument 1186 saa7134_querycap(struct file *file, void *priv, struct v4l2_capability *cap) saa7134_querycap() argument 1206 saa7134_s_std(struct file *file, void *priv, v4l2_std_id id) saa7134_s_std() argument 1250 saa7134_g_std(struct file *file, void *priv, v4l2_std_id *id) saa7134_g_std() argument 1280 saa7134_querystd(struct file *file, void *priv, v4l2_std_id *std) saa7134_querystd() argument 1288 saa7134_g_pixelaspect(struct file *file, void *priv, int type, struct v4l2_fract *f) saa7134_g_pixelaspect() argument 1307 saa7134_g_selection(struct file *file, void *f, struct v4l2_selection *sel) saa7134_g_selection() argument 1330 saa7134_s_selection(struct file *file, void *f, struct v4l2_selection *sel) saa7134_s_selection() argument 1363 saa7134_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t) saa7134_g_tuner() argument 1396 saa7134_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *t) saa7134_s_tuner() argument 1417 saa7134_g_frequency(struct file *file, void *priv, struct v4l2_frequency *f) saa7134_g_frequency() argument 1431 saa7134_s_frequency(struct file *file, void *priv, const struct v4l2_frequency *f) saa7134_s_frequency() argument 1446 saa7134_enum_fmt_vid_cap(struct file *file, void *priv, struct v4l2_fmtdesc *f) saa7134_enum_fmt_vid_cap() argument 1458 vidioc_g_register(struct file *file, void *priv, struct v4l2_dbg_register *reg) vidioc_g_register() argument 1468 vidioc_s_register(struct file *file, void *priv, const struct v4l2_dbg_register *reg) vidioc_s_register() argument 1478 radio_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t) radio_g_tuner() argument 1497 radio_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *t) radio_s_tuner() argument [all...] |
| /kernel/linux/linux-5.10/arch/loongarch/tools/ |
| H A D | elf-entry.c | 20 FILE *file; in main() local 27 die("Usage: elf-entry <elf-file>\n"); in main() 29 file = fopen(argv[1], "r"); in main() 30 if (!file) { in main() 31 perror("Unable to open input file"); in main() 35 nread = fread(&hdr, 1, sizeof(hdr), file); in main() 37 fclose(file); in main() 38 perror("Unable to read input file"); in main() 43 fclose(file); in main() 58 fclose(file); in main() [all...] |
| /kernel/linux/linux-5.10/include/linux/ |
| H A D | splice.h | 38 struct file *file; /* file to read/write */ member 41 loff_t pos; /* file position */ 70 extern ssize_t splice_from_pipe(struct pipe_inode_info *, struct file *, 79 extern ssize_t splice_direct_to_actor(struct file *, struct splice_desc *, 81 extern long do_splice(struct file *in, loff_t *off_in, 82 struct file *out, loff_t *off_out, 85 extern long do_tee(struct file *in, struct file *ou [all...] |
| /kernel/linux/linux-5.10/include/media/ |
| H A D | media-devnode.h | 34 * struct media_file_operations - Media device file operations 49 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *); 50 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); 51 __poll_t (*poll) (struct file *, struct poll_table_struct *); 52 long (*ioctl) (struct file *, unsigned int, unsigned long); 53 long (*compat_ioctl) (struct file *, unsigned int, unsigned long); 54 int (*open) (struct file *); 55 int (*release) (struct file *); 124 * races with unregister and device file open calls. 145 * @filp: pointer to struct &file [all...] |
| /kernel/linux/linux-6.6/include/media/ |
| H A D | media-devnode.h | 34 * struct media_file_operations - Media device file operations 49 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *); 50 ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); 51 __poll_t (*poll) (struct file *, struct poll_table_struct *); 52 long (*ioctl) (struct file *, unsigned int, unsigned long); 53 long (*compat_ioctl) (struct file *, unsigned int, unsigned long); 54 int (*open) (struct file *); 55 int (*release) (struct file *); 124 * races with unregister and device file open calls. 145 * @filp: pointer to struct &file [all...] |
| /third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/ |
| H A D | test_regressions.js | 3 // found in the LICENSE file. 62 // Test that when a file with "use strict" is used in the inputs, 63 // the result is only strict if no other file contains anything 69 const file = createFuzzTest( 73 execFile(file); 80 const file = createFuzzTest( 84 execFile(file); 96 const file = createFuzzTest( 100 execFile(file); 107 const file [all...] |
| /third_party/node/test/common/ |
| H A D | cpu-prof.js | 11 .filter((file) => file.endsWith('.cpuprofile')) 12 .map((file) => path.join(dir, file)); 15 function getFrames(file, suffix) { 16 const data = fs.readFileSync(file, 'utf8'); 25 function verifyFrames(output, file, suffix) { 26 const { frames, nodes } = getFrames(file, suffix);
|
| H A D | prof.js | 10 .filter((file) => file.endsWith('.heapprofile')) 11 .map((file) => path.join(dir, file)); 30 function findFirstFrame(file, func) { 31 const data = fs.readFileSync(file, 'utf8'); 37 function verifyFrames(output, file, func) { 38 const { frame, roots } = findFirstFrame(file, func);
|
| /third_party/musl/src/process/ |
| H A D | execvp.c | 9 int __execvpe(const char *file, char *const argv[], char *const envp[]) in __execvpe() argument 16 if (!*file) return -1; in __execvpe() 18 if (strchr(file, '/')) in __execvpe() 19 return execve(file, argv, envp); in __execvpe() 22 k = strnlen(file, NAME_MAX+1); in __execvpe() 38 memcpy(b+(z-p)+(z>p), file, k+1); in __execvpe() 55 int execvp(const char *file, char *const argv[]) in execvp() argument 57 return __execvpe(file, argv, __environ); in execvp()
|
| /third_party/ltp/testcases/kernel/security/integrity/ima/tests/ |
| H A D | evm_overlay.sh | 46 local file="foo1.txt" 48 tst_res TINFO "overwrite file in overlay" 49 EXPECT_PASS echo lower \> $lower/$file 50 EXPECT_PASS echo overlay \> $merged/$file 55 local file="foo2.txt" 57 tst_res TINFO "append file in overlay" 58 EXPECT_PASS echo lower \> $lower/$file 59 EXPECT_PASS echo overlay \>\> $merged/$file 64 local file="foo3.txt" 66 tst_res TINFO "create a new file i [all...] |
| /third_party/lwip/src/include/lwip/apps/ |
| H A D | fs.h | 27 * This file is part of the lwIP TCP/IP stack. 70 arbitrary data, e.g. holding some file state or file system handle */ 89 err_t fs_open(struct fs_file *file, const char *name); 90 void fs_close(struct fs_file *file); 93 int fs_read_async(struct fs_file *file, char *buffer, int count, fs_wait_cb callback_fn, void *callback_arg); 95 int fs_read(struct fs_file *file, char *buffer, int count); 99 int fs_is_file_ready(struct fs_file *file, fs_wait_cb callback_fn, void *callback_arg); 101 int fs_bytes_left(struct fs_file *file); 104 /** This user-defined function is called when a file i [all...] |
| /third_party/python/Tools/scripts/ |
| H A D | fixnotice.py | 5 Actually, this script will simply replace a block of text in a file from one 7 throughout the file. It writes a backup file and then does an os.rename() 15 --oldnotice=file 16 Use the notice in the file as the old (to be replaced) string, instead 19 --newnotice=file 20 Use the notice in the file as the new (replacement) string, instead of 26 file. 29 Print a message for every file looked at, indicating whether the file [all...] |
| /kernel/linux/linux-5.10/net/batman-adv/ |
| H A D | log.c | 85 static int batadv_log_open(struct inode *inode, struct file *file) in batadv_log_open() argument 90 batadv_debugfs_deprecated(file, in batadv_log_open() 93 stream_open(inode, file); in batadv_log_open() 94 file->private_data = inode->i_private; in batadv_log_open() 98 static int batadv_log_release(struct inode *inode, struct file *file) in batadv_log_release() argument 109 static ssize_t batadv_log_read(struct file *file, char __user *buf, in batadv_log_read() argument 112 struct batadv_priv *bat_priv = file in batadv_log_read() 164 batadv_log_poll(struct file *file, poll_table *wait) batadv_log_poll() argument [all...] |
| /kernel/linux/linux-6.6/drivers/nfc/ |
| H A D | virtual_ncidev.c | 82 static ssize_t virtual_ncidev_read(struct file *file, char __user *buf, in virtual_ncidev_read() argument 85 struct virtual_nci_dev *vdev = file->private_data; in virtual_ncidev_read() 113 static ssize_t virtual_ncidev_write(struct file *file, in virtual_ncidev_write() argument 117 struct virtual_nci_dev *vdev = file->private_data; in virtual_ncidev_write() 133 static int virtual_ncidev_open(struct inode *inode, struct file *file) in virtual_ncidev_open() argument 150 file->private_data = vdev; in virtual_ncidev_open() 164 static int virtual_ncidev_close(struct inode *inode, struct file *fil argument 176 virtual_ncidev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) virtual_ncidev_ioctl() argument [all...] |
| /third_party/cJSON/tests/unity/auto/ |
| H A D | generate_module.rb | 8 # A simple module only requires a source file, header file, and test file. 9 # Triad modules require a source, header, and test file for each triad type (like model, conductor, and hardware). 58 # Create default file paths if none were provided 141 # single file patterns (currently just 'test') can reject the other parts of the triad 194 files.each do |file| 195 all_files_exist = false unless File.exist?(file[:path]) 200 files.each_with_index do |file, _i| 201 # If this file alread [all...] |
| /third_party/ltp/testcases/kernel/syscalls/mount/ |
| H A D | mount03.c | 44 static char file[PATH_MAX]; variable 51 snprintf(file, PATH_MAX, "%s/rdonly", MNTPOINT); in test_rdonly() 52 TST_EXP_FAIL(otfd = open(file, O_CREAT | O_RDWR, 0700), EROFS); in test_rdonly() 57 snprintf(file, PATH_MAX, "%s/nodev", MNTPOINT); in test_nodev() 58 SAFE_MKNOD(file, S_IFBLK | 0777, 0); in test_nodev() 59 TST_EXP_FAIL(otfd = open(file, O_RDWR, 0700), EACCES); in test_nodev() 60 SAFE_UNLINK(file); in test_nodev() 65 snprintf(file, PATH_MAX, "%s/noexec", MNTPOINT); in test_noexec() 66 otfd = SAFE_OPEN(file, O_CREAT | O_RDWR, 0700); in test_noexec() 67 TST_EXP_FAIL(execlp(file, basenam in test_noexec() [all...] |
| /third_party/node/deps/openssl/openssl/crypto/x509/ |
| H A D | by_file.c | 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 28 "Load file into cache", 52 const char *file; in by_file_ctrl_ex() local 57 file = ossl_safe_getenv(X509_get_default_cert_file_env()); in by_file_ctrl_ex() 58 if (file) in by_file_ctrl_ex() 59 ok = (X509_load_cert_crl_file_ex(ctx, file, X509_FILETYPE_PEM, in by_file_ctrl_ex() 89 int X509_load_cert_file_ex(X509_LOOKUP *ctx, const char *file, int type, in X509_load_cert_file_ex() argument 99 if ((in == NULL) || (BIO_read_filename(in, file) <= 0)) { in X509_load_cert_file_ex() 154 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, in argument 159 X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type) X509_load_crl_file() argument 216 X509_load_cert_crl_file_ex(X509_LOOKUP *ctx, const char *file, int type, OSSL_LIB_CTX *libctx, const char *propq) X509_load_cert_crl_file_ex() argument 257 X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type) X509_load_cert_crl_file() argument [all...] |
| /third_party/openssl/crypto/x509/ |
| H A D | by_file.c | 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 28 "Load file into cache", 52 const char *file; in by_file_ctrl_ex() local 57 file = ossl_safe_getenv(X509_get_default_cert_file_env()); in by_file_ctrl_ex() 58 if (file) in by_file_ctrl_ex() 59 ok = (X509_load_cert_crl_file_ex(ctx, file, X509_FILETYPE_PEM, in by_file_ctrl_ex() 89 int X509_load_cert_file_ex(X509_LOOKUP *ctx, const char *file, int type, in X509_load_cert_file_ex() argument 99 if ((in == NULL) || (BIO_read_filename(in, file) <= 0)) { in X509_load_cert_file_ex() 154 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, in argument 159 X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type) X509_load_crl_file() argument 216 X509_load_cert_crl_file_ex(X509_LOOKUP *ctx, const char *file, int type, OSSL_LIB_CTX *libctx, const char *propq) X509_load_cert_crl_file_ex() argument 257 X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type) X509_load_cert_crl_file() argument [all...] |
| /kernel/linux/linux-5.10/drivers/media/pci/cx25821/ |
| H A D | cx25821-video.c | 306 static int cx25821_vidioc_enum_fmt_vid_cap(struct file *file, void *priv, in cx25821_vidioc_enum_fmt_vid_cap() argument 317 static int cx25821_vidioc_g_fmt_vid_cap(struct file *file, void *priv, in cx25821_vidioc_g_fmt_vid_cap() argument 320 struct cx25821_channel *chan = video_drvdata(file); in cx25821_vidioc_g_fmt_vid_cap() 333 static int cx25821_vidioc_try_fmt_vid_cap(struct file *file, void *priv, in cx25821_vidioc_try_fmt_vid_cap() argument 336 struct cx25821_channel *chan = video_drvdata(file); in cx25821_vidioc_try_fmt_vid_cap() 371 static int vidioc_s_fmt_vid_cap(struct file *file, voi argument 407 vidioc_log_status(struct file *file, void *priv) vidioc_log_status() argument 421 cx25821_vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) cx25821_vidioc_querycap() argument 436 cx25821_vidioc_g_std(struct file *file, void *priv, v4l2_std_id *tvnorms) cx25821_vidioc_g_std() argument 444 cx25821_vidioc_s_std(struct file *file, void *priv, v4l2_std_id tvnorms) cx25821_vidioc_s_std() argument 462 cx25821_vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *i) cx25821_vidioc_enum_input() argument 474 cx25821_vidioc_g_input(struct file *file, void *priv, unsigned int *i) cx25821_vidioc_g_input() argument 480 cx25821_vidioc_s_input(struct file *file, void *priv, unsigned int i) cx25821_vidioc_s_input() argument 510 cx25821_vidioc_enum_output(struct file *file, void *priv, struct v4l2_output *o) cx25821_vidioc_enum_output() argument 522 cx25821_vidioc_g_output(struct file *file, void *priv, unsigned int *o) cx25821_vidioc_g_output() argument 528 cx25821_vidioc_s_output(struct file *file, void *priv, unsigned int o) cx25821_vidioc_s_output() argument 533 cx25821_vidioc_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f) cx25821_vidioc_try_fmt_vid_out() argument 552 vidioc_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f) vidioc_s_fmt_vid_out() argument [all...] |
| /kernel/linux/linux-5.10/fs/hfsplus/ |
| H A D | inode.c | 25 static int hfsplus_readpage(struct file *file, struct page *page) in hfsplus_readpage() argument 45 static int hfsplus_write_begin(struct file *file, struct address_space *mapping, in hfsplus_write_begin() argument 52 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, in hfsplus_write_begin() 128 struct file *file = iocb->ki_filp; in hfsplus_direct_IO() local 129 struct address_space *mapping = file->f_mapping; in hfsplus_direct_IO() 215 static int hfsplus_file_open(struct inode *inode, struct file *file) in hfsplus_file_open() argument 225 hfsplus_file_release(struct inode *inode, struct file *file) hfsplus_file_release() argument 293 hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) hfsplus_file_fsync() argument 522 struct hfsplus_cat_file *file = &entry.file; hfsplus_cat_read_inode() local 607 struct hfsplus_cat_file *file = &entry.file; hfsplus_cat_write_inode() local 614 struct hfsplus_cat_file *file = &entry.file; hfsplus_cat_write_inode() local [all...] |
| /kernel/linux/linux-5.10/fs/kernfs/ |
| H A D | file.c | 3 * fs/kernfs/file.c - kernfs file implementation 22 * There's one kernfs_open_file for each open file and one kernfs_open_node 55 static struct kernfs_open_file *kernfs_of(struct file *file) in kernfs_of() argument 57 return ((struct seq_file *)file->private_data)->private; in kernfs_of() 110 * the ops aren't called concurrently for the same open file. in kernfs_seq_start() 179 * As reading a bin file can have side-effects, the exact offset and bytes 201 * the ops aren't called concurrently for the same open file. in kernfs_file_read_iter() 251 * the first write. Hint: if you're writing a value, first read the file, 316 struct file *file = vma->vm_file; kernfs_vma_open() local 333 struct file *file = vmf->vma->vm_file; kernfs_vma_fault() local 353 struct file *file = vmf->vma->vm_file; kernfs_vma_page_mkwrite() local 376 struct file *file = vma->vm_file; kernfs_vma_access() local 398 struct file *file = vma->vm_file; kernfs_vma_set_policy() local 419 struct file *file = vma->vm_file; kernfs_vma_get_policy() local 450 kernfs_fop_mmap(struct file *file, struct vm_area_struct *vma) kernfs_fop_mmap() argument 597 kernfs_fop_open(struct inode *inode, struct file *file) kernfs_fop_open() argument [all...] |
| /kernel/linux/linux-6.6/fs/hfsplus/ |
| H A D | inode.c | 26 static int hfsplus_read_folio(struct file *file, struct folio *folio) in hfsplus_read_folio() argument 46 int hfsplus_write_begin(struct file *file, struct address_space *mapping, in hfsplus_write_begin() argument 52 ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata, in hfsplus_write_begin() 129 struct file *file = iocb->ki_filp; in hfsplus_direct_IO() local 130 struct address_space *mapping = file->f_mapping; in hfsplus_direct_IO() 220 static int hfsplus_file_open(struct inode *inode, struct file *file) in hfsplus_file_open() argument 230 hfsplus_file_release(struct inode *inode, struct file *file) hfsplus_file_release() argument 305 hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) hfsplus_file_fsync() argument 537 struct hfsplus_cat_file *file = &entry.file; hfsplus_cat_read_inode() local 623 struct hfsplus_cat_file *file = &entry.file; hfsplus_cat_write_inode() local 630 struct hfsplus_cat_file *file = &entry.file; hfsplus_cat_write_inode() local [all...] |
| /kernel/linux/linux-6.6/drivers/media/pci/cx25821/ |
| H A D | cx25821-video.c | 306 static int cx25821_vidioc_enum_fmt_vid_cap(struct file *file, void *priv, in cx25821_vidioc_enum_fmt_vid_cap() argument 317 static int cx25821_vidioc_g_fmt_vid_cap(struct file *file, void *priv, in cx25821_vidioc_g_fmt_vid_cap() argument 320 struct cx25821_channel *chan = video_drvdata(file); in cx25821_vidioc_g_fmt_vid_cap() 333 static int cx25821_vidioc_try_fmt_vid_cap(struct file *file, void *priv, in cx25821_vidioc_try_fmt_vid_cap() argument 336 struct cx25821_channel *chan = video_drvdata(file); in cx25821_vidioc_try_fmt_vid_cap() 371 static int vidioc_s_fmt_vid_cap(struct file *file, voi argument 407 vidioc_log_status(struct file *file, void *priv) vidioc_log_status() argument 421 cx25821_vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) cx25821_vidioc_querycap() argument 436 cx25821_vidioc_g_std(struct file *file, void *priv, v4l2_std_id *tvnorms) cx25821_vidioc_g_std() argument 444 cx25821_vidioc_s_std(struct file *file, void *priv, v4l2_std_id tvnorms) cx25821_vidioc_s_std() argument 462 cx25821_vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *i) cx25821_vidioc_enum_input() argument 474 cx25821_vidioc_g_input(struct file *file, void *priv, unsigned int *i) cx25821_vidioc_g_input() argument 480 cx25821_vidioc_s_input(struct file *file, void *priv, unsigned int i) cx25821_vidioc_s_input() argument 510 cx25821_vidioc_enum_output(struct file *file, void *priv, struct v4l2_output *o) cx25821_vidioc_enum_output() argument 522 cx25821_vidioc_g_output(struct file *file, void *priv, unsigned int *o) cx25821_vidioc_g_output() argument 528 cx25821_vidioc_s_output(struct file *file, void *priv, unsigned int o) cx25821_vidioc_s_output() argument 533 cx25821_vidioc_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f) cx25821_vidioc_try_fmt_vid_out() argument 552 vidioc_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f) vidioc_s_fmt_vid_out() argument [all...] |
| /kernel/linux/linux-6.6/mm/damon/ |
| H A D | dbgfs.c | 12 #include <linux/file.h> 57 static ssize_t dbgfs_attrs_read(struct file *file, in dbgfs_attrs_read() argument 60 struct damon_ctx *ctx = file->private_data; in dbgfs_attrs_read() 74 static ssize_t dbgfs_attrs_write(struct file *file, in dbgfs_attrs_write() argument 77 struct damon_ctx *ctx = file->private_data; in dbgfs_attrs_write() 170 static ssize_t dbgfs_schemes_read(struct file *file, char __user *buf, in dbgfs_schemes_read() argument 173 struct damon_ctx *ctx = file in dbgfs_schemes_read() 294 dbgfs_schemes_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) dbgfs_schemes_write() argument 356 dbgfs_target_ids_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dbgfs_target_ids_read() argument 487 dbgfs_target_ids_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) dbgfs_target_ids_write() argument 571 dbgfs_init_regions_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dbgfs_init_regions_read() argument 665 dbgfs_init_regions_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) dbgfs_init_regions_write() argument 694 dbgfs_kdamond_pid_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dbgfs_kdamond_pid_read() argument 720 damon_dbgfs_open(struct inode *inode, struct file *file) damon_dbgfs_open() argument 859 dbgfs_mk_context_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) dbgfs_mk_context_write() argument 965 dbgfs_rm_context_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) dbgfs_rm_context_write() argument 999 dbgfs_monitor_on_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) dbgfs_monitor_on_read() argument 1011 dbgfs_monitor_on_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) dbgfs_monitor_on_write() argument 1052 damon_dbgfs_static_file_open(struct inode *inode, struct file *file) damon_dbgfs_static_file_open() argument [all...] |
| /base/hiviewdfx/hiview/base/event_store/sequence/ |
| H A D | sys_event_sequence_mgr.cpp | 4 * you may not use this file except in compliance with the License. 33 std::ofstream file; in SaveStringToFile() local 34 file.open(filePath.c_str(), std::ios::in | std::ios::out); in SaveStringToFile() 35 if (!file.is_open()) { in SaveStringToFile() 36 file.open(filePath.c_str(), std::ios::out); in SaveStringToFile() 37 if (!file.is_open()) { in SaveStringToFile() 41 file.seekp(0); in SaveStringToFile() 42 file.write(content.c_str(), content.length() + 1); in SaveStringToFile() 43 bool ret = !file.fail(); in SaveStringToFile() 44 file in SaveStringToFile() [all...] |