Home
last modified time | relevance | path

Searched refs:stat (Results 226 – 250 of 1970) sorted by relevance

12345678910>>...79

/openbmc/linux/drivers/media/pci/ddbridge/
H A Dddbridge-mci.c58 unsigned long stat; in _mci_cmd_unlocked() local
69 stat = wait_for_completion_timeout(&state->base->completion, HZ); in _mci_cmd_unlocked()
70 if (stat == 0) { in _mci_cmd_unlocked()
84 int stat; in ddb_mci_cmd() local
87 stat = _mci_cmd_unlocked(state, in ddb_mci_cmd()
91 return stat; in ddb_mci_cmd()
/openbmc/linux/drivers/gpu/drm/tidss/
H A Dtidss_dispc.c512 u32 stat = 0; in dispc_vp_irq_to_raw() local
515 stat |= BIT(0); in dispc_vp_irq_to_raw()
517 stat |= BIT(1); in dispc_vp_irq_to_raw()
519 stat |= BIT(2); in dispc_vp_irq_to_raw()
521 stat |= BIT(4); in dispc_vp_irq_to_raw()
523 return stat; in dispc_vp_irq_to_raw()
538 u32 stat = 0; in dispc_vid_irq_to_raw() local
541 stat |= BIT(0); in dispc_vid_irq_to_raw()
543 return stat; in dispc_vid_irq_to_raw()
631 return stat; in dispc_k2g_read_and_clear_irqstatus()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/shadow/files/
H A D0001-lib-copydir-copy_entry-use-temporary-stat-buffer.patch4 Subject: [PATCH] lib/copydir:copy_entry(): use temporary stat buffer
6 There are no guarantees that fstatat() does not clobber the stat
24 struct stat sb;
25 + struct stat tmp_sb;
/openbmc/openbmc/poky/meta/lib/bblayers/setupwriters/
H A Doe-setup-layers.py10 import stat
27 st = os.stat(output)
28 os.chmod(output, st.st_mode | stat.S_IEXEC | stat.S_IXGRP | stat.S_IXOTH)
/openbmc/linux/drivers/media/dvb-frontends/
H A Dtda10071.c408 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in tda10071_read_status()
411 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in tda10071_read_status()
421 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in tda10071_read_status()
424 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in tda10071_read_status()
481 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in tda10071_read_status()
482 c->block_error.stat[0].uvalue = dev->block_error; in tda10071_read_status()
505 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) in tda10071_read_snr()
506 *snr = div_s64(c->cnr.stat[0].svalue, 100); in tda10071_read_snr()
517 if (c->strength.stat[0].scale == FE_SCALE_DECIBEL) { in tda10071_read_signal_strength()
541 *ucblocks = c->block_error.stat[0].uvalue; in tda10071_read_ucblocks()
[all …]
/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_task.c211 ts->stat = SAS_SAM_STAT_GOOD; in asd_task_tasklet_complete()
215 ts->stat = SAS_DATA_UNDERRUN; in asd_task_tasklet_complete()
220 ts->stat = SAS_DATA_OVERRUN; in asd_task_tasklet_complete()
231 ts->stat = SAS_OPEN_REJECT; in asd_task_tasklet_complete()
241 ts->stat = SAS_OPEN_TO; in asd_task_tasklet_complete()
246 ts->stat = SAS_PHY_DOWN; in asd_task_tasklet_complete()
250 ts->stat = SAS_PHY_DOWN; in asd_task_tasklet_complete()
259 ts->stat = SAS_INTERRUPTED; in asd_task_tasklet_complete()
270 ts->stat = SAS_NAK_R_ERR; in asd_task_tasklet_complete()
281 ts->stat = SAS_PENDING; in asd_task_tasklet_complete()
[all …]
/openbmc/linux/Documentation/admin-guide/perf/
H A Dnvidia-pmu.rst43 perf stat -a -e nvidia_scf_pmu_0/event=0x0/
47 perf stat -a -e nvidia_scf_pmu_1/event=0x0/
75 perf stat -a -e nvidia_nvlink_c2c0_pmu_0/event=0x0/
79 perf stat -a -e nvidia_nvlink_c2c0_pmu_1/event=0x0/
83 perf stat -a -e nvidia_nvlink_c2c0_pmu_2/event=0x0/
87 perf stat -a -e nvidia_nvlink_c2c0_pmu_3/event=0x0/
105 perf stat -a -e nvidia_nvlink_c2c1_pmu_0/event=0x0/
109 perf stat -a -e nvidia_nvlink_c2c1_pmu_1/event=0x0/
113 perf stat -a -e nvidia_nvlink_c2c1_pmu_2/event=0x0/
117 perf stat -a -e nvidia_nvlink_c2c1_pmu_3/event=0x0/
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/inotify-tools/inotify-tools/
H A D0003-replace-stat64-lstat64-with-stat-lstat.patch4 Subject: [PATCH] replace stat64/lstat64 with stat/lstat
29 + static struct stat my_stat;
46 + static struct stat my_stat;
62 -#define stat64 stat
78 -#define stat64 stat
94 + static struct stat my_stat;
110 -#define stat64 stat
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/
H A Dcpu-load.rst5 Linux通过``/proc/stat``和``/proc/uptime``导出各种信息,用户空间工具
20 大多数情况下``/proc/stat``的信息几乎真实反映了系统信息,然而,由于内
40 在上面的情况下,根据``/proc/stat``的信息(由于当系统处于空闲状态时,
43 大家能够想象内核的这种行为会发生在许多情况下,这将导致``/proc/stat``
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_btree.c1686 *stat = 1; in xfs_btree_increment()
1690 *stat = 0; in xfs_btree_increment()
1778 *stat = 1; in xfs_btree_decrement()
1782 *stat = 0; in xfs_btree_decrement()
2493 *stat = 1; in xfs_btree_lshift()
2497 *stat = 0; in xfs_btree_lshift()
2661 *stat = 1; in xfs_btree_rshift()
2665 *stat = 0; in xfs_btree_rshift()
2852 *stat = 1; in __xfs_btree_split()
2953 args.stat = stat; in xfs_btree_split()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_mac.c253 struct mt76x02_tx_status *stat) in mt76x02_mac_load_tx_status() argument
261 if (!stat->valid) in mt76x02_mac_load_tx_status()
273 trace_mac_txstat_fetch(dev, stat); in mt76x02_mac_load_tx_status()
567 if (stat->wcid < MT76x02_N_WCIDS) in mt76x02_send_tx_status()
581 if (mt76_is_skb_pktid(stat->pktid)) in mt76x02_send_tx_status()
583 stat->pktid, &list); in mt76x02_send_tx_status()
597 stat_val = stat->rate; in mt76x02_send_tx_status()
598 stat_val |= ((u32)stat->retry) << 16; in mt76x02_send_tx_status()
613 msta->status = *stat; in mt76x02_send_tx_status()
617 cur_pktid = stat->pktid; in mt76x02_send_tx_status()
[all …]
/openbmc/linux/tools/perf/util/
H A Dtrace-event-info.c91 struct stat st; in record_header_files()
99 if (stat(path, &st) < 0) { in record_header_files()
123 if (stat(path, &st) < 0) { in record_header_files()
164 struct stat st; in copy_event_system()
185 ret = stat(format, &st); in copy_event_system()
256 struct stat st; in record_event_files()
301 ret = stat(sys, &st); in record_event_files()
338 struct stat st; in record_ftrace_printk()
347 ret = stat(path, &st); in record_ftrace_printk()
366 struct stat st; in record_saved_cmdline()
[all …]
/openbmc/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 …]
/openbmc/u-boot/drivers/mmc/
H A Dsdhci.c86 stat = sdhci_readl(host, SDHCI_INT_STATUS); in sdhci_transfer_data()
87 if (stat & SDHCI_INT_ERROR) { in sdhci_transfer_data()
89 __func__, stat); in sdhci_transfer_data()
92 if (!transfer_done && (stat & rdy)) { in sdhci_transfer_data()
121 } while (!(stat & SDHCI_INT_DATA_END)); in sdhci_transfer_data()
148 unsigned int stat = 0; local
267 stat = sdhci_readl(host, SDHCI_INT_STATUS);
268 if (stat & SDHCI_INT_ERROR)
280 } while ((stat & mask) != mask);
294 stat = sdhci_readl(host, SDHCI_INT_STATUS);
[all …]
/openbmc/linux/drivers/mailbox/
H A Darm_mhuv2.c93 u32 stat; member
121 u32 stat; member
504 u32 stat; in get_irq_chan_comb() local
508 if (!stat) in get_irq_chan_comb()
546 u32 stat; in mhuv2_sender_interrupt() local
584 stat = readl_relaxed(&mhu->send->ch_wn[priv->ch_wn_idx].stat); in mhuv2_sender_interrupt()
625 u32 stat; in get_irq_chan_comb_rx() local
640 BUG_ON(!stat); in get_irq_chan_comb_rx()
649 u32 stat; in get_irq_chan_stat_rx() local
656 if (stat) { in get_irq_chan_stat_rx()
[all …]
/openbmc/linux/tools/power/cpupower/lib/
H A Dcpuidle.c34 struct stat statbuf; in cpuidle_state_file_exists()
39 if (stat(path, &statbuf) != 0) in cpuidle_state_file_exists()
287 struct stat statbuf; in cpuidle_state_count()
292 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in cpuidle_state_count()
296 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in cpuidle_state_count()
299 while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { in cpuidle_state_count()
/openbmc/linux/arch/um/os-Linux/
H A Dprocess.c61 char stat[STAT_PATH_LEN]; in os_process_parent() local
68 snprintf(stat, sizeof(stat), "/proc/%d/stat", pid); in os_process_parent()
69 fd = open(stat, O_RDONLY, 0); in os_process_parent()
71 printk(UM_KERN_ERR "Couldn't open '%s', errno = %d\n", stat, in os_process_parent()
80 printk(UM_KERN_ERR "Couldn't read '%s', errno = %d\n", stat, in os_process_parent()
/openbmc/linux/sound/soc/adi/
H A Daxi-spdif.c80 unsigned int clkdiv, stat; in axi_spdif_hw_params() local
84 stat = AXI_SPDIF_FREQ_32000; in axi_spdif_hw_params()
87 stat = AXI_SPDIF_FREQ_44100; in axi_spdif_hw_params()
90 stat = AXI_SPDIF_FREQ_48000; in axi_spdif_hw_params()
93 stat = AXI_SPDIF_FREQ_NA; in axi_spdif_hw_params()
101 regmap_write(spdif->regmap, AXI_SPDIF_REG_STAT, stat); in axi_spdif_hw_params()
/openbmc/linux/drivers/media/firewire/
H A Dfiredtv-avc.c791 stat->active_system = r->operand[10]; in avc_tuner_status()
792 stat->searching = r->operand[11] >> 7 & 1; in avc_tuner_status()
793 stat->moving = r->operand[11] >> 6 & 1; in avc_tuner_status()
794 stat->no_rf = r->operand[11] >> 5 & 1; in avc_tuner_status()
795 stat->input = r->operand[12] >> 7 & 1; in avc_tuner_status()
797 stat->ber = r->operand[13] << 24 | in avc_tuner_status()
801 stat->signal_strength = r->operand[17]; in avc_tuner_status()
806 stat->man_dep_info_length = r->operand[21]; in avc_tuner_status()
810 stat->power_supply = r->operand[22] & 1; in avc_tuner_status()
814 stat->antenna_voltage = r->operand[28]; in avc_tuner_status()
[all …]
/openbmc/linux/drivers/power/supply/
H A Dqcom_pmi8998_charger.c423 unsigned int stat; in smb2_get_prop_usb_online() local
432 *val = (stat & P_PATH_USE_USBIN_BIT) && in smb2_get_prop_usb_online()
443 unsigned int apsd_stat, stat; in smb2_apsd_get_charger_type() local
469 stat &= APSD_RESULT_STATUS_MASK; in smb2_apsd_get_charger_type()
471 if (stat & CDP_CHARGER_BIT) in smb2_apsd_get_charger_type()
483 unsigned char stat[2]; in smb2_get_prop_status() local
506 stat[0] = stat[0] & BATTERY_CHARGER_STATUS_MASK; in smb2_get_prop_status()
508 switch (stat[0]) { in smb2_get_prop_status()
630 unsigned int stat; in smb2_get_prop_health() local
633 &stat); in smb2_get_prop_health()
[all …]
/openbmc/linux/fs/nfsd/
H A Dnfsfh.c621 struct kstat stat; in fh_fill_pre_attrs() local
628 err = fh_getattr(fhp, &stat); in fh_fill_pre_attrs()
635 fhp->fh_pre_mtime = stat.mtime; in fh_fill_pre_attrs()
636 fhp->fh_pre_ctime = stat.ctime; in fh_fill_pre_attrs()
637 fhp->fh_pre_size = stat.size; in fh_fill_pre_attrs()
778 if (stat->result_mask & STATX_CHANGE_COOKIE) { in nfsd4_change_attribute()
779 chattr = stat->change_cookie; in nfsd4_change_attribute()
781 !(stat->attributes & STATX_ATTR_CHANGE_MONOTONIC)) { in nfsd4_change_attribute()
782 chattr += (u64)stat->ctime.tv_sec << 30; in nfsd4_change_attribute()
783 chattr += stat->ctime.tv_nsec; in nfsd4_change_attribute()
[all …]
/openbmc/linux/arch/arm/plat-orion/
H A Dpcie.c77 u32 stat = readl(base + PCIE_STAT_OFF); in orion_pcie_get_local_bus_nr() local
79 return (stat >> PCIE_STAT_BUS_OFFS) & PCIE_STAT_BUS_MASK; in orion_pcie_get_local_bus_nr()
84 u32 stat; in orion_pcie_set_local_bus_nr() local
86 stat = readl(base + PCIE_STAT_OFF); in orion_pcie_set_local_bus_nr()
87 stat &= ~(PCIE_STAT_BUS_MASK << PCIE_STAT_BUS_OFFS); in orion_pcie_set_local_bus_nr()
88 stat |= nr << PCIE_STAT_BUS_OFFS; in orion_pcie_set_local_bus_nr()
89 writel(stat, base + PCIE_STAT_OFF); in orion_pcie_set_local_bus_nr()
/openbmc/u-boot/include/linux/
H A Dstat.h47 struct stat { struct
73 struct stat { argument
100 struct stat { argument
131 struct stat { argument
/openbmc/linux/Documentation/translations/zh_TW/admin-guide/
H A Dcpu-load.rst11 Linux通過``/proc/stat``和``/proc/uptime``導出各種信息,用戶空間工具
26 大多數情況下``/proc/stat``的信息幾乎真實反映了系統信息,然而,由於內
46 在上面的情況下,根據``/proc/stat``的信息(由於當系統處於空閒狀態時,
49 大家能夠想像內核的這種行爲會發生在許多情況下,這將導致``/proc/stat``
/openbmc/linux/drivers/hwmon/
H A Dsparx5-temp.c46 u32 stat; in s5_read() local
50 stat = readl_relaxed(hwmon->base + TEMP_STAT); in s5_read()
51 if (!(stat & TEMP_STAT_VALID)) in s5_read()
53 value = stat & TEMP_STAT_TEMP; in s5_read()

12345678910>>...79