/third_party/musl/src/dirent/ |
H A D | fdopendir.c | 3 #include <sys/stat.h> 14 struct stat st; in fdopendir()
|
/third_party/ltp/testcases/kernel/syscalls/link/ |
H A D | link02.c | 16 #include <sys/stat.h> 24 struct stat fbuf, lbuf; in verify_link() 36 "returned 0 and stat link counts match"); in verify_link() 39 " but stat link counts do not match %d %d", in verify_link()
|
/third_party/ltp/testcases/kernel/syscalls/umask/ |
H A D | umask01.c | 16 #include <sys/stat.h> 21 struct stat statbuf; in verify_umask()
|
/third_party/ltp/testcases/kernel/syscalls/mkdir/ |
H A D | mkdir05.c | 12 #include <sys/stat.h> 23 struct stat buf; in verify_mkdir()
|
/third_party/ltp/testcases/kernel/syscalls/setresuid/ |
H A D | setresuid05.c | 16 #include <sys/stat.h> 31 struct stat buf; in run()
|
/third_party/ltp/testcases/kernel/syscalls/creat/ |
H A D | creat03.c | 15 #include <sys/stat.h> 25 struct stat statbuf; in verify_creat()
|
/third_party/ltp/testcases/kernel/syscalls/ustat/ |
H A D | ustat01.c | 15 #include <sys/stat.h> 36 struct stat buf; in setup()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
H A D | 15-1.c | 20 #include <sys/stat.h> 32 struct stat stat_buf; in main()
|
H A D | 17-1.c | 18 #include <sys/stat.h> 30 struct stat stat_buf; in main()
|
H A D | 16-1.c | 18 #include <sys/stat.h> 30 struct stat stat_buf; in main()
|
H A D | 21-1.c | 16 #include <sys/stat.h> 28 struct stat stat_buf; in main()
|
H A D | 25-1.c | 20 #include <sys/stat.h> 32 struct stat stat_buf; in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/fcntl/fcntl_gtest/ |
H A D | fcntl_posix_fallocate64_test.cpp | 3 #include <sys/stat.h> 22 struct stat sb; in HWTEST_F()
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
H A D | munmap.c | 17 #include <sys/stat.h> 32 struct stat statbuff; in munmap_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/ |
H A D | unistd_ftruncate64_test.cpp | 28 struct stat statbuff; in HWTEST_F() 29 EXPECT_EQ(0, stat("test.txt", &statbuff)); in HWTEST_F()
|
/third_party/python/Tools/scripts/ |
H A D | copytime.py | 7 from stat import ST_ATIME, ST_MTIME # Really constants 7 and 8 15 stat1 = os.stat(file1) 17 sys.stderr.write(file1 + ': cannot stat\n')
|
/third_party/python/Lib/test/subprocessdata/ |
H A D | fd_status.py | 11 import stat namespace 32 if not stat.S_ISDOOR(st.st_mode):
|
/third_party/toybox/toys/other/ |
H A D | which.c | 32 struct stat st; in which_in_path() 34 if (!stat(filename, &st) && S_ISREG(st.st_mode)) { in which_in_path()
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | ftrace.c | 406 struct tracer_stat stat; member 451 struct ftrace_profile_stat *stat = in function_stat_start() local 452 container_of(trace, struct ftrace_profile_stat, stat); in function_stat_start() 454 if (!stat || !stat->start) in function_stat_start() 457 return function_stat_next(&stat->start->records[0], 0); in function_stat_start() 568 static void ftrace_profile_reset(struct ftrace_profile_stat *stat) in ftrace_profile_reset() argument 572 pg = stat->pages = stat->start; in ftrace_profile_reset() 580 memset(stat in ftrace_profile_reset() 584 ftrace_profile_pages_init(struct ftrace_profile_stat *stat) ftrace_profile_pages_init() argument 642 struct ftrace_profile_stat *stat; ftrace_profile_init_cpu() local 690 ftrace_find_profiled_func(struct ftrace_profile_stat *stat, unsigned long ip) ftrace_find_profiled_func() argument 710 ftrace_add_profile(struct ftrace_profile_stat *stat, struct ftrace_profile *rec) ftrace_add_profile() argument 723 ftrace_profile_alloc(struct ftrace_profile_stat *stat, unsigned long ip) ftrace_profile_alloc() argument 759 struct ftrace_profile_stat *stat; function_profile_call() local 812 struct ftrace_profile_stat *stat; profile_graph_return() local 959 struct ftrace_profile_stat *stat; ftrace_profile_tracefs() local [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | ftrace.c | 434 struct tracer_stat stat; member 479 struct ftrace_profile_stat *stat = in function_stat_start() local 480 container_of(trace, struct ftrace_profile_stat, stat); in function_stat_start() 482 if (!stat || !stat->start) in function_stat_start() 485 return function_stat_next(&stat->start->records[0], 0); in function_stat_start() 596 static void ftrace_profile_reset(struct ftrace_profile_stat *stat) in ftrace_profile_reset() argument 600 pg = stat->pages = stat->start; in ftrace_profile_reset() 608 memset(stat in ftrace_profile_reset() 612 ftrace_profile_pages_init(struct ftrace_profile_stat *stat) ftrace_profile_pages_init() argument 670 struct ftrace_profile_stat *stat; ftrace_profile_init_cpu() local 718 ftrace_find_profiled_func(struct ftrace_profile_stat *stat, unsigned long ip) ftrace_find_profiled_func() argument 738 ftrace_add_profile(struct ftrace_profile_stat *stat, struct ftrace_profile *rec) ftrace_add_profile() argument 751 ftrace_profile_alloc(struct ftrace_profile_stat *stat, unsigned long ip) ftrace_profile_alloc() argument 787 struct ftrace_profile_stat *stat; function_profile_call() local 840 struct ftrace_profile_stat *stat; profile_graph_return() local 987 struct ftrace_profile_stat *stat; ftrace_profile_tracefs() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 35 #define ENIC_TX_STAT(stat) { \ 36 .name = #stat, \ 37 .index = offsetof(struct vnic_tx_stats, stat) / sizeof(u64) \ 40 #define ENIC_RX_STAT(stat) { \ 41 .name = #stat, \ 42 .index = offsetof(struct vnic_rx_stats, stat) / sizeof(u64) \ 45 #define ENIC_GEN_STAT(stat) { \ 46 .name = #stat, \ 47 .index = offsetof(struct vnic_gen_stats, stat) / sizeof(u64)\
|
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ide-io.c | 84 void ide_complete_cmd(ide_drive_t *drive, struct ide_cmd *cmd, u8 stat, u8 err) in ide_complete_cmd() argument 92 tf->status = stat; in ide_complete_cmd() 583 u8 stat = 0; in drive_is_ready() local 590 stat = hwif->tp_ops->read_altstatus(hwif); in drive_is_ready() 593 stat = hwif->tp_ops->read_status(hwif); in drive_is_ready() 595 if (stat & ATA_BUSY) in drive_is_ready() 733 u8 stat = hwif->tp_ops->read_status(hwif); in unexpected_intr() local 735 if (!OK_STAT(stat, ATA_DRDY, BAD_STAT)) { in unexpected_intr() 744 hwif->name, stat, count); in unexpected_intr()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-octeon-core.c | 179 u8 stat; in octeon_i2c_check_status() local 186 stat = __raw_readq(i2c->twsi_base + SW_TWSI(i2c)); in octeon_i2c_check_status() 188 stat = octeon_i2c_stat_read(i2c); in octeon_i2c_check_status() 190 switch (stat) { in octeon_i2c_check_status() 243 dev_err(i2c->dev, "unhandled state: %d\n", stat); in octeon_i2c_check_status() 268 u8 stat; in octeon_i2c_start() local 277 stat = octeon_i2c_stat_read(i2c); in octeon_i2c_start() 278 if (stat == STAT_START || stat == STAT_REP_START) in octeon_i2c_start()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 20 #define ENIC_TX_STAT(stat) { \ 21 .name = #stat, \ 22 .index = offsetof(struct vnic_tx_stats, stat) / sizeof(u64) \ 25 #define ENIC_RX_STAT(stat) { \ 26 .name = #stat, \ 27 .index = offsetof(struct vnic_rx_stats, stat) / sizeof(u64) \ 30 #define ENIC_GEN_STAT(stat) { \ 31 .name = #stat, \ 32 .index = offsetof(struct vnic_gen_stats, stat) / sizeof(u64)\
|
/kernel/linux/linux-6.6/drivers/gpu/drm/meson/ |
H A D | meson_dw_hdmi.c | 536 u32 stat; in dw_hdmi_top_irq() local 538 stat = dw_hdmi->data->top_read(dw_hdmi, HDMITX_TOP_INTR_STAT); in dw_hdmi_top_irq() 539 dw_hdmi->data->top_write(dw_hdmi, HDMITX_TOP_INTR_STAT_CLR, stat); in dw_hdmi_top_irq() 542 if (stat & (HDMITX_TOP_INTR_HPD_RISE | HDMITX_TOP_INTR_HPD_FALL)) { in dw_hdmi_top_irq() 543 dw_hdmi->irq_stat = stat; in dw_hdmi_top_irq() 548 if (stat & 1) in dw_hdmi_top_irq() 560 u32 stat = dw_hdmi->irq_stat; in dw_hdmi_top_thread_irq() local 563 if (stat & (HDMITX_TOP_INTR_HPD_RISE | HDMITX_TOP_INTR_HPD_FALL)) { in dw_hdmi_top_thread_irq() 566 if (stat & HDMITX_TOP_INTR_HPD_RISE) in dw_hdmi_top_thread_irq()
|