/kernel/linux/linux-6.6/fs/proc/ |
H A D | root.c | 12 #include <linux/stat.h> 15 #include <linux/sched/stat.h> 314 const struct path *path, struct kstat *stat, in proc_root_getattr() 318 stat); in proc_root_getattr() 319 stat->nlink = proc_root.nlink + nr_processes(); in proc_root_getattr() 313 proc_root_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) proc_root_getattr() argument
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | hci_serdev.c | 28 /* Update HCI stat counters */ in hci_uart_tx_complete() 31 hdev->stat.cmd_tx++; in hci_uart_tx_complete() 35 hdev->stat.acl_tx++; in hci_uart_tx_complete() 39 hdev->stat.sco_tx++; in hci_uart_tx_complete() 75 hdev->stat.byte_tx += len; in hci_uart_write_work() 293 hu->hdev->stat.byte_rx += count; in hci_uart_receive_buf()
|
/kernel/linux/linux-6.6/drivers/media/pci/pt3/ |
H A D | pt3_dma.c | 28 u32 stat; in pt3_stop_dma() local 32 stat = ioread32(pt3->regs[0] + base + OFST_STATUS); in pt3_stop_dma() 33 if (!(stat & 0x01)) in pt3_stop_dma() 38 stat = ioread32(pt3->regs[0] + base + OFST_STATUS); in pt3_stop_dma() 39 if (!(stat & 0x01)) in pt3_stop_dma()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/mxsfb/ |
H A D | lcdif_drv.c | 115 u32 reg, stat; in lcdif_irq_handler() local 117 stat = readl(lcdif->base + LCDC_V8_INT_STATUS_D0); in lcdif_irq_handler() 118 if (!stat) in lcdif_irq_handler() 121 if (stat & INT_STATUS_D0_VS_BLANK) { in lcdif_irq_handler() 127 writel(stat, lcdif->base + LCDC_V8_INT_STATUS_D0); in lcdif_irq_handler()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
H A D | nv31.c | 188 u32 stat = nvkm_rd32(device, 0x00b100); in nv31_mpeg_intr() local 192 u32 show = stat; in nv31_mpeg_intr() 197 if (stat & 0x01000000) { in nv31_mpeg_intr() 210 nvkm_wr32(device, 0x00b100, stat); in nv31_mpeg_intr() 217 "unknown", stat, type, mthd, data); in nv31_mpeg_intr()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-pri.h | 401 #define STAT_ATTR(type, stat, print, reset) \ 402 STAT_STORE_FUNC(type, stat, reset) \ 403 STAT_SHOW_FUNC(type, stat, print) \ 404 static struct kobj_attribute stat##_attr = __ATTR_RW(stat)
|
/kernel/linux/linux-6.6/drivers/media/cec/usb/rainshadow/ |
H A D | rainshadow-cec.c | 69 int stat = -1; in rain_process_msg() local 84 stat = hex_to_bin(cmd[0]); in rain_process_msg() 89 if (stat == 1 || stat == 2) in rain_process_msg() 94 switch (stat) { in rain_process_msg()
|
/kernel/linux/linux-6.6/tools/testing/selftests/sgx/ |
H A D | load.c | 16 #include <sys/stat.h> 46 struct stat sb; in encl_map_bin() 57 ret = stat(path, &sb); in encl_map_bin() 59 perror("enclave executable stat()"); in encl_map_bin() 184 struct stat sb; in encl_load() 198 ret = stat(device_path, &sb); in encl_load() 200 perror("device file stat()"); in encl_load()
|
/kernel/linux/linux-6.6/sound/isa/gus/ |
H A D | gus_uart.c | 16 unsigned char stat, byte; in snd_gf1_interrupt_midi_in() local 23 stat = snd_gf1_uart_stat(gus); in snd_gf1_interrupt_midi_in() 24 if (!(stat & 0x01)) { /* data in Rx FIFO? */ in snd_gf1_interrupt_midi_in() 35 if (stat & 0x10) { /* framing error */ in snd_gf1_interrupt_midi_in() 43 if (stat & 0x20) { in snd_gf1_interrupt_midi_in() 92 snd_printk(KERN_DEBUG "write init - cmd = 0x%x, stat = 0x%x\n", gus->gf1.uart_cmd, snd_gf1_uart_stat(gus)); in snd_gf1_uart_output_open() 119 "read init - enable = %i, cmd = 0x%x, stat = 0x%x\n", in snd_gf1_uart_input_open()
|
/kernel/liteos_m/testsuites/unittest/posix/src/fs/pressure/ |
H A D | posix_fs_pressure_test.c | 147 * @tc.name open fstat stat mkdir unlink rmdir close 155 struct stat buf = { 0 }; 185 ret = stat(tmpFileName, &buf); 207 ret = stat(tmpDirName, &buf); 235 ret = stat(tmpFileName, &buf); 244 ret = stat(tmpDirName, &buf);
|
/test/xts/acts/kernel_lite/fs_posix/src/ |
H A D | FsUnistdTest.cpp | 19 #include <sys/stat.h> 185 struct stat statbuf; in HWTEST_F() 196 EXPECT_NE(stat(FILE0, &statbuf), -1) << "> fstat errno = " << errno; in HWTEST_F() 257 struct stat statbuf; in HWTEST_F() 267 EXPECT_NE(stat(FILE0, &statbuf), -1) << "> fstat errno = " << errno; in HWTEST_F()
|
H A D | FsFcntlTest.cpp | 20 #include <sys/stat.h>
225 struct stat statbuf;
in HWTEST_F() 226 EXPECT_NE(stat(FILE0, &statbuf), -1) << "> fstat errno = " << errno;
in HWTEST_F() 271 struct stat statbuf;
in HWTEST_F() 272 EXPECT_NE(stat(FILE0, &statbuf), -1) << "> fstat errno = " << errno;
in HWTEST_F()
|
/third_party/elfutils/libdwfl/ |
H A D | find-debuginfo.c | 36 #include <sys/stat.h> 43 try_open (const struct stat *main_stat, in try_open() 59 struct stat st; in try_open() 215 struct stat main_stat; in find_debuginfo_in_path() 217 : file_name != NULL ? stat (file_name, &main_stat) in find_debuginfo_in_path()
|
/third_party/icu/icu4c/source/common/ |
H A D | umapfile.cpp | 73 # include <sys/stat.h> 216 struct stat mystat; in uprv_mapFile() 226 if(stat(path, &mystat)!=0 || mystat.st_size<=0) { in uprv_mapFile() 444 struct stat mystat; in uprv_mapFile() 449 if(stat(path, &mystat)!=0 || mystat.st_size<=0) { in uprv_mapFile()
|
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-avs/ |
H A D | avs.c | 19 #include <sys/stat.h> 369 struct stat stat; in avs_example_start() local 381 if (fstat(fd, &stat) < 0) { in avs_example_start() 382 lwsl_err("%s: failed to stat wav file\n", __func__); in avs_example_start() 387 wav_len = (size_t)stat.st_size; in avs_example_start()
|
/third_party/ntfs-3g/include/fuse-lite/ |
H A D | fuse_lowlevel.h | 22 #include <sys/stat.h> 84 struct stat attr; 245 void (*setattr) (fuse_req_t req, fuse_ino_t ino, struct stat *attr, 907 int fuse_reply_attr(fuse_req_t req, const struct stat *attr, 1054 const char *name, const struct stat *stbuf,
|
/third_party/node/deps/icu-small/source/common/ |
H A D | umapfile.cpp | 73 # include <sys/stat.h> 216 struct stat mystat; in uprv_mapFile() 226 if(stat(path, &mystat)!=0 || mystat.st_size<=0) { in uprv_mapFile() 444 struct stat mystat; in uprv_mapFile() 449 if(stat(path, &mystat)!=0 || mystat.st_size<=0) { in uprv_mapFile()
|
/third_party/ltp/testcases/kernel/syscalls/utimensat/ |
H A D | utimensat01.c | 18 #include <sys/stat.h> 204 struct stat sb; in reset_time() 213 TEST(stat(pathname, &sb)); in reset_time() 215 tst_res(TFAIL | TTERRNO, "%2d: stat() failed", i); in reset_time() 230 struct stat sb; in run() 271 TEST(stat(tc->pathname ? tc->pathname : TEST_DIR, &sb)); in run() 273 tst_res(TFAIL | TTERRNO, "%2d: stat() failed", i); in run()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | umapfile.cpp | 73 # include <sys/stat.h> 216 struct stat mystat; in uprv_mapFile() 226 if(stat(path, &mystat)!=0 || mystat.st_size<=0) { in uprv_mapFile() 444 struct stat mystat; in uprv_mapFile() 449 if(stat(path, &mystat)!=0 || mystat.st_size<=0) { in uprv_mapFile()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-augment-properties.c | 24 #include <sys/stat.h> 132 static char * find_desktop_file_in_dir(struct rule *r, const char *desktop_file_dir, struct stat *st) { in find_desktop_file_in_dir() 138 if (stat(fn, st) == 0) in find_desktop_file_in_dir() 158 if (stat(fn, st) == 0) { in find_desktop_file_in_dir() 175 struct stat st; in update_rule()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deFilePath.cpp | 29 #include <sys/stat.h> 174 struct stat st; in exists() 175 int result = stat(normPath.getPath(), &st); in exists() 182 struct stat st; in getType() 183 int result = stat(normPath.getPath(), &st); in getType()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_pipeline.c | 3075 vk_outarray_append_typed(VkPipelineExecutableStatisticKHR, &out, stat) { in anv_GetPipelineExecutableStatisticsKHR() 3076 WRITE_STR(stat->name, "Instruction Count"); in anv_GetPipelineExecutableStatisticsKHR() 3077 WRITE_STR(stat->description, in anv_GetPipelineExecutableStatisticsKHR() 3080 stat->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR; in anv_GetPipelineExecutableStatisticsKHR() 3081 stat->value.u64 = exe->stats.instructions; in anv_GetPipelineExecutableStatisticsKHR() 3084 vk_outarray_append_typed(VkPipelineExecutableStatisticKHR, &out, stat) { in anv_GetPipelineExecutableStatisticsKHR() 3085 WRITE_STR(stat->name, "SEND Count"); in anv_GetPipelineExecutableStatisticsKHR() 3086 WRITE_STR(stat->description, in anv_GetPipelineExecutableStatisticsKHR() 3090 stat->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR; in anv_GetPipelineExecutableStatisticsKHR() 3091 stat in anv_GetPipelineExecutableStatisticsKHR() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | papr_scm.c | 117 /* length of the stat buffer as expected by phyp */ 276 /* Check if the error was due to an unknown stat-id */ in drc_pmem_query_stats() 287 /* Handle case where stat buffer size was requested */ in drc_pmem_query_stats() 527 struct papr_scm_perf_stat *stat; in papr_pdsm_fuel_gauge() local 534 /* Allocate request buffer enough to hold single performance stat */ in papr_pdsm_fuel_gauge() 542 stat = &stats->scm_statistic[0]; in papr_pdsm_fuel_gauge() 543 memcpy(&stat->stat_id, "MemLife ", sizeof(stat->stat_id)); in papr_pdsm_fuel_gauge() 544 stat->stat_val = 0; in papr_pdsm_fuel_gauge() 553 statval = be64_to_cpu(stat in papr_pdsm_fuel_gauge() 792 struct papr_scm_perf_stat *stat; perf_stats_show() local [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cobalt/ |
H A D | cobalt-driver.c | 176 static const char *get_link_speed(u16 stat) in get_link_speed() argument 178 switch (stat & PCI_EXP_LNKSTA_CLS) { in get_link_speed() 191 u16 stat, ctrl; in cobalt_pcie_status_show() local 199 pcie_capability_read_word(pci_dev, PCI_EXP_DEVSTA, &stat); in cobalt_pcie_status_show() 206 cobalt_info("PCIe device status 0x%04x\n", stat); in cobalt_pcie_status_show() 211 pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &stat); in cobalt_pcie_status_show() 217 stat, get_link_speed(stat), in cobalt_pcie_status_show() 218 FIELD_GET(PCI_EXP_LNKSTA_NLW, stat)); in cobalt_pcie_status_show() 229 pcie_capability_read_word(pci_dev, PCI_EXP_SLTSTA, &stat); in cobalt_pcie_status_show() [all...] |
/kernel/linux/linux-5.10/drivers/slimbus/ |
H A D | qcom-ctrl.c | 167 u32 stat) in qcom_slim_handle_tx_irq() 171 if (stat & MGR_INT_TX_MSG_SENT) in qcom_slim_handle_tx_irq() 175 if (stat & MGR_INT_TX_NACKED_2) { in qcom_slim_handle_tx_irq() 188 dev_err(ctrl->dev, "TX Nack MGR:int:0x%x, stat:0x%x\n", in qcom_slim_handle_tx_irq() 189 stat, mgr_stat); in qcom_slim_handle_tx_irq() 191 dev_err(ctrl->dev, "TX Nack FRM:int:0x%x, stat:0x%x\n", in qcom_slim_handle_tx_irq() 195 dev_err(ctrl->dev, "TX Nack INTF:intr:0x%x, stat:0x%x\n", in qcom_slim_handle_tx_irq() 208 u32 stat) in qcom_slim_handle_rx_irq() 266 u32 stat = readl_relaxed(ctrl->base + MGR_INT_STAT); in qcom_slim_interrupt() local 269 if (stat in qcom_slim_interrupt() 166 qcom_slim_handle_tx_irq(struct qcom_slim_ctrl *ctrl, u32 stat) qcom_slim_handle_tx_irq() argument 207 qcom_slim_handle_rx_irq(struct qcom_slim_ctrl *ctrl, u32 stat) qcom_slim_handle_rx_irq() argument [all...] |