| /kernel/linux/linux-6.6/tools/perf/tests/ |
| H A D | builtin-test-list.c | 85 /* Is this full file path a shell script */ 100 /* Is this file in this dir a shell script (for test purposes) */ 123 static void append_script(const char *dir, const char *file, const char *desc) in append_script() argument 142 /* Add file to end and NULL terminate the struct array */ in append_script() 146 files[files_num - 1].file = strdup_check(file); in append_script() 149 files[files_num].file = NULL; in append_script()
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| H A D | trace-event-parse.c | 126 char *file, unsigned int size __maybe_unused) in parse_ftrace_printk() 135 line = strtok_r(file, "\n", &next); in parse_ftrace_printk() 152 char *file, unsigned int size __maybe_unused) in parse_saved_cmdline() 159 line = strtok_r(file, "\n", &next); in parse_saved_cmdline() 125 parse_ftrace_printk(struct tep_handle *pevent, char *file, unsigned int size __maybe_unused) parse_ftrace_printk() argument 151 parse_saved_cmdline(struct tep_handle *pevent, char *file, unsigned int size __maybe_unused) parse_saved_cmdline() argument
|
| /kernel/linux/linux-6.6/security/integrity/ |
| H A D | iint.c | 18 #include <linux/file.h> 211 * integrity_kernel_read - read data from the file 213 * This is a function for reading file content instead of kernel_read(). 218 int integrity_kernel_read(struct file *file, loff_t offset, in integrity_kernel_read() argument 221 return __kernel_read(file, addr, count, &offset); in integrity_kernel_read()
|
| /kernel/linux/linux-6.6/mm/ |
| H A D | page_idle.c | 114 static ssize_t page_idle_bitmap_read(struct file *file, struct kobject *kobj, in page_idle_bitmap_read() argument 159 static ssize_t page_idle_bitmap_write(struct file *file, struct kobject *kobj, in page_idle_bitmap_write() argument
|
| /kernel/linux/linux-5.10/drivers/media/cec/core/ |
| H A D | cec-pin.c | 1204 struct seq_file *file) in cec_pin_adap_status() 1208 seq_printf(file, "state: %s\n", states[pin->state].name); in cec_pin_adap_status() 1209 seq_printf(file, "tx_bit: %d\n", pin->tx_bit); in cec_pin_adap_status() 1210 seq_printf(file, "rx_bit: %d\n", pin->rx_bit); in cec_pin_adap_status() 1211 seq_printf(file, "cec pin: %d\n", pin->ops->read(adap)); in cec_pin_adap_status() 1212 seq_printf(file, "cec pin events dropped: %u\n", in cec_pin_adap_status() 1214 seq_printf(file, "irq failed: %d\n", pin->enable_irq_failed); in cec_pin_adap_status() 1216 seq_printf(file, "timer overruns > 100ms: %u of %u\n", in cec_pin_adap_status() 1218 seq_printf(file, "timer overruns > 300ms: %u of %u\n", in cec_pin_adap_status() 1220 seq_printf(file, "ma in cec_pin_adap_status() 1203 cec_pin_adap_status(struct cec_adapter *adap, struct seq_file *file) cec_pin_adap_status() argument [all...] |
| /kernel/linux/linux-6.6/drivers/media/cec/core/ |
| H A D | cec-pin.c | 1218 struct seq_file *file) in cec_pin_adap_status() 1222 seq_printf(file, "state: %s\n", states[pin->state].name); in cec_pin_adap_status() 1223 seq_printf(file, "tx_bit: %d\n", pin->tx_bit); in cec_pin_adap_status() 1224 seq_printf(file, "rx_bit: %d\n", pin->rx_bit); in cec_pin_adap_status() 1225 seq_printf(file, "cec pin: %d\n", call_pin_op(pin, read)); in cec_pin_adap_status() 1226 seq_printf(file, "cec pin events dropped: %u\n", in cec_pin_adap_status() 1229 seq_printf(file, "irq %s\n", pin->enabled_irq ? "enabled" : in cec_pin_adap_status() 1232 seq_printf(file, "timer overruns > 100us: %u of %u\n", in cec_pin_adap_status() 1234 seq_printf(file, "timer overruns > 300us: %u of %u\n", in cec_pin_adap_status() 1236 seq_printf(file, "ma in cec_pin_adap_status() 1217 cec_pin_adap_status(struct cec_adapter *adap, struct seq_file *file) cec_pin_adap_status() argument [all...] |
| /kernel/linux/linux-5.10/arch/xtensa/platforms/iss/ |
| H A D | simdisk.c | 4 * This file is subject to the terms and conditions of the GNU General Public 5 * License. See the file "COPYING" in the main directory of this archive 210 static ssize_t proc_read_simdisk(struct file *file, char __user *buf, in proc_read_simdisk() argument 213 struct simdisk *dev = PDE_DATA(file_inode(file)); in proc_read_simdisk() 232 static ssize_t proc_write_simdisk(struct file *file, const char __user *buf, in proc_write_simdisk() argument 236 struct simdisk *dev = PDE_DATA(file_inode(file)); in proc_write_simdisk()
|
| /kernel/linux/linux-5.10/arch/alpha/math-emu/ |
| H A D | qrnnd.S | 4 # This file is part of GCC. 13 # compiled version of this file with other programs, and to distribute 15 # file. (The General Public License restrictions do apply in other 16 # respects; for example, they cover modification of the file, and 19 # This file is distributed in the hope that it will be useful, but 25 # along with GCC; see the file COPYING. If not, write to the
|
| /kernel/linux/linux-5.10/arch/nds32/kernel/ |
| H A D | traps.c | 214 void __pte_error(const char *file, int line, unsigned long val) in __pte_error() argument 216 pr_emerg("%s:%d: bad pte %08lx.\n", file, line, val); in __pte_error() 219 void __pmd_error(const char *file, int line, unsigned long val) in __pmd_error() argument 221 pr_emerg("%s:%d: bad pmd %08lx.\n", file, line, val); in __pmd_error() 224 void __pgd_error(const char *file, int line, unsigned long val) in __pgd_error() argument 226 pr_emerg("%s:%d: bad pgd %08lx.\n", file, line, val); in __pgd_error()
|
| /kernel/linux/linux-5.10/arch/um/os-Linux/ |
| H A D | start_up.c | 348 char *file, *driver; in parse_iomem() local 352 file = strchr(str,','); in parse_iomem() 353 if (file == NULL) { in parse_iomem() 357 *file = '\0'; in parse_iomem() 358 file++; in parse_iomem() 359 fd = open(file, O_RDWR, 0); in parse_iomem() 361 perror("parse_iomem - Couldn't open io file"); in parse_iomem() 366 perror("parse_iomem - cannot stat_fd file"); in parse_iomem()
|
| /kernel/linux/linux-5.10/arch/um/drivers/ |
| H A D | cow_user.c | 36 * The same must hold for V2 - we want file format compatibility, not anything 66 * The bitmap and data portions of the file will be aligned as specified 223 cow_printf("Backing file name \"%s\" is too long - names are " in write_cow_header() 235 cow_printf("write_cow_header - backing file '%s' mtime " in write_cow_header() 244 "backing file '%s', err = %d\n", in write_cow_header() 258 "new COW file '%s' failed, err = %d\n", cow_file, in write_cow_header() 285 char *file; in read_cow_header() local 322 file = header->v1.backing_file; in read_cow_header() 335 file = header->v2.backing_file; in read_cow_header() 353 file in read_cow_header() [all...] |
| /kernel/linux/linux-5.10/arch/arm/include/asm/ |
| H A D | pgtable.h | 58 extern void __pte_error(const char *file, int line, pte_t); 59 extern void __pmd_error(const char *file, int line, pmd_t); 60 extern void __pgd_error(const char *file, int line, pgd_t); 132 struct file; 133 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 296 * This gives us up to 31 swap files and 128GB per swap file. Note that
|
| /kernel/linux/linux-5.10/drivers/char/ |
| H A D | raw.c | 49 * We just rewrite the i_mapping for the /dev/raw/rawN file descriptor to 50 * point at the blockdev's address_space and set the file handle to use 56 static int raw_open(struct inode *inode, struct file *filp) in raw_open() 110 static int raw_release(struct inode *inode, struct file *filp) in raw_release() 130 raw_ioctl(struct file *filp, unsigned int command, unsigned long arg) in raw_ioctl() 201 static long raw_ctl_ioctl(struct file *filp, unsigned int command, in raw_ctl_ioctl() 242 static long raw_ctl_compat_ioctl(struct file *file, unsigned int cmd, in raw_ctl_compat_ioctl() argument
|
| /kernel/linux/linux-6.6/arch/alpha/lib/ |
| H A D | udiv-qrnnd.S | 4 # This file is part of GCC. 13 # compiled version of this file with other programs, and to distribute 15 # file. (The General Public License restrictions do apply in other 16 # respects; for example, they cover modification of the file, and 19 # This file is distributed in the hope that it will be useful, but 25 # along with GCC; see the file COPYING. If not, write to the
|
| /kernel/linux/linux-5.10/tools/usb/usbip/libsrc/ |
| H A D | vhci_driver.c | 191 FILE *file; in read_record() local 204 file = fopen(path, "r"); in read_record() 205 if (!file) { in read_record() 211 if (fgets(buffer, buffer_len, file) == NULL) { in read_record() 214 fclose(file); in read_record() 217 fclose(file); in read_record()
|
| /kernel/linux/linux-6.6/arch/arm/include/asm/ |
| H A D | pgtable.h | 57 extern void __pte_error(const char *file, int line, pte_t); 58 extern void __pmd_error(const char *file, int line, pmd_t); 59 extern void __pgd_error(const char *file, int line, pgd_t); 131 struct file; 132 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 286 * This gives us up to 31 swap files and 64GB per swap file. Note that
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
| H A D | pinning.c | 35 const char *file = "./test_pinning.o"; in test_pinning() local 53 /* open the valid object file */ in test_pinning() 54 obj = bpf_object__open_file(file, NULL); in test_pinning() 88 obj = bpf_object__open_file(file, NULL); in test_pinning() 158 /* open the valid object file again */ in test_pinning() 159 obj = bpf_object__open_file(file, NULL); in test_pinning() 201 obj = bpf_object__open_file(file, &opts); in test_pinning() 228 obj = bpf_object__open_file(file, NULL); in test_pinning()
|
| /kernel/linux/linux-6.6/arch/um/drivers/ |
| H A D | cow_user.c | 36 * The same must hold for V2 - we want file format compatibility, not anything 66 * The bitmap and data portions of the file will be aligned as specified 223 cow_printf("Backing file name \"%s\" is too long - names are " in write_cow_header() 235 cow_printf("write_cow_header - backing file '%s' mtime " in write_cow_header() 244 "backing file '%s', err = %d\n", in write_cow_header() 258 "new COW file '%s' failed, err = %d\n", cow_file, in write_cow_header() 285 char *file; in read_cow_header() local 322 file = header->v1.backing_file; in read_cow_header() 335 file = header->v2.backing_file; in read_cow_header() 353 file in read_cow_header() [all...] |
| /kernel/linux/linux-6.6/arch/um/os-Linux/ |
| H A D | start_up.c | 380 char *file, *driver; in parse_iomem() local 384 file = strchr(str,','); in parse_iomem() 385 if (file == NULL) { in parse_iomem() 389 *file = '\0'; in parse_iomem() 390 file++; in parse_iomem() 391 fd = open(file, O_RDWR, 0); in parse_iomem() 393 perror("parse_iomem - Couldn't open io file"); in parse_iomem() 398 perror("parse_iomem - cannot stat_fd file"); in parse_iomem()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_domain.c | 219 struct drm_file *file) in i915_gem_get_caching_ioctl() 226 obj = i915_gem_object_lookup_rcu(file, args->handle); in i915_gem_get_caching_ioctl() 252 struct drm_file *file) in i915_gem_set_caching_ioctl() 283 obj = i915_gem_object_lookup(file, args->handle); in i915_gem_set_caching_ioctl() 439 * @file: drm file 443 struct drm_file *file) in i915_gem_set_domain_ioctl() 465 obj = i915_gem_object_lookup(file, args->handle); in i915_gem_set_domain_ioctl() 218 i915_gem_get_caching_ioctl(struct drm_device *dev, void *data, struct drm_file *file) i915_gem_get_caching_ioctl() argument 251 i915_gem_set_caching_ioctl(struct drm_device *dev, void *data, struct drm_file *file) i915_gem_set_caching_ioctl() argument 442 i915_gem_set_domain_ioctl(struct drm_device *dev, void *data, struct drm_file *file) i915_gem_set_domain_ioctl() argument
|
| /kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
| H A D | bttvp.h | 6 bttv's *private* header file -- nobody other than bttv itself 7 should ever include this file. 268 int bttv_try_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f); 269 int bttv_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f); 270 int bttv_s_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f);
|
| /kernel/linux/linux-5.10/drivers/scsi/ |
| H A D | dpti.h | 303 static int adpt_ioctl(struct inode *inode, struct file *file, uint cmd, ulong arg); 304 static int adpt_open(struct inode *inode, struct file *file); 305 static int adpt_close(struct inode *inode, struct file *file);
|
| /kernel/linux/linux-5.10/drivers/vhost/ |
| H A D | vhost.h | 10 #include <linux/file.h> 28 /* Poll a file (eventfd or socket) */ 45 int vhost_poll_start(struct vhost_poll *poll, struct file *file); 80 struct file *kick; 225 __poll_t vhost_chr_poll(struct file *file, struct vhost_dev *dev,
|
| /kernel/linux/linux-5.10/net/netfilter/ |
| H A D | xt_quota2.c | 75 static int quota_proc_open(struct inode *inode, struct file *file) in quota_proc_open() argument 77 return single_open(file, quota_proc_show, PDE_DATA(inode)); in quota_proc_open() 81 quota_proc_write(struct file *file, const char __user *input, in quota_proc_write() argument 84 struct xt_quota_counter *e = PDE_DATA(file_inode(file)); in quota_proc_write()
|
| /kernel/linux/linux-5.10/sound/core/ |
| H A D | sound.c | 138 static int snd_open(struct inode *inode, struct file *file) in snd_open() argument 160 replace_fops(file, new_fops); in snd_open() 162 if (file->f_op->open) in snd_open() 163 err = file->f_op->open(inode, file); in snd_open() 233 * snd_register_device - Register the ALSA device file for the card 237 * @f_ops: the file operations 241 * Registers an ALSA device file for the given card. 292 * Unregisters the device file alread [all...] |