Home
last modified time | relevance | path

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

123456

/qemu/hw/i2c/
H A Domap_i2c.c44 uint16_t stat; member
63 qemu_set_irq(s->irq, s->stat & s->mask); in omap_i2c_interrupts_update()
88 s->stat |= 1 << 4; /* XRDY */ in omap_i2c_fifo_run()
92 s->stat |= 1 << 3; /* RRDY */ in omap_i2c_fifo_run()
133 s->stat |= (!ack) << 1; /* NACK */ in omap_i2c_fifo_run()
143 s->stat = 0; in omap_i2c_reset()
178 ret = ctz32(s->stat & s->mask); in omap_i2c_read()
180 s->stat ^= 1 << ret; in omap_i2c_read()
207 s->stat |= 1 << 15; /* SBD */ in omap_i2c_read()
287 s->stat &= ~(value & 0x27); in omap_i2c_write()
[all …]
H A Dallwinner-i2c.c177 if (STAT_TO_STA(s->stat) != STAT_IDLE) { in allwinner_i2c_reset_hold()
185 s->stat = TWI_STAT_RESET; in allwinner_i2c_reset_hold()
199 if (STAT_TO_STA(s->stat) != STAT_IDLE) { in allwinner_i2c_raise_interrupt()
222 if ((STAT_TO_STA(s->stat) == STAT_M_ADDR_RD_ACK) || in allwinner_i2c_read()
223 (STAT_TO_STA(s->stat) == STAT_M_DATA_RX_ACK) || in allwinner_i2c_read()
241 value = s->stat; in allwinner_i2c_read()
246 if (STAT_TO_STA(s->stat) == STAT_M_ADDR_RD_ACK) { in allwinner_i2c_read()
303 switch (STAT_TO_STA(s->stat)) { in allwinner_i2c_write()
344 if (STAT_TO_STA(s->stat) == STAT_IDLE) { in allwinner_i2c_write()
346 s->stat = STAT_FROM_STA(STAT_M_STA_TX); in allwinner_i2c_write()
[all …]
/qemu/docs/interop/
H A Dvirtio-balloon-stats.rst31 - stat-swap-in
32 - stat-swap-out
33 - stat-major-faults
34 - stat-minor-faults
35 - stat-free-memory
36 - stat-total-memory
37 - stat-available-memory
38 - stat-disk-caches
39 - stat-htlb-pgalloc
40 - stat-htlb-pgfail
[all …]
/qemu/hw/audio/
H A Dvia-ac97.c180 if (c->stat & STAT_PAUSED) { in out_cb()
183 c->stat |= STAT_ACTIVE; in out_cb()
205 c->stat |= STAT_EOL; in out_cb()
218 c->stat |= STAT_FLAG; in out_cb()
219 c->stat |= STAT_PAUSED; in out_cb()
225 c->stat |= STAT_STOP; in out_cb()
252 val = s->aur.stat; in sgd_read()
276 val = s->aur.stat & STAT_FLAG; in sgd_read()
277 if (s->aur.stat & STAT_EOL) { in sgd_read()
280 if (s->aur.stat & STAT_STOP) { in sgd_read()
[all …]
/qemu/tests/qtest/
H A Dvirtio-9p-test.c513 struct stat st; in fs_create_dir()
523 g_assert(stat(new_dir, &st) == 0); in fs_create_dir()
532 struct stat st; in fs_unlinkat_dir()
542 g_assert(stat(new_dir, &st) == 0); in fs_unlinkat_dir()
551 g_assert(stat(new_dir, &st) != 0); in fs_unlinkat_dir()
558 struct stat st; in fs_create_file()
575 struct stat st; in fs_unlinkat_file()
596 struct stat st; in fs_symlink_file()
620 struct stat st; in fs_unlinkat_symlink()
645 struct stat st_real, st_link; in fs_hardlink_file()
[all …]
/qemu/target/arm/tcg/
H A Dvec_helper.c1045 return -float16_le(op2, op1, stat); in float16_cge()
1050 return -float32_le(op2, op1, stat); in float32_cge()
1239 return float16_sub(float16_two, float16_mul(op1, op2, stat), stat); in float16_recps_nf()
1251 return float32_sub(float32_two, float32_mul(op1, op2, stat), stat); in float32_recps_nf()
1264 op1 = float16_sub(float16_three, float16_mul(op1, op2, stat), stat); in float16_rsqrts_nf()
1277 op1 = float32_sub(float32_three, float32_mul(op1, op2, stat), stat); in float32_rsqrts_nf()
1378 return float16_add(dest, float16_mul(op1, op2, stat), stat); in DO_3OP()
1384 return float32_add(dest, float32_mul(op1, op2, stat), stat); in float32_muladd_nf()
1390 return float16_sub(dest, float16_mul(op1, op2, stat), stat); in float16_mulsub_nf()
1396 return float32_sub(dest, float32_mul(op1, op2, stat), stat); in float32_mulsub_nf()
[all …]
/qemu/hw/ide/
H A Dmicrodrive.c58 uint8_t stat; member
112 s->stat |= STAT_INT; in md_set_irq()
114 s->stat &= ~STAT_INT; in md_set_irq()
125 s->stat = 0; in md_reset()
152 return s->stat & ~STAT_INT; in md_attr_read()
154 return s->stat; in md_attr_read()
184 if ((s->stat ^ value) & STAT_PWRDWN) { in md_attr_write()
187 s->stat &= 0x82; in md_attr_write()
188 s->stat |= value & 0x74; in md_attr_write()
327 if (s->stat & STAT_PWRDWN) { in md_common_write()
[all …]
/qemu/tests/qemu-iotests/
H A D17584 extra_blocks=$(stat -c '%b' "$TEST_DIR/empty")
89 min_blocks=$(stat -c '%b' "$TEST_DIR/empty")
94 stat -c "size=%s, blocks=%b" $TEST_IMG | _filter_blocks $extra_blocks $min_blocks $size
100 stat -c "size=%s, blocks=%b" $TEST_IMG | _filter_blocks $extra_blocks $min_blocks $size
108 stat -c "size=%s, blocks=%b" $TEST_IMG | _filter_blocks $extra_blocks $min_blocks $new_size
H A D30897 len1=$(stat -c '%s' "$1")
98 len2=$(stat -c '%s' "$2")
174 stat -c 'Permissions pre-chmod: %a' "$EXT_MP"
178 stat -c 'Permissions post-+w: %a' "$EXT_MP"
182 stat -c 'Permissions post-+x: %a' "$EXT_MP"
293 orig_disk_usage=$(stat -c '%b' "$TEST_IMG")
315 new_disk_usage=$(stat -c '%b' "$TEST_IMG")
H A D12538 echo $(($(stat -c '%b * %B' "$TEST_IMG_FILE")))
126 file_length_0=$(stat -c '%s' "$TEST_IMG_FILE")
131 file_length_1=$(stat -c '%s' "$TEST_IMG_FILE")
136 file_length_2=$(stat -c '%s' "$TEST_IMG_FILE")
190 file_length=$(stat -c '%s' "$TEST_IMG_FILE")
H A D108103 stat -c '%s' "$TEST_IMG"
197 file_len=$(stat -c '%s' "$TEST_IMG")
207 file_len=$(stat -c '%s' "$TEST_IMG")
213 post_repair_file_len=$(stat -c '%s' "$TEST_IMG")
243 file_len=$(stat -c '%s' "$TEST_IMG")
244 while [[ $(stat -c '%s' "$TEST_IMG") -eq $file_len ]]; do
H A D298137 stat = os.stat(disk)
138 refstat = os.stat(refdisk)
142 self.assertLess(abs(stat.st_size - refstat.st_size), 64 * 1024)
148 self.assertLess(abs(stat.st_blocks - refstat.st_blocks) * 512,
H A D121111 stat -c "size=%s (expected 131072)" $TEST_IMG
118 stat -c "size=%s (expected 132096)" $TEST_IMG
/qemu/tests/qemu-iotests/tests/
H A Dfuse-allow-other109 stat -c 'Permissions post-chmod: %a' "$EXT_MP"
114 stat -c 'Permissions post-chmod: %a' "$EXT_MP"
120 stat -c 'Permissions post-chmod: %a' "$EXT_MP"
134 stat -c 'Permissions seen by nobody: %a' fuse-export 2>&1 \
144 stat -c 'Permissions seen by nobody: %a' fuse-export 2>&1 \
/qemu/hw/9pfs/
H A Dcoth.h71 int coroutine_fn v9fs_co_lstat(V9fsPDU *, V9fsPath *, struct stat *);
80 gid_t, dev_t, mode_t, struct stat *);
82 mode_t, uid_t, gid_t, struct stat *);
89 int coroutine_fn v9fs_co_fstat(V9fsPDU *, V9fsFidState *, struct stat *);
93 gid_t, int, int, struct stat *);
101 const char *, gid_t, struct stat *);
H A D9p.c1460 struct stat stbuf; in v9fs_attach()
1536 struct stat stbuf; in v9fs_stat()
1582 struct stat stbuf; in v9fs_getattr()
1770 static bool same_stat_id(const struct stat *a, const struct stat *b) in same_stat_id()
1979 struct stat stbuf; in v9fs_open()
2074 struct stat stbuf; in v9fs_lcreate()
2275 struct stat stbuf; in v9fs_do_readdir_with_stat()
2472 struct stat *st; in v9fs_do_readdir()
2753 struct stat stbuf; in v9fs_create()
2950 struct stat stbuf; in v9fs_symlink()
[all …]
/qemu/system/
H A Ddirtylimit.c48 VcpuStat stat; member
79 VcpuStat stat; in vcpu_dirty_rate_stat_collect() local
90 &stat, in vcpu_dirty_rate_stat_collect()
94 for (i = 0; i < stat.nvcpu; i++) { in vcpu_dirty_rate_stat_collect()
95 vcpu_dirty_rate_stat->stat.rates[i].id = i; in vcpu_dirty_rate_stat_collect()
97 stat.rates[i].dirty_rate; in vcpu_dirty_rate_stat_collect()
100 g_free(stat.rates); in vcpu_dirty_rate_stat_collect()
162 vcpu_dirty_rate_stat->stat.nvcpu = max_cpus; in vcpu_dirty_rate_stat_initialize()
163 vcpu_dirty_rate_stat->stat.rates = in vcpu_dirty_rate_stat_initialize()
171 g_free(vcpu_dirty_rate_stat->stat.rates); in vcpu_dirty_rate_stat_finalize()
[all …]
/qemu/fsdev/
H A Dvirtfs-proxy-helper.c510 static void stat_to_prstat(ProxyStat *pr_stat, struct stat *stat) in stat_to_prstat() argument
513 pr_stat->st_dev = stat->st_dev; in stat_to_prstat()
514 pr_stat->st_ino = stat->st_ino; in stat_to_prstat()
515 pr_stat->st_nlink = stat->st_nlink; in stat_to_prstat()
516 pr_stat->st_mode = stat->st_mode; in stat_to_prstat()
517 pr_stat->st_uid = stat->st_uid; in stat_to_prstat()
518 pr_stat->st_gid = stat->st_gid; in stat_to_prstat()
519 pr_stat->st_rdev = stat->st_rdev; in stat_to_prstat()
520 pr_stat->st_size = stat->st_size; in stat_to_prstat()
558 struct stat st_buf; in do_stat()
[all …]
/qemu/tests/tcg/cris/libc/
H A Dcheck_stat3.c14 struct stat buf; in main()
17 if (stat (".", &buf) != 0 in main()
20 if (stat (path, &buf) != 0 in main()
H A Dcheck_openpf3.c24 struct stat buf; in main()
36 if (stat (PREFIX "testfoo2.tmp", &buf) != 0 in main()
40 if (stat ("testfoo2.tmp", &buf) != 0 in main()
H A Dcheck_stat1.c9 struct stat buf; in main()
11 if (stat (".", &buf) != 0 in main()
/qemu/qapi/
H A Dstats.json20 # @cumulative: stat is cumulative; value can only increase.
22 # @instant: stat is instantaneous; value can increase or decrease.
24 # @peak: stat is the peak value; value can only increase.
26 # @linear-histogram: stat is a linear histogram.
28 # @log2-histogram: stat is a logarithmic histogram, with one bucket
42 # @bytes: stat reported in bytes.
44 # @seconds: stat reported in seconds.
46 # @cycles: stat reported in clock cycles.
48 # @boolean: stat is a boolean value.
153 # @name: name of stat.
[all …]
/qemu/hw/input/
H A Dpl050.c85 uint32_t stat; in pl050_read() local
92 stat = PL050_TXEMPTY; in pl050_read()
94 stat |= PL050_RXPARITY; in pl050_read()
97 stat |= PL050_RXFULL; in pl050_read()
100 return stat; in pl050_read()
/qemu/python/qemu/utils/
H A Dqom_fuse.py37 import stat
162 'st_mode': 0o755 | stat.S_IFLNK,
175 'st_mode': 0o755 | stat.S_IFDIR,
188 'st_mode': 0o644 | stat.S_IFREG,
/qemu/hw/net/
H A Dsungem.c241 uint32_t stat, mask; in sungem_eval_irq() local
245 if (stat & ~mask) { in sungem_eval_irq()
254 uint32_t stat; in sungem_update_status() local
256 stat = s->gregs[GREG_STAT >> 2]; in sungem_update_status()
258 stat |= bits; in sungem_update_status()
260 stat &= ~bits; in sungem_update_status()
262 s->gregs[GREG_STAT >> 2] = stat; in sungem_update_status()
268 uint32_t stat, mask; in sungem_eval_cascade_irq() local
272 if (stat & ~mask) { in sungem_eval_cascade_irq()
280 if (stat & ~mask) { in sungem_eval_cascade_irq()
[all …]

123456