Home
last modified time | relevance | path

Searched refs:log2_data_unit_size (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/fs/crypto/
Dpolicy.c247 if (policy->log2_data_unit_size) { in fscrypt_supported_v2_policy()
253 if (policy->log2_data_unit_size > inode->i_blkbits || in fscrypt_supported_v2_policy()
254 policy->log2_data_unit_size < SECTOR_SHIFT /* 9 */) { in fscrypt_supported_v2_policy()
257 policy->log2_data_unit_size); in fscrypt_supported_v2_policy()
260 if (policy->log2_data_unit_size != inode->i_blkbits && in fscrypt_supported_v2_policy()
358 ctx->log2_data_unit_size = policy->log2_data_unit_size; in fscrypt_new_context()
419 policy->log2_data_unit_size = ctx->log2_data_unit_size; in fscrypt_policy_from_context()
Dfscrypt_private.h50 u8 log2_data_unit_size; member
173 return policy->log2_data_unit_size ?: inode->i_blkbits; in fscrypt_policy_v2_du_bits()
/linux-6.12.1/tools/include/uapi/linux/
Dfscrypt.h74 __u8 log2_data_unit_size; member
/linux-6.12.1/include/uapi/linux/
Dfscrypt.h74 __u8 log2_data_unit_size; member
/linux-6.12.1/Documentation/filesystems/
Dfscrypt.rst473 a sub-block data unit size via the ``log2_data_unit_size`` field of
581 __u8 log2_data_unit_size;
624 - ``log2_data_unit_size`` is the log2 of the data unit size in bytes,
627 ``log2_data_unit_size`` to 12 causes file contents be passed to the
631 Not all filesystems support setting ``log2_data_unit_size``. ext4
637 The main use case for ``log2_data_unit_size`` is for selecting a
1388 u8 log2_data_unit_size;