Home
last modified time | relevance | path

Searched refs:stat (Results 4101 - 4125 of 6260) sorted by relevance

1...<<161162163164165166167168169170>>...251

/foundation/multimedia/av_codec/test/unittest/filter_test/
H A Ddemuxer_filter_unit_test.cpp21 #include <sys/stat.h>
146 struct stat fileStatus {}; in SetDataSource()
147 if (stat(srtPath.c_str(), &fileStatus) == 0) { in SetDataSource()
/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/system_tone_player/
H A Dsystem_tone_player_impl.cpp19 #include <sys/stat.h>
64 struct stat buffer; in IsFileExisting()
65 return (stat(fileUri.c_str(), &buffer) == 0); in IsFileExisting()
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_operation_utils.cpp21 #include <sys/stat.h>
354 struct stat sstat; in GetObjectDataDeal()
407 struct stat sstat; in DoRecevieSendObject()
/foundation/multimodalinput/input/tools/vuinput/src/
H A Dvirtual_device.cpp19 #include <sys/stat.h>
553 struct stat statbuf = { 0 }; in GetFileSize()
554 if (stat(filePath.c_str(), &statbuf) != 0) { in GetFileSize()
/foundation/systemabilitymgr/samgr_lite/samgr_server/source/
H A Dsamgr_server_rpc.c25 #include <sys/stat.h>
674 struct stat fileInfo; in GetJsonStream()
677 if (stat(path, &fileInfo) != 0 || (size = fileInfo.st_size) == 0) { in GetJsonStream()
H A Dsamgr_server.c19 #include <sys/stat.h>
564 struct stat fileInfo; in GetJsonStream()
567 if (stat(path, &fileInfo) != 0 || (size = fileInfo.st_size) == 0) { in GetJsonStream()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_security_manager.cpp22 #include <sys/stat.h>
615 struct stat fileInfo; in IsKeyFileEmpty()
616 auto errCode = stat(keyFile.c_str(), &fileInfo); in IsKeyFileEmpty()
/foundation/distributedhardware/distributed_audio/services/test_example/
H A Ddistributedaudiotest.cpp23 #include <sys/stat.h>
378 struct stat statbuf; in StartRender()
379 stat(SPK_FILE_PATH, &statbuf); in StartRender()
/foundation/filemanagement/dfs_service/utils/dentry/src/
H A Dmeta_file_clouddisk.cpp22 #include <sys/stat.h>
328 struct stat fileStat; in HandleFileByFd()
649 struct stat fileStat; in LoadChildren()
/kernel/linux/linux-5.10/drivers/block/
H A Dswim.c295 int stat; in swim_readbit() local
301 stat = swim_read(base, handshake); in swim_readbit()
303 return (stat & SENSE) == 0; in swim_readbit()
/kernel/linux/linux-5.10/drivers/acpi/
H A Ddevice_pm.c701 enum pm_qos_flags_status stat; in acpi_pm_device_sleep_state() local
703 stat = dev_pm_qos_flags(dev, PM_QOS_FLAG_NO_POWER_OFF); in acpi_pm_device_sleep_state()
704 if (stat == PM_QOS_FLAGS_ALL) in acpi_pm_device_sleep_state()
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dvector_user.c17 #include <sys/stat.h>
816 struct stat statbuf; in uml_vector_user_bpf()
822 if (stat(filename, &statbuf) < 0) { in uml_vector_user_bpf()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dhisi504_nand.c523 int max_bitflips = 0, stat = 0, stat_max = 0, status_ecc; in hisi_nand_read_page_hwecc() local
540 stat = stat_1 + stat_2; in hisi_nand_read_page_hwecc()
543 mtd->ecc_stats.corrected += stat; in hisi_nand_read_page_hwecc()
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dvector_user.c18 #include <sys/stat.h>
817 struct stat statbuf; in uml_vector_user_bpf()
823 if (stat(filename, &statbuf) < 0) { in uml_vector_user_bpf()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_crt.c556 u32 stat; in intel_crt_detect_hotplug() local
588 stat = intel_de_read(dev_priv, PORT_HOTPLUG_STAT); in intel_crt_detect_hotplug()
589 if ((stat & CRT_HOTPLUG_MONITOR_MASK) != CRT_HOTPLUG_MONITOR_NONE) in intel_crt_detect_hotplug()
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dmvebu-uart.c121 unsigned int stat; member
785 mvuart->pm_regs.stat = readl(port->membase + UART_STAT); in mvebu_uart_suspend()
803 writel(mvuart->pm_regs.stat, port->membase + UART_STAT); in mvebu_uart_resume()
/kernel/linux/linux-5.10/drivers/usb/misc/
H A Duss720.c309 unsigned char stat; in clear_epp_timeout() local
311 if (get_1284_register(pp, 1, &stat, GFP_KERNEL)) in clear_epp_timeout()
313 return stat & 1; in clear_epp_timeout()
/kernel/linux/linux-5.10/scripts/
H A Dunifdef.c47 #include <sys/stat.h>
330 struct stat ist, ost; in main()
331 if (stat(ofilename, &ost) == 0 && in main()
/kernel/linux/linux-5.10/tools/perf/util/
H A Ds390-cpumsf.c151 #include <sys/stat.h>
1097 struct stat stbuf; in s390_cpumsf__config()
1108 rc = stat(sf->logdir, &stbuf); in s390_cpumsf__config()
/kernel/linux/linux-5.10/mm/
H A Dbacking-dev.c313 err = percpu_counter_init(&wb->stat[i], 0, gfp); in wb_init()
322 percpu_counter_destroy(&wb->stat[i]); in wb_init()
363 percpu_counter_destroy(&wb->stat[i]); in wb_exit()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_fsmap.c195 bool *stat) in xfs_getfsmap_is_shared()
203 *stat = false; in xfs_getfsmap_is_shared()
222 *stat = flen > 0; in xfs_getfsmap_is_shared()
191 xfs_getfsmap_is_shared( struct xfs_trans *tp, struct xfs_getfsmap_info *info, struct xfs_rmap_irec *rec, bool *stat) xfs_getfsmap_is_shared() argument
/kernel/linux/linux-5.10/fs/proc/
H A Dgeneric.c16 #include <linux/stat.h>
136 static int proc_getattr(const struct path *path, struct kstat *stat, in proc_getattr() argument
148 generic_fillattr(inode, stat); in proc_getattr()
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
H A Dinno_hdmi.c636 u8 stat; in inno_hdmi_i2c_irq() local
638 stat = hdmi_readb(hdmi, HDMI_INTERRUPT_STATUS1); in inno_hdmi_i2c_irq()
639 if (!(stat & m_INT_EDID_READY)) in inno_hdmi_i2c_irq()
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
H A Dzoran_device.c928 u32 stat, astat; in zoran_irq() local
930 stat = count_reset_interrupt(zr); in zoran_irq()
931 astat = stat & IRQ_MASK; in zoran_irq()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dhisi504_nand.c523 int max_bitflips = 0, stat = 0, stat_max = 0, status_ecc; in hisi_nand_read_page_hwecc() local
540 stat = stat_1 + stat_2; in hisi_nand_read_page_hwecc()
543 mtd->ecc_stats.corrected += stat; in hisi_nand_read_page_hwecc()

Completed in 36 milliseconds

1...<<161162163164165166167168169170>>...251