Home
last modified time | relevance | path

Searched refs:kb (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.1.9/arch/s390/crypto/
Dpaes_s390.c58 static inline int _key_to_kb(struct key_blob *kb, in _key_to_kb() argument
76 memset(kb->keybuf, 0, sizeof(kb->keybuf)); in _key_to_kb()
77 h = (struct clearkey_header *) kb->keybuf; in _key_to_kb()
81 memcpy(kb->keybuf + sizeof(*h), key, keylen); in _key_to_kb()
82 kb->keylen = sizeof(*h) + keylen; in _key_to_kb()
83 kb->key = kb->keybuf; in _key_to_kb()
87 if (keylen <= sizeof(kb->keybuf)) in _key_to_kb()
88 kb->key = kb->keybuf; in _key_to_kb()
90 kb->key = kmalloc(keylen, GFP_KERNEL); in _key_to_kb()
91 if (!kb->key) in _key_to_kb()
[all …]
/linux-6.1.9/drivers/s390/crypto/
Dzcrypt_ep11misc.c123 struct ep11keyblob *kb = (struct ep11keyblob *)(key + sizeof(*hdr)); in ep11_check_aes_key_with_hdr() local
127 if (keylen < sizeof(*hdr) + sizeof(*kb)) { in ep11_check_aes_key_with_hdr()
129 __func__, keylen, sizeof(*hdr) + sizeof(*kb)); in ep11_check_aes_key_with_hdr()
157 if (hdr->len < sizeof(*hdr) + sizeof(*kb)) { in ep11_check_aes_key_with_hdr()
160 __func__, (int)hdr->len, sizeof(*hdr) + sizeof(*kb)); in ep11_check_aes_key_with_hdr()
164 if (kb->version != EP11_STRUCT_MAGIC) { in ep11_check_aes_key_with_hdr()
167 __func__, (int)kb->version, EP11_STRUCT_MAGIC); in ep11_check_aes_key_with_hdr()
170 if (checkcpacfexp && !(kb->attr & EP11_BLOB_PKEY_EXTRACTABLE)) { in ep11_check_aes_key_with_hdr()
190 struct ep11keyblob *kb = (struct ep11keyblob *)(key + sizeof(*hdr)); in ep11_check_ecc_key_with_hdr() local
194 if (keylen < sizeof(*hdr) + sizeof(*kb)) { in ep11_check_ecc_key_with_hdr()
[all …]
Dzcrypt_ccamisc.c801 } kb; in cca_gencipherkey() member
816 } kb; in cca_gencipherkey() member
854 preqparm->kb.len = sizeof(preqparm->kb); in cca_gencipherkey()
855 preqparm->kb.tlv1.len = sizeof(preqparm->kb.tlv1); in cca_gencipherkey()
856 preqparm->kb.tlv1.flag = 0x0030; in cca_gencipherkey()
857 preqparm->kb.tlv2.len = sizeof(preqparm->kb.tlv2); in cca_gencipherkey()
858 preqparm->kb.tlv2.flag = 0x0030; in cca_gencipherkey()
859 preqparm->kb.tlv3.len = sizeof(preqparm->kb.tlv3); in cca_gencipherkey()
860 preqparm->kb.tlv3.flag = 0x0030; in cca_gencipherkey()
861 memcpy(preqparm->kb.tlv3.gen_key_id_1, in cca_gencipherkey()
[all …]
Dzcrypt_ep11misc.h53 struct ep11keyblob *kb = (struct ep11keyblob *)key; in is_ep11_keyblob() local
55 return (kb->version == EP11_STRUCT_MAGIC); in is_ep11_keyblob()
Dpkey_api.c235 struct ep11keyblob *kb = (struct ep11keyblob *)key; in pkey_ep11key2pkey() local
241 ZCRYPT_CEX7, EP11_API_V, kb->wkvp); in pkey_ep11key2pkey()
250 rc = ep11_kblob2protkey(card, dom, key, kb->head.len, in pkey_ep11key2pkey()
742 struct ep11keyblob *kb = (struct ep11keyblob *)key; in pkey_verifykey2() local
750 *ksize = kb->head.keybitlen; in pkey_verifykey2()
753 ZCRYPT_CEX7, EP11_API_V, kb->wkvp); in pkey_verifykey2()
833 struct ep11keyblob *kb = (struct ep11keyblob *)key; in pkey_keyblob2pkey2() local
836 rc = ep11_kblob2protkey(card, dom, key, kb->head.len, in pkey_keyblob2pkey2()
864 struct ep11keyblob *kb = (struct ep11keyblob *) in pkey_apqns4key() local
869 if (kb->attr & EP11_BLOB_PKEY_EXTRACTABLE) { in pkey_apqns4key()
[all …]
/linux-6.1.9/drivers/tty/vt/
Dkeyboard.c1150 void setledstate(struct kbd_struct *kb, unsigned int led) in setledstate() argument
1156 kb->ledmode = LED_SHOW_IOCTL; in setledstate()
1158 kb->ledmode = LED_SHOW_FLAGS; in setledstate()
1166 struct kbd_struct *kb = kbd_table + fg_console; in getleds() local
1168 if (kb->ledmode == LED_SHOW_IOCTL) in getleds()
1171 return kb->ledflagstate; in getleds()
1183 struct kbd_struct *kb = &kbd_table[console]; in vt_get_leds() local
1188 ret = vc_kbd_led(kb, flag); in vt_get_leds()
1205 struct kbd_struct *kb = &kbd_table[console]; in vt_set_led_state() local
1206 setledstate(kb, leds); in vt_set_led_state()
[all …]
/linux-6.1.9/fs/dlm/
Duser.c87 static void compat_input(struct dlm_write_request *kb, in compat_input() argument
91 kb->version[0] = kb32->version[0]; in compat_input()
92 kb->version[1] = kb32->version[1]; in compat_input()
93 kb->version[2] = kb32->version[2]; in compat_input()
95 kb->cmd = kb32->cmd; in compat_input()
96 kb->is64bit = kb32->is64bit; in compat_input()
97 if (kb->cmd == DLM_USER_CREATE_LOCKSPACE || in compat_input()
98 kb->cmd == DLM_USER_REMOVE_LOCKSPACE) { in compat_input()
99 kb->i.lspace.flags = kb32->i.lspace.flags; in compat_input()
100 kb->i.lspace.minor = kb32->i.lspace.minor; in compat_input()
[all …]
/linux-6.1.9/Documentation/driver-api/tty/
Dmoxa-smartio.rst172 spd_hi Use 57.6kb when the application requests 38.4kb.
173 spd_vhi Use 115.2kb when the application requests 38.4kb.
174 spd_shi Use 230.4kb when the application requests 38.4kb.
175 spd_warp Use 460.8kb when the application requests 38.4kb.
176 spd_normal Use 38.4kb when the application requests 38.4kb.
178 application requests 38.4kb.
/linux-6.1.9/drivers/w1/slaves/
DKconfig86 tristate "1kb EEPROM family support (DS2431)"
89 1kb EEPROM family device (DS2431)
92 tristate "4kb EEPROM family support (DS2433)"
95 4kb EEPROM family device (DS2433).
113 tristate "512b/1kb/16kb EPROM family support"
117 512b/1kb/16kb EPROM family device (DS250x).
151 4kb EEPROM with PIO family device (DS28E04).
/linux-6.1.9/arch/mips/sgi-ip22/
DPlatform8 # address by 8kb.
23 # be 16kb aligned or the handling of the current variable will break.
/linux-6.1.9/drivers/tty/
Dn_tty.c2126 unsigned char *kb = kbuf; in n_tty_read() local
2150 else if (canon_copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2151 return kb - kbuf; in n_tty_read()
2153 if (copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2154 return kb - kbuf; in n_tty_read()
2163 return kb - kbuf; in n_tty_read()
2203 if (kb != kbuf) in n_tty_read()
2209 *kb++ = cs; in n_tty_read()
2252 if (canon_copy_from_read_buf(tty, &kb, &nr)) in n_tty_read()
2256 if (packet && kb == kbuf) { in n_tty_read()
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Dtegra124-apalis.dtsi857 kb-row10-ps2 {
1020 kb-row0-pr0 {
1027 kb-row1-pr1 {
1036 kb-row11-ps3 {
1045 kb-col5-pq5 {
1052 kb-col6-pq6 {
1059 kb-col7-pq7 {
1068 kb-col0-pq0 {
1075 kb-col1-pq1 {
1082 kb-col2-pq2 {
[all …]
Dtegra124-apalis-v1.2.dtsi860 kb-row10-ps2 {
1023 kb-row0-pr0 {
1030 kb-row1-pr1 {
1039 kb-row11-ps3 {
1048 kb-col5-pq5 {
1055 kb-col6-pq6 {
1062 kb-col7-pq7 {
1071 kb-col0-pq0 {
1078 kb-col1-pq1 {
1085 kb-col2-pq2 {
[all …]
Dtegra30-apalis-v1.1.dtsi170 kb-col0-pq0 {
338 kb-col2-pq2 {
348 kb-row0-pr0 {
358 kb-row5-pr5 {
490 kb-col5-pq5 {
497 kb-col6-pq6 {
Dtegra30-apalis.dtsi169 kb-col0-pq0 {
337 kb-col2-pq2 {
347 kb-row0-pr0 {
357 kb-row5-pr5 {
489 kb-col5-pq5 {
496 kb-col6-pq6 {
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-firmware-opal-elog52 <16kb, often just hundreds of bytes and
53 "average" 2kb.
/linux-6.1.9/arch/mips/sgi-ip27/
DPlatform6 # be 16kb aligned or the handling of the current variable will break.
/linux-6.1.9/tools/testing/selftests/vm/
Dhugetlb_reparenting_test.sh42 kb=${hpz:14:-3}
43 mb=$(($kb / 1024))
/linux-6.1.9/Documentation/networking/device_drivers/atm/
Dcxacru.rst120 [2635357.696901] ATM dev 0: ADSL line: up (8128 kb/s down | 832 kb/s up)
/linux-6.1.9/arch/arm/boot/compressed/
Dhead-xscale.S23 add r3, r2, #0x10000 @ 64 kb is quite enough...
/linux-6.1.9/net/ieee802154/
DKconfig8 devices. Maximum allowed data rate is 250 kb/s and typical personal
/linux-6.1.9/drivers/scsi/libsas/
DKconfig33 N here if you want to save the few kb this consumes.
/linux-6.1.9/arch/arm64/boot/dts/qcom/
DMakefile69 dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r1-kb.dtb
72 dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r3-kb.dtb
75 dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-lazor-r9-kb.dtb
/linux-6.1.9/fs/fscache/
Dcookie.c303 const void *ka, *kb; in fscache_cookie_same() local
312 kb = &b->inline_key; in fscache_cookie_same()
315 kb = b->key; in fscache_cookie_same()
317 return memcmp(ka, kb, a->key_len) == 0; in fscache_cookie_same()
/linux-6.1.9/sound/soc/qcom/qdsp6/
Dq6asm.h70 u8 kb; member

12