9p.h (2e53160fc62d4d59c76bf93c7a90bd739b8b8157) 9p.h (feabd6cf78ca3b57da2ce48e95b704e72147bf2c)
1#ifndef QEMU_9P_H
2#define QEMU_9P_H
3
4#include <dirent.h>
5#include <utime.h>
6#include <sys/resource.h>
7#include "fsdev/file-op-9p.h"
8#include "fsdev/9p-iov-marshal.h"

--- 266 unchanged lines hidden (view full) ---

275 V9fsPath path;
276 V9fsFidOpenState fs;
277 V9fsFidOpenState fs_reclaim;
278 int flags;
279 int open_flags;
280 uid_t uid;
281 int ref;
282 bool clunked;
1#ifndef QEMU_9P_H
2#define QEMU_9P_H
3
4#include <dirent.h>
5#include <utime.h>
6#include <sys/resource.h>
7#include "fsdev/file-op-9p.h"
8#include "fsdev/9p-iov-marshal.h"

--- 266 unchanged lines hidden (view full) ---

275 V9fsPath path;
276 V9fsFidOpenState fs;
277 V9fsFidOpenState fs_reclaim;
278 int flags;
279 int open_flags;
280 uid_t uid;
281 int ref;
282 bool clunked;
283 V9fsFidState *next;
283 QSIMPLEQ_ENTRY(V9fsFidState) next;
284 V9fsFidState *rclm_lst;
285};
286
287typedef enum AffixType_t {
288 AffixType_Prefix,
289 AffixType_Suffix, /* A.k.a. postfix. */
290} AffixType_t;
291

--- 42 unchanged lines hidden (view full) ---

334 dev_t dev;
335 ino_t ino;
336 uint64_t path;
337} QpfEntry;
338
339struct V9fsState {
340 QLIST_HEAD(, V9fsPDU) free_list;
341 QLIST_HEAD(, V9fsPDU) active_list;
284 V9fsFidState *rclm_lst;
285};
286
287typedef enum AffixType_t {
288 AffixType_Prefix,
289 AffixType_Suffix, /* A.k.a. postfix. */
290} AffixType_t;
291

--- 42 unchanged lines hidden (view full) ---

334 dev_t dev;
335 ino_t ino;
336 uint64_t path;
337} QpfEntry;
338
339struct V9fsState {
340 QLIST_HEAD(, V9fsPDU) free_list;
341 QLIST_HEAD(, V9fsPDU) active_list;
342 V9fsFidState *fid_list;
342 QSIMPLEQ_HEAD(, V9fsFidState) fid_list;
343 FileOperations *ops;
344 FsContext ctx;
345 char *tag;
346 P9ProtoVersion proto_version;
347 int32_t msize;
348 V9fsPDU pdus[MAX_REQ];
349 const V9fsTransport *transport;
350 /*

--- 132 unchanged lines hidden ---
343 FileOperations *ops;
344 FsContext ctx;
345 char *tag;
346 P9ProtoVersion proto_version;
347 int32_t msize;
348 V9fsPDU pdus[MAX_REQ];
349 const V9fsTransport *transport;
350 /*

--- 132 unchanged lines hidden ---