Home
last modified time | relevance | path

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

12345678910>>...55

/linux-6.6.21/drivers/media/platform/ti/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 …]
/linux-6.6.21/fs/
Dstat.c47 struct inode *inode, struct kstat *stat) in generic_fillattr() argument
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->rdev = inode->i_rdev; in generic_fillattr()
59 stat->size = i_size_read(inode); in generic_fillattr()
60 stat->atime = inode->i_atime; in generic_fillattr()
[all …]
/linux-6.6.21/kernel/
Dkallsyms_selftest.c160 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()
184 stat.min = INT_MAX; in test_perf_kallsyms_lookup_name()
[all …]
/linux-6.6.21/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]
44 [event7:base-stat]
51 [event8:base-stat]
58 [event9:base-stat]
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/media/pci/ddbridge/
Dddbridge-main.c96 int stat; in ddb_irq_msi() local
99 stat = pci_alloc_irq_vectors(dev->pdev, 1, nr, in ddb_irq_msi()
101 if (stat >= 1) { in ddb_irq_msi()
102 dev->msi = stat; in ddb_irq_msi()
114 int stat; in ddb_irq_init() local
132 stat = request_irq(pci_irq_vector(dev->pdev, 0), in ddb_irq_init()
135 if (stat < 0) in ddb_irq_init()
136 return stat; in ddb_irq_init()
137 stat = request_irq(pci_irq_vector(dev->pdev, 1), in ddb_irq_init()
140 if (stat < 0) { in ddb_irq_init()
[all …]
/linux-6.6.21/tools/perf/tests/shell/
Dstat.sh10 if ! perf stat true 2>&1 | grep -E -q "Performance counter stats for 'true':"
21 if ! perf stat record -o - true | perf stat report -i - 2>&1 | \
33 if ! perf stat record -o - true | perf script -i - 2>&1 | \
45 if ! perf stat -e '{cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles}' \
51 …if ! perf stat -r2 -e '{cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles}:W' \
65 if ! perf stat -e '{slots,topdown-retiring}' true > /dev/null 2>&1
70 if perf stat -e '{slots,topdown-retiring}' true 2>&1 | grep -E -q "<not supported>"
76 if perf stat -e '{topdown-retiring,slots}' true 2>&1 | grep -E -q "<not supported>"
91 if ! perf stat --no-merge -e "$ok_grouping" true > /dev/null 2>&1
97 if perf stat --no-merge -e "$group_needs_break" true 2>&1 | grep -E -q "<not supported>"
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/arch/arm/mach-mv78xx0/
Dirq.c29 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 = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_ERR_OFF); in mv78xx0_legacy_handle_irq()
[all …]
/linux-6.6.21/drivers/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 …]
/linux-6.6.21/arch/powerpc/kvm/
Dtiming.h48 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.itlb_real_miss_exits++; in kvmppc_account_exit_stat()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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()
268 c->strength.stat[0].uvalue = p->in_band_power * 1000; in smsdvb_update_per_slices()
271 c->cnr.stat[0].svalue = p->snr * 1000; in smsdvb_update_per_slices()
278 client->last_per = c->block_error.stat[0].uvalue; in smsdvb_update_per_slices()
279 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgk104.c206 u32 stat = nvkm_rd32(engn->runl->fifo->engine.subdev.device, 0x002640 + (engn->id * 0x08)); in gk104_engn_status() local
208 status->busy = !!(stat & 0x80000000); in gk104_engn_status()
209 status->faulted = !!(stat & 0x40000000); in gk104_engn_status()
210 status->next.tsg = !!(stat & 0x10000000); in gk104_engn_status()
211 status->next.id = (stat & 0x0fff0000) >> 16; in gk104_engn_status()
212 status->chsw = !!(stat & 0x00008000); in gk104_engn_status()
213 status->save = !!(stat & 0x00004000); in gk104_engn_status()
214 status->load = !!(stat & 0x00002000); in gk104_engn_status()
215 status->prev.tsg = !!(stat & 0x00001000); in gk104_engn_status()
216 status->prev.id = (stat & 0x00000fff); in gk104_engn_status()
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/privring/
Dgk104.c33 u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0800)); in gk104_privring_intr_hub() local
34 nvkm_debug(privring, "HUB%d: %06x %08x (%08x)\n", i, addr, data, stat); in gk104_privring_intr_hub()
43 u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0800)); in gk104_privring_intr_rop() local
44 nvkm_debug(privring, "ROP%d: %06x %08x (%08x)\n", i, addr, data, stat); in gk104_privring_intr_rop()
53 u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0800)); in gk104_privring_intr_gpc() local
54 nvkm_debug(privring, "GPC%d: %06x %08x (%08x)\n", i, addr, data, stat); in gk104_privring_intr_gpc()
69 u32 stat = 0x00000100 << i; in gk104_privring_intr() local
70 if (intr0 & stat) { in gk104_privring_intr()
72 intr0 &= ~stat; in gk104_privring_intr()
77 u32 stat = 0x00010000 << i; in gk104_privring_intr() local
[all …]
Dgf100.c33 u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0400)); in gf100_privring_intr_hub() local
34 nvkm_debug(privring, "HUB%d: %06x %08x (%08x)\n", i, addr, data, stat); in gf100_privring_intr_hub()
43 u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0400)); in gf100_privring_intr_rop() local
44 nvkm_debug(privring, "ROP%d: %06x %08x (%08x)\n", i, addr, data, stat); in gf100_privring_intr_rop()
53 u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0400)); in gf100_privring_intr_gpc() local
54 nvkm_debug(privring, "GPC%d: %06x %08x (%08x)\n", i, addr, data, stat); in gf100_privring_intr_gpc()
69 u32 stat = 0x00000100 << i; in gf100_privring_intr() local
70 if (intr0 & stat) { in gf100_privring_intr()
72 intr0 &= ~stat; in gf100_privring_intr()
77 u32 stat = 0x00010000 << i; in gf100_privring_intr() local
[all …]
/linux-6.6.21/drivers/media/pci/mantis/
Dhopper_cards.c56 u32 stat = 0, mask = 0; in hopper_irq_handler() local
67 stat = mmread(MANTIS_INT_STAT); in hopper_irq_handler()
69 if (!(stat & mask)) in hopper_irq_handler()
81 mantis->mantis_int_stat = stat; in hopper_irq_handler()
83 dprintk(MANTIS_DEBUG, 0, "\n-- Stat=<%02x> Mask=<%02x> --", stat, mask); in hopper_irq_handler()
84 if (stat & MANTIS_INT_RISCEN) { in hopper_irq_handler()
87 if (stat & MANTIS_INT_IRQ0) { in hopper_irq_handler()
93 if (stat & MANTIS_INT_IRQ1) { in hopper_irq_handler()
101 if (stat & MANTIS_INT_OCERR) { in hopper_irq_handler()
104 if (stat & MANTIS_INT_PABORT) { in hopper_irq_handler()
[all …]

12345678910>>...55