changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/ffi/btrfs/constants.lisp

changeset 504: f57e2bbee438
parent: 3a29e42f1842
child: 11976903a3a3
author: Richard Westhaver <ellis@rwest.io>
date: Wed, 03 Jul 2024 14:43:21 -0400
permissions: -rw-r--r--
description: split out btrfsutil
1 ("stdbool.h" "stddef.h" "stdint.h" "sys/time.h" "btrfsutil.h" "btrfs/version.h" "btrfs/ioctl.h")
2 
3 ( ;; util
4  (:structure btrfs-util-subvolume-info
5  ("struct btrfs_util_subvolume_info"
6  (unsigned-long id "uint64_t" "id")
7  (unsigned-long parent-id "uint64_t" "parent_id")
8  (unsigned-long dir-id "uint64_t" "dir_id")
9  (unsigned-long flags "uint64_t" "flags")
10  ((array char) uuid "uint8_t" "uuid")
11  ((array char) parent-uuid "uint8_t" "parent_uuid")
12  ((array char) received-uuid "uint8_t" "received_uuid")
13  (unsigned-long generation "uint64_t" "generation")
14  (unsigned-long ctransid "uint64_t" "ctransid")
15  (unsigned-long otransid "uint64_t" "otransid")
16  (unsigned-long rtransid "uint64_t" "rtransid")
17  ((* t) ctime "struct timespec" "ctime")
18  ((* t) otime "struct timespec" "otime")
19  ((* t) stime "struct timespec" "stime")
20  ((* t) rtime "struct timespec" "rtime"))
21  nil t)
22  (:integer +btrfs-lib-major+ "BTRFS_LIB_MAJOR" t t)
23  (:integer +btrfs-lib-minor+ "BTRFS_LIB_MINOR" t t)
24  (:integer +btrfs-lib-patchlevel+ "BTRFS_LIB_PATCHLEVEL" t t)
25  (:integer +btrfs-lib-version+ "BTRFS_LIB_VERSION" t t)
26  (:integer +btrfs-subvol-rdonly+ "BTRFS_SUBVOL_RDONLY" t t)
27  (:integer +btrfs-subvol-qgroup-inherit+ "BTRFS_SUBVOL_QGROUP_INHERIT" t t)
28  (:integer +btrfs-device-spec-by-id+ "BTRFS_DEVICE_SPEC_BY_ID" t t)
29  (:integer +btrfs-subvol-spec-by-id+ "BTRFS_SUBVOL_SPEC_BY_ID" t t)
30  (:integer +btrfs-vol-arg-v2-flags-supported+ "BTRFS_VOL_ARG_V2_FLAGS_SUPPORTED" t t)
31  (:integer +btrfs-fsize-size+ "BTRFS_FSIZE_SIZE" t t)
32  (:integer +btrfs-fsize-size+ "BTRFS_UUID_SIZE" t t)
33  (:integer +btrfs-qgroup-inherit-set-limits+ "BTRFS_QGROUP_INHERIT_SET_LIMITS" t t)
34  ;; ioctl
35  (:structure btrfs-qgroup-limit
36  ("struct btrfs_qgroup_limit"
37  ((unsigned 64) flags "__u64" "flags")
38  ((unsigned 64) max-referenced "__u64" "max_referenced")
39  ((unsigned 64) max-exclusive "__u64" "max_exclusive")
40  ((unsigned 64) rsv-referenced "__u64" "rsv_referenced")
41  ((unsigned 64) rsv-exclusive "__u64" "rsv_exclusive"))
42  nil t))
43