Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  *	Definitions of structures for vfsv0 quota format
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #ifndef _LINUX_QUOTA_TREE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #define _LINUX_QUOTA_TREE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <linux/types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <linux/quota.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  *  Structure of header of block with quota structures. It is padded to 16 bytes so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)  *  there will be space for exactly 21 quota-entries in a block
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct qt_disk_dqdbheader {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	__le32 dqdh_next_free;	/* Number of next block with free entry */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	__le32 dqdh_prev_free;	/* Number of previous block with free entry */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	__le16 dqdh_entries;	/* Number of valid entries in block */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	__le16 dqdh_pad1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	__le32 dqdh_pad2;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #define QT_TREEOFF	1		/* Offset of tree in file in blocks */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #endif /* _LINUX_QUOTAIO_TREE_H */