/linux-master/tools/perf/tests/shell/ |
H A D | stat_all_pmu.sh | 10 result=$(perf stat -e "$p" true 2>&1) 14 result=$(perf stat -e "$p" perf bench internals synthesize 2>&1)
|
H A D | stat_bpf_counters.sh | 2 # perf stat --bpf-counters test 25 if ! perf stat -e cycles --bpf-counters true > /dev/null 2>&1; then 28 perf --no-pager stat -e cycles --bpf-counters true || true 33 base_cycles=$(perf stat --no-big-num -e cycles -- perf bench sched messaging -g 1 -l 100 -t 2>&1 | awk '/cycles/ {print $1}') 38 bpf_cycles=$(perf stat --no-big-num --bpf-counters -e cycles -- perf bench sched messaging -g 1 -l 100 -t 2>&1 | awk '/cycles/ {print $1}')
|
H A D | stat_all_metrics.sh | 8 result=$(perf stat -M "$m" true 2>&1) 14 result=$(perf stat -M "$m" -a sleep 0.01 2>&1) 21 result=$(perf stat -M "$m" perf bench internals synthesize 2>&1)
|
H A D | stat+json_output.sh | 2 # perf stat JSON output linter 4 # Checks various perf stat JSON output commands for the 39 perf stat -j -o "${stat_output}" true 52 perf stat -j -a -o "${stat_output}" true 65 perf stat -j -A -a --no-merge -o "${stat_output}" true 73 perf stat -j -I 1000 -o "${stat_output}" true 82 perf stat -j -e cpu-clock -o "${stat_output}" true 95 perf stat -j --per-core -a -o "${stat_output}" true 108 perf stat -j --per-thread -a -o "${stat_output}" true 121 perf stat [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | nv50.c | 57 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); local 59 if (stat & 0x00000008) { 67 stat &= ~0x00000008; 71 if (stat & 0x00010000) { 75 stat &= ~0x00010000; 79 if (stat) { 80 nvkm_error(subdev, "intr %08x\n", stat); 81 nvkm_mask(device, 0x001140, stat, 0);
|
/linux-master/arch/mips/kvm/ |
H A D | stats.c | 57 if (vcpu->arch.cop0.stat[i][j]) 59 vcpu->arch.cop0.stat[i][j]);
|
/linux-master/mm/damon/ |
H A D | modules-common.h | 36 #define DEFINE_DAMON_MODULES_DAMOS_STATS_PARAMS(stat, try_name, \ 38 module_param_named(nr_##try_name, stat.nr_tried, ulong, 0400); \ 39 module_param_named(bytes_##try_name, stat.sz_tried, ulong, \ 41 module_param_named(nr_##succ_name, stat.nr_applied, ulong, \ 43 module_param_named(bytes_##succ_name, stat.sz_applied, ulong, \ 45 module_param_named(nr_##qt_exceed_name, stat.qt_exceeds, ulong, \
|
/linux-master/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) argument 136 SET_UID(uid, from_kuid_munged(current_user_ns(), stat->uid)); 137 SET_GID(gid, from_kgid_munged(current_user_ns(), stat->gid)); 140 unsafe_put_user(huge_encode_dev(stat->dev), &ubuf->st_dev, Efault); 141 unsafe_put_user(stat->ino, &ubuf->__st_ino, Efault); 142 unsafe_put_user(stat->ino, &ubuf->st_ino, Efault); 143 unsafe_put_user(stat->mode, &ubuf->st_mode, Efault); 144 unsafe_put_user(stat 167 struct kstat stat; local 178 struct kstat stat; local 188 struct kstat stat; local 199 struct kstat stat; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/privring/ |
H A D | gf100.c | 33 u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0400)); local 34 nvkm_debug(privring, "HUB%d: %06x %08x (%08x)\n", i, addr, data, stat); 43 u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0400)); local 44 nvkm_debug(privring, "ROP%d: %06x %08x (%08x)\n", i, addr, data, stat); 53 u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0400)); local 54 nvkm_debug(privring, "GPC%d: %06x %08x (%08x)\n", i, addr, data, stat); 69 u32 stat = 0x00000100 << i; local 70 if (intr0 & stat) { 72 intr0 &= ~stat; 77 u32 stat local 85 u32 stat = 0x00000001 << i; local [all...] |
H A D | gk104.c | 33 u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0800)); local 34 nvkm_debug(privring, "HUB%d: %06x %08x (%08x)\n", i, addr, data, stat); 43 u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0800)); local 44 nvkm_debug(privring, "ROP%d: %06x %08x (%08x)\n", i, addr, data, stat); 53 u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0800)); local 54 nvkm_debug(privring, "GPC%d: %06x %08x (%08x)\n", i, addr, data, stat); 69 u32 stat = 0x00000100 << i; local 70 if (intr0 & stat) { 72 intr0 &= ~stat; 77 u32 stat local 85 u32 stat = 0x00000001 << i; local [all...] |
/linux-master/drivers/comedi/drivers/ |
H A D | dt2801.c | 229 int stat = 0; local 233 stat = inb_p(dev->iobase + DT2801_STATUS); 234 if (stat & (DT_S_COMPOSITE_ERROR | DT_S_READY)) 235 return stat; 236 if (stat & DT_S_DATA_OUT_READY) { 264 int stat = 0; local 268 stat = inb_p(dev->iobase + DT2801_STATUS); 270 if (stat & DT_S_COMPOSITE_ERROR) 271 return stat; 272 if (!(stat 298 int stat; local 317 int stat; local 334 unsigned int stat; local 380 int stat; local 429 dt2801_error(struct comedi_device *dev, int stat) argument 451 int stat; local [all...] |
/linux-master/drivers/media/firewire/ |
H A D | firedtv-ci.c | 23 static int fdtv_ca_ready(struct firedtv_tuner_status *stat) argument 25 return stat->ca_initialization_status == 1 && 26 stat->ca_error_flag == 0 && 27 stat->ca_dvb_flag == 1 && 28 stat->ca_module_present_status == 1; 31 static int fdtv_get_ca_flags(struct firedtv_tuner_status *stat) argument 35 if (stat->ca_module_present_status == 1) 37 if (stat->ca_initialization_status == 1 && 38 stat->ca_error_flag == 0 && 39 stat 57 struct firedtv_tuner_status stat; local 96 struct firedtv_tuner_status stat; local 178 struct firedtv_tuner_status stat; local 232 struct firedtv_tuner_status stat; local [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | sys_sparc32.c | 28 #include <linux/stat.h> 64 static int cp_compat_stat64(struct kstat *stat, argument 69 err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); 70 err |= put_user(stat->ino, &statbuf->st_ino); 71 err |= put_user(stat->mode, &statbuf->st_mode); 72 err |= put_user(stat->nlink, &statbuf->st_nlink); 73 err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); 74 err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); 75 err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); 77 err |= put_user(stat 97 struct kstat stat; local 108 struct kstat stat; local 119 struct kstat stat; local 131 struct kstat stat; local [all...] |
/linux-master/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_demod.c | 133 c->strength.stat[0].scale = FE_SCALE_DECIBEL; 134 c->strength.stat[0].svalue = 0; 137 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; 138 c->cnr.stat[0].svalue = 0; 142 c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; 143 c->pre_bit_error.stat[0].uvalue = 0; 145 c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; 146 c->pre_bit_count.stat[0].uvalue = 0; 148 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; 149 c->post_bit_error.stat[ [all...] |
/linux-master/drivers/media/pci/ddbridge/ |
H A D | ddbridge-main.c | 96 int stat; local 99 stat = pci_alloc_irq_vectors(dev->pdev, 1, nr, 101 if (stat >= 1) { 102 dev->msi = stat; 114 int stat; local 132 stat = request_irq(pci_irq_vector(dev->pdev, 0), 135 if (stat < 0) 136 return stat; 137 stat = request_irq(pci_irq_vector(dev->pdev, 1), 140 if (stat < 167 int stat = 0; local 286 int stat; local [all...] |
/linux-master/block/ |
H A D | blk-stat.c | 3 * Block stat tracking code 10 #include "blk-stat.h" 20 void blk_rq_stat_init(struct blk_rq_stat *stat) argument 22 stat->min = -1ULL; 23 stat->max = stat->nr_samples = stat->mean = 0; 24 stat->batch = 0; 27 /* src is a per-cpu stat, mean isn't initialized */ 42 void blk_rq_stat_add(struct blk_rq_stat *stat, u6 argument 54 struct blk_rq_stat *stat; local [all...] |
/linux-master/arch/s390/kernel/ |
H A D | compat_linux.c | 34 #include <linux/stat.h> 126 static int cp_stat64(struct stat64_emu31 __user *ubuf, struct kstat *stat) argument 132 tmp.st_dev = huge_encode_dev(stat->dev); 133 tmp.st_ino = stat->ino; 134 tmp.__st_ino = (u32)stat->ino; 135 tmp.st_mode = stat->mode; 136 tmp.st_nlink = (unsigned int)stat->nlink; 137 tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); 138 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); 139 tmp.st_rdev = huge_encode_dev(stat 152 struct kstat stat; local 161 struct kstat stat; local 170 struct kstat stat; local 180 struct kstat stat; local [all...] |
/linux-master/tools/perf/util/ |
H A D | path.c | 9 #include <sys/stat.h> 50 struct stat st; 52 if (stat(file, &st)) 62 struct stat st; 65 if (stat(path, &st)) 74 struct stat st; 77 if (stat(path, &st))
|
/linux-master/drivers/media/pci/mantis/ |
H A D | mantis_cards.c | 65 u32 stat = 0, mask = 0; local 76 stat = mmread(MANTIS_INT_STAT); 78 if (!(stat & mask)) 90 mantis->mantis_int_stat = stat; 92 dprintk(MANTIS_DEBUG, 0, "\n-- Stat=<%02x> Mask=<%02x> --", stat, mask); 93 if (stat & MANTIS_INT_RISCEN) { 96 if (stat & MANTIS_INT_IRQ0) { 102 if (stat & MANTIS_INT_IRQ1) { 110 if (stat & MANTIS_INT_OCERR) { 113 if (stat [all...] |
H A D | hopper_cards.c | 56 u32 stat = 0, mask = 0; local 67 stat = mmread(MANTIS_INT_STAT); 69 if (!(stat & mask)) 81 mantis->mantis_int_stat = stat; 83 dprintk(MANTIS_DEBUG, 0, "\n-- Stat=<%02x> Mask=<%02x> --", stat, mask); 84 if (stat & MANTIS_INT_RISCEN) { 87 if (stat & MANTIS_INT_IRQ0) { 93 if (stat & MANTIS_INT_IRQ1) { 101 if (stat & MANTIS_INT_OCERR) { 104 if (stat [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | gk104.c | 32 u32 stat = nvkm_rd32(device, 0x00dc68) & intr, i; local 34 if ((stat & (1 << (i * 4)))) *hi |= 1 << i; 35 if ((stat & (2 << (i * 4)))) *lo |= 1 << i; 36 if ((stat & (4 << (i * 4)))) *rq |= 1 << i; 37 if ((stat & (8 << (i * 4)))) *tx |= 1 << i;
|
H A D | g94.c | 32 u32 stat = nvkm_rd32(device, 0x00e068) & intr, i; local 34 if ((stat & (1 << (i * 4)))) *hi |= 1 << i; 35 if ((stat & (2 << (i * 4)))) *lo |= 1 << i; 36 if ((stat & (4 << (i * 4)))) *rq |= 1 << i; 37 if ((stat & (8 << (i * 4)))) *tx |= 1 << i;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | tu102.c | 204 u32 stat = nvkm_rd32(device, 0x002100) & mask; local 206 if (stat & 0x00000001) { 209 stat &= ~0x00000001; 212 if (stat & 0x00000002) { 214 stat &= ~0x00000002; 217 if (stat & 0x00000100) { 220 stat &= ~0x00000100; 223 if (stat & 0x00010000) { 226 stat &= ~0x00010000; 229 if (stat [all...] |
/linux-master/arch/mips/boot/compressed/ |
H A D | calc_vmlinuz_load_addr.c | 7 #include <sys/stat.h> 17 struct stat sb; 25 if (stat(argv[1], &sb) == -1) { 26 perror("stat");
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-designware-slave.c | 101 unsigned int stat, dummy; local 109 * stat = readl(IC_INTR_STAT); 111 * stat = readl(IC_RAW_INTR_STAT) & readl(IC_INTR_MASK); 115 regmap_read(dev->map, DW_IC_INTR_STAT, &stat); 124 if (stat & DW_IC_INTR_TX_ABRT) 126 if (stat & DW_IC_INTR_RX_UNDER) 128 if (stat & DW_IC_INTR_RX_OVER) 130 if (stat & DW_IC_INTR_TX_OVER) 132 if (stat & DW_IC_INTR_RX_DONE) 134 if (stat 153 unsigned int raw_stat, stat, enabled, tmp; local [all...] |