Searched refs:stat (Results 51 - 75 of 1632) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/lima/
H A Dlima_pmu.c70 u32 stat; local
80 stat = pmu_read(LIMA_PMU_STATUS);
83 if (stat) {
84 pmu_write(LIMA_PMU_POWER_UP, stat);
94 u32 stat; local
99 stat = ~pmu_read(LIMA_PMU_STATUS) & ip->data.mask;
100 if (stat) {
101 pmu_write(LIMA_PMU_POWER_DOWN, stat);
/linux-master/lib/reed_solomon/
H A Dtest_rslib.c261 int eras, int trials, struct estat *stat,
298 stat->irv++;
303 stat->wepos++;
308 stat->dwrong++;
310 stat->nwords += trials;
322 struct estat stat = {0, 0, 0, 0}; local
331 test_uc(rs, len, errs, eras, trials, &stat, ws, method);
335 stat.dwrong, stat.nwords);
337 stat
260 test_uc(struct rs_control *rs, int len, int errs, int eras, int trials, struct estat *stat, struct wspace *ws, int method) argument
366 test_bc(struct rs_control *rs, int len, int errs, int eras, int trials, struct bcstat *stat, struct wspace *ws) argument
410 struct bcstat stat = {0, 0, 0, 0}; local
[all...]
/linux-master/drivers/media/i2c/
H A Dtda9840.c83 int stat = tda9840_status(sd); local
89 stat = stat < 0 ? 0 : stat;
90 if (stat == 0 || stat == 0x60) /* mono input */
92 else if (stat == 0x40) /* stereo input */
115 int stat = tda9840_status(sd); local
117 if (stat < 0)
118 return stat;
[all...]
/linux-master/arch/arm/kernel/
H A Dsys_oabi-compat.c121 static long cp_oldabi_stat64(struct kstat *stat, argument
126 tmp.st_dev = huge_encode_dev(stat->dev);
128 tmp.__st_ino = stat->ino;
129 tmp.st_mode = stat->mode;
130 tmp.st_nlink = stat->nlink;
131 tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid);
132 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid);
133 tmp.st_rdev = huge_encode_dev(stat->rdev);
134 tmp.st_size = stat->size;
135 tmp.st_blocks = stat
151 struct kstat stat; local
161 struct kstat stat; local
171 struct kstat stat; local
183 struct kstat stat; local
[all...]
/linux-master/tools/bootconfig/
H A Dmain.c8 #include <sys/stat.h>
153 struct stat stat; local
159 ret = fstat(fd, &stat);
163 ret = load_xbc_fd(fd, buf, stat.st_size);
178 struct stat stat; local
184 ret = fstat(fd, &stat);
188 if (stat.st_size < 8 + BOOTCONFIG_MAGIC_LEN)
213 if (stat
330 struct stat stat; local
364 struct stat stat; local
[all...]
/linux-master/drivers/media/common/siano/
H A Dsmsdvb-main.c136 c->strength.stat[0].scale = FE_SCALE_DECIBEL;
137 c->cnr.stat[0].scale = FE_SCALE_DECIBEL;
150 c->post_bit_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE;
151 c->post_bit_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE;
152 c->block_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE;
153 c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE;
268 c->strength.stat[0].uvalue = p->in_band_power * 1000;
271 c->cnr.stat[0].svalue = p->snr * 1000;
278 client->last_per = c->block_error.stat[0].uvalue;
279 c->block_error.stat[
782 smsdvb_read_status(struct dvb_frontend *fe, enum fe_status *stat) argument
[all...]
/linux-master/tools/testing/selftests/proc/
H A Dproc-self-wchan.c17 #include <sys/stat.h>
/linux-master/kernel/trace/
H A Dtrace_stat.h8 * If you want to provide a stat file (one-shot statistics), fill
13 /* The name of your stat file */
20 /* Print a stat entry */
23 void (*stat_release)(void *stat);
24 /* Print the headers of your stat entries */
29 * Destroy or create a stat file
H A Dtrace_stat.c22 * List of stat red-black nodes from a tracer
23 * We use a such tree to sort quickly the stat
28 void *stat; member in struct:stat_node
31 /* A stat session is the stats output in one file */
40 /* All of the sessions currently in use. Each stat file embed one session */
44 /* The root directory for all stat files */
53 session->ts->stat_release(snode->stat);
75 static int insert_stat(struct rb_root *root, void *stat, cmp_func_t cmp) argument
83 data->stat = stat;
127 void *stat; local
[all...]
/linux-master/tools/build/feature/
H A Dtest-file-handle.c3 #include <sys/stat.h>
/linux-master/tools/testing/selftests/tty/
H A Dtty_tstamp_update.c8 #include <sys/stat.h>
49 struct stat st1, st2;
61 r = stat(tty, &st1);
63 ksft_exit_fail_msg("stat failed on tty path '%s': %m\n", tty);
74 r = stat(tty, &st2);
76 ksft_exit_fail_msg("stat failed on tty path '%s': %m\n", tty);
/linux-master/tools/perf/tests/shell/
H A Dstat_bpf_counters_cgrp.sh2 # perf stat --bpf-counters --for-each-cgroup test
15 if ! perf stat -a --bpf-counters --for-each-cgroup / true > /dev/null 2>&1; then
18 perf --no-pager stat -a --bpf-counters --for-each-cgroup / true || true
51 check_system_wide_counted_output=$(perf stat -a --bpf-counters --for-each-cgroup ${test_cgroups} -e cpu-clock -x, sleep 1 2>&1)
63 check_cpu_list_counted_output=$(perf stat -C 0,1 --bpf-counters --for-each-cgroup ${test_cgroups} -e cpu-clock -x, taskset -c 1 sleep 1 2>&1)
H A Dstat+shadow_stat.sh2 # perf stat metrics (shadow stat) test
10 perf stat -a true > /dev/null 2>&1 || exit 2
13 perf stat -a -e cycles sleep 1 2>&1 | grep -e cpu_core && exit 2
17 perf stat -a --no-big-num -e cycles,instructions sleep 1 2>&1 | \
56 perf stat -a -A --no-big-num -e cycles,instructions sleep 1 2>&1 | \
/linux-master/crypto/
H A Dskcipher.h17 return &alg->stat;
/linux-master/drivers/soc/qcom/
H A Dqcom_stats.c71 static void qcom_print_stats(struct seq_file *s, const struct sleep_stats *stat) argument
73 u64 accumulated = stat->accumulated;
78 if (stat->last_entered_at > stat->last_exited_at)
79 accumulated += arch_timer_read_counter() - stat->last_entered_at;
81 seq_printf(s, "Count: %u\n", stat->count);
82 seq_printf(s, "Last Entered At: %llu\n", stat->last_entered_at);
83 seq_printf(s, "Last Exited At: %llu\n", stat->last_exited_at);
90 struct sleep_stats *stat; local
93 stat
106 struct sleep_stats stat; local
[all...]
/linux-master/include/trace/events/
H A Dwbt.h13 * @stat: array of read/write stats
17 TP_PROTO(struct backing_dev_info *bdi, struct blk_rq_stat *stat),
19 TP_ARGS(bdi, stat),
38 __entry->rmean = stat[0].mean;
39 __entry->rmin = stat[0].min;
40 __entry->rmax = stat[0].max;
41 __entry->rnr_samples = stat[0].nr_samples;
42 __entry->wmean = stat[1].mean;
43 __entry->wmin = stat[1].min;
44 __entry->wmax = stat[
[all...]
/linux-master/drivers/media/pci/mantis/
H A Dmantis_i2c.c28 u32 rxd, i, stat, trials; local
47 stat = mmread(MANTIS_INT_STAT);
48 if (stat & MANTIS_INT_I2CDONE)
56 stat = mmread(MANTIS_INT_STAT);
57 if (stat & MANTIS_INT_I2CRACK)
75 u32 txd = 0, stat, trials; local
95 stat = mmread(MANTIS_INT_STAT);
96 if (stat & MANTIS_INT_I2CDONE)
104 stat = mmread(MANTIS_INT_STAT);
105 if (stat
119 u32 stat, data, txd; local
[all...]
/linux-master/tools/testing/selftests/drivers/sdsi/
H A Dsdsi_test.py67 mode = os.stat(folder + "guid").st_mode & 0o777
69 mode = os.stat(folder + "registers").st_mode & 0o777
71 mode = os.stat(folder + "provision_akc").st_mode & 0o777
73 mode = os.stat(folder + "provision_cap").st_mode & 0o777
75 mode = os.stat(folder + "state_certificate").st_mode & 0o777
81 st = os.stat(folder + "guid")
85 st = os.stat(folder + "registers")
89 st = os.stat(folder + "provision_akc")
93 st = os.stat(folder + "provision_cap")
97 st = os.stat(folde
[all...]
/linux-master/arch/arm/vdso/
H A Dvdsomunge.c44 #include <sys/stat.h>
123 struct stat stat; local
142 if (fstat(infd, &stat) != 0)
143 fail("Failed stat for %s: %s\n", infile, strerror(errno));
145 inbuf = mmap(NULL, stat.st_size, PROT_READ, MAP_PRIVATE, infd, 0);
183 if (ftruncate(outfd, stat.st_size) != 0)
186 outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED,
193 memcpy(outbuf, inbuf, stat.st_size);
203 if (msync(outbuf, stat
[all...]
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-sx8.c61 int stat; local
68 stat = ddb_mci_cmd(&state->mci, &cmd, &state->signal_info);
69 return stat;
78 p->cnr.stat[0].scale = FE_SCALE_DECIBEL;
79 p->cnr.stat[0].svalue =
95 p->strength.stat[0].scale = FE_SCALE_DECIBEL;
96 p->strength.stat[0].svalue = str;
102 int stat; local
109 stat = ddb_mci_cmd(&state->mci, &cmd, &res);
110 if (stat)
185 int i = -1, stat = 0; local
310 int i, stat = 0; local
351 int stat = 0; local
[all...]
/linux-master/arch/s390/kvm/
H A Dsigp.c309 vcpu->stat.instruction_sigp_sense++;
313 vcpu->stat.instruction_sigp_external_call++;
317 vcpu->stat.instruction_sigp_emergency++;
321 vcpu->stat.instruction_sigp_stop++;
325 vcpu->stat.instruction_sigp_stop_store_status++;
329 vcpu->stat.instruction_sigp_store_status++;
334 vcpu->stat.instruction_sigp_prefix++;
338 vcpu->stat.instruction_sigp_cond_emergency++;
343 vcpu->stat.instruction_sigp_sense_running++;
347 vcpu->stat
[all...]
/linux-master/drivers/irqchip/
H A Dirq-bcm2835.c213 u32 stat = readl_relaxed(intc.pending[bank]); local
215 return MAKE_HWIRQ(bank, ffs(stat) - 1);
218 static u32 armctrl_translate_shortcut(int bank, u32 stat) argument
220 return MAKE_HWIRQ(bank, shortcuts[ffs(stat >> SHORTCUT_SHIFT) - 1]);
225 u32 stat = readl_relaxed(intc.pending[0]) & BANK0_VALID_MASK; local
227 if (stat == 0)
229 else if (stat & BANK0_HWIRQ_MASK)
230 return MAKE_HWIRQ(0, ffs(stat & BANK0_HWIRQ_MASK) - 1);
231 else if (stat & SHORTCUT1_MASK)
232 return armctrl_translate_shortcut(1, stat
[all...]
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/
H A Dtest_ownership.tc5 original_group=`stat -c "%g" .`
6 original_owner=`stat -c "%u" .`
8 mount_point=`stat -c '%m' .`
29 owner=`stat -c "%u" $file`
30 group=`stat -c "%g" $file`
43 owner=`stat -c "%u" $file`
49 owner=`stat -c "%u" $file`
/linux-master/tools/perf/tests/
H A Dhists_output.c183 !strcmp(SYM(he), "main") && he->stat.period == 200);
189 !strcmp(SYM(he), "page_fault") && he->stat.period == 100);
195 !strcmp(SYM(he), "main") && he->stat.period == 100);
201 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100);
207 !strcmp(SYM(he), "page_fault") && he->stat.period == 100);
213 !strcmp(SYM(he), "schedule") && he->stat.period == 100);
219 !strcmp(SYM(he), "free") && he->stat.period == 100);
225 !strcmp(SYM(he), "malloc") && he->stat.period == 100);
231 !strcmp(SYM(he), "cmd_record") && he->stat.period == 100);
282 CPU(he) == 1 && PID(he) == 100 && he->stat
[all...]
/linux-master/drivers/gpu/drm/armada/
H A Darmada_trace.h16 TP_PROTO(struct drm_crtc *crtc, u32 stat),
17 TP_ARGS(crtc, stat),
20 __field(u32, stat)
24 __entry->stat = stat;
26 TP_printk("crtc %p stat 0x%08x",
27 __entry->crtc, __entry->stat)

Completed in 210 milliseconds

1234567891011>>