Searched refs:stbuf (Results 1 – 7 of 7) sorted by relevance
| /openbmc/qemu/hw/9pfs/ |
| H A D | 9p-local.c | 149 struct stat *stbuf) in local_mapped_file_attr() argument 172 stbuf->st_uid = atoi(buf + 11); in local_mapped_file_attr() 174 stbuf->st_gid = atoi(buf + 11); in local_mapped_file_attr() 176 stbuf->st_mode = atoi(buf + 12); in local_mapped_file_attr() 178 stbuf->st_rdev = atoi(buf + 12); in local_mapped_file_attr() 185 static int local_lstat(FsContext *fs_ctx, V9fsPath *fs_path, struct stat *stbuf) in local_lstat() argument 197 err = qemu_fstatat(dirfd, name, stbuf, AT_SYMLINK_NOFOLLOW); in local_lstat() 210 stbuf->st_uid = le32_to_cpu(tmp_uid); in local_lstat() 214 stbuf->st_gid = le32_to_cpu(tmp_gid); in local_lstat() 218 stbuf->st_mode = le32_to_cpu(tmp_mode); in local_lstat() [all …]
|
| H A D | cofile.c | 50 int coroutine_fn v9fs_co_lstat(V9fsPDU *pdu, V9fsPath *path, struct stat *stbuf) in v9fs_co_lstat() argument 61 err = s->ops->lstat(&s->ctx, path, stbuf); in v9fs_co_lstat() 71 struct stat *stbuf) in v9fs_co_fstat() argument 81 err = s->ops->fstat(&s->ctx, fidp->fid_type, &fidp->fs, stbuf); in v9fs_co_fstat() 91 err = v9fs_co_lstat(pdu, &fidp->path, stbuf); in v9fs_co_fstat() 133 struct stat *stbuf) in v9fs_co_open2() argument 163 err = s->ops->lstat(&s->ctx, &path, stbuf); in v9fs_co_open2()
|
| H A D | codir.c | 84 struct stat stbuf; in do_readdir_many() local 160 err = s->ops->lstat(&s->ctx, &path, &stbuf); in do_readdir_many() 167 memcpy(e->st, &stbuf, sizeof(struct stat)); in do_readdir_many() 278 gid_t gid, struct stat *stbuf) in v9fs_co_mkdir() argument 302 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() 226 dev_t dev, mode_t mode, struct stat *stbuf) in v9fs_co_mknod() argument 251 err = s->ops->lstat(&s->ctx, &path, stbuf); in v9fs_co_mknod() 348 gid_t gid, struct stat *stbuf) in v9fs_co_symlink() argument 373 err = s->ops->lstat(&s->ctx, &path, stbuf); in v9fs_co_symlink()
|
| /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()
|