Searched refs:fidp (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/hw/9pfs/ |
H A D | codir.c | 31 static int do_readdir(V9fsPDU *pdu, V9fsFidState *fidp, struct dirent **dent) in do_readdir() argument 38 entry = s->ops->readdir(&s->ctx, &fidp->fs); in do_readdir() 52 int coroutine_fn v9fs_co_readdir(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_readdir() argument 61 err = do_readdir(pdu, fidp, dent); in v9fs_co_readdir() 72 do_readdir_many(V9fsPDU *pdu, V9fsFidState *fidp, struct V9fsDirEnt **entries, in do_readdir_many() argument 97 v9fs_readdir_lock(&fidp->fs.dir); in do_readdir_many() 101 s->ops->rewinddir(&s->ctx, &fidp->fs); in do_readdir_many() 103 s->ops->seekdir(&s->ctx, &fidp->fs, offset); in do_readdir_many() 107 saved_dir_pos = s->ops->telldir(&s->ctx, &fidp->fs); in do_readdir_many() 121 err = do_readdir(pdu, fidp, &dent); in do_readdir_many() [all …]
|
H A D | 9p.c | 341 static int coroutine_fn v9fs_xattr_fid_clunk(V9fsPDU *pdu, V9fsFidState *fidp) in v9fs_xattr_fid_clunk() argument 345 if (fidp->fs.xattr.xattrwalk_fid) { in v9fs_xattr_fid_clunk() 353 if (fidp->fs.xattr.len != fidp->fs.xattr.copied_len) { in v9fs_xattr_fid_clunk() 358 if (fidp->fs.xattr.len) { in v9fs_xattr_fid_clunk() 359 retval = v9fs_co_lsetxattr(pdu, &fidp->path, &fidp->fs.xattr.name, in v9fs_xattr_fid_clunk() 360 fidp->fs.xattr.value, in v9fs_xattr_fid_clunk() 361 fidp->fs.xattr.len, in v9fs_xattr_fid_clunk() 362 fidp->fs.xattr.flags); in v9fs_xattr_fid_clunk() 364 retval = v9fs_co_lremovexattr(pdu, &fidp->path, &fidp->fs.xattr.name); in v9fs_xattr_fid_clunk() 367 v9fs_string_free(&fidp->fs.xattr.name); in v9fs_xattr_fid_clunk() [all …]
|
H A D | cofile.c | 69 int coroutine_fn v9fs_co_fstat(V9fsPDU *pdu, V9fsFidState *fidp, 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() 102 int coroutine_fn v9fs_co_open(V9fsPDU *pdu, V9fsFidState *fidp, int flags) in v9fs_co_open() argument 113 err = s->ops->open(&s->ctx, &fidp->path, flags, &fidp->fs); in v9fs_co_open() 130 int coroutine_fn v9fs_co_open2(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_open2() argument 144 cred.fc_uid = fidp->uid; in v9fs_co_open2() 154 err = s->ops->open2(&s->ctx, &fidp->path, in v9fs_co_open2() 155 name->data, flags, &cred, &fidp->fs); in v9fs_co_open2() 160 err = v9fs_name_to_path(s, &fidp->path, name->data, &path); in v9fs_co_open2() [all …]
|
H A D | cofs.c | 187 int coroutine_fn v9fs_co_mknod(V9fsPDU *pdu, V9fsFidState *fidp, in v9fs_co_mknod() argument 207 err = s->ops->mknod(&s->ctx, &fidp->path, name->data, &cred); in v9fs_co_mknod() 212 err = v9fs_name_to_path(s, &fidp->path, name->data, &path); in v9fs_co_mknod()
|
/openbmc/linux/fs/coda/ |
H A D | coda_psdev.h | 48 int venus_rootfid(struct super_block *sb, struct CodaFid *fidp);
|
H A D | upcall.c | 75 int venus_rootfid(struct super_block *sb, struct CodaFid *fidp) in venus_rootfid() argument 86 *fidp = outp->coda_root.VFid; in venus_rootfid()
|