/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispstat.c | 22 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL) 56 #define IS_H3A_AF(stat) ((stat) == &(stat)->isp->isp_af) 57 #define IS_H3A_AEWB(stat) ((stat) == &(stat)->isp->isp_aewb) 58 #define IS_H3A(stat) (IS_H3A_AF(stat) || IS_H3A_AEW 60 __isp_stat_buf_sync_magic(struct ispstat *stat, struct ispstat_buffer *buf, u32 buf_size, enum dma_data_direction dir, void (*dma_sync)(struct device *, dma_addr_t, unsigned long, size_t, enum dma_data_direction)) __isp_stat_buf_sync_magic() argument 73 isp_stat_buf_sync_magic_for_device(struct ispstat *stat, struct ispstat_buffer *buf, u32 buf_size, enum dma_data_direction dir) isp_stat_buf_sync_magic_for_device() argument 85 isp_stat_buf_sync_magic_for_cpu(struct ispstat *stat, struct ispstat_buffer *buf, u32 buf_size, enum dma_data_direction dir) isp_stat_buf_sync_magic_for_cpu() argument 97 isp_stat_buf_check_magic(struct ispstat *stat, struct ispstat_buffer *buf) isp_stat_buf_check_magic() argument 137 isp_stat_buf_insert_magic(struct ispstat *stat, struct ispstat_buffer *buf) isp_stat_buf_insert_magic() argument 158 isp_stat_buf_sync_for_device(struct ispstat *stat, struct ispstat_buffer *buf) isp_stat_buf_sync_for_device() argument 168 isp_stat_buf_sync_for_cpu(struct ispstat *stat, struct ispstat_buffer *buf) isp_stat_buf_sync_for_cpu() argument 178 isp_stat_buf_clear(struct ispstat *stat) isp_stat_buf_clear() argument 187 __isp_stat_buf_find(struct ispstat *stat, int look_empty) __isp_stat_buf_find() argument 222 isp_stat_buf_find_oldest(struct ispstat *stat) isp_stat_buf_find_oldest() argument 228 isp_stat_buf_find_oldest_or_empty(struct ispstat *stat) isp_stat_buf_find_oldest_or_empty() argument 233 isp_stat_buf_queue(struct ispstat *stat) isp_stat_buf_queue() argument 255 isp_stat_buf_next(struct ispstat *stat) isp_stat_buf_next() argument 266 isp_stat_buf_release(struct ispstat *stat) isp_stat_buf_release() argument 277 isp_stat_buf_get(struct ispstat *stat, struct omap3isp_stat_data *data) isp_stat_buf_get() argument 335 isp_stat_bufs_free(struct ispstat *stat) isp_stat_bufs_free() argument 403 isp_stat_bufs_alloc(struct ispstat *stat, u32 size) isp_stat_bufs_alloc() argument 457 isp_stat_queue_event(struct ispstat *stat, int err) isp_stat_queue_event() argument 481 omap3isp_stat_request_statistics(struct ispstat *stat, struct omap3isp_stat_data *data) omap3isp_stat_request_statistics() argument 512 omap3isp_stat_request_statistics_time32(struct ispstat *stat, struct omap3isp_stat_data_time32 *data) omap3isp_stat_request_statistics_time32() argument 537 omap3isp_stat_config(struct ispstat *stat, void *new_conf) omap3isp_stat_config() argument 627 isp_stat_buf_process(struct ispstat *stat, int buf_state) isp_stat_buf_process() argument 640 omap3isp_stat_pcr_busy(struct ispstat *stat) omap3isp_stat_pcr_busy() argument 645 omap3isp_stat_busy(struct ispstat *stat) omap3isp_stat_busy() argument 658 isp_stat_pcr_enable(struct ispstat *stat, u8 pcr_enable) isp_stat_pcr_enable() argument 672 omap3isp_stat_suspend(struct ispstat *stat) omap3isp_stat_suspend() argument 686 omap3isp_stat_resume(struct ispstat *stat) omap3isp_stat_resume() argument 693 isp_stat_try_enable(struct ispstat *stat) isp_stat_try_enable() argument 731 omap3isp_stat_isr_frame_sync(struct ispstat *stat) omap3isp_stat_isr_frame_sync() argument 736 omap3isp_stat_sbl_overflow(struct ispstat *stat) omap3isp_stat_sbl_overflow() argument 765 omap3isp_stat_enable(struct ispstat *stat, u8 enable) omap3isp_stat_enable() argument 812 struct ispstat *stat = v4l2_get_subdevdata(subdev); omap3isp_stat_s_stream() local 852 __stat_isr(struct ispstat *stat, int from_dma) __stat_isr() argument 992 omap3isp_stat_isr(struct ispstat *stat) omap3isp_stat_isr() argument 997 omap3isp_stat_dma_isr(struct ispstat *stat) omap3isp_stat_dma_isr() argument 1006 struct ispstat *stat = v4l2_get_subdevdata(subdev); omap3isp_stat_subscribe_event() local 1021 omap3isp_stat_unregister_entities(struct ispstat *stat) omap3isp_stat_unregister_entities() argument 1026 omap3isp_stat_register_entities(struct ispstat *stat, struct v4l2_device *vdev) omap3isp_stat_register_entities() argument 1034 isp_stat_init_entities(struct ispstat *stat, const char *name, const struct v4l2_subdev_ops *sd_ops) isp_stat_init_entities() argument 1052 omap3isp_stat_init(struct ispstat *stat, const char *name, const struct v4l2_subdev_ops *sd_ops) omap3isp_stat_init() argument 1074 omap3isp_stat_cleanup(struct ispstat *stat) omap3isp_stat_cleanup() argument [all...] |
H A D | ispstat.h | 52 int (*validate_params)(struct ispstat *stat, void *new_conf); 56 * stat->priv->buf_size value must be set to the exact buffer size for 58 * stat->update is set to 1 if new configuration is different than 61 void (*set_params)(struct ispstat *stat, void *new_conf); 64 void (*setup_regs)(struct ispstat *stat, void *priv); 67 void (*enable)(struct ispstat *stat, int enable); 70 int (*busy)(struct ispstat *stat); 73 int (*buf_process)(struct ispstat *stat); 127 int omap3isp_stat_config(struct ispstat *stat, void *new_conf); 128 int omap3isp_stat_request_statistics(struct ispstat *stat, [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispstat.c | 22 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL) 56 #define IS_H3A_AF(stat) ((stat) == &(stat)->isp->isp_af) 57 #define IS_H3A_AEWB(stat) ((stat) == &(stat)->isp->isp_aewb) 58 #define IS_H3A(stat) (IS_H3A_AF(stat) || IS_H3A_AEW 60 __isp_stat_buf_sync_magic(struct ispstat *stat, struct ispstat_buffer *buf, u32 buf_size, enum dma_data_direction dir, void (*dma_sync)(struct device *, dma_addr_t, unsigned long, size_t, enum dma_data_direction)) __isp_stat_buf_sync_magic() argument 73 isp_stat_buf_sync_magic_for_device(struct ispstat *stat, struct ispstat_buffer *buf, u32 buf_size, enum dma_data_direction dir) isp_stat_buf_sync_magic_for_device() argument 85 isp_stat_buf_sync_magic_for_cpu(struct ispstat *stat, struct ispstat_buffer *buf, u32 buf_size, enum dma_data_direction dir) isp_stat_buf_sync_magic_for_cpu() argument 97 isp_stat_buf_check_magic(struct ispstat *stat, struct ispstat_buffer *buf) isp_stat_buf_check_magic() argument 137 isp_stat_buf_insert_magic(struct ispstat *stat, struct ispstat_buffer *buf) isp_stat_buf_insert_magic() argument 158 isp_stat_buf_sync_for_device(struct ispstat *stat, struct ispstat_buffer *buf) isp_stat_buf_sync_for_device() argument 168 isp_stat_buf_sync_for_cpu(struct ispstat *stat, struct ispstat_buffer *buf) isp_stat_buf_sync_for_cpu() argument 178 isp_stat_buf_clear(struct ispstat *stat) isp_stat_buf_clear() argument 187 __isp_stat_buf_find(struct ispstat *stat, int look_empty) __isp_stat_buf_find() argument 222 isp_stat_buf_find_oldest(struct ispstat *stat) isp_stat_buf_find_oldest() argument 228 isp_stat_buf_find_oldest_or_empty(struct ispstat *stat) isp_stat_buf_find_oldest_or_empty() argument 233 isp_stat_buf_queue(struct ispstat *stat) isp_stat_buf_queue() argument 255 isp_stat_buf_next(struct ispstat *stat) isp_stat_buf_next() argument 266 isp_stat_buf_release(struct ispstat *stat) isp_stat_buf_release() argument 277 isp_stat_buf_get(struct ispstat *stat, struct omap3isp_stat_data *data) isp_stat_buf_get() argument 335 isp_stat_bufs_free(struct ispstat *stat) isp_stat_bufs_free() argument 403 isp_stat_bufs_alloc(struct ispstat *stat, u32 size) isp_stat_bufs_alloc() argument 457 isp_stat_queue_event(struct ispstat *stat, int err) isp_stat_queue_event() argument 481 omap3isp_stat_request_statistics(struct ispstat *stat, struct omap3isp_stat_data *data) omap3isp_stat_request_statistics() argument 512 omap3isp_stat_request_statistics_time32(struct ispstat *stat, struct omap3isp_stat_data_time32 *data) omap3isp_stat_request_statistics_time32() argument 538 omap3isp_stat_config(struct ispstat *stat, void *new_conf) omap3isp_stat_config() argument 628 isp_stat_buf_process(struct ispstat *stat, int buf_state) isp_stat_buf_process() argument 641 omap3isp_stat_pcr_busy(struct ispstat *stat) omap3isp_stat_pcr_busy() argument 646 omap3isp_stat_busy(struct ispstat *stat) omap3isp_stat_busy() argument 659 isp_stat_pcr_enable(struct ispstat *stat, u8 pcr_enable) isp_stat_pcr_enable() argument 673 omap3isp_stat_suspend(struct ispstat *stat) omap3isp_stat_suspend() argument 687 omap3isp_stat_resume(struct ispstat *stat) omap3isp_stat_resume() argument 694 isp_stat_try_enable(struct ispstat *stat) isp_stat_try_enable() argument 732 omap3isp_stat_isr_frame_sync(struct ispstat *stat) omap3isp_stat_isr_frame_sync() argument 737 omap3isp_stat_sbl_overflow(struct ispstat *stat) omap3isp_stat_sbl_overflow() argument 766 omap3isp_stat_enable(struct ispstat *stat, u8 enable) omap3isp_stat_enable() argument 813 struct ispstat *stat = v4l2_get_subdevdata(subdev); omap3isp_stat_s_stream() local 853 __stat_isr(struct ispstat *stat, int from_dma) __stat_isr() argument 993 omap3isp_stat_isr(struct ispstat *stat) omap3isp_stat_isr() argument 998 omap3isp_stat_dma_isr(struct ispstat *stat) omap3isp_stat_dma_isr() argument 1007 struct ispstat *stat = v4l2_get_subdevdata(subdev); omap3isp_stat_subscribe_event() local 1022 omap3isp_stat_unregister_entities(struct ispstat *stat) omap3isp_stat_unregister_entities() argument 1027 omap3isp_stat_register_entities(struct ispstat *stat, struct v4l2_device *vdev) omap3isp_stat_register_entities() argument 1035 isp_stat_init_entities(struct ispstat *stat, const char *name, const struct v4l2_subdev_ops *sd_ops) isp_stat_init_entities() argument 1053 omap3isp_stat_init(struct ispstat *stat, const char *name, const struct v4l2_subdev_ops *sd_ops) omap3isp_stat_init() argument 1075 omap3isp_stat_cleanup(struct ispstat *stat) omap3isp_stat_cleanup() argument [all...] |
H A D | ispstat.h | 52 int (*validate_params)(struct ispstat *stat, void *new_conf); 56 * stat->priv->buf_size value must be set to the exact buffer size for 58 * stat->update is set to 1 if new configuration is different than 61 void (*set_params)(struct ispstat *stat, void *new_conf); 64 void (*setup_regs)(struct ispstat *stat, void *priv); 67 void (*enable)(struct ispstat *stat, int enable); 70 int (*busy)(struct ispstat *stat); 73 int (*buf_process)(struct ispstat *stat); 127 int omap3isp_stat_config(struct ispstat *stat, void *new_conf); 128 int omap3isp_stat_request_statistics(struct ispstat *stat, [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | stat.c | 3 * linux/fs/stat.c 34 * @stat: Where to fill in the attributes 47 struct inode *inode, struct kstat *stat) in generic_fillattr() 52 stat->dev = inode->i_sb->s_dev; in generic_fillattr() 53 stat->ino = inode->i_ino; in generic_fillattr() 54 stat->mode = inode->i_mode; in generic_fillattr() 55 stat->nlink = inode->i_nlink; in generic_fillattr() 56 stat->uid = vfsuid_into_kuid(vfsuid); in generic_fillattr() 57 stat->gid = vfsgid_into_kgid(vfsgid); in generic_fillattr() 58 stat in generic_fillattr() 46 generic_fillattr(struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat) generic_fillattr() argument 82 generic_fill_statx_attr(struct inode *inode, struct kstat *stat) generic_fill_statx_attr() argument 105 vfs_getattr_nosec(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) vfs_getattr_nosec() argument 165 vfs_getattr(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) vfs_getattr() argument 190 vfs_fstat(int fd, struct kstat *stat) vfs_fstat() argument 232 vfs_statx(int dfd, struct filename *filename, int flags, struct kstat *stat, u32 request_mask) vfs_statx() argument 274 vfs_fstatat(int dfd, const char __user *filename, struct kstat *stat, int flags) vfs_fstatat() argument 311 cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) cp_old_stat() argument 351 struct kstat stat; SYSCALL_DEFINE2() local 364 struct kstat stat; SYSCALL_DEFINE2() local 376 struct kstat stat; SYSCALL_DEFINE2() local 393 cp_new_stat(struct kstat *stat, struct stat __user *statbuf) cp_new_stat() argument 435 struct kstat stat; SYSCALL_DEFINE2() local 446 struct kstat stat; SYSCALL_DEFINE2() local 460 struct kstat stat; SYSCALL_DEFINE4() local 472 struct kstat stat; SYSCALL_DEFINE2() local 538 cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) cp_new_stat64() argument 576 struct kstat stat; SYSCALL_DEFINE2() local 588 struct kstat stat; SYSCALL_DEFINE2() local 599 struct kstat stat; SYSCALL_DEFINE2() local 611 struct kstat stat; SYSCALL_DEFINE4() local 622 cp_statx(const struct kstat *stat, struct statx __user *buffer) cp_statx() argument 663 struct kstat stat; do_statx() local 710 cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf) cp_compat_stat() argument 748 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 760 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 774 struct kstat stat; COMPAT_SYSCALL_DEFINE4() local 787 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | stat.c | 3 * linux/fs/stat.c 30 * @stat: Where to fill in the attributes 36 void generic_fillattr(struct inode *inode, struct kstat *stat) in generic_fillattr() argument 38 stat->dev = inode->i_sb->s_dev; in generic_fillattr() 39 stat->ino = inode->i_ino; in generic_fillattr() 40 stat->mode = inode->i_mode; in generic_fillattr() 41 stat->nlink = inode->i_nlink; in generic_fillattr() 42 stat->uid = inode->i_uid; in generic_fillattr() 43 stat->gid = inode->i_gid; in generic_fillattr() 44 stat in generic_fillattr() 67 vfs_getattr_nosec(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) vfs_getattr_nosec() argument 124 vfs_getattr(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) vfs_getattr() argument 146 vfs_fstat(int fd, struct kstat *stat) vfs_fstat() argument 174 vfs_statx(int dfd, const char __user *filename, int flags, struct kstat *stat, u32 request_mask) vfs_statx() argument 212 vfs_fstatat(int dfd, const char __user *filename, struct kstat *stat, int flags) vfs_fstatat() argument 225 cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) cp_old_stat() argument 265 struct kstat stat; SYSCALL_DEFINE2() local 278 struct kstat stat; SYSCALL_DEFINE2() local 290 struct kstat stat; SYSCALL_DEFINE2() local 313 cp_new_stat(struct kstat *stat, struct stat __user *statbuf) cp_new_stat() argument 355 struct kstat stat; SYSCALL_DEFINE2() local 366 struct kstat stat; SYSCALL_DEFINE2() local 380 struct kstat stat; SYSCALL_DEFINE4() local 392 struct kstat stat; SYSCALL_DEFINE2() local 458 cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) cp_new_stat64() argument 496 struct kstat stat; SYSCALL_DEFINE2() local 508 struct kstat stat; SYSCALL_DEFINE2() local 519 struct kstat stat; SYSCALL_DEFINE2() local 531 struct kstat stat; SYSCALL_DEFINE4() local 542 cp_statx(const struct kstat *stat, struct statx __user *buffer) cp_statx() argument 579 struct kstat stat; do_statx() local 614 cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf) cp_compat_stat() argument 652 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 664 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 678 struct kstat stat; COMPAT_SYSCALL_DEFINE4() local 691 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | kallsyms_selftest.c | 160 struct test_stat *stat = (struct test_stat *)data; in lookup_name() local 167 if (t < stat->min) in lookup_name() 168 stat->min = t; in lookup_name() 170 if (t > stat->max) in lookup_name() 171 stat->max = t; in lookup_name() 173 stat->real_cnt++; in lookup_name() 174 stat->sum += t; in lookup_name() 181 struct test_stat stat; in test_perf_kallsyms_lookup_name() local 183 memset(&stat, 0, sizeof(stat)); in test_perf_kallsyms_lookup_name() 212 struct test_stat *stat = (struct test_stat *)data; find_symbol() local 234 struct test_stat stat; test_perf_kallsyms_on_each_symbol() local 248 struct test_stat *stat = (struct test_stat *)data; match_symbol() local 267 struct test_stat stat; test_perf_kallsyms_on_each_match_symbol() local 286 struct test_stat *stat, *stat2; test_kallsyms_basic_function() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | gv100.c | 47 u32 stat = nvkm_rd32(device, 0x6107a8); in gv100_disp_super() local 50 nvkm_debug(subdev, "supervisor %d: %08x\n", ffs(disp->super), stat); in gv100_disp_super() 101 u32 stat = nvkm_rd32(device, 0x611020 + (chid * 12)); in gv100_disp_exception() local 102 u32 type = (stat & 0x00007000) >> 12; in gv100_disp_exception() 103 u32 mthd = (stat & 0x00000fff) << 2; in gv100_disp_exception() 115 nvkm_error(subdev, "chid %d stat %08x reason %d [%s] " in gv100_disp_exception() 117 chid, stat, type, reason ? reason->name : "", in gv100_disp_exception() 120 nvkm_error(subdev, "chid %d stat %08x reason %d [%s] " in gv100_disp_exception() 122 chid, stat, type, reason ? reason->name : "", mthd); in gv100_disp_exception() 143 u32 stat in gv100_disp_intr_ctrl_disp() local 191 u32 stat = nvkm_rd32(device, 0x611854); gv100_disp_intr_exc_other() local 220 unsigned long stat = nvkm_rd32(device, 0x611850); gv100_disp_intr_exc_winim() local 240 unsigned long stat = nvkm_rd32(device, 0x61184c); gv100_disp_intr_exc_win() local 260 u32 stat = nvkm_rd32(device, 0x611800 + (head * 0x04)); gv100_disp_intr_head_timing() local 285 u32 stat = nvkm_rd32(device, 0x611ec0); gv100_disp_intr() local [all...] |
/kernel/linux/linux-5.10/arch/mips/sgi-ip32/ |
H A D | crime.c | 44 unsigned long stat, addr; in crime_memerr_intr() local 47 stat = crime->mem_error_stat & CRIME_MEM_ERROR_STAT_MASK; in crime_memerr_intr() 50 printk("CRIME memory error at 0x%08lx ST 0x%08lx<", addr, stat); in crime_memerr_intr() 52 if (stat & CRIME_MEM_ERROR_INV) in crime_memerr_intr() 54 if (stat & CRIME_MEM_ERROR_ECC) { in crime_memerr_intr() 61 if (stat & CRIME_MEM_ERROR_MULTIPLE) { in crime_memerr_intr() 65 if (stat & CRIME_MEM_ERROR_HARD_ERR) { in crime_memerr_intr() 69 if (stat & CRIME_MEM_ERROR_SOFT_ERR) in crime_memerr_intr() 71 if (stat & CRIME_MEM_ERROR_CPU_ACCESS) in crime_memerr_intr() 73 if (stat in crime_memerr_intr() 95 unsigned long stat = crime->cpu_error_stat & CRIME_CPU_ERROR_MASK; crime_cpuerr_intr() local [all...] |
/kernel/linux/linux-6.6/arch/mips/sgi-ip32/ |
H A D | crime.c | 44 unsigned long stat, addr; in crime_memerr_intr() local 47 stat = crime->mem_error_stat & CRIME_MEM_ERROR_STAT_MASK; in crime_memerr_intr() 50 printk("CRIME memory error at 0x%08lx ST 0x%08lx<", addr, stat); in crime_memerr_intr() 52 if (stat & CRIME_MEM_ERROR_INV) in crime_memerr_intr() 54 if (stat & CRIME_MEM_ERROR_ECC) { in crime_memerr_intr() 61 if (stat & CRIME_MEM_ERROR_MULTIPLE) { in crime_memerr_intr() 65 if (stat & CRIME_MEM_ERROR_HARD_ERR) { in crime_memerr_intr() 69 if (stat & CRIME_MEM_ERROR_SOFT_ERR) in crime_memerr_intr() 71 if (stat & CRIME_MEM_ERROR_CPU_ACCESS) in crime_memerr_intr() 73 if (stat in crime_memerr_intr() 95 unsigned long stat = crime->cpu_error_stat & CRIME_CPU_ERROR_MASK; crime_cpuerr_intr() local [all...] |
/kernel/linux/linux-5.10/drivers/devfreq/ |
H A D | governor_simpleondemand.c | 22 struct devfreq_dev_status *stat; in devfreq_simple_ondemand_func() local 32 stat = &df->last_status; in devfreq_simple_ondemand_func() 45 if (stat->total_time == 0) { in devfreq_simple_ondemand_func() 51 if (stat->busy_time >= (1 << 24) || stat->total_time >= (1 << 24)) { in devfreq_simple_ondemand_func() 52 stat->busy_time >>= 7; in devfreq_simple_ondemand_func() 53 stat->total_time >>= 7; in devfreq_simple_ondemand_func() 57 if (stat->busy_time * 100 > in devfreq_simple_ondemand_func() 58 stat->total_time * dfso_upthreshold) { in devfreq_simple_ondemand_func() 64 if (stat in devfreq_simple_ondemand_func() [all...] |
/kernel/linux/linux-6.6/drivers/devfreq/ |
H A D | governor_simpleondemand.c | 22 struct devfreq_dev_status *stat; in devfreq_simple_ondemand_func() local 32 stat = &df->last_status; in devfreq_simple_ondemand_func() 45 if (stat->total_time == 0) { in devfreq_simple_ondemand_func() 51 if (stat->busy_time >= (1 << 24) || stat->total_time >= (1 << 24)) { in devfreq_simple_ondemand_func() 52 stat->busy_time >>= 7; in devfreq_simple_ondemand_func() 53 stat->total_time >>= 7; in devfreq_simple_ondemand_func() 57 if (stat->busy_time * 100 > in devfreq_simple_ondemand_func() 58 stat->total_time * dfso_upthreshold) { in devfreq_simple_ondemand_func() 64 if (stat in devfreq_simple_ondemand_func() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | timing.h | 48 vcpu->stat.ext_intr_exits++; in kvmppc_account_exit_stat() 51 vcpu->stat.dec_exits++; in kvmppc_account_exit_stat() 54 vcpu->stat.emulated_inst_exits++; in kvmppc_account_exit_stat() 57 vcpu->stat.dsi_exits++; in kvmppc_account_exit_stat() 60 vcpu->stat.isi_exits++; in kvmppc_account_exit_stat() 63 vcpu->stat.syscall_exits++; in kvmppc_account_exit_stat() 66 vcpu->stat.dtlb_real_miss_exits++; in kvmppc_account_exit_stat() 69 vcpu->stat.dtlb_virt_miss_exits++; in kvmppc_account_exit_stat() 72 vcpu->stat.mmio_exits++; in kvmppc_account_exit_stat() 75 vcpu->stat in kvmppc_account_exit_stat() [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-ebsa110/include/mach/ |
H A D | entry-macro.S | 19 .macro get_irqnr_and_base, irqnr, stat, base, tmp 20 ldrb \stat, [\base] @ get interrupts 22 tst \stat, #15 24 moveq \stat, \stat, lsr #4 25 tst \stat, #3 27 moveq \stat, \stat, lsr #2 28 tst \stat, #1 30 moveq \stat, \sta [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-mv78xx0/ |
H A D | irq.c | 32 u32 stat; in mv78xx0_legacy_handle_irq() local 34 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_LOW_OFF); in mv78xx0_legacy_handle_irq() 35 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_LOW_OFF); in mv78xx0_legacy_handle_irq() 36 if (stat) { in mv78xx0_legacy_handle_irq() 37 unsigned int hwirq = __fls(stat); in mv78xx0_legacy_handle_irq() 41 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_HIGH_OFF); in mv78xx0_legacy_handle_irq() 42 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_HIGH_OFF); in mv78xx0_legacy_handle_irq() 43 if (stat) { in mv78xx0_legacy_handle_irq() 44 unsigned int hwirq = 32 + __fls(stat); in mv78xx0_legacy_handle_irq() 48 stat in mv78xx0_legacy_handle_irq() [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-mv78xx0/ |
H A D | irq.c | 29 u32 stat; in mv78xx0_legacy_handle_irq() local 31 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_LOW_OFF); in mv78xx0_legacy_handle_irq() 32 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_LOW_OFF); in mv78xx0_legacy_handle_irq() 33 if (stat) { in mv78xx0_legacy_handle_irq() 34 unsigned int hwirq = __fls(stat); in mv78xx0_legacy_handle_irq() 38 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_HIGH_OFF); in mv78xx0_legacy_handle_irq() 39 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_HIGH_OFF); in mv78xx0_legacy_handle_irq() 40 if (stat) { in mv78xx0_legacy_handle_irq() 41 unsigned int hwirq = 32 + __fls(stat); in mv78xx0_legacy_handle_irq() 45 stat in mv78xx0_legacy_handle_irq() [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | sys_ia32.c | 36 #include <linux/stat.h> 129 * Another set for IA32/LFS -- x86_64 struct stat is different due to 132 static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat) in cp_stat64() argument 136 SET_UID(uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_stat64() 137 SET_GID(gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_stat64() 140 unsafe_put_user(huge_encode_dev(stat->dev), &ubuf->st_dev, Efault); in cp_stat64() 141 unsafe_put_user(stat->ino, &ubuf->__st_ino, Efault); in cp_stat64() 142 unsafe_put_user(stat->ino, &ubuf->st_ino, Efault); in cp_stat64() 143 unsafe_put_user(stat->mode, &ubuf->st_mode, Efault); in cp_stat64() 144 unsafe_put_user(stat in cp_stat64() 167 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 178 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 188 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 199 struct kstat stat; COMPAT_SYSCALL_DEFINE4() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | sys_ia32.c | 36 #include <linux/stat.h> 129 * Another set for IA32/LFS -- x86_64 struct stat is different due to 132 static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat) in cp_stat64() argument 136 SET_UID(uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_stat64() 137 SET_GID(gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_stat64() 140 unsafe_put_user(huge_encode_dev(stat->dev), &ubuf->st_dev, Efault); in cp_stat64() 141 unsafe_put_user(stat->ino, &ubuf->__st_ino, Efault); in cp_stat64() 142 unsafe_put_user(stat->ino, &ubuf->st_ino, Efault); in cp_stat64() 143 unsafe_put_user(stat->mode, &ubuf->st_mode, Efault); in cp_stat64() 144 unsafe_put_user(stat in cp_stat64() 167 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 178 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 188 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 199 struct kstat stat; COMPAT_SYSCALL_DEFINE4() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | timing.h | 46 vcpu->stat.ext_intr_exits++; in kvmppc_account_exit_stat() 49 vcpu->stat.dec_exits++; in kvmppc_account_exit_stat() 52 vcpu->stat.emulated_inst_exits++; in kvmppc_account_exit_stat() 55 vcpu->stat.dsi_exits++; in kvmppc_account_exit_stat() 58 vcpu->stat.isi_exits++; in kvmppc_account_exit_stat() 61 vcpu->stat.syscall_exits++; in kvmppc_account_exit_stat() 64 vcpu->stat.dtlb_real_miss_exits++; in kvmppc_account_exit_stat() 67 vcpu->stat.dtlb_virt_miss_exits++; in kvmppc_account_exit_stat() 70 vcpu->stat.mmio_exits++; in kvmppc_account_exit_stat() 73 vcpu->stat in kvmppc_account_exit_stat() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | stat.sh | 2 # perf stat tests 9 echo "Basic stat command test" 10 if ! perf stat true 2>&1 | grep -E -q "Performance counter stats for 'true':" 12 echo "Basic stat command test [Failed]" 16 echo "Basic stat command test [Success]" 20 echo "stat record and report test" 21 if ! perf stat record -o - true | perf stat report -i - 2>&1 | \ 24 echo "stat record and report test [Failed]" 28 echo "stat recor [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | sys_sparc32.c | 28 #include <linux/stat.h> 64 static int cp_compat_stat64(struct kstat *stat, in cp_compat_stat64() argument 69 err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); in cp_compat_stat64() 70 err |= put_user(stat->ino, &statbuf->st_ino); in cp_compat_stat64() 71 err |= put_user(stat->mode, &statbuf->st_mode); in cp_compat_stat64() 72 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64() 73 err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); in cp_compat_stat64() 74 err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); in cp_compat_stat64() 75 err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); in cp_compat_stat64() 77 err |= put_user(stat in cp_compat_stat64() 97 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 108 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 119 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 131 struct kstat stat; COMPAT_SYSCALL_DEFINE4() local [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | sys_sparc32.c | 28 #include <linux/stat.h> 64 static int cp_compat_stat64(struct kstat *stat, in cp_compat_stat64() argument 69 err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); in cp_compat_stat64() 70 err |= put_user(stat->ino, &statbuf->st_ino); in cp_compat_stat64() 71 err |= put_user(stat->mode, &statbuf->st_mode); in cp_compat_stat64() 72 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64() 73 err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); in cp_compat_stat64() 74 err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); in cp_compat_stat64() 75 err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); in cp_compat_stat64() 77 err |= put_user(stat in cp_compat_stat64() 97 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 108 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 119 struct kstat stat; COMPAT_SYSCALL_DEFINE2() local 131 struct kstat stat; COMPAT_SYSCALL_DEFINE4() local [all...] |
/kernel/linux/linux-5.10/drivers/media/firewire/ |
H A D | firedtv-ci.c | 23 static int fdtv_ca_ready(struct firedtv_tuner_status *stat) in fdtv_ca_ready() argument 25 return stat->ca_initialization_status == 1 && in fdtv_ca_ready() 26 stat->ca_error_flag == 0 && in fdtv_ca_ready() 27 stat->ca_dvb_flag == 1 && in fdtv_ca_ready() 28 stat->ca_module_present_status == 1; in fdtv_ca_ready() 31 static int fdtv_get_ca_flags(struct firedtv_tuner_status *stat) in fdtv_get_ca_flags() argument 35 if (stat->ca_module_present_status == 1) in fdtv_get_ca_flags() 37 if (stat->ca_initialization_status == 1 && in fdtv_get_ca_flags() 38 stat->ca_error_flag == 0 && in fdtv_get_ca_flags() 39 stat in fdtv_get_ca_flags() 57 struct firedtv_tuner_status stat; fdtv_ca_get_slot_info() local 96 struct firedtv_tuner_status stat; fdtv_ca_get_msg() local 178 struct firedtv_tuner_status stat; fdtv_ca_ioctl() local 232 struct firedtv_tuner_status stat; fdtv_ca_register() local [all...] |
/kernel/linux/linux-6.6/drivers/media/firewire/ |
H A D | firedtv-ci.c | 23 static int fdtv_ca_ready(struct firedtv_tuner_status *stat) in fdtv_ca_ready() argument 25 return stat->ca_initialization_status == 1 && in fdtv_ca_ready() 26 stat->ca_error_flag == 0 && in fdtv_ca_ready() 27 stat->ca_dvb_flag == 1 && in fdtv_ca_ready() 28 stat->ca_module_present_status == 1; in fdtv_ca_ready() 31 static int fdtv_get_ca_flags(struct firedtv_tuner_status *stat) in fdtv_get_ca_flags() argument 35 if (stat->ca_module_present_status == 1) in fdtv_get_ca_flags() 37 if (stat->ca_initialization_status == 1 && in fdtv_get_ca_flags() 38 stat->ca_error_flag == 0 && in fdtv_get_ca_flags() 39 stat in fdtv_get_ca_flags() 57 struct firedtv_tuner_status stat; fdtv_ca_get_slot_info() local 96 struct firedtv_tuner_status stat; fdtv_ca_get_msg() local 178 struct firedtv_tuner_status stat; fdtv_ca_ioctl() local 232 struct firedtv_tuner_status stat; fdtv_ca_register() local [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | iostat.h | 27 enum nfs_stat_eventcounters stat) in nfs_inc_server_stats() 29 this_cpu_inc(server->io_stats->events[stat]); in nfs_inc_server_stats() 33 enum nfs_stat_eventcounters stat) in nfs_inc_stats() 35 nfs_inc_server_stats(NFS_SERVER(inode), stat); in nfs_inc_stats() local 39 enum nfs_stat_bytecounters stat, in nfs_add_server_stats() 42 this_cpu_add(server->io_stats->bytes[stat], addend); in nfs_add_server_stats() 46 enum nfs_stat_bytecounters stat, in nfs_add_stats() 49 nfs_add_server_stats(NFS_SERVER(inode), stat, addend); in nfs_add_stats() local 54 enum nfs_stat_fscachecounters stat, in nfs_add_fscache_stats() 57 this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], adden in nfs_add_fscache_stats() 26 nfs_inc_server_stats(const struct nfs_server *server, enum nfs_stat_eventcounters stat) nfs_inc_server_stats() argument 32 nfs_inc_stats(const struct inode *inode, enum nfs_stat_eventcounters stat) nfs_inc_stats() argument 38 nfs_add_server_stats(const struct nfs_server *server, enum nfs_stat_bytecounters stat, long addend) nfs_add_server_stats() argument 45 nfs_add_stats(const struct inode *inode, enum nfs_stat_bytecounters stat, long addend) nfs_add_stats() argument 53 nfs_add_fscache_stats(struct inode *inode, enum nfs_stat_fscachecounters stat, long addend) nfs_add_fscache_stats() argument 59 nfs_inc_fscache_stats(struct inode *inode, enum nfs_stat_fscachecounters stat) nfs_inc_fscache_stats() argument [all...] |