Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 25 of 1330) sorted by relevance

12345678910>>...54

/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Dispstat.c22 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL) argument
56 #define IS_H3A_AF(stat) ((stat) == &(stat)->isp->isp_af) argument
57 #define IS_H3A_AEWB(stat) ((stat) == &(stat)->isp->isp_aewb) argument
58 #define IS_H3A(stat) (IS_H3A_AF(stat) || IS_H3A_AEWB(stat)) argument
60 static void __isp_stat_buf_sync_magic(struct ispstat *stat, in __isp_stat_buf_sync_magic() argument
68 dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic()
69 dma_sync(stat->isp->dev, buf->dma_addr + (buf_size & PAGE_MASK), in __isp_stat_buf_sync_magic()
73 static void isp_stat_buf_sync_magic_for_device(struct ispstat *stat, in isp_stat_buf_sync_magic_for_device() argument
78 if (ISP_STAT_USES_DMAENGINE(stat)) in isp_stat_buf_sync_magic_for_device()
81 __isp_stat_buf_sync_magic(stat, buf, buf_size, dir, in isp_stat_buf_sync_magic_for_device()
[all …]
Dispstat.h52 int (*validate_params)(struct ispstat *stat, void *new_conf);
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,
130 int omap3isp_stat_request_statistics_time32(struct ispstat *stat,
132 int omap3isp_stat_init(struct ispstat *stat, const char *name,
[all …]
/kernel/linux/linux-5.10/fs/
Dstat.c36 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->rdev = inode->i_rdev; in generic_fillattr()
45 stat->size = i_size_read(inode); in generic_fillattr()
46 stat->atime = inode->i_atime; in generic_fillattr()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dgv100.c47 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()
117 chid, stat, type, reason ? reason->name : "", in gv100_disp_exception()
122 chid, stat, type, reason ? reason->name : "", mthd); in gv100_disp_exception()
143 u32 stat = nvkm_rd32(device, 0x611c30); in gv100_disp_intr_ctrl_disp() local
145 if (stat & 0x00000007) { in gv100_disp_intr_ctrl_disp()
146 disp->super = (stat & 0x00000007); in gv100_disp_intr_ctrl_disp()
[all …]
/kernel/linux/linux-5.10/tools/perf/tests/attr/
Dtest-stat-detailed-32 command = stat
8 [event1:base-stat]
14 [event2:base-stat]
20 [event3:base-stat]
26 [event4:base-stat]
32 [event5:base-stat]
39 [event6:base-stat]
46 [event7:base-stat]
53 [event8:base-stat]
60 [event9:base-stat]
[all …]
Dtest-stat-detailed-22 command = stat
8 [event1:base-stat]
14 [event2:base-stat]
20 [event3:base-stat]
26 [event4:base-stat]
32 [event5:base-stat]
39 [event6:base-stat]
46 [event7:base-stat]
53 [event8:base-stat]
60 [event9:base-stat]
[all …]
Dtest-stat-detailed-12 command = stat
8 [event1:base-stat]
14 [event2:base-stat]
20 [event3:base-stat]
26 [event4:base-stat]
32 [event5:base-stat]
39 [event6:base-stat]
46 [event7:base-stat]
53 [event8:base-stat]
60 [event9:base-stat]
[all …]
Dtest-stat-default2 command = stat
7 [event1:base-stat]
13 [event2:base-stat]
19 [event3:base-stat]
25 [event4:base-stat]
31 [event5:base-stat]
38 [event6:base-stat]
45 [event7:base-stat]
52 [event8:base-stat]
59 [event9:base-stat]
[all …]
/kernel/linux/linux-5.10/arch/mips/sgi-ip32/
Dcrime.c44 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 & CRIME_MEM_ERROR_VICE_ACCESS) in crime_memerr_intr()
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsys_ia32.c132 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->nlink, &ubuf->st_nlink, Efault); in cp_stat64()
147 unsafe_put_user(huge_encode_dev(stat->rdev), &ubuf->st_rdev, Efault); in cp_stat64()
148 unsafe_put_user(stat->size, &ubuf->st_size, Efault); in cp_stat64()
[all …]
/kernel/linux/linux-5.10/drivers/devfreq/
Dgovernor_simpleondemand.c22 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->current_frequency == 0) { in devfreq_simple_ondemand_func()
70 if (stat->busy_time * 100 > in devfreq_simple_ondemand_func()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-ebsa110/include/mach/
Dentry-macro.S19 .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, \stat, lsr #1
31 tst \stat, #1 @ bit 0 should be set
/kernel/linux/linux-5.10/drivers/ide/
Dide-cd_ioctl.c47 int stat; in ide_cdrom_drive_status() local
52 stat = cdrom_check_status(drive, &sshdr); in ide_cdrom_drive_status()
53 if (!stat || sshdr.sense_key == UNIT_ATTENTION) in ide_cdrom_drive_status()
140 int stat; in ide_cd_lockdoor() local
144 stat = 0; in ide_cd_lockdoor()
153 stat = ide_cd_queue_pc(drive, cmd, 0, NULL, NULL, in ide_cd_lockdoor()
159 if (stat != 0 && in ide_cd_lockdoor()
165 stat = 0; in ide_cd_lockdoor()
169 if (stat != 0 && sshdr.sense_key == NOT_READY && sshdr.asc == 0x3a) in ide_cd_lockdoor()
170 stat = 0; in ide_cd_lockdoor()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-mv78xx0/
Dirq.c32 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 = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_ERR_OFF); in mv78xx0_legacy_handle_irq()
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Ddt2801.c229 int stat = 0; in dt2801_readdata() local
233 stat = inb_p(dev->iobase + DT2801_STATUS); in dt2801_readdata()
234 if (stat & (DT_S_COMPOSITE_ERROR | DT_S_READY)) in dt2801_readdata()
235 return stat; in dt2801_readdata()
236 if (stat & DT_S_DATA_OUT_READY) { in dt2801_readdata()
264 int stat = 0; in dt2801_writedata() local
268 stat = inb_p(dev->iobase + DT2801_STATUS); in dt2801_writedata()
270 if (stat & DT_S_COMPOSITE_ERROR) in dt2801_writedata()
271 return stat; in dt2801_writedata()
272 if (!(stat & DT_S_DATA_IN_FULL)) { in dt2801_writedata()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dtiming.h46 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.itlb_real_miss_exits++; in kvmppc_account_exit_stat()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
Dddbridge-main.c105 int stat; in ddb_irq_msi() local
108 stat = pci_alloc_irq_vectors(dev->pdev, 1, nr, in ddb_irq_msi()
110 if (stat >= 1) { in ddb_irq_msi()
111 dev->msi = stat; in ddb_irq_msi()
123 int stat; in ddb_irq_init() local
141 stat = request_irq(pci_irq_vector(dev->pdev, 0), in ddb_irq_init()
144 if (stat < 0) in ddb_irq_init()
145 return stat; in ddb_irq_init()
146 stat = request_irq(pci_irq_vector(dev->pdev, 1), in ddb_irq_init()
149 if (stat < 0) { in ddb_irq_init()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsys_sparc32.c64 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->size, &statbuf->st_size); in cp_compat_stat64()
78 err |= put_user(stat->blksize, &statbuf->st_blksize); in cp_compat_stat64()
[all …]
/kernel/linux/linux-5.10/drivers/media/firewire/
Dfiredtv-ci.c23 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->ca_dvb_flag == 1) in fdtv_get_ca_flags()
[all …]
/kernel/linux/linux-5.10/fs/nfs/
Diostat.h27 enum nfs_stat_eventcounters stat) in nfs_inc_server_stats() argument
29 this_cpu_inc(server->io_stats->events[stat]); in nfs_inc_server_stats()
33 enum nfs_stat_eventcounters stat) in nfs_inc_stats() argument
35 nfs_inc_server_stats(NFS_SERVER(inode), stat); in nfs_inc_stats()
39 enum nfs_stat_bytecounters stat, in nfs_add_server_stats() argument
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() argument
49 nfs_add_server_stats(NFS_SERVER(inode), stat, addend); in nfs_add_stats()
54 enum nfs_stat_fscachecounters stat, in nfs_add_fscache_stats() argument
57 this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], addend); in nfs_add_fscache_stats()
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Dcompat_linux.c126 static int cp_stat64(struct stat64_emu31 __user *ubuf, struct kstat *stat) in cp_stat64() argument
132 tmp.st_dev = huge_encode_dev(stat->dev); in cp_stat64()
133 tmp.st_ino = stat->ino; in cp_stat64()
134 tmp.__st_ino = (u32)stat->ino; in cp_stat64()
135 tmp.st_mode = stat->mode; in cp_stat64()
136 tmp.st_nlink = (unsigned int)stat->nlink; in cp_stat64()
137 tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); in cp_stat64()
138 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_stat64()
139 tmp.st_rdev = huge_encode_dev(stat->rdev); in cp_stat64()
140 tmp.st_size = stat->size; in cp_stat64()
[all …]
/kernel/linux/linux-5.10/block/
Dblk-stat.c21 void blk_rq_stat_init(struct blk_rq_stat *stat) in blk_rq_stat_init() argument
23 stat->min = -1ULL; in blk_rq_stat_init()
24 stat->max = stat->nr_samples = stat->mean = 0; in blk_rq_stat_init()
25 stat->batch = 0; in blk_rq_stat_init()
43 void blk_rq_stat_add(struct blk_rq_stat *stat, u64 value) in blk_rq_stat_add() argument
45 stat->min = min(stat->min, value); in blk_rq_stat_add()
46 stat->max = max(stat->max, value); in blk_rq_stat_add()
47 stat->batch += value; in blk_rq_stat_add()
48 stat->nr_samples++; in blk_rq_stat_add()
55 struct blk_rq_stat *stat; in blk_stat_add() local
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/
Dvidtv_demod.c133 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in vidtv_clean_stats()
134 c->strength.stat[0].svalue = 0; in vidtv_clean_stats()
137 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats()
138 c->cnr.stat[0].svalue = 0; in vidtv_clean_stats()
142 c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats()
143 c->pre_bit_error.stat[0].uvalue = 0; in vidtv_clean_stats()
145 c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats()
146 c->pre_bit_count.stat[0].uvalue = 0; in vidtv_clean_stats()
148 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats()
149 c->post_bit_error.stat[0].uvalue = 0; in vidtv_clean_stats()
[all …]
/kernel/linux/linux-5.10/drivers/media/common/siano/
Dsmsdvb-main.c136 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready()
137 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready()
150 c->post_bit_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
151 c->post_bit_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
152 c->block_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
153 c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
240 c->strength.stat[0].uvalue = p->in_band_power * 1000; in smsdvb_update_per_slices()
243 c->cnr.stat[0].svalue = p->snr * 1000; in smsdvb_update_per_slices()
250 client->last_per = c->block_error.stat[0].uvalue; in smsdvb_update_per_slices()
251 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/ibus/
Dgf100.c33 u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0400)); in gf100_ibus_intr_hub() local
34 nvkm_debug(ibus, "HUB%d: %06x %08x (%08x)\n", i, addr, data, stat); in gf100_ibus_intr_hub()
43 u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0400)); in gf100_ibus_intr_rop() local
44 nvkm_debug(ibus, "ROP%d: %06x %08x (%08x)\n", i, addr, data, stat); in gf100_ibus_intr_rop()
53 u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0400)); in gf100_ibus_intr_gpc() local
54 nvkm_debug(ibus, "GPC%d: %06x %08x (%08x)\n", i, addr, data, stat); in gf100_ibus_intr_gpc()
69 u32 stat = 0x00000100 << i; in gf100_ibus_intr() local
70 if (intr0 & stat) { in gf100_ibus_intr()
72 intr0 &= ~stat; in gf100_ibus_intr()
77 u32 stat = 0x00010000 << i; in gf100_ibus_intr() local
[all …]

12345678910>>...54