Home
last modified time | relevance | path

Searched refs:statbuf (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/migration/
H A Dfd.c30 struct stat statbuf; in fd_is_pipe() local
32 if (fstat(fd, &statbuf) == -1) { in fd_is_pipe()
36 return S_ISFIFO(statbuf.st_mode); in fd_is_pipe()
/openbmc/qemu/block/export/
H A Dfuse.c360 struct stat statbuf; in is_regular_file() local
363 ret = stat(path, &statbuf); in is_regular_file()
369 if (!S_ISREG(statbuf.st_mode)) { in is_regular_file()
409 struct stat statbuf; in fuse_getattr() local
427 statbuf = (struct stat) { in fuse_getattr()
441 fuse_reply_attr(req, &statbuf, 1.); in fuse_getattr()
496 static void fuse_setattr(fuse_req_t req, fuse_ino_t inode, struct stat *statbuf, in fuse_setattr() argument
520 (statbuf->st_mode & (S_IRWXG | S_IRWXO)) != 0) in fuse_setattr()
528 (statbuf->st_mode & (S_IWUSR | S_IWGRP | S_IWOTH)) != 0) in fuse_setattr()
541 ret = fuse_do_truncate(exp, statbuf->st_size, true, PREALLOC_MODE_OFF); in fuse_setattr()
[all …]
/openbmc/qemu/qga/
H A Dcommands-bsd.c36 struct stat statbuf; in build_fs_mount_list() local
47 ret = stat(mntp->f_mntonname, &statbuf); in build_fs_mount_list()
61 mount->dev = statbuf.st_dev; in build_fs_mount_list()
/openbmc/u-boot/scripts/dtc/
H A Ddtc.c138 struct stat statbuf; in guess_input_format() local
142 if (stat(fname, &statbuf) != 0) in guess_input_format()
145 if (S_ISDIR(statbuf.st_mode)) in guess_input_format()
148 if (!S_ISREG(statbuf.st_mode)) in guess_input_format()
/openbmc/libpldm/src/requester/
H A Dinstance-id.c38 struct stat statbuf; in pldm_instance_db_init() local
51 rc = stat(dbpath, &statbuf); in pldm_instance_db_init()
56 if (statbuf.st_size < in pldm_instance_db_init()
/openbmc/hiomapd/file/
H A Dbackend.c50 struct stat statbuf; in file_dev_init() local
79 rc = fstat(priv->fd, &statbuf); in file_dev_init()
87 backend->flash_size = statbuf.st_size; in file_dev_init()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/obexftp/obexftp/
H A DRemove_some_printf_in_obexftpd.patch9 struct stat statbuf;
/openbmc/openbmc/poky/meta/recipes-devtools/makedevs/makedevs/
H A Dmakedevs.c510 struct stat statbuf; in main() local
530 if (fstat(fileno(devtable), &statbuf) < 0) in main()
532 if (statbuf.st_size < 10) in main()
/openbmc/u-boot/drivers/net/
H A Dbcm-sf2-eth-gmac.c400 uint8_t statbuf[HWRXOFF*2]; in gmac_check_rx_done() local
460 memcpy(statbuf, bufp, offset); in gmac_check_rx_done()
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A DCVE-2019-13232_p2.patch294 z_stat statbuf; /* used by main, mapname, check_for_newer */
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/
H A Dendian-ness_handling.patch347 file_contents, statbuf.st_size))
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/
H A Drdist-6.1.5-cleanup.patch1239 struct stat statbuf;
1766 * Mark the statbuf as invalid to start with.
/openbmc/bmcweb/redfish-core/include/utils/extern/
H A Ddate.h4956 unsigned char statbuf[100];
4957 unsigned char* status = statbuf;
4959 if (nkw > sizeof(statbuf))
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5/
H A D0001-Eliminate-old-style-function-declarations.patch7790 struct stat statbuf;
7822 struct stat statbuf;