/openbmc/linux/net/9p/ |
H A D | protocol.c | 366 &stbuf->size, &stbuf->type, in p9pdu_vreadf() 367 &stbuf->dev, &stbuf->qid, in p9pdu_vreadf() 368 &stbuf->mode, &stbuf->atime, in p9pdu_vreadf() 370 &stbuf->name, &stbuf->uid, in p9pdu_vreadf() 371 &stbuf->gid, &stbuf->muid, in p9pdu_vreadf() 373 &stbuf->n_uid, &stbuf->n_gid, in p9pdu_vreadf() 599 stbuf->size, stbuf->type, in p9pdu_vwritef() 600 stbuf->dev, &stbuf->qid, in p9pdu_vwritef() 601 stbuf->mode, stbuf->atime, in p9pdu_vwritef() 603 stbuf->name, stbuf->uid, in p9pdu_vwritef() [all …]
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-synth.c | 141 stbuf->st_dev = 0; in synth_fill_statbuf() 145 stbuf->st_uid = 0; in synth_fill_statbuf() 146 stbuf->st_gid = 0; in synth_fill_statbuf() 147 stbuf->st_rdev = 0; in synth_fill_statbuf() 148 stbuf->st_size = 0; in synth_fill_statbuf() 149 stbuf->st_blksize = 0; in synth_fill_statbuf() 150 stbuf->st_blocks = 0; in synth_fill_statbuf() 151 stbuf->st_atime = 0; in synth_fill_statbuf() 152 stbuf->st_mtime = 0; in synth_fill_statbuf() 153 stbuf->st_ctime = 0; in synth_fill_statbuf() [all …]
|
H A D | 9p.c | 994 qidp->version = stbuf->st_mtime ^ (stbuf->st_size << 8); in stat_to_qid() 1207 if (S_ISBLK(stbuf->st_mode) || S_ISCHR(stbuf->st_mode)) { in stat_to_v9mode() 1262 major(stbuf->st_rdev), minor(stbuf->st_rdev)); in stat_to_v9stat() 1263 } else if (S_ISDIR(stbuf->st_mode) || S_ISREG(stbuf->st_mode)) { in stat_to_v9stat() 1460 struct stat stbuf; in v9fs_attach() local 1519 memcpy(&s->root_st, &stbuf, sizeof(stbuf)); in v9fs_attach() 1536 struct stat stbuf; in v9fs_stat() local 1582 struct stat stbuf; in v9fs_getattr() local 1855 stbuf = fidst; in v9fs_walk() 1902 stbuf = fidst; in v9fs_walk() [all …]
|
H A D | 9p-proxy.c | 145 memset(stbuf, 0, sizeof(*stbuf)); in prstat_to_stat() 146 stbuf->st_dev = prstat->st_dev; in prstat_to_stat() 147 stbuf->st_ino = prstat->st_ino; in prstat_to_stat() 148 stbuf->st_nlink = prstat->st_nlink; in prstat_to_stat() 149 stbuf->st_mode = prstat->st_mode; in prstat_to_stat() 150 stbuf->st_uid = prstat->st_uid; in prstat_to_stat() 151 stbuf->st_gid = prstat->st_gid; in prstat_to_stat() 152 stbuf->st_rdev = prstat->st_rdev; in prstat_to_stat() 153 stbuf->st_size = prstat->st_size; in prstat_to_stat() 155 stbuf->st_blocks = prstat->st_blocks; in prstat_to_stat() [all …]
|
H A D | 9p-local.c | 172 stbuf->st_uid = atoi(buf + 11); in local_mapped_file_attr() 344 struct stat stbuf; in fchmodat_nofollow() local 355 if (S_ISLNK(stbuf.st_mode)) { in fchmodat_nofollow() 388 ret = fstat(fd, &stbuf); in fchmodat_nofollow() 390 if (S_ISLNK(stbuf.st_mode)) { in fchmodat_nofollow() 780 err = fstat(fd, stbuf); in local_fstat() 1138 struct stat stbuf; in local_remove() local 1154 if (S_ISDIR(stbuf.st_mode)) { in local_remove() 1193 ret = fstatfs(fd, stbuf); in local_statfs() 1418 struct statfs stbuf; in local_ioc_getversion_init() local [all …]
|
H A D | cofile.c | 49 int coroutine_fn v9fs_co_lstat(V9fsPDU *pdu, V9fsPath *path, struct stat *stbuf) in v9fs_co_lstat() argument 60 err = s->ops->lstat(&s->ctx, path, stbuf); in v9fs_co_lstat() 70 struct stat *stbuf) in v9fs_co_fstat() argument 80 err = s->ops->fstat(&s->ctx, fidp->fid_type, &fidp->fs, stbuf); in v9fs_co_fstat() 90 err = v9fs_co_lstat(pdu, &fidp->path, stbuf); in v9fs_co_fstat() 132 struct stat *stbuf) in v9fs_co_open2() argument 162 err = s->ops->lstat(&s->ctx, &path, stbuf); in v9fs_co_open2()
|
H A D | 9p-util.h | 127 struct stat stbuf; in close_if_special_file() local 129 if (qemu_fstat(fd, &stbuf) < 0) { in close_if_special_file() 133 if (!S_ISREG(stbuf.st_mode) && !S_ISDIR(stbuf.st_mode)) { in close_if_special_file()
|
H A D | codir.c | 83 struct stat stbuf; in do_readdir_many() local 159 err = s->ops->lstat(&s->ctx, &path, &stbuf); in do_readdir_many() 166 memcpy(e->st, &stbuf, sizeof(struct stat)); in do_readdir_many() 277 gid_t gid, struct stat *stbuf) in v9fs_co_mkdir() argument 301 err = s->ops->lstat(&s->ctx, &path, stbuf); in v9fs_co_mkdir()
|
H A D | cofs.c | 78 struct statfs *stbuf) in v9fs_co_statfs() argument 89 err = s->ops->statfs(&s->ctx, path, stbuf); in v9fs_co_statfs() 189 dev_t dev, mode_t mode, struct stat *stbuf) in v9fs_co_mknod() argument 214 err = s->ops->lstat(&s->ctx, &path, stbuf); in v9fs_co_mknod() 311 gid_t gid, struct stat *stbuf) in v9fs_co_symlink() argument 336 err = s->ops->lstat(&s->ctx, &path, stbuf); in v9fs_co_symlink()
|
/openbmc/linux/tools/perf/util/ |
H A D | zlib.c | 22 struct stat stbuf; in gzip_decompress_to_file() local 36 if (fstat(input_fd, &stbuf) < 0) in gzip_decompress_to_file() 39 ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0); in gzip_decompress_to_file() 47 zs.avail_in = stbuf.st_size; in gzip_decompress_to_file() 76 munmap(ptr, stbuf.st_size); in gzip_decompress_to_file()
|
H A D | symbol-minimal.c | 229 struct stat stbuf; in sysfs__read_build_id() local 237 if (fstat(fd, &stbuf) < 0) in sysfs__read_build_id() 240 buf_size = stbuf.st_size; in sysfs__read_build_id()
|
H A D | cgroup.c | 82 struct statfs stbuf; in cgroup_is_v2() local 87 if (statfs(mnt, &stbuf) < 0) in cgroup_is_v2() 90 return (stbuf.f_type == CGROUP2_SUPER_MAGIC); in cgroup_is_v2()
|
H A D | s390-cpumsf.c | 1098 struct stat stbuf; in s390_cpumsf__config() local 1109 rc = stat(sf->logdir, &stbuf); in s390_cpumsf__config() 1110 if (rc == -1 || !S_ISDIR(stbuf.st_mode)) { in s390_cpumsf__config()
|
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/ |
H A D | init-exclude.patch | 60 -local($dir, $f, @stbuf, @rv); 61 +local($dir, $f, @stbuf, @rv, @exclude); 73 if (@stbuf = stat("$dir/$f")) { 74 push(@rv, "$f $stbuf[1]");
|
/openbmc/ipmitool/src/plugins/imb/ |
H A D | imb.c | 58 struct stat stbuf; in ipmi_imb_open() local 60 if (stat(IPMI_IMB_DEV, &stbuf) < 0) { in ipmi_imb_open()
|
/openbmc/skeleton/op-flasher/ |
H A D | flasher_obj.c | 206 struct stat stbuf; in flash() local 207 if(stat(write_file, &stbuf)) { in flash() 211 uint32_t write_size = stbuf.st_size; in flash()
|
/openbmc/linux/fs/fuse/ |
H A D | inode.c | 589 static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr) in convert_fuse_statfs() argument 591 stbuf->f_type = FUSE_SUPER_MAGIC; in convert_fuse_statfs() 592 stbuf->f_bsize = attr->bsize; in convert_fuse_statfs() 593 stbuf->f_frsize = attr->frsize; in convert_fuse_statfs() 594 stbuf->f_blocks = attr->blocks; in convert_fuse_statfs() 595 stbuf->f_bfree = attr->bfree; in convert_fuse_statfs() 596 stbuf->f_bavail = attr->bavail; in convert_fuse_statfs() 597 stbuf->f_files = attr->files; in convert_fuse_statfs() 598 stbuf->f_ffree = attr->ffree; in convert_fuse_statfs() 599 stbuf->f_namelen = attr->namelen; in convert_fuse_statfs()
|
/openbmc/qemu/fsdev/ |
H A D | file-op-9p.h | 156 int (*statfs)(FsContext *s, V9fsPath *path, struct statfs *stbuf);
|
H A D | virtfs-proxy-helper.c | 1058 struct stat stbuf; in main() local 1129 if (lstat(rpath, &stbuf) < 0) { in main() 1135 if (!S_ISDIR(stbuf.st_mode)) { in main()
|
/openbmc/linux/include/net/9p/ |
H A D | client.h | 287 void p9stat_free(struct p9_wstat *stbuf);
|