/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-diff.c | 281 double old_percent = period_percent(he, he->stat.period); in compute_delta() 282 double new_percent = period_percent(pair, pair->stat.period); in compute_delta() 291 double old_period = he->stat.period ?: 1; in compute_ratio() 292 double new_period = pair->stat.period; in compute_ratio() 301 u64 old_period = he->stat.period; in compute_wdiff() 302 u64 new_period = pair->stat.period; in compute_wdiff() 324 pair->stat.period, pair_total, in formula_delta() 325 he->stat.period, he_total); in formula_delta() 331 double old_period = he->stat.period; in formula_ratio() 332 double new_period = pair->stat in formula_ratio() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/i825xx/ |
H A D | 82596.c | 263 unsigned short stat; member 305 unsigned long stat; member 323 unsigned long stat; member 414 while (--delcnt && lp->iscp.stat) in wait_istat() 464 printk(KERN_ERR "iscp at %p, iscp.stat = %08lx, .scb = %p\n", in i596_display_data() 465 &lp->iscp, lp->iscp.stat, lp->iscp.scb); in i596_display_data() 483 printk(KERN_ERR " %p .stat %04x, .cmd %04x, b_next %p, rbd %p," in i596_display_data() 485 rfd, rfd->stat, rfd->cmd, rfd->b_next, rfd->rbd, in i596_display_data() 665 lp->iscp.stat = ISCP_BUSY; in init_i596_mem() 756 while ((rfd->stat) in i596_rx() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | gf119.c | 1073 u32 stat = nvkm_rd32(device, 0x6101f0 + (chid * 12)); in gf119_disp_intr_error() local 1074 u32 type = (stat & 0x00007000) >> 12; in gf119_disp_intr_error() 1075 u32 mthd = (stat & 0x00000ffc); in gf119_disp_intr_error() 1081 nvkm_error(subdev, "chid %d stat %08x reason %d [%s] mthd %04x " in gf119_disp_intr_error() 1083 chid, stat, type, reason ? reason->name : "", in gf119_disp_intr_error() 1109 u32 stat = nvkm_rd32(device, 0x61008c); in gf119_disp_intr() local 1110 while (stat) { in gf119_disp_intr() 1111 int chid = __ffs(stat); stat &= ~(1 << chid); in gf119_disp_intr() 1119 u32 stat in gf119_disp_intr() local 1127 u32 stat = nvkm_rd32(device, 0x6100ac); gf119_disp_intr() local 1147 u32 stat = nvkm_rd32(device, 0x6100bc + hoff); gf119_disp_intr() local [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-diff.c | 281 double old_percent = period_percent(he, he->stat.period); in compute_delta() 282 double new_percent = period_percent(pair, pair->stat.period); in compute_delta() 291 double old_period = he->stat.period ?: 1; in compute_ratio() 292 double new_period = pair->stat.period; in compute_ratio() 301 u64 old_period = he->stat.period; in compute_wdiff() 302 u64 new_period = pair->stat.period; in compute_wdiff() 324 pair->stat.period, pair_total, in formula_delta() 325 he->stat.period, he_total); in formula_delta() 331 double old_period = he->stat.period; in formula_ratio() 332 double new_period = pair->stat in formula_ratio() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/ |
H A D | meson_dw_hdmi.c | 589 u32 stat; in dw_hdmi_top_irq() local 591 stat = dw_hdmi->data->top_read(dw_hdmi, HDMITX_TOP_INTR_STAT); in dw_hdmi_top_irq() 592 dw_hdmi->data->top_write(dw_hdmi, HDMITX_TOP_INTR_STAT_CLR, stat); in dw_hdmi_top_irq() 595 if (stat & (HDMITX_TOP_INTR_HPD_RISE | HDMITX_TOP_INTR_HPD_FALL)) { in dw_hdmi_top_irq() 596 dw_hdmi->irq_stat = stat; in dw_hdmi_top_irq() 601 if (stat & 1) in dw_hdmi_top_irq() 613 u32 stat = dw_hdmi->irq_stat; in dw_hdmi_top_thread_irq() local 616 if (stat & (HDMITX_TOP_INTR_HPD_RISE | HDMITX_TOP_INTR_HPD_FALL)) { in dw_hdmi_top_thread_irq() 619 if (stat & HDMITX_TOP_INTR_HPD_RISE) in dw_hdmi_top_thread_irq()
|
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | mips_ejtag_fdc.c | 561 unsigned int stat, channel, data, cfg, i, flipped; in mips_ejtag_fdc_handle() local 567 stat = mips_ejtag_fdc_read(priv, REG_FDSTAT); in mips_ejtag_fdc_handle() 568 if (stat & REG_FDSTAT_RXE) in mips_ejtag_fdc_handle() 570 channel = (stat & REG_FDSTAT_RXCHAN) >> REG_FDSTAT_RXCHAN_SHIFT; in mips_ejtag_fdc_handle() 623 if (priv->xmit_full && !(stat & REG_FDSTAT_TXF)) { in mips_ejtag_fdc_handle() 1184 unsigned int stat, channel, data; in kgdbfdc_read_char() local 1198 stat = __raw_readl(regs + REG_FDSTAT); in kgdbfdc_read_char() 1201 if (stat & REG_FDSTAT_RXE) in kgdbfdc_read_char() 1205 channel = (stat & REG_FDSTAT_RXCHAN) >> in kgdbfdc_read_char()
|
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | mips_ejtag_fdc.c | 561 unsigned int stat, channel, data, cfg, i, flipped; in mips_ejtag_fdc_handle() local 567 stat = mips_ejtag_fdc_read(priv, REG_FDSTAT); in mips_ejtag_fdc_handle() 568 if (stat & REG_FDSTAT_RXE) in mips_ejtag_fdc_handle() 570 channel = (stat & REG_FDSTAT_RXCHAN) >> REG_FDSTAT_RXCHAN_SHIFT; in mips_ejtag_fdc_handle() 623 if (priv->xmit_full && !(stat & REG_FDSTAT_TXF)) { in mips_ejtag_fdc_handle() 1182 unsigned int stat, channel, data; in kgdbfdc_read_char() local 1196 stat = __raw_readl(regs + REG_FDSTAT); in kgdbfdc_read_char() 1199 if (stat & REG_FDSTAT_RXE) in kgdbfdc_read_char() 1203 channel = (stat & REG_FDSTAT_RXCHAN) >> in kgdbfdc_read_char()
|
/kernel/uniproton/src/fs/vfs/ |
H A D | vfs_fs.c | 277 S32 OsVfsStat(const char *path, struct stat *stat) in OsVfsStat() argument 283 if ((path == NULL) || (stat == NULL)) { in OsVfsStat() 300 if (mp->mFs->fsFops->stat != NULL) { in OsVfsStat() 301 ret = mp->mFs->fsFops->stat(mp, pathInMp, stat); in OsVfsStat() 310 S32 OsVfsFstat(S32 fd, struct stat *buf) in OsVfsFstat() 317 ret = stat(filep->fullPath, buf); in OsVfsFstat() 345 if (mp->mFs->fsFops->stat != NULL) { in OsVfsStatfs()
|
/third_party/python/Lib/ |
H A D | os.py | 4 - all functions from posix or nt, e.g. unlink, stat, etc. 27 import stat as st 112 _add("HAVE_FSTATAT", "stat") 138 _set.add(stat) # fstat always works 171 _add("HAVE_FSTATAT", "stat") 178 _add("HAVE_LSTAT", "stat") 179 _add("HAVE_FSTATAT", "stat") 181 _add("MS_WINDOWS", "stat") 429 if {open, stat} <= supports_dir_fd and {scandir, stat} < [all...] |
/third_party/python/Lib/test/ |
H A D | test_tarfile.py | 11 import stat namespace 661 os.stat(path).st_mode & 0o777, 690 self.assertEqual(os.stat(extracted).st_mode & 0o777, 0o755) 1086 s = os.stat(filename) 1103 # Return True if the platform knows the st_blocks stat attribute and 1117 s = os.stat(name) 1602 mode = os.stat(tmpname).st_mode & 0o777 3075 now = pathlib.Path(TEMPDIR).stat().st_mtime 3080 mtime = path.stat().st_mtime 3082 # Some systems can't stat symlink [all...] |
/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_els.c | 4612 struct ls_rjt stat; in lpfc_els_retry() local 4753 stat.un.ls_rjt_error_be = cpu_to_be32(ulp_word4); in lpfc_els_retry() 4759 switch (stat.un.b.lsRjtRsnCode) { in lpfc_els_retry() 4768 stat.un.b.lsRjtRsnCode); in lpfc_els_retry() 4774 switch (stat.un.b.lsRjtRsnCode) { in lpfc_els_retry() 4788 cmd, did, stat.un.b.lsRjtRsnCode, in lpfc_els_retry() 4789 stat.un.b.lsRjtRsnCodeExp); in lpfc_els_retry() 4791 switch (stat.un.b.lsRjtRsnCodeExp) { in lpfc_els_retry() 4824 (stat.un.b.lsRjtRsnCodeExp == LSEXP_OUT_OF_RESOURCE)){ in lpfc_els_retry() 4829 stat in lpfc_els_retry() 6711 lpfc_rdp_res_link_error(struct fc_rdp_link_error_status_desc *desc, READ_LNK_VAR *stat) lpfc_rdp_res_link_error() argument 6740 lpfc_rdp_res_bbc_desc(struct fc_rdp_bbc_desc *desc, READ_LNK_VAR *stat, struct lpfc_vport *vport) lpfc_rdp_res_bbc_desc() argument 6924 lpfc_rdp_res_fec_desc(struct fc_fec_rdp_desc *desc, READ_LNK_VAR *stat) lpfc_rdp_res_fec_desc() argument 7069 struct ls_rjt *stat; lpfc_els_rdp_cmpl() local 7415 struct ls_rjt stat; lpfc_els_rcv_rdp() local 7500 struct ls_rjt *stat; lpfc_els_lcb_rsp() local 7725 struct ls_rjt stat; lpfc_els_rcv_lcb() local 8509 struct ls_rjt stat; lpfc_els_rcv_rnid() local 8578 struct ls_rjt stat; lpfc_els_rcv_lirr() local 8746 struct ls_rjt stat; lpfc_els_rcv_rls() local 8815 struct ls_rjt stat; lpfc_els_rcv_rtv() local 9110 struct ls_rjt stat; lpfc_els_rcv_rpl() local 9791 struct ls_rjt stat; lpfc_send_els_failure_event() local 10339 struct ls_rjt stat; lpfc_els_unsol_buffer() local 11813 struct ls_rjt stat; lpfc_cmpl_fabric_iocb() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v2_hw.c | 2060 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2066 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2072 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2078 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2084 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2092 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2099 ts->stat = SAS_DEV_NO_RESPONSE; in slot_err_v2_hw() 2104 ts->stat = SAS_DATA_OVERRUN; in slot_err_v2_hw() 2111 ts->stat = SAS_DATA_UNDERRUN; in slot_err_v2_hw() 2166 ts->stat in slot_err_v2_hw() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v2_hw.c | 2059 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2065 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2071 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2077 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2083 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2091 ts->stat = SAS_OPEN_REJECT; in slot_err_v2_hw() 2098 ts->stat = SAS_DEV_NO_RESPONSE; in slot_err_v2_hw() 2103 ts->stat = SAS_DATA_OVERRUN; in slot_err_v2_hw() 2110 ts->stat = SAS_DATA_UNDERRUN; in slot_err_v2_hw() 2165 ts->stat in slot_err_v2_hw() [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/utils/test/common/ |
H A D | help_utils.cpp | 24 #include <sys/stat.h> 78 struct stat st; in CheckDir() 171 struct stat st; in RmDirRecurse()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | std_filesystem.cpp | 25 #include <sys/stat.h> 229 struct stat ds {}; in GetEntry() 230 if (stat(canonicalPath, &ds) != 0) { in GetEntry()
|
/foundation/multimedia/av_codec/test/unittest/reference_parser_test/reference_parser_demo/ |
H A D | reference_parser_demo.cpp | 20 #include <sys/stat.h> 73 struct stat fileStatus {}; in InitScene() 74 if (stat(filePath.c_str(), &fileStatus) != 0) { in InitScene()
|
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/utils/ |
H A D | file_utils.cpp | 20 #include <sys/stat.h>
55 struct stat statInfo {};
in IsFileExist() 56 return ((stat(fileName.c_str(), &statInfo)) == E_SUCCESS);
in IsFileExist()
|
/foundation/communication/ipc/ipc/native/src/mock/source/ |
H A D | binder_connector.cpp | 25 #include <sys/stat.h> 103 struct stat stat_unused; in InitActvBinderConfig() 105 if (stat(ACTV_BINDER_SERVICES_CONFIG, &stat_unused) == 0) { in InitActvBinderConfig()
|
/foundation/distributeddatamgr/kv_store/databaseutils/src/ |
H A D | acl.cpp | 27 #include <sys/stat.h> 165 struct stat st; in AclFromMode() 166 if (stat(path_.c_str(), &st) == -1) { in AclFromMode()
|
/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/ |
H A D | setacl.cpp | 20 #include <sys/stat.h> 187 struct stat st; in AclFromMode() 189 if (stat(file.c_str(), &st) == -1) { in AclFromMode()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | diag.c | 58 struct diag_stat *stat; in show_diag_stat() local 76 stat = &per_cpu(diag_stat, cpu); in show_diag_stat() 77 seq_printf(m, " %10u", stat->counter[n-1]); in show_diag_stat()
|
/kernel/linux/linux-5.10/usr/include/ |
H A D | Makefile | 75 no-header-test += asm/stat.h 79 no-header-test += asm/stat.h 88 no-header-test += asm/stat.h
|
/kernel/linux/linux-5.10/tools/testing/selftests/ia64/ |
H A D | aliasing-test.c | 18 #include <sys/stat.h> 67 struct stat buf; in scan_tree() 152 struct stat buf; in scan_rom()
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | diag.c | 75 struct diag_stat *stat; in show_diag_stat() local 93 stat = &per_cpu(diag_stat, cpu); in show_diag_stat() 94 seq_printf(m, " %10u", stat->counter[n-1]); in show_diag_stat()
|
/kernel/linux/linux-5.10/drivers/input/serio/ |
H A D | pcips2.c | 46 unsigned int stat; in pcips2_write() local 49 stat = inb(ps2if->base + PS2_STATUS); in pcips2_write() 51 } while (!(stat & PS2_STAT_TXEMPTY)); in pcips2_write()
|