Home
last modified time | relevance | path

Searched refs:k2 (Results 1 – 33 of 33) sorted by relevance

/linux-4.4.14/include/linux/
Dbtree-128.h21 static inline void *btree_lookup128(struct btree_head128 *head, u64 k1, u64 k2) in btree_lookup128() argument
23 u64 key[2] = {k1, k2}; in btree_lookup128()
28 u64 *k1, u64 *k2) in btree_get_prev128() argument
30 u64 key[2] = {*k1, *k2}; in btree_get_prev128()
36 *k2 = key[1]; in btree_get_prev128()
40 static inline int btree_insert128(struct btree_head128 *head, u64 k1, u64 k2, in btree_insert128() argument
43 u64 key[2] = {k1, k2}; in btree_insert128()
48 static inline int btree_update128(struct btree_head128 *head, u64 k1, u64 k2, in btree_update128() argument
51 u64 key[2] = {k1, k2}; in btree_update128()
56 static inline void *btree_remove128(struct btree_head128 *head, u64 k1, u64 k2) in btree_remove128() argument
[all …]
/linux-4.4.14/arch/arm/crypto/
Dsha1-ce-core.S20 k2 .req q2
71 vld1.32 {k2-k3}, [ip, :128]
102 add_update p, 1, k2, 9, 10, 11, 8
104 add_update m, 0, k2, 10, 11, 8, 9
105 add_update m, 1, k2, 11, 8, 9, 10
106 add_update m, 0, k2, 8, 9, 10, 11
107 add_update m, 1, k2, 9, 10, 11, 8
/linux-4.4.14/arch/arm64/crypto/
Dsha1-ce-core.S19 k2 .req v2
77 ld1r {k2.4s}, [x6], #4
109 add_update p, od, k2, 9, 10, 11, 8
111 add_update m, ev, k2, 10, 11, 8, 9
112 add_update m, od, k2, 11, 8, 9, 10
113 add_update m, ev, k2, 8, 9, 10, 11
114 add_update m, od, k2, 9, 10, 11, 8
Daes-ce.S71 .macro fin_round_Nx, de, k, k2, i0, i1, i2, i3
80 eor \i0\().16b, \i0\().16b, \k2\().16b
82 eor \i1\().16b, \i1\().16b, \k2\().16b
84 eor \i2\().16b, \i2\().16b, \k2\().16b
85 eor \i3\().16b, \i3\().16b, \k2\().16b
/linux-4.4.14/arch/sh/kernel/cpu/sh3/
Dentry.S73 #define k2 r2 macro
197 lds k2, pr ! restore pr
214 ! k2 returns original pr
244 mov.l @r15+, k2 ! original PR
257 lds k2, pr ! restore pr
260 mov k3, k2 ! original SR value
264 and k1, k2 ! Mask original SR value
274 6: or k0, k2 ! Set the IMASK-bits
275 ldc k2, ssr
308 ! k2 trashed
Dswsusp.S18 #define k2 r2 macro
69 lds k2, pr
/linux-4.4.14/crypto/
Dtea.c65 u32 k0, k1, k2, k3; in tea_encrypt() local
75 k2 = ctx->KEY[2]; in tea_encrypt()
83 z += ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_encrypt()
93 u32 k0, k1, k2, k3; in tea_decrypt() local
103 k2 = ctx->KEY[2]; in tea_decrypt()
111 z -= ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_decrypt()
Dvmac.c246 #define k2 (*(((u32 *)kh)+INDEX_LOW)) in poly_step_func() macro
255 p += MUL32(a0, k2); in poly_step_func()
261 p += MUL32(a1, k2); in poly_step_func()
269 q += MUL32(a2, k2); in poly_step_func()
279 q += MUL32(a3, k2); in poly_step_func()
292 #undef k2 in poly_step_func()
328 static u64 l3hash(u64 p1, u64 p2, u64 k1, u64 k2, u64 len) in l3hash() argument
351 p2 += k2; in l3hash()
352 p2 += (0 - (p2 < k2)) & 257; in l3hash()
/linux-4.4.14/drivers/staging/skein/
Dthreefish_block.c9 k2 = key_ctx->key[2], k3 = key_ctx->key[3], in threefish_encrypt_256() local
19 b2 += b3 + k2 + t1; in threefish_encrypt_256()
40 b1 += k2 + t1; in threefish_encrypt_256()
68 b0 += b1 + k2; in threefish_encrypt_256()
124 b3 += k2 + 4; in threefish_encrypt_256()
151 b2 += b3 + k2 + t0; in threefish_encrypt_256()
173 b1 += k2 + t0; in threefish_encrypt_256()
200 b0 += b1 + k2; in threefish_encrypt_256()
256 b3 += k2 + 9; in threefish_encrypt_256()
284 b2 += b3 + k2 + t2; in threefish_encrypt_256()
[all …]
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_alloc_btree.c393 union xfs_btree_key *k2) in xfs_allocbt_keys_inorder() argument
397 be32_to_cpu(k2->alloc.ar_startblock); in xfs_allocbt_keys_inorder()
400 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_allocbt_keys_inorder()
401 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_allocbt_keys_inorder()
403 be32_to_cpu(k2->alloc.ar_startblock)); in xfs_allocbt_keys_inorder()
Dxfs_ialloc_btree.c317 union xfs_btree_key *k2) in xfs_inobt_keys_inorder() argument
320 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder()
Dxfs_bmap_btree.c734 union xfs_btree_key *k2) in xfs_bmbt_keys_inorder() argument
737 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
Dxfs_btree.h178 union xfs_btree_key *k2);
/linux-4.4.14/fs/hfsplus/
Dcatalog.c16 const hfsplus_btree_key *k2) in hfsplus_cat_case_cmp_key() argument
21 k2p = k2->cat.parent; in hfsplus_cat_case_cmp_key()
25 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key()
29 const hfsplus_btree_key *k2) in hfsplus_cat_bin_cmp_key() argument
34 k2p = k2->cat.parent; in hfsplus_cat_bin_cmp_key()
38 return hfsplus_strcmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_bin_cmp_key()
Dattributes.c35 const hfsplus_btree_key *k2) in hfsplus_attr_bin_cmp_key() argument
40 k2_cnid = k2->attr.cnid; in hfsplus_attr_bin_cmp_key()
46 (const struct hfsplus_unistr *)&k2->attr.key_name); in hfsplus_attr_bin_cmp_key()
Dextents.c20 const hfsplus_btree_key *k2) in hfsplus_ext_cmp_key() argument
26 k2id = k2->ext.cnid; in hfsplus_ext_cmp_key()
30 if (k1->ext.fork_type != k2->ext.fork_type) in hfsplus_ext_cmp_key()
31 return k1->ext.fork_type < k2->ext.fork_type ? -1 : 1; in hfsplus_ext_cmp_key()
34 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
Dhfsplus_fs.h373 const hfsplus_btree_key *k2);
443 const hfsplus_btree_key *k2);
445 const hfsplus_btree_key *k2);
465 const hfsplus_btree_key *k2);
/linux-4.4.14/arch/sparc/crypto/
Ddes_glue.c207 u64 k2[DES_EXPKEY_WORDS / 2]; in des3_ede_set_key() local
219 des_sparc64_key_expand((const u32 *)key, k2); in des3_ede_set_key()
224 encrypt_to_decrypt(&dctx->encrypt_expkey[DES_EXPKEY_WORDS / 2], &k2[0]); in des3_ede_set_key()
230 &k2[0], sizeof(k2)); in des3_ede_set_key()
/linux-4.4.14/drivers/media/usb/gspca/
Dsonixj.c1809 u8 k2; in setbrightness() local
1811 k2 = (brightness - 0x80) >> 2; in setbrightness()
1814 if (k2 > 0x1f) in setbrightness()
1815 k2 = 0; /* only positive Y offset */ in setbrightness()
1848 reg_w1(gspca_dev, 0x96, k2); /* color matrix Y offset */ in setbrightness()
1854 u8 k2; in setcontrast() local
1857 k2 = sd->contrast->val * 37 / (CONTRAST_MAX + 1) in setcontrast()
1859 contrast[0] = (k2 + 1) / 2; /* red */ in setcontrast()
1861 contrast[2] = k2; /* green */ in setcontrast()
1863 contrast[4] = k2 / 5; /* blue */ in setcontrast()
/linux-4.4.14/net/core/
Dflow.c176 const flow_compare_t *k1, *k1_lim, *k2; in flow_key_compare() local
181 k2 = (const flow_compare_t *) key2; in flow_key_compare()
184 if (*k1++ != *k2++) in flow_key_compare()
/linux-4.4.14/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c320 gk = (__be64 *)ctx->u.aes.k2; in ccp_aes_cmac_setkey()
327 sg_init_one(&ctx->u.aes.k2_sg, ctx->u.aes.k2, sizeof(ctx->u.aes.k2)); in ccp_aes_cmac_setkey()
Dccp-crypto.h92 u8 k2[AES_BLOCK_SIZE]; member
/linux-4.4.14/arch/powerpc/platforms/52xx/
DKconfig33 bool "bPlan Efika 5k2. MPC5200B based computer"
/linux-4.4.14/scripts/kconfig/
Dexpr.c921 enum string_value_kind k1 = k_string, k2 = k_string; in expr_calc_value() local
962 k2 = expr_parse_string(str2, e->right.sym->type, &rval); in expr_calc_value()
965 if (k1 == k_string || k2 == k_string) in expr_calc_value()
967 else if (k1 == k_invalid || k2 == k_invalid) { in expr_calc_value()
973 } else if (k1 == k_unsigned || k2 == k_unsigned) in expr_calc_value()
/linux-4.4.14/arch/arm/boot/dts/
Ds3c6410-mini6410.dts84 button-k2 {
/linux-4.4.14/fs/btrfs/
Dctree.c1588 static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2) in comp_keys() argument
1594 return btrfs_comp_cpu_keys(&k1, k2); in comp_keys()
1600 int btrfs_comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2) in btrfs_comp_cpu_keys() argument
1602 if (k1->objectid > k2->objectid) in btrfs_comp_cpu_keys()
1604 if (k1->objectid < k2->objectid) in btrfs_comp_cpu_keys()
1606 if (k1->type > k2->type) in btrfs_comp_cpu_keys()
1608 if (k1->type < k2->type) in btrfs_comp_cpu_keys()
1610 if (k1->offset > k2->offset) in btrfs_comp_cpu_keys()
1612 if (k1->offset < k2->offset) in btrfs_comp_cpu_keys()
Dctree.h3579 int btrfs_comp_cpu_keys(struct btrfs_key *k1, struct btrfs_key *k2);
/linux-4.4.14/arch/ia64/kernel/
Divt.S72 # define DBG_FAULT(i) mov r16=ar.k2;; shl r16=r16,8;; add r16=(i),r16;;mov ar.k2=r16
/linux-4.4.14/fs/reiserfs/
Dstree.c132 const struct reiserfs_key *k2) in comp_le_keys() argument
134 return memcmp(k1, k2, sizeof(struct reiserfs_key)); in comp_le_keys()
/linux-4.4.14/security/selinux/ss/
Dpolicydb.c222 static int filenametr_cmp(struct hashtab *h, const void *k1, const void *k2) in filenametr_cmp() argument
225 const struct filename_trans *ft2 = k2; in filenametr_cmp()
251 static int rangetr_cmp(struct hashtab *h, const void *k1, const void *k2) in rangetr_cmp() argument
253 const struct range_trans *key1 = k1, *key2 = k2; in rangetr_cmp()
/linux-4.4.14/Documentation/networking/
Dz8530drv.txt257 # nrzi = 1k2 MODEM, G3RUH 9k6 MODEM
/linux-4.4.14/sound/pci/
DKconfig311 boards with 20k1 or 20k2 chips, say Y here.
/linux-4.4.14/Documentation/sound/alsa/
DALSA-Configuration.txt550 Module for Creative Sound Blaster X-Fi boards (20k1 / 20k2 chips)