Home
last modified time | relevance | path

Searched refs:v2 (Results 1 – 13 of 13) sorted by relevance

/fs/crypto/
Dfscrypt_private.h70 struct fscrypt_context_v2 v2; member
84 BUILD_BUG_ON(sizeof(ctx->v2) != 40); in fscrypt_context_size()
85 return sizeof(ctx->v2); in fscrypt_context_size()
104 return ctx->v2.nonce; in fscrypt_context_nonce()
113 struct fscrypt_policy_v2 v2; member
126 return sizeof(policy->v2); in fscrypt_policy_size()
139 return policy->v2.contents_encryption_mode; in fscrypt_policy_contents_mode()
152 return policy->v2.filenames_encryption_mode; in fscrypt_policy_fnames_mode()
165 return policy->v2.flags; in fscrypt_policy_flags()
Dpolicy.c252 return fscrypt_supported_v2_policy(&policy_u->v2, inode); in fscrypt_supported_policy()
292 const struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_new_context()
293 struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_new_context()
352 const struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_policy_from_context()
353 struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_policy_from_context()
426 policy->v2.master_key_identifier); in set_encryption_policy()
429 if (policy->v2.flags & FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32) in set_encryption_policy()
703 (ci->ci_policy.v2.flags & FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32)) in fscrypt_set_context()
771 policy->v2.contents_encryption_mode = FSCRYPT_MODE_AES_256_XTS; in fscrypt_set_test_dummy_encryption()
772 policy->v2.filenames_encryption_mode = FSCRYPT_MODE_AES_256_CTS; in fscrypt_set_test_dummy_encryption()
[all …]
Dkeysetup.c354 !(ci->ci_policy.v2.flags & (FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 | in fscrypt_setup_v2_file_key()
361 if (ci->ci_policy.v2.flags & FSCRYPT_POLICY_FLAG_DIRECT_KEY) { in fscrypt_setup_v2_file_key()
372 } else if (ci->ci_policy.v2.flags & in fscrypt_setup_v2_file_key()
383 } else if (ci->ci_policy.v2.flags & in fscrypt_setup_v2_file_key()
478 ci->ci_policy.v2.master_key_identifier, in setup_file_encryption_key()
/fs/adfs/
Dmap.c262 unsigned int v0, v1, v2, v3; in adfs_calczonecheck() local
265 v0 = v1 = v2 = v3 = 0; in adfs_calczonecheck()
271 v2 += map[i + 2] + (v1 >> 8); in adfs_calczonecheck()
273 v3 += map[i + 3] + (v2 >> 8); in adfs_calczonecheck()
274 v2 &= 0xff; in adfs_calczonecheck()
278 v2 += map[2] + (v1 >> 8); in adfs_calczonecheck()
279 v3 += map[3] + (v2 >> 8); in adfs_calczonecheck()
281 return v0 ^ v1 ^ v2 ^ v3; in adfs_calczonecheck()
/fs/reiserfs/
Dreiserfs.h1260 static inline __u16 offset_v2_k_type(const struct offset_v2 *v2) in offset_v2_k_type() argument
1262 __u8 type = le64_to_cpu(v2->v) >> 60; in offset_v2_k_type()
1266 static inline void set_offset_v2_k_type(struct offset_v2 *v2, int type) in set_offset_v2_k_type() argument
1268 v2->v = in set_offset_v2_k_type()
1269 (v2->v & cpu_to_le64(~0ULL >> 4)) | cpu_to_le64((__u64) type << 60); in set_offset_v2_k_type()
1272 static inline loff_t offset_v2_k_offset(const struct offset_v2 *v2) in offset_v2_k_offset() argument
1274 return le64_to_cpu(v2->v) & (~0ULL >> 4); in offset_v2_k_offset()
1277 static inline void set_offset_v2_k_offset(struct offset_v2 *v2, loff_t offset) in set_offset_v2_k_offset() argument
1280 v2->v = (v2->v & cpu_to_le64(15ULL << 60)) | cpu_to_le64(offset); in set_offset_v2_k_offset()
/fs/jffs2/
DLICENCE2 file are part of JFFS2, the Journalling Flash File System v2.
DKconfig3 tristate "Journalling Flash File System v2 (JFFS2) support"
/fs/incfs/
Dsysfs.c35 DECLARE_FEATURE_FLAG(v2);
/fs/nfs/
Dinternal.h571 const struct nfs_write_verifier *v2) in nfs_write_verifier_cmp() argument
573 return memcmp(v1->data, v2->data, sizeof(v1->data)); in nfs_write_verifier_cmp()
Dnfs4client.c523 static bool nfs4_same_verifier(nfs4_verifier *v1, nfs4_verifier *v2) in nfs4_same_verifier() argument
525 return memcmp(v1->data, v2->data, sizeof(v1->data)) == 0; in nfs4_same_verifier()
/fs/ceph/
Dmds_client.c3776 struct ceph_mds_cap_reconnect v2; in reconnect_caps_cb() member
3823 rec.v2.cap_id = cpu_to_le64(cap->cap_id); in reconnect_caps_cb()
3824 rec.v2.wanted = cpu_to_le32(__ceph_caps_wanted(ci)); in reconnect_caps_cb()
3825 rec.v2.issued = cpu_to_le32(cap->issued); in reconnect_caps_cb()
3826 rec.v2.snaprealm = cpu_to_le64(ci->i_snap_realm->ino); in reconnect_caps_cb()
3827 rec.v2.pathbase = cpu_to_le64(pathbase); in reconnect_caps_cb()
3828 rec.v2.flock_len = (__force __le32) in reconnect_caps_cb()
3858 if (rec.v2.flock_len) { in reconnect_caps_cb()
3898 rec.v2.flock_len = cpu_to_le32(struct_len); in reconnect_caps_cb()
3900 struct_len += sizeof(u32) + pathlen + sizeof(rec.v2); in reconnect_caps_cb()
[all …]
/fs/nfsd/
Dnfs4state.c2230 same_verf(nfs4_verifier *v1, nfs4_verifier *v2) in same_verf() argument
2232 return 0 == memcmp(v1->data, v2->data, sizeof(v1->data)); in same_verf()
/fs/btrfs/
Dvolumes.c4152 #define CHECK_APPEND_2ARG(a, v1, v2) \ in describe_balance_args() argument
4154 ret = snprintf(bp, size_bp, (a), (v1), (v2)); \ in describe_balance_args()