Searched refs:stbuf (Results 1 – 8 of 8) sorted by relevance
| /qemu/hw/9pfs/ |
| 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 1857 stbuf = fidst; in v9fs_walk() 1904 stbuf = fidst; in v9fs_walk() [all …]
|
| 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 …]
|
| 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 …]
|
| 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()
|
| 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()
|
| 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()
|
| 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()
|
| /qemu/fsdev/ |
| A D | file-op-9p.h | 156 int (*statfs)(FsContext *s, V9fsPath *path, struct statfs *stbuf);
|
Completed in 29 milliseconds