p9_client.c
Megabyte-scale size constant in source
SHA-2564aee777c2e23088ec2b9c5514be92f37f92ab7a9bc4b80e8459d399fe23ac5f3
MaleculeH(Mg)
Evidence
2:43… c.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must repr …
15:64… ED WARRANTIES
16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, …
29:53… defined here to interact
30 * with the host.
31 */
32
33#include <vm/uma.h>
34#include <sys/systm.h>
35#include <sys/dirent.h>
36#include <sys/fcntl.h>
37#include <sys/param.h>
38#include <sys/malloc.h>
39#include <sys/mount.h>
40#include <sys/sysctl.h>
41
42#include <fs/p9fs/p9_client.h>
43#include <fs/p9fs/p9_debug.h>
44#include <fs/p9fs/p9_transport.h>
45
46#define QEMU_HEADER 7
47#define P9FS_MAX_FID_CNT (1024 * 1024 * 1024)
48#define P9FS_ROOT_FID_NO 2
49#define P9FS_MIN_TAG 1
50#define P9FS_MAX_TAG 65535
51#define WSTAT_SIZE 47
52#define WSTAT_EXTENS …
90:9… ult to virtio since thats the only transport we have for now.
91 */
92 error = vfs_getopt(mp->mnt_optnew, "trans", (void **)&trans, &len);
93 if (error = …