Searched refs:fid_type (Results 1 – 7 of 7) sorted by relevance
| /openbmc/qemu/fsdev/ |
| H A D | file-op-9p.h | 132 int (*futimens)(FsContext *ctx, int fid_type, V9fsFidOpenState *fs, 157 int (*ftruncate)(FsContext *ctx, int fid_type, V9fsFidOpenState *fs, 171 bool (*has_valid_file_handle)(int fid_type, V9fsFidOpenState *fs);
|
| /openbmc/qemu/hw/9pfs/ |
| H A D | 9p-local.c | 769 static int local_fid_fd(int fid_type, V9fsFidOpenState *fs) in local_fid_fd() argument 771 if (fid_type == P9_FID_DIR) { in local_fid_fd() 778 static int local_fstat(FsContext *fs_ctx, int fid_type, in local_fstat() argument 781 int err, fd = local_fid_fd(fid_type, fs); in local_fstat() 1045 static int local_ftruncate(FsContext *ctx, int fid_type, V9fsFidOpenState *fs, in local_ftruncate() argument 1048 int fd = local_fid_fd(fid_type, fs); in local_ftruncate() 1103 static int local_futimens(FsContext *s, int fid_type, V9fsFidOpenState *fs, in local_futimens() argument 1106 int fd = local_fid_fd(fid_type, fs); in local_futimens() 1186 static int local_fsync(FsContext *ctx, int fid_type, in local_fsync() argument 1189 int fd = local_fid_fd(fid_type, fs); in local_fsync() [all …]
|
| H A D | 9p.c | 261 if (f->fid_type == P9_FID_FILE) { in v9fs_reopen_fid() 267 } else if (f->fid_type == P9_FID_DIR) { in v9fs_reopen_fid() 325 f->fid_type = P9_FID_NONE; in alloc_fid() 376 if (fidp->fid_type == P9_FID_FILE) { in free_fid() 381 } else if (fidp->fid_type == P9_FID_DIR) { in free_fid() 385 } else if (fidp->fid_type == P9_FID_XATTR) { in free_fid() 473 if (f->fid_type == P9_FID_FILE) { in v9fs_reclaim_fd() 485 } else if (f->fid_type == P9_FID_DIR) { in v9fs_reclaim_fd() 509 err = (f->fid_type == P9_FID_DIR) ? in v9fs_reclaim_fd() 1605 return s->ops->has_valid_file_handle(fidp->fid_type, &fidp->fs); in fid_has_valid_file_handle() [all …]
|
| H A D | 9p-synth.c | 165 static int synth_fstat(FsContext *fs_ctx, int fid_type, in synth_fstat() argument 359 static int synth_ftruncate(FsContext *ctx, int fid_type, V9fsFidOpenState *fs, in synth_ftruncate() argument 427 static int synth_futimens(FsContext *fs_ctx, int fid_type, V9fsFidOpenState *fs, in synth_futimens() argument 440 static int synth_fsync(FsContext *ctx, int fid_type, in synth_fsync() argument 632 static bool synth_has_valid_file_handle(int fid_type, V9fsFidOpenState *fs) in synth_has_valid_file_handle() argument
|
| H A D | cofile.c | 81 err = s->ops->fstat(&s->ctx, fidp->fid_type, &fidp->fs, stbuf); in v9fs_co_fstat() 221 err = s->ops->fsync(&s->ctx, fidp->fid_type, &fidp->fs, datasync); in v9fs_co_fsync()
|
| H A D | cofs.c | 153 err = s->ops->futimens(&s->ctx, fidp->fid_type, &fidp->fs, times); in v9fs_co_futimens() 216 err = s->ops->ftruncate(&s->ctx, fidp->fid_type, &fidp->fs, size); in v9fs_co_ftruncate()
|
| H A D | 9p.h | 273 int fid_type; member
|