Home
last modified time | relevance | path

Searched refs:stat (Results 3376 - 3400 of 7827) sorted by relevance

1...<<131132133134135136137138139140>>...314

/third_party/pulseaudio/src/pulsecore/
H A Dcore-scache.c29 #include <sys/stat.h>
463 struct stat st; in add_file()
471 if (stat(pathname, &st) < 0) { in add_file()
472 pa_log("stat('%s'): %s", pathname, pa_cstrerror(errno)); in add_file()
/third_party/openssl/apps/
H A Drehash.c22 # include <sys/stat.h>
58 # define lstat(path, buf) stat(path, buf)
356 struct stat st; in do_dir()
/third_party/openssl/providers/implementations/rands/seeding/
H A Drand_unix.c47 # include <sys/stat.h>
514 struct stat st; in check_random_device()
529 struct stat st; in get_random_device()
540 /* ... and cache its relevant stat(2) data */ in get_random_device()
/third_party/skia/third_party/externals/freetype/src/tools/ftrandom/
H A Dftrandom.c40 #include <sys/stat.h>
354 struct stat statb; in FindFonts()
379 if ( stat( buffer, &statb ) == -1 || S_ISDIR( statb.st_mode ) ) in FindFonts()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-blob.cc520 # include <sys/stat.h>
582 struct stat st; in _open_resource_fork()
639 struct stat st; in hb_blob_create_from_file_or_fail()
/third_party/python/Lib/test/
H A Dtest_py_compile.py6 import stat namespace
126 mode = os.stat(self.directory)
127 os.chmod(self.directory, stat.S_IREAD)
/third_party/toybox/toys/posix/
H A Dfile.c451 struct stat sb; in file_main()
458 if (fd || !(FLAG(L) ? stat : lstat)(name, &sb)) { in file_main()
479 stat(lnk, &sb) ? "broken " : "", lnk); in file_main()
/third_party/protobuf/src/google/protobuf/compiler/
H A Dimporter.cc42 #include <sys/stat.h>
493 struct stat sb; in OpenDiskFile()
496 ret = stat(filename.c_str(), &sb); in OpenDiskFile()
/third_party/python/Modules/
H A Dnismodule.c307 nisstat stat; member
364 if (!nis_xdr_ypstat(xdrs, &objp->stat)) { in nis_xdr_ypresp_maplist()
419 if (list->stat != NIS_TRUE) in nis_maplist()
/third_party/selinux/libselinux/src/
H A Dmatchpathcon.c1 #include <sys/stat.h>
201 struct stat sb; in matchpathcon_filespec_add()
551 struct stat st; in selinux_lsetfilecon_default()
/third_party/selinux/libselinux/utils/
H A Dsefcontext_compile.c8 #include <sys/stat.h>
304 struct stat buf; in main()
335 if (stat(path, &buf) < 0) { in main()
336 fprintf(stderr, "%s: could not stat: %s: %s\n", argv[0], path, strerror(errno)); in main()
/third_party/rust/crates/nix/src/sys/
H A Dstat.rs9 pub use libc::stat as FileStat;
239 pub fn stat<P: ?Sized + NixPath>(path: &P) -> Result<FileStat> { in stat() functions
242 libc::stat(cstr.as_ptr(), dst.as_mut_ptr()) in stat()
/third_party/zlib/examples/
H A Dgun.c67 #include <sys/stat.h> /* stat(), chmod() */
519 struct stat was; in copymeta()
523 if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG) in copymeta()
/kernel/linux/linux-5.10/mm/
H A Dmemcontrol.c778 * @idx: the stat item - can be enum memcg_stat_item or enum node_stat_item
791 x = val + __this_cpu_read(memcg->vmstats_percpu->stat[idx]); in __mod_memcg_state()
799 __this_cpu_add(memcg->vmstats_local->stat[idx], x); in __mod_memcg_state()
804 __this_cpu_write(memcg->vmstats_percpu->stat[idx], x); in __mod_memcg_state()
852 * @idx: the stat item
2189 * unlocked page stat updates happening concurrently. Track in lock_page_memcg()
2420 x = this_cpu_xchg(memcg->vmstats_percpu->stat[i], 0); in memcg_hotplug_cpu_dead()
3671 unsigned long stat[MEMCG_NR_STAT] = {0}; in memcg_flush_percpu_vmstats() local
3677 stat[i] += per_cpu(memcg->vmstats_percpu->stat[ in memcg_flush_percpu_vmstats()
4044 const struct numa_stat *stat; memcg_numa_stat_show() local
[all...]
/kernel/linux/linux-5.10/fs/ceph/
H A Dinode.c2370 int ceph_getattr(const struct path *path, struct kstat *stat, in ceph_getattr() argument
2386 generic_fillattr(inode, stat); in ceph_getattr()
2387 stat->ino = ceph_present_inode(inode); in ceph_getattr()
2394 stat->btime = ci->i_btime; in ceph_getattr()
2399 stat->dev = inode->i_sb->s_dev; in ceph_getattr()
2401 stat->dev = ci->i_snapid_map ? ci->i_snapid_map->dev : 0; in ceph_getattr()
2406 stat->size = ci->i_rbytes; in ceph_getattr()
2408 stat->size = ci->i_files + ci->i_subdirs; in ceph_getattr()
2409 stat->blocks = 0; in ceph_getattr()
2410 stat in ceph_getattr()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi.c126 u8 stat; member
345 int stat; in dw_hdmi_i2c_wait() local
347 stat = wait_for_completion_timeout(&i2c->cmp, HZ / 10); in dw_hdmi_i2c_wait()
348 if (!stat) { in dw_hdmi_i2c_wait()
354 stat = wait_for_completion_timeout(&i2c->cmp, HZ / 10); in dw_hdmi_i2c_wait()
355 if (!stat) in dw_hdmi_i2c_wait()
360 if (i2c->stat & HDMI_IH_I2CM_STAT0_ERROR) in dw_hdmi_i2c_wait()
2922 unsigned int stat; in dw_hdmi_i2c_irq() local
2924 stat = hdmi_readb(hdmi, HDMI_IH_I2CM_STAT0); in dw_hdmi_i2c_irq()
2925 if (!stat) in dw_hdmi_i2c_irq()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c1473 int stat = 0, err = 0; in cgx_print_stats() local
1533 while (stat < CGX_RX_STATS_COUNT) { in cgx_print_stats()
1534 err = cgx_get_rx_stats(cgxd, lmac_id, stat, &rx_stat); in cgx_print_stats()
1537 seq_printf(s, "%s: %llu\n", cgx_rx_stats_fields[stat], rx_stat); in cgx_print_stats()
1538 stat++; in cgx_print_stats()
1542 stat = 0; in cgx_print_stats()
1544 while (stat < CGX_TX_STATS_COUNT) { in cgx_print_stats()
1545 err = cgx_get_tx_stats(cgxd, lmac_id, stat, &tx_stat); in cgx_print_stats()
1548 seq_printf(s, "%s: %llu\n", cgx_tx_stats_fields[stat], tx_stat); in cgx_print_stats()
1549 stat in cgx_print_stats()
[all...]
/kernel/linux/linux-5.10/sound/soc/ti/
H A Ddavinci-mcasp.c366 u32 stat; in davinci_mcasp_tx_irq_handler() local
368 stat = mcasp_get_reg(mcasp, DAVINCI_MCASP_TXSTAT_REG); in davinci_mcasp_tx_irq_handler()
369 if (stat & XUNDRN & irq_mask) { in davinci_mcasp_tx_irq_handler()
380 stat); in davinci_mcasp_tx_irq_handler()
382 if (stat & XRERR) in davinci_mcasp_tx_irq_handler()
397 u32 stat; in davinci_mcasp_rx_irq_handler() local
399 stat = mcasp_get_reg(mcasp, DAVINCI_MCASP_RXSTAT_REG); in davinci_mcasp_rx_irq_handler()
400 if (stat & ROVRN & irq_mask) { in davinci_mcasp_rx_irq_handler()
411 stat); in davinci_mcasp_rx_irq_handler()
413 if (stat in davinci_mcasp_rx_irq_handler()
[all...]
/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dpci-mvebu.c155 u32 stat; in mvebu_pcie_set_local_bus_nr() local
157 stat = mvebu_readl(port, PCIE_STAT_OFF); in mvebu_pcie_set_local_bus_nr()
158 stat &= ~PCIE_STAT_BUS; in mvebu_pcie_set_local_bus_nr()
159 stat |= nr << 8; in mvebu_pcie_set_local_bus_nr()
160 mvebu_writel(port, stat, PCIE_STAT_OFF); in mvebu_pcie_set_local_bus_nr()
165 u32 stat; in mvebu_pcie_set_local_dev_nr() local
167 stat = mvebu_readl(port, PCIE_STAT_OFF); in mvebu_pcie_set_local_dev_nr()
168 stat &= ~PCIE_STAT_DEV; in mvebu_pcie_set_local_dev_nr()
169 stat |= nr << 16; in mvebu_pcie_set_local_dev_nr()
170 mvebu_writel(port, stat, PCIE_STAT_OF in mvebu_pcie_set_local_dev_nr()
[all...]
/kernel/liteos_a/syscall/
H A Dfs_syscall.c1355 struct stat bufRet = {0}; in SysStat()
1364 ret = stat((path ? pathRet : NULL), (buf ? (&bufRet) : NULL)); in SysStat()
1386 struct stat bufRet = {0}; in SysLstat()
1395 ret = stat((path ? pathRet : NULL), (buffer ? (&bufRet) : NULL)); in SysLstat()
1416 struct stat bufRet = {0}; in SysFstat()
1431 ret = stat(filep->f_path, (buf ? (&bufRet) : NULL)); in SysFstat()
2531 struct stat bufRet = {0}; in SysFstatat64()
2552 ret = stat(fullpath, &bufRet); in SysFstatat64()
2578 struct stat buf; in SysFaccessat()
2598 ret = stat(fullDirector in SysFaccessat()
[all...]
/kernel/linux/linux-6.6/sound/soc/ti/
H A Ddavinci-mcasp.c371 u32 stat; in davinci_mcasp_tx_irq_handler() local
373 stat = mcasp_get_reg(mcasp, DAVINCI_MCASP_TXSTAT_REG); in davinci_mcasp_tx_irq_handler()
374 if (stat & XUNDRN & irq_mask) { in davinci_mcasp_tx_irq_handler()
385 stat); in davinci_mcasp_tx_irq_handler()
387 if (stat & XRERR) in davinci_mcasp_tx_irq_handler()
402 u32 stat; in davinci_mcasp_rx_irq_handler() local
404 stat = mcasp_get_reg(mcasp, DAVINCI_MCASP_RXSTAT_REG); in davinci_mcasp_rx_irq_handler()
405 if (stat & ROVRN & irq_mask) { in davinci_mcasp_rx_irq_handler()
416 stat); in davinci_mcasp_rx_irq_handler()
418 if (stat in davinci_mcasp_rx_irq_handler()
[all...]
/third_party/node/deps/uv/src/unix/
H A Dfs.c41 #include <sys/stat.h>
517 struct stat buf; in uv__fs_read()
716 struct stat st; in uv__fs_readlink()
1270 struct stat src_statsbuf; in uv__fs_copyfile()
1271 struct stat dst_statsbuf; in uv__fs_copyfile()
1432 static void uv__to_stat(struct stat* src, uv_stat_t* dst) { in uv__to_stat()
1591 struct stat pbuf; in uv__fs_stat()
1598 ret = stat(path, &pbuf); in uv__fs_stat()
1607 struct stat pbuf; in uv__fs_lstat()
1623 struct stat pbu in uv__fs_fstat()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c127 token->stat = EIP197_TOKEN_STAT_LAST_PACKET | in safexcel_skcipher_token()
215 atoken->stat = 0; in safexcel_aead_token()
233 atoken->stat = 0; in safexcel_aead_token()
244 atoken->stat = 0; in safexcel_aead_token()
247 atoken->stat = EIP197_TOKEN_STAT_LAST_HASH; in safexcel_aead_token()
258 atoken->stat = EIP197_TOKEN_STAT_LAST_HASH; in safexcel_aead_token()
268 atoken->stat = 0; in safexcel_aead_token()
277 atoken->stat = 0; in safexcel_aead_token()
287 atoken->stat = 0; in safexcel_aead_token()
293 atoken->stat in safexcel_aead_token()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c127 token->stat = EIP197_TOKEN_STAT_LAST_PACKET | in safexcel_skcipher_token()
215 atoken->stat = 0; in safexcel_aead_token()
233 atoken->stat = 0; in safexcel_aead_token()
244 atoken->stat = 0; in safexcel_aead_token()
247 atoken->stat = EIP197_TOKEN_STAT_LAST_HASH; in safexcel_aead_token()
258 atoken->stat = EIP197_TOKEN_STAT_LAST_HASH; in safexcel_aead_token()
268 atoken->stat = 0; in safexcel_aead_token()
277 atoken->stat = 0; in safexcel_aead_token()
287 atoken->stat = 0; in safexcel_aead_token()
293 atoken->stat in safexcel_aead_token()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_hv.c24 #include <linux/sched/stat.h>
241 ++vcpu->stat.generic.halt_wakeup; in kvmppc_fast_vcpu_kick_hv()
1578 vcpu->stat.sum_exits++; in kvmppc_handle_exit_hv()
1607 vcpu->stat.dec_exits++; in kvmppc_handle_exit_hv()
1613 vcpu->stat.ext_intr_exits++; in kvmppc_handle_exit_hv()
1908 vcpu->stat.sum_exits++; in kvmppc_handle_nested_exit()
1929 vcpu->stat.dec_exits++; in kvmppc_handle_nested_exit()
1933 vcpu->stat.ext_intr_exits++; in kvmppc_handle_nested_exit()
1938 vcpu->stat.ext_intr_exits++; in kvmppc_handle_nested_exit()
1944 vcpu->stat in kvmppc_handle_nested_exit()
[all...]

Completed in 46 milliseconds

1...<<131132133134135136137138139140>>...314