Home
last modified time | relevance | path

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

/fs/crypto/
A Dfscrypt_private.h105 struct fscrypt_context_v2 v2; member
119 BUILD_BUG_ON(sizeof(ctx->v2) != 40); in fscrypt_context_size()
120 return sizeof(ctx->v2); in fscrypt_context_size()
139 return ctx->v2.nonce; in fscrypt_context_nonce()
148 struct fscrypt_policy_v2 v2; member
161 return sizeof(policy->v2); in fscrypt_policy_size()
174 return policy->v2.contents_encryption_mode; in fscrypt_policy_contents_mode()
187 return policy->v2.filenames_encryption_mode; in fscrypt_policy_fnames_mode()
200 return policy->v2.flags; in fscrypt_policy_flags()
220 return fscrypt_policy_v2_du_bits(&policy->v2, inode); in fscrypt_policy_du_bits()
A Dpolicy.c49 memcpy(key_spec->u.identifier, policy->v2.master_key_identifier, in fscrypt_policy_to_key_spec()
311 return fscrypt_supported_v2_policy(&policy_u->v2, inode); in fscrypt_supported_policy()
351 const struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_new_context()
352 struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_new_context()
412 const struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_policy_from_context()
413 struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_policy_from_context()
487 policy->v2.master_key_identifier); in set_encryption_policy()
490 if (policy->v2.flags & FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32) in set_encryption_policy()
827 policy->v2.contents_encryption_mode = FSCRYPT_MODE_AES_256_XTS; in fscrypt_parse_test_dummy_encryption()
828 policy->v2.filenames_encryption_mode = FSCRYPT_MODE_AES_256_CTS; in fscrypt_parse_test_dummy_encryption()
[all …]
A Dkeysetup.c370 !(ci->ci_policy.v2.flags & (FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 | in fscrypt_setup_v2_file_key()
377 if (ci->ci_policy.v2.flags & FSCRYPT_POLICY_FLAG_DIRECT_KEY) { in fscrypt_setup_v2_file_key()
388 } else if (ci->ci_policy.v2.flags & in fscrypt_setup_v2_file_key()
399 } else if (ci->ci_policy.v2.flags & in fscrypt_setup_v2_file_key()
/fs/adfs/
A 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/jffs2/
A DLICENCE2 file are part of JFFS2, the Journalling Flash File System v2.
A DKconfig3 tristate "Journalling Flash File System v2 (JFFS2) support"
/fs/bcachefs/
A Dopts.c305 const char *opt, *v1, *v2; member
323 return i->v2; in bch2_opt_val_synonym_lookup()
/fs/btrfs/
A DKconfig115 - extent tree v2 - complex rework of extent tracking
A Dvolumes.c4341 #define CHECK_APPEND_2ARG(a, v1, v2) \ in describe_balance_args() argument
4343 ret = snprintf(bp, size_bp, (a), (v1), (v2)); \ in describe_balance_args()
/fs/nfs/
A Dinternal.h658 const struct nfs_write_verifier *v2) in nfs_write_verifier_cmp() argument
660 return memcmp(v1->data, v2->data, sizeof(v1->data)); in nfs_write_verifier_cmp()
A Dnfs4client.c525 static bool nfs4_same_verifier(nfs4_verifier *v1, nfs4_verifier *v2) in nfs4_same_verifier() argument
527 return memcmp(v1->data, v2->data, sizeof(v1->data)) == 0; in nfs4_same_verifier()
/fs/ceph/
A Dmds_client.c4574 struct ceph_mds_cap_reconnect v2; in reconnect_caps_cb() member
4628 rec.v2.cap_id = cpu_to_le64(cap->cap_id); in reconnect_caps_cb()
4629 rec.v2.wanted = cpu_to_le32(__ceph_caps_wanted(ci)); in reconnect_caps_cb()
4630 rec.v2.issued = cpu_to_le32(cap->issued); in reconnect_caps_cb()
4631 rec.v2.snaprealm = cpu_to_le64(ci->i_snap_realm->ino); in reconnect_caps_cb()
4632 rec.v2.pathbase = cpu_to_le64(pathbase); in reconnect_caps_cb()
4633 rec.v2.flock_len = (__force __le32) in reconnect_caps_cb()
4667 if (rec.v2.flock_len) { in reconnect_caps_cb()
4707 rec.v2.flock_len = cpu_to_le32(struct_len); in reconnect_caps_cb()
4709 struct_len += sizeof(u32) + pathlen + sizeof(rec.v2); in reconnect_caps_cb()
[all …]
/fs/nfsd/
A Dnfs4state.c2581 same_verf(nfs4_verifier *v1, nfs4_verifier *v2) in same_verf() argument
2583 return 0 == memcmp(v1->data, v2->data, sizeof(v1->data)); in same_verf()
/fs/unicode/
A Dutf8data.c_shipped4124 MODULE_LICENSE("GPL v2");

Completed in 91 milliseconds