• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include <linux/stat.h>
2include <uapi/linux/fcntl.h>
3include <uapi/linux/fuse.h>
4include <fs/hmdfs/hmdfs.h>
5
6mount$hmdfs_fill_super(src const[0], dst ptr[in, filename], type ptr[in, string["hmdfs"]], flags flags[mount_flags])
7
8update_socket_param {
9    cmd      int32
10    newfd    int32
11    devsl    int32
12    status   int8
13    masterkey  array[int8, 32]
14    cid    array[int8, 64]
15}
16
17update_devsl_param {
18    cmd      int32
19    newfd    int32
20    cid    array[int8, 64]
21}
22
23offline_param {
24    cmd      int32
25    remote_cid    array[int8, 64]
26}
27
28offline_all_param {
29    cmd      int32
30}
31
32hmdfs_opts [
33	max_read		fs_opt_hex["max_read", int32]
34	allow_other		stringnoz["allow_other"]
35	default_permissions	stringnoz["default_permissions"]
36	blksize			fs_opt_hex["blksize", flags[hmdfs_block_sizes]]
37] [varlen]
38
39hmdfs_mode = S_IFREG, S_IFCHR, S_IFBLK, S_IFIFO, S_IFSOCK, S_IFLNK, S_IFDIR
40hmdfs_block_sizes = 512, 1024, 2048, 4096