Home
last modified time | relevance | path

Searched full:stat (Results 1 – 25 of 4338) sorted by relevance

12345678910>>...174

/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);
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/
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);
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-5.10/fs/
Dstat.c3 * 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->rdev = inode->i_rdev; in generic_fillattr()
[all …]
/kernel/linux/linux-6.6/fs/
Dstat.c3 * linux/fs/stat.c
34 * @stat: Where to fill in the attributes
47 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()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/tools/perf/tests/attr/
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-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-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 …]
/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()
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 = nvkm_rd32(device, 0x611c30); in gv100_disp_intr_ctrl_disp() local
[all …]
/kernel/linux/linux-6.6/tools/perf/tests/shell/
Dstat.sh2 # 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 record and report test [Success]"
32 echo "stat record and script test"
[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 …]
/kernel/linux/linux-5.10/block/
Dblk-stat.c3 * Block stat tracking code
11 #include "blk-stat.h"
21 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()
28 /* src is a per-cpu stat, mean isn't initialized */
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()
[all …]
/kernel/linux/linux-6.6/arch/x86/kernel/
Dsys_ia32.c36 #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->nlink, &ubuf->st_nlink, Efault); in cp_stat64()
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsys_ia32.c36 #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->nlink, &ubuf->st_nlink, Efault); in cp_stat64()
[all …]
/kernel/linux/linux-6.6/block/
Dblk-stat.c3 * Block stat tracking code
10 #include "blk-stat.h"
20 void blk_rq_stat_init(struct blk_rq_stat *stat) in blk_rq_stat_init() argument
22 stat->min = -1ULL; in blk_rq_stat_init()
23 stat->max = stat->nr_samples = stat->mean = 0; in blk_rq_stat_init()
24 stat->batch = 0; in blk_rq_stat_init()
27 /* src is a per-cpu stat, mean isn't initialized */
42 void blk_rq_stat_add(struct blk_rq_stat *stat, u64 value) in blk_rq_stat_add() argument
44 stat->min = min(stat->min, value); in blk_rq_stat_add()
45 stat->max = max(stat->max, value); in blk_rq_stat_add()
[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-6.6/arch/sparc/kernel/
Dsys_sparc32.c28 #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->size, &statbuf->st_size); in cp_compat_stat64()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsys_sparc32.c28 #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->size, &statbuf->st_size); in cp_compat_stat64()
[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-6.6/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 …]

12345678910>>...174